/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/cmtp/ |
H A D | core.c | 37 #include <net/sock.h> 201 struct socket *sock = session->sock; local 212 return kernel_sendmsg(sock, &msg, &iv, 1, len); 282 struct sock *sk = session->sock->sk; 317 fput(session->sock->file); 327 int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock) argument 335 baswap(&src, &bt_sk(sock->sk)->src); 336 baswap(&dst, &bt_sk(sock [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rose/ |
H A D | rose_out.c | 22 #include <net/sock.h> 33 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb) 48 void rose_kick(struct sock *sk) 112 void rose_enquiry_response(struct sock *sk)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ |
H A D | sysctl_net.c | 21 #include <net/sock.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/ |
H A D | recv.c | 23 recv_rs_ra(int sock, unsigned char *msg, struct sockaddr_in6 *addr, argument 47 FD_SET( sock, &rfds ); 49 if( select( sock+1, &rfds, NULL, NULL, NULL ) < 0 ) 68 len = recvmsg(sock, &mhdr, 0);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | request_sock.h | 22 #include <net/sock.h> 33 int (*rtx_syn_ack)(struct sock *sk, 38 void (*send_reset)(struct sock *sk, 43 /* struct request_sock - mini sock to represent a connection request 56 struct sock *sk; 107 * lock sock while browsing the listening hash (otherwise it's deadlock prone). 111 * changing rskq_accept_head. All readers that are holding the master sock lock 113 * are always protected from the main sock lock. 171 struct sock *parent, 172 struct sock *chil [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | if_pppox.h | 269 #include <net/sock.h> 272 /* struct sock must be the first member of pppox_sock */ 273 struct sock sk; 291 static inline struct pppox_sock *pppox_sk(struct sock *sk) 296 static inline struct sock *sk_pppox(struct pppox_sock *po) 298 return (struct sock *)po; 304 int (*create)(struct socket *sock); 305 int (*ioctl)(struct socket *sock, unsigned int cmd, 312 extern void pppox_unbind_sock(struct sock *sk);/* delete ppp-channel binding */ 313 extern int pppox_ioctl(struct socket *sock, unsigne [all...] |
H A D | ipv6.h | 285 * In the struct sock hierarchy (tcp6_sock, upd6_sock, etc) 287 * is able to calculate its offset from the base struct sock 371 extern int inet6_sk_rebuild_header(struct sock *sk); 374 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) 401 static inline struct raw6_sock *raw6_sk(const struct sock *sk) 406 static inline void inet_sk_copy_descendant(struct sock *sk_to, 407 const struct sock *sk_from) 436 static inline struct inet6_timewait_sock *inet6_twsk(const struct sock *sk) 442 static inline struct in6_addr *__inet6_rcv_saddr(const struct sock *sk) 448 static inline struct in6_addr *inet6_rcv_saddr(const struct sock *s [all...] |
H A D | igmp.h | 224 extern int ip_mc_join_group(struct sock *sk, struct ip_mreqn *imr); 225 extern int ip_mc_leave_group(struct sock *sk, struct ip_mreqn *imr); 226 extern void ip_mc_drop_socket(struct sock *sk); 227 extern int ip_mc_source(int add, int omode, struct sock *sk, 229 extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex); 230 extern int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf, 232 extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf, 234 extern int ip_mc_sf_allow(struct sock *sk, __be32 local, __be32 rmt, int dif);
|
H A D | inet_diag.h | 122 struct sock; 127 void (*idiag_get_info)(struct sock *sk,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netrom/ |
H A D | nr_out.c | 23 #include <net/sock.h> 35 void nr_output(struct sock *sk, struct sk_buff *skb) 82 static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) 100 void nr_send_nak_frame(struct sock *sk) 125 void nr_kick(struct sock *sk) 188 void nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) 223 void nr_establish_data_link(struct sock *sk) 241 void nr_enquiry_response(struct sock *sk) 259 void nr_check_iframes_acked(struct sock *sk, unsigned short nr)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/ |
H A D | dn_nsp_out.c | 53 #include <net/sock.h> 77 struct sock *sk = skb->sk; 119 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri) 143 unsigned long dn_nsp_persist(struct sock *sk) 166 static void dn_nsp_rtt(struct sock *sk, long rtt) 240 void dn_nsp_output(struct sock *sk) 276 int dn_nsp_xmit_timeout(struct sock *sk) 303 static __le16 *dn_mk_ack_header(struct sock *sk, struct sk_buff *skb, unsigned char msgflag, int hlen, int other) 335 static __le16 *dn_nsp_mk_data_header(struct sock *sk, struct sk_buff *skb, int oth) 353 void dn_nsp_queue_xmit(struct sock *s [all...] |
H A D | dn_nsp_in.c | 60 #include <net/sock.h> 95 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) 127 static int dn_process_ack(struct sock *sk, struct sk_buff *skb, int oth) 216 static struct sock *dn_find_listener(struct sk_buff *skb, unsigned short *reason) 323 static void dn_nsp_conn_init(struct sock *sk, struct sk_buff *skb) 335 static void dn_nsp_conn_conf(struct sock *sk, struct sk_buff *skb) 378 static void dn_nsp_conn_ack(struct sock *sk, struct sk_buff *skb) 390 static void dn_nsp_disc_init(struct sock *sk, struct sk_buff *skb) 458 static void dn_nsp_disc_conf(struct sock *sk, struct sk_buff *skb) 502 static void dn_nsp_linkservice(struct sock *s 601 struct socket *sock = sk->sk_socket; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ax25/ |
H A D | af_ax25.c | 33 #include <net/sock.h> 58 static void ax25_free_sock(struct sock *sk) 141 struct sock *ax25_find_listener(ax25_address *addr, int digi, 169 struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr, 172 struct sock *sk = NULL; 264 struct sock *sk; 323 struct sock *sk=ax25->sk; 516 static int ax25_setsockopt(struct socket *sock, int level, int optname, argument 519 struct sock *sk = sock 656 ax25_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 753 ax25_listen(struct socket *sock, int backlog) argument 778 ax25_create(struct socket *sock, int protocol) argument 919 ax25_release(struct socket *sock) argument 1005 ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 1083 ax25_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument 1292 ax25_accept(struct socket *sock, struct socket *newsock, int flags) argument 1361 ax25_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) argument 1409 ax25_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument 1588 ax25_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 1664 ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/ |
H A D | rtadv.c | 62 int sock; 89 rtadv_recv_packet (int sock, u_char *buf, int buflen, 112 ret = recvmsg (sock, &msg, 0); 142 rtadv_send_packet (int sock, struct interface *ifp) 274 ret = sendmsg (sock, &msg, 0); 302 rtadv_send_packet (rtadv->sock, ifp); 313 rtadv_send_packet (rtadv->sock, ifp); 382 int sock; 389 sock = THREAD_FD (thread); 393 rtadv_event (RTADV_READ, sock); 61 int sock; member in struct:rtadv 87 rtadv_recv_packet(int sock, u_char *buf, int buflen, struct sockaddr_in6 *from, unsigned int *ifindex, int *hoplimit) argument 140 rtadv_send_packet(int sock, struct interface *ifp) argument 380 int sock; local 409 int sock; local 1037 int sock; local 1068 if_join_all_router(int sock, struct interface *ifp) argument 1089 if_leave_all_router(int sock, struct interface *ifp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/ |
H A D | socket.c | 78 #include <net/sock.h> 88 static int sctp_writeable(struct sock *sk); 92 static int sctp_wait_for_packet(struct sock * sk, int *err, long *timeo_p); 94 static int sctp_wait_for_accept(struct sock *sk, long timeo); 95 static void sctp_wait_for_close(struct sock *sk, long timeo); 98 static int sctp_bindx_add(struct sock *, struct sockaddr *, int); 99 static int sctp_bindx_rem(struct sock *, struct sockaddr *, int); 100 static int sctp_send_asconf_add_ip(struct sock *, struct sockaddr *, int); 101 static int sctp_send_asconf_del_ip(struct sock *, struct sockaddr *, int); 104 static int sctp_do_bind(struct sock *, unio 3501 struct socket *sock; local 5185 sctp_inet_listen(struct socket *sock, int backlog) argument 5250 sctp_poll(struct file *file, struct socket *sock, poll_table *wait) argument 5612 struct socket *sock = sk->sk_socket; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | tcp_timer.c | 39 void tcp_init_xmit_timers(struct sock *sk) 47 static void tcp_write_err(struct sock *sk) 67 static int tcp_out_of_resources(struct sock *sk, int do_reset) 101 static int tcp_orphan_retries(struct sock *sk, int alive) 118 static int tcp_write_timeout(struct sock *sk) 169 struct sock *sk = (struct sock*)data; 228 static void tcp_probe_timer(struct sock *sk) 262 static void tcp_retransmit_timer(struct sock *sk) 368 struct sock *s [all...] |
H A D | inet_hashtables.c | 56 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb, 65 * Get rid of any references to a local port held by the given sock. 67 static void __inet_put_port(struct inet_hashinfo *hashinfo, struct sock *sk) 82 void inet_put_port(struct inet_hashinfo *hashinfo, struct sock *sk) 123 * BSD API does not allow a listening sock to specify the remote port nor the 127 static struct sock *inet_lookup_listener_slow(const struct hlist_head *head, 132 struct sock *result = NULL, *sk; 165 struct sock *__inet_lookup_listener(struct inet_hashinfo *hashinfo, 169 struct sock *sk = NULL; 195 struct sock *s [all...] |
H A D | raw.c | 63 #include <net/sock.h> 85 static void raw_v4_hash(struct sock *sk) 96 static void raw_v4_unhash(struct sock *sk) 104 struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num, 128 static __inline__ int icmp_filter(struct sock *sk, struct sk_buff *skb) 154 struct sock *sk; 184 void raw_err (struct sock *sk, struct sk_buff *skb, u32 info) 238 static int raw_rcv_skb(struct sock * sk, struct sk_buff * skb) 250 int raw_rcv(struct sock *s [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | pppoe.c | 81 #include <net/sock.h> 93 static int pppoe_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 95 static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb); 252 struct sock *sk = sk_pppox(po); 263 * hold the sock lock while doing any unbinding, 265 * Hold a reference to the sock so it doesn't disappear 330 static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb) 440 struct sock *sk = sk_pppox(po); 490 * Initialize a new struct sock. 493 static int pppoe_create(struct socket *sock) argument 517 pppoe_release(struct socket *sock) argument 567 pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, int sockaddr_len, int flags) argument 662 pppoe_getname(struct socket *sock, struct sockaddr *uaddr, int *usockaddr_len, int peer) argument 681 pppoe_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 783 pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 963 pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument [all...] |
H A D | pptp.c | 45 #include <net/sock.h> /* for struct sock */ 79 static int pptp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 81 static int __pptp_xmit(struct sock *sk, struct sk_buff *skb); 237 struct sock *sk = sk_pppox(po); 248 * hold the sock lock while doing any unbinding, 250 * Hold a reference to the sock so it doesn't disappear 358 static void pptp_fill_ip_header(struct sock *sk, 434 static int pptp_rcv_core(struct sock *sk, struct sk_buff *skb) 567 * Initialize a new struct sock 570 pptp_create(struct socket *sock) argument 595 pptp_release(struct socket *sock) argument 646 pptp_connect(struct socket *sock, struct sockaddr *uservaddr, int sockaddr_len, int flags) argument 756 pptp_getname(struct socket *sock, struct sockaddr *uaddr, int *usockaddr_len, int peer) argument 775 pptp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 893 pptp_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 1092 pptp_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/cluster/ |
H A D | tcp.c | 104 mlog(ML_SOCKET, "[sc %p refs %d sock %p node %u page %p " \ 121 * quorum work is queued as sock containers are shutdown.. stop_listening 122 * tears down all the node's sock containers, preventing future shutdowns 145 static void o2net_listen_data_ready(struct sock *sk, int bytes); 474 static void o2net_data_ready(struct sock *sk, int bytes) 476 void (*ready)(struct sock *sk, int bytes); 494 static void o2net_state_change(struct sock *sk) 496 void (*state_change)(struct sock *sk); 532 static void o2net_register_callbacks(struct sock *sk, 557 static int o2net_unregister_callbacks(struct sock *s 792 o2net_recv_tcp_msg(struct socket *sock, void *data, size_t len) argument 814 o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, size_t veclen, size_t total) argument 1022 o2net_send_status_magic(struct socket *sock, struct o2net_msg *hdr, enum o2net_system_error syserr, int err) argument 1319 o2net_set_nodelay(struct socket *sock) argument 1445 struct socket *sock = NULL; local 1659 o2net_accept_one(struct socket *sock) argument 1770 struct socket *sock = o2net_listen_sock; local 1802 struct socket *sock = NULL; local 1885 struct socket *sock = o2net_listen_sock; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/ |
H A D | access.c | 301 BOOL check_access(int sock, const char **allow_list, const char **deny_list) argument 314 ret = allow_access(deny_list,allow_list, "", get_peer_addr(sock)); 317 ret = allow_access(deny_list,allow_list, get_peer_name(sock,True), 318 get_peer_addr(sock)); 323 only_ip ? "" : get_peer_name(sock,True), 324 get_peer_addr(sock))); 327 only_ip ? "" : get_peer_name(sock,True), 328 get_peer_addr(sock)));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/ |
H A D | lib500.c | 40 static int tst_closesocket(void *clientp, curl_socket_t sock) argument 44 return sclose(sock);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/ |
H A D | http.c | 65 static int udp_establish_listener (gint *sock); 66 static int udp_check_for_data(gint sock); 71 static gint sock, rd_index, wr_index, buffer_length, prebuffer_length; variable 323 FD_SET(sock, &set); 324 ret = select(sock + 1, &set, NULL, NULL, &tv); 338 if (read(sock, buf + i, 1) <= 0) 387 sock = socket(AF_INET, SOCK_STREAM, 0); 388 fcntl(sock, F_SETFL, O_NONBLOCK); 413 if (connect(sock, (struct sockaddr *) &address, sizeof (struct sockaddr_in)) == -1) 430 FD_SET(sock, 748 udp_establish_listener(int *sock) argument 799 udp_check_for_data(int sock) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/smbfs/ |
H A D | Makefile | 7 smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \ 24 SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c smbiod.c request.c \ 34 @echo >> proto2.h "struct sock;"
|