Searched refs:sock (Results 101 - 125 of 886) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/dnsmasq/contrib/dynamic-dnsmasq/
H A Ddynamic-dnsmasq.pl94 my $sock = IO::Socket::INET->new(Listen => 5,
99 while ( my $client = $sock->accept() ) {
177 my $sock = shift;
180 print $sock "HTTP/1.0 200 OK\n";
182 print $sock "Date: $tmp[0], $tmp[2] $tmp[1] $tmp[4] $tmp[3] GMT\n";
183 print $sock "Server: Peter's Fake DynDNS.org Server/1.0\n";
184 print $sock "Content-Type: text/plain; charset=ISO-8859-1\n";
185 print $sock "Connection: close\n";
186 print $sock "Transfer-Encoding: chunked\n";
187 print $sock "\
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dftp.cpp505 wxInputFTPStream(wxFTP *ftp, wxSocketBase *sock) argument
506 : wxSocketInputStream(*sock)
553 wxOutputFTPStream(wxFTP *ftp_clt, wxSocketBase *sock) argument
554 : wxSocketOutputStream(*sock), m_ftp(ftp_clt)
621 wxSocketBase *wxFTP::AcceptIfActive(wxSocketBase *sock) argument
624 return sock;
627 wxSocketServer *sockSrv = (wxSocketServer *)sock;
632 delete sock;
633 sock = NULL;
637 sock
813 wxSocketBase *sock = GetPort(); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/dlm/
H A Dlowcomms.c48 #include <net/sock.h>
101 struct socket *sock; /* NULL if not connected */ member in struct:connection
287 static void lowcomms_data_ready(struct sock *sk, int count_unused)
294 static void lowcomms_write_space(struct sock *sk)
310 static void lowcomms_state_change(struct sock *sk)
335 static int add_sock(struct socket *sock, struct connection *con) argument
337 con->sock = sock;
340 con->sock->sk->sk_data_ready = lowcomms_data_ready;
341 con->sock
917 struct socket *sock = NULL; local
996 struct socket *sock = NULL; local
1099 struct socket *sock = NULL; local
1174 struct socket *sock = NULL; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/
H A Daf_llc.c41 static int llc_ui_wait_for_conn(struct sock *sk, long timeout);
42 static int llc_ui_wait_for_disc(struct sock *sk, long timeout);
43 static int llc_ui_wait_for_busy_core(struct sock *sk, long timeout);
92 static inline u8 llc_ui_header_len(struct sock *sk, struct sockaddr_llc *addr)
112 static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock)
129 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) argument
131 sock_graft(sk, sock);
132 sk->sk_type = sock->type;
133 sock
154 llc_ui_create(struct net *net, struct socket *sock, int protocol, int kern) argument
183 llc_ui_release(struct socket *sock) argument
248 llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) argument
300 llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) argument
390 llc_ui_shutdown(struct socket *sock, int how) argument
425 llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) argument
498 llc_ui_listen(struct socket *sock, int backlog) argument
638 llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) argument
700 llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
859 llc_ui_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument
944 llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddrlen, int peer) argument
994 llc_ui_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1010 llc_ui_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument
1092 llc_ui_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/lib/
H A Dzclient.c80 zclient->sock = -1;
123 if (zclient->sock >= 0)
125 close (zclient->sock);
126 zclient->sock = -1;
142 int sock;
147 sock = socket (AF_INET, SOCK_STREAM, 0);
148 if (sock < 0)
161 ret = connect (sock, (struct sockaddr *) &serv, sizeof (serv));
164 close (sock);
167 return sock;
140 int sock; local
175 int sock, len; local
519 zebra_redistribute_send(int command, int sock, int type) argument
711 int sock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/
H A Daf_rds.c39 #include <net/sock.h>
59 static int rds_release(struct socket *sock) argument
61 struct sock *sk = sock->sk;
86 sock->sk = NULL;
95 * to wake the waitqueue after sk_sleep is clear as we hold a sock ref, but
110 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, argument
114 struct rds_sock *rs = rds_sk_to_rs(sock->sk);
153 static unsigned int rds_poll(struct file *file, struct socket *sock, argument
156 struct sock *s
193 rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
256 rds_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument
293 rds_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
332 rds_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
392 __rds_create(struct socket *sock, struct sock *sk, int protocol) argument
419 rds_create(struct net *net, struct socket *sock, int protocol, int kern) argument
450 rds_sock_inc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
482 rds_sock_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/atm/
H A Dioctl.c50 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, argument
53 struct sock *sk = sock->sk;
59 vcc = ATM_SD(sock);
62 if (sock->state != SS_CONNECTED ||
74 if (sock->state != SS_CONNECTED) {
134 sock->state = SS_CONNECTED;
171 error = ic->ioctl(sock, cmd, arg);
188 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
190 return do_vcc_ioctl(sock, cm
237 do_atm_iobuf(struct socket *sock, unsigned int cmd, unsigned long arg) argument
268 do_atmif_sioc(struct socket *sock, unsigned int cmd, unsigned long arg) argument
297 do_atm_ioctl(struct socket *sock, unsigned int cmd32, unsigned long arg) argument
350 vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/
H A Dhci_sock.c43 #include <net/sock.h>
88 struct sock *sk;
140 static int hci_sock_release(struct socket *sock) argument
142 struct sock *sk = sock->sk;
145 BT_DBG("sock %p sk %p", sock, sk);
247 static inline int hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg)
292 static int hci_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
294 struct sock *s
353 hci_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
389 hci_sock_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) argument
444 hci_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
481 hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument
564 hci_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int len) argument
640 hci_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
719 hci_sock_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/fs/smbfs/
H A DMakefile7 smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rose/
H A Drose_timer.c24 #include <net/sock.h>
36 void rose_start_heartbeat(struct sock *sk)
47 void rose_start_t1timer(struct sock *sk)
60 void rose_start_t2timer(struct sock *sk)
73 void rose_start_t3timer(struct sock *sk)
86 void rose_start_hbtimer(struct sock *sk)
99 void rose_start_idletimer(struct sock *sk)
114 void rose_stop_heartbeat(struct sock *sk)
119 void rose_stop_timer(struct sock *sk)
124 void rose_stop_idletimer(struct sock *s
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dsunrpc.h46 int svc_send_common(struct socket *sock, struct xdr_buf *xdr,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/bnep/
H A Dsock.c42 #include <net/sock.h>
49 static int bnep_sock_release(struct socket *sock) argument
51 struct sock *sk = sock->sk;
53 BT_DBG("sock %p sk %p", sock, sk);
63 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
83 nsock = sockfd_lookup(ca.sock, &err);
141 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
165 return bnep_sock_ioctl(sock, cm
198 bnep_sock_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/bluetooth/cmtp/
H A Dsock.c37 #include <net/sock.h>
46 static int cmtp_sock_release(struct socket *sock) argument
48 struct sock *sk = sock->sk;
50 BT_DBG("sock %p sk %p", sock, sk);
61 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
81 nsock = sockfd_lookup(ca.sock, &err);
136 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
160 return cmtp_sock_ioctl(sock, cm
193 cmtp_sock_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/include/net/
H A Dmip6.h29 #include <net/sock.h>
H A Draw.h29 extern int raw_rcv(struct sock *, struct sk_buff *);
57 void raw_hash_sk(struct sock *sk);
58 void raw_unhash_sk(struct sock *sk);
67 static inline struct raw_sock *raw_sk(const struct sock *sk)
H A Ddn.h5 #include <net/sock.h>
120 int (*persist_fxn)(struct sock *sk);
122 void (*keepalive_fxn)(struct sock *sk);
129 void (*delack_fxn)(struct sock *sk);
133 static inline struct dn_scp *DN_SK(struct sock *sk)
208 extern struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr);
209 extern struct sock *dn_find_by_skb(struct sk_buff *skb);
212 extern int dn_destroy_timer(struct sock *sk);
217 extern void dn_start_slow_timer(struct sock *sk);
218 extern void dn_stop_slow_timer(struct sock *s
[all...]
H A Dinet_sock.h27 #include <net/sock.h>
114 struct sock sk;
159 static inline struct inet_sock *inet_sk(const struct sock *sk)
164 static inline void __inet_sk_copy_descendant(struct sock *sk_to,
165 const struct sock *sk_from,
172 static inline void inet_sk_copy_descendant(struct sock *sk_to,
173 const struct sock *sk_from)
179 extern int inet_sk_rebuild_header(struct sock *sk);
194 static inline int inet_sk_ehashfn(const struct sock *sk)
219 static inline __u8 inet_sk_flowi_flags(const struct sock *s
[all...]
H A Dudplite.h26 static inline int udplite_sk_init(struct sock *sk)
99 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
119 extern int udplite_get_port(struct sock *sk, unsigned short snum,
120 int (*scmp)(const struct sock *, const struct sock *));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/netns/
H A Dipv6.h57 struct sock **icmp_sk;
58 struct sock *ndisc_sk;
59 struct sock *tcp_sk;
60 struct sock *igmp_sk;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dncp_fs_sb.h23 struct sock;
97 void (*data_ready)(struct sock* sk, int len);
98 void (*error_report)(struct sock* sk);
99 void (*write_space)(struct sock* sk); /* STREAM mode only */
139 extern void ncp_tcp_data_ready(struct sock* sk, int len);
140 extern void ncp_tcp_write_space(struct sock* sk);
141 extern void ncp_tcp_error_report(struct sock* sk);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/vhost/
H A Dnet.c28 #include <net/sock.h>
104 static void tx_poll_start(struct vhost_net *net, struct socket *sock) argument
108 vhost_poll_start(net->poll + VHOST_NET_VQ_TX, sock->file);
130 struct socket *sock = rcu_dereference(vq->private_data); local
131 if (!sock)
134 wmem = atomic_read(&sock->sk->sk_wmem_alloc);
135 if (wmem >= sock->sk->sk_sndbuf) {
137 tx_poll_start(net, sock);
146 if (wmem < sock->sk->sk_sndbuf / 2)
160 wmem = atomic_read(&sock
308 struct socket *sock = rcu_dereference(vq->private_data); local
419 struct socket *sock = rcu_dereference(vq->private_data); local
585 struct socket *sock = vq->private_data; local
598 struct socket *sock; local
654 struct socket *sock = sockfd_lookup(fd, &r); local
682 struct socket *sock; local
696 struct socket *sock; local
711 struct socket *sock, *oldsock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/cluster/
H A Dtcp.h32 #include <net/sock.h>
68 static inline int o2net_link_down(int err, struct socket *sock) argument
70 if (sock) {
71 if (sock->sk->sk_state != TCP_ESTABLISHED &&
72 sock->sk->sk_state != TCP_CLOSE_WAIT)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/zebra/
H A Dirdp.c152 send_multicast (struct interface *ifp, int sock, struct stream *s, int size) argument
165 if (setsockopt_multicast_ipv4 (sock, IP_MULTICAST_IF,
175 nbytes = sendto (sock, s->data, size, 0,
195 irdp_send_solicit (int sock, struct stream *s, int size) argument
205 send_multicast (ifp, sock, s, size);
215 ipv4_multicast_join (int sock, argument
222 ret = setsockopt_multicast_ipv4 (sock, IP_ADD_MEMBERSHIP,
233 irdp_multicast_socket (int sock, struct in_addr group) argument
245 ipv4_multicast_join (sock, group, addr, ifp->ifindex);
262 irdp_set (int sock) argument
302 irdp_solicit(int sock) argument
418 int sock; local
437 irdp_recv(int sock) argument
462 irdp_loop(int sock) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/
H A Dtifm_7xx1.c25 struct tifm_dev *sock)
29 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) argument
34 fm->socket_change_set |= 1 << sock->socket_id;
42 struct tifm_dev *sock; local
56 sock = fm->sockets[cnt];
57 if (sock) {
59 sock->data_event(sock);
61 sock->card_event(sock);
24 tifm_7xx1_dummy_eject(struct tifm_adapter *fm, struct tifm_dev *sock) argument
142 struct tifm_dev *sock; local
305 tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) argument
311 tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/hidp/
H A Dsock.c38 #include <net/sock.h>
42 static int hidp_sock_release(struct socket *sock) argument
44 struct sock *sk = sock->sk;
46 BT_DBG("sock %p sk %p", sock, sk);
57 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
158 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
211 return hidp_sock_ioctl(sock, cmd, arg);
244 static int hidp_sock_create(struct net *net, struct socket *sock, in argument
[all...]

Completed in 146 milliseconds

1234567891011>>