/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | tcp.h | 40 #include <net/sock.h> 52 extern void tcp_time_wait(struct sock *sk, int state, int timeo); 271 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) 289 static inline void tcp_synq_overflow(struct sock *sk) 295 static inline int tcp_synq_no_recent_overflow(const struct sock *sk) 311 extern void tcp_shutdown (struct sock *sk, int how); 315 extern int tcp_v4_remember_stamp(struct sock *sk); 317 extern int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, 319 extern int tcp_sendpage(struct sock *sk, struct page *page, int offset, 321 extern int tcp_ioctl(struct sock *s [all...] |
H A D | x25.h | 14 #include <net/sock.h> 148 struct sock sk; 177 static inline struct x25_sock *x25_sk(const struct sock *sk) 198 extern struct sock *x25_find_socket(unsigned int, struct x25_neigh *); 199 extern void x25_destroy_socket_from_timer(struct sock *); 214 extern int x25_negotiate_facilities(struct sk_buff *, struct sock *, 227 extern int x25_process_rx_frame(struct sock *, struct sk_buff *); 228 extern int x25_backlog_rcv(struct sock *, struct sk_buff *); 255 extern int x25_output(struct sock *, struct sk_buff *); 256 extern void x25_kick(struct sock *); [all...] |
H A D | llc_sap.h | 20 struct sock; 23 extern void llc_save_primitive(struct sock *sk, struct sk_buff* skb, 25 extern struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
|
H A D | dn_nsp.h | 18 extern void dn_nsp_send_data_ack(struct sock *sk); 19 extern void dn_nsp_send_oth_ack(struct sock *sk); 20 extern void dn_nsp_delayed_ack(struct sock *sk); 21 extern void dn_send_conn_ack(struct sock *sk); 22 extern void dn_send_conn_conf(struct sock *sk, gfp_t gfp); 23 extern void dn_nsp_send_disc(struct sock *sk, unsigned char type, 27 extern void dn_nsp_send_link(struct sock *sk, unsigned char lsflags, char fcval); 28 extern void dn_nsp_send_conninit(struct sock *sk, unsigned char flags); 30 extern void dn_nsp_output(struct sock *sk); 31 extern int dn_nsp_check_xmit_queue(struct sock *s [all...] |
H A D | rose.h | 11 #include <net/sock.h> 120 struct sock sock; member in struct:rose_sock 160 extern struct sock *rose_find_socket(unsigned int, struct rose_neigh *); 164 extern void rose_destroy_socket(struct sock *); 170 extern int rose_process_rx_frame(struct sock *, struct sk_buff *); 187 extern void rose_kick(struct sock *); 188 extern void rose_enquiry_response(struct sock *); 211 extern void rose_clear_queues(struct sock *); 212 extern void rose_frames_acked(struct sock *, unsigne [all...] |
H A D | scm.h | 33 extern int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 38 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument 40 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); 43 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument 72 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, argument 77 unix_get_peersec_dgram(sock, scm); 80 return __scm_send(sock, msg, scm); 84 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) argument 90 if (test_bit(SOCK_PASSSEC, &sock->flags)) { 100 static inline void scm_passec(struct socket *sock, struc argument 104 scm_recv(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/ |
H A D | sendfile.h | 22 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) argument 24 return sendfile(sock, sendfd, offset, len); 33 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) argument 37 ret = sendfile(sendfd, sock, *offset, &len, NULL, 0); 49 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) argument 54 ret = sendfile(sendfd, sock, *offset, nbytes, NULL, &len, SF_MNOWAIT); 64 int sys_sendfile(int sock, int sendfd, off_t *offset, off_t len) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | kobject_ns.h | 20 struct sock; 36 * @netlink_ns: return namespace to which a sock belongs (right?) 42 const void *(*netlink_ns)(struct sock *sk); 52 const void *kobj_ns_netlink(enum kobj_ns_type type, struct sock *sk);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/atm/ |
H A D | svc.c | 21 #include <net/sock.h> /* for sock_no_* */ 29 static int svc_create(struct net *net, struct socket *sock, int protocol, 39 static int svc_shutdown(struct socket *sock, int how) argument 48 struct sock *sk = sk_atm(vcc); 73 static int svc_release(struct socket *sock) argument 75 struct sock *sk = sock->sk; 79 vcc = ATM_SD(sock); 88 vcc_release(sock); 93 static int svc_bind(struct socket *sock, struc argument 148 svc_connect(struct socket *sock, struct sockaddr *sockaddr, int sockaddr_len, int flags) argument 286 svc_listen(struct socket *sock, int backlog) argument 325 svc_accept(struct socket *sock, struct socket *newsock, int flags) argument 423 svc_getname(struct socket *sock, struct sockaddr *sockaddr, int *sockaddr_len, int peer) argument 454 svc_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument 499 svc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 527 svc_addparty(struct socket *sock, struct sockaddr *sockaddr, int sockaddr_len, int flags) argument 557 svc_dropparty(struct socket *sock, int ep_ref) argument 583 svc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 613 svc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 655 svc_create(struct net *net, struct socket *sock, int protocol, int kern) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/tipc/ |
H A D | socket.c | 48 #include <net/sock.h> 64 struct sock sk; 72 static int backlog_rcv(struct sock *sk, struct sk_buff *skb); 137 static void advance_rx_queue(struct sock *sk) 149 static void discard_rx_queue(struct sock *sk) 165 static void reject_rx_queue(struct sock *sk) 178 * @sock: pre-allocated socket structure 188 static int tipc_create(struct net *net, struct socket *sock, int protocol, argument 193 struct sock *sk; 204 switch (sock 276 release(struct socket *sock) argument 355 bind(struct socket *sock, struct sockaddr *uaddr, int uaddr_len) argument 392 get_name(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) argument 443 poll(struct file *file, struct socket *sock, poll_table *wait) argument 511 send_msg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 619 send_packet(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 678 send_stream(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 772 auto_connect(struct socket *sock, struct tipc_msg *msg) argument 894 recv_msg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t buf_len, int flags) argument 1021 recv_stream(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t buf_len, int flags) argument 1195 struct socket *sock = sk->sk_socket; local 1360 connect(struct socket *sock, struct sockaddr *dest, int destlen, int flags) argument 1472 listen(struct socket *sock, int len) argument 1501 accept(struct socket *sock, struct socket *new_sock, int flags) argument 1595 shutdown(struct socket *sock, int how) argument 1662 setsockopt(struct socket *sock, int lvl, int opt, char __user *ov, unsigned int ol) argument 1721 getsockopt(struct socket *sock, int lvl, int opt, char __user *ov, int __user *ol) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/sunrpc/ |
H A D | svcsock.h | 21 struct sock * sk_sk; /* INET layer */ 24 void (*sk_ostate)(struct sock *); 25 void (*sk_odata)(struct sock *, int bytes); 26 void (*sk_owspace)(struct sock *);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/netns/ |
H A D | ipv4.h | 14 struct sock; 29 struct sock *fibnl; 31 struct sock **icmp_sk; 32 struct sock *tcp_sock;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/lib/ |
H A D | sockopt.h | 34 int setsockopt_multicast_ipv4(int sock,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/ |
H A D | bgp_network.c | 145 bgp_bind_address (int sock, struct in_addr *addr) 157 ret = bind (sock, (struct sockaddr *)&local, sizeof (struct sockaddr_in)); 276 int sock = 0; 301 sock = socket (ainfo->ai_family, ainfo->ai_socktype, ainfo->ai_protocol); 302 if (sock < 0) 308 sockopt_reuseaddr (sock); 309 sockopt_reuseport (sock); 311 ret = bind (sock, ainfo->ai_addr, ainfo->ai_addrlen); 315 close (sock); 318 ret = listen (sock, 144 bgp_bind_address(int sock, struct in_addr *addr) argument 275 int sock = 0; local 338 int sock; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/ |
H A D | protocol.cpp | 98 wxProtocolError wxProtocol::ReadLine(wxSocketBase *sock, wxString& result) argument 106 while ( sock->WaitForRead() ) 109 sock->Peek(pBuf, LINE_BUF); 111 size_t nRead = sock->LastCount(); 112 if ( !nRead && sock->Error() ) 150 sock->Read(pBuf, nRead); 151 if ( sock->LastCount() != nRead ) 175 wxProtocolError GetLine(wxSocketBase *sock, wxString& result) argument 183 avail = sock->Read(tmp_buf, PROTO_BSIZE).LastCount(); 184 if (sock [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/ |
H A D | info.h | 17 typedef void (*rds_info_func)(struct socket *sock, unsigned int len, 23 int rds_info_getsockopt(struct socket *sock, int optname, char __user *optval,
|
H A D | tcp.h | 47 void rds_tcp_tune(struct socket *sock); 48 void rds_tcp_nonagle(struct socket *sock); 49 void rds_tcp_set_callbacks(struct socket *sock, struct rds_connection *conn); 50 void rds_tcp_restore_callbacks(struct socket *sock, 60 void rds_tcp_state_change(struct sock *sk); 65 void rds_tcp_listen_data_ready(struct sock *sk, int bytes); 70 void rds_tcp_data_ready(struct sock *sk, int bytes); 82 void rds_tcp_write_space(struct sock *sk);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/ |
H A D | af_bluetooth.c | 37 #include <net/sock.h> 74 static inline void bt_sock_reclassify_lock(struct socket *sock, int proto) argument 76 struct sock *sk = sock->sk; 128 static int bt_sock_create(struct net *net, struct socket *sock, int proto, argument 147 err = bt_proto[proto]->create(net, sock, proto, kern); 148 bt_sock_reclassify_lock(sock, proto); 157 void bt_sock_link(struct bt_sock_list *l, struct sock *sk) 165 void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk) 173 void bt_accept_enqueue(struct sock *paren 228 bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument 283 bt_sock_poll(struct file * file, struct socket *sock, poll_table *wait) argument 325 bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | sco.c | 44 #include <net/sock.h> 63 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent); 64 static void sco_chan_del(struct sock *sk, int err); 68 static void sco_sock_close(struct sock *sk); 69 static void sco_sock_kill(struct sock *sk); 74 struct sock *sk = (struct sock *) arg; 76 BT_DBG("sock %p state %d", sk, sk->sk_state); 87 static void sco_sock_set_timer(struct sock *s 406 sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) argument 431 sco_sock_create(struct net *net, struct socket *sock, int protocol, int kern) argument 453 sco_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 489 sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 524 sco_sock_listen(struct socket *sock, int backlog) argument 547 sco_sock_accept(struct socket *sock, struct socket *newsock, int flags) argument 603 sco_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) argument 621 sco_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument 647 sco_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument 666 sco_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) argument 721 sco_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 746 sco_sock_shutdown(struct socket *sock, int how) argument 770 sco_sock_release(struct socket *sock) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/bluetooth/ |
H A D | bluetooth.h | 32 #include <net/sock.h> 111 struct sock sk; 115 struct sock *parent; 126 void bt_sock_link(struct bt_sock_list *l, struct sock *s); 127 void bt_sock_unlink(struct bt_sock_list *l, struct sock *s); 128 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags); 129 uint bt_sock_poll(struct file * file, struct socket *sock, poll_table *wait); 130 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 131 int bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo); 133 void bt_accept_enqueue(struct sock *paren [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netrom/ |
H A D | nr_timer.c | 24 #include <net/sock.h> 39 void nr_init_timers(struct sock *sk) 53 void nr_start_t1timer(struct sock *sk) 60 void nr_start_t2timer(struct sock *sk) 67 void nr_start_t4timer(struct sock *sk) 74 void nr_start_idletimer(struct sock *sk) 82 void nr_start_heartbeat(struct sock *sk) 87 void nr_stop_t1timer(struct sock *sk) 92 void nr_stop_t2timer(struct sock *sk) 97 void nr_stop_t4timer(struct sock *s [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/ |
H A D | socket.h | 265 int socket_recv_queue (struct link_socket *sock, int maxsize); 267 int socket_send_queue (struct link_socket *sock, 299 link_socket_init_phase1 (struct link_socket *sock, 333 void link_socket_init_phase2 (struct link_socket *sock, 341 void link_socket_close (struct link_socket *sock); 559 link_socket_connection_oriented (const struct link_socket *sock) argument 561 if (sock) 562 return link_socket_proto_connection_oriented (sock->info.proto); 718 socket_foreign_protocol_detected (const struct link_socket *sock) argument 720 return link_socket_connection_oriented (sock) 725 socket_foreign_protocol_head(const struct link_socket *sock) argument 731 socket_foreign_protocol_sd(const struct link_socket *sock) argument 739 socket_connection_reset(const struct link_socket *sock, int status) argument 838 stream_buf_read_setup(struct link_socket* sock) argument 857 link_socket_read_udp_win32(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *from) argument 875 link_socket_read(struct link_socket *sock, struct buffer *buf, int maxsize, struct link_socket_actual *from) argument 915 link_socket_write_win32(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *to) argument 940 link_socket_write_udp_posix(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *to) argument 960 link_socket_write_tcp_posix(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *to) argument 970 link_socket_write_udp(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *to) argument 983 link_socket_write(struct link_socket *sock, struct buffer *buf, struct link_socket_actual *to) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/smbfs/ |
H A D | sock.c | 2 * sock.c 59 smb_data_ready(struct sock *sk, int len) 62 void (*data_ready)(struct sock *, int) = server->data_ready; 98 struct socket *sock = server_sock(server); local 100 VERBOSE("closing socket %p\n", sock); 101 sock->sk->sk_data_ready = server->data_ready; 146 struct socket *sock = server_sock(server); local 150 err = sock->ops->ioctl(sock, SIOCINQ, (unsigned long) &avail); 202 struct socket *sock; local 256 struct socket *sock; local 303 struct socket *sock; local 352 struct socket *sock; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pcmcia/ |
H A D | au1000_pb1x00.c | 80 pb1x00_pcmcia_socket_state(unsigned sock, struct pcmcia_state *state) argument 96 if (sock == 0) { 147 if(info->sock > PCMCIA_MAX_SOCK) return -1; 164 if(configure->sock > PCMCIA_MAX_SOCK) return -1; 168 if (configure->sock == 0) { 185 configure->sock); 189 configure->sock); 193 configure->sock); 197 configure->sock); 201 configure->sock); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/rfcomm/ |
H A D | sock.c | 45 #include <net/sock.h> 61 static void rfcomm_sock_close(struct sock *sk); 62 static void rfcomm_sock_kill(struct sock *sk); 70 struct sock *sk = d->owner; 84 struct sock *sk = d->owner, *parent; 126 static struct sock *__rfcomm_get_sock_by_addr(u8 channel, bdaddr_t *src) 128 struct sock *sk = NULL; 143 static struct sock *__rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src) 145 struct sock *sk = NULL, *sk1 = NULL; 167 static inline struct sock *rfcomm_get_sock_by_channe 291 rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) argument 332 rfcomm_sock_create(struct net *net, struct socket *sock, int protocol, int kern) argument 354 rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 395 rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 437 rfcomm_sock_listen(struct socket *sock, int backlog) argument 486 rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) argument 547 rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) argument 565 rfcomm_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument 651 rfcomm_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 741 rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsigned int optlen) argument 777 rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument 840 rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) argument 907 rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 961 rfcomm_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 983 rfcomm_sock_shutdown(struct socket *sock, int how) argument 1004 rfcomm_sock_release(struct socket *sock) argument [all...] |