Searched refs:sock (Results 76 - 100 of 697) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dmip6.h29 #include <net/sock.h>
59 extern int mip6_mh_filter(struct sock *sk, struct sk_buff *skb);
H A Ddn.h5 #include <net/sock.h>
123 int (*persist_fxn)(struct sock *sk);
125 void (*keepalive_fxn)(struct sock *sk);
132 void (*delack_fxn)(struct sock *sk);
136 static inline struct dn_scp *DN_SK(struct sock *sk)
211 extern struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr);
212 extern struct sock *dn_find_by_skb(struct sk_buff *skb);
215 extern int dn_destroy_timer(struct sock *sk);
220 extern void dn_start_slow_timer(struct sock *sk);
221 extern void dn_stop_slow_timer(struct sock *s
[all...]
H A Dudplite.h29 static inline int udplite_sk_init(struct sock *sk)
102 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
122 extern int udplite_get_port(struct sock *sk, unsigned short snum,
123 int (*scmp)(const struct sock *, const struct sock *));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dif_ec.h51 /* struct sock has to be the first member of econet_sock */
52 struct sock sk;
60 static inline struct econet_sock *ec_sk(const struct sock *sk)
H A Dppp_comm.h3 #include <net/sock.h>
29 struct sock *sk;
H A Dncp_fs_sb.h22 struct sock;
96 void (*data_ready)(struct sock* sk, int len);
97 void (*error_report)(struct sock* sk);
98 void (*write_space)(struct sock* sk); /* STREAM mode only */
137 extern void ncp_tcp_data_ready(struct sock* sk, int len);
138 extern void ncp_tcp_write_space(struct sock* sk);
139 extern void ncp_tcp_error_report(struct sock* sk);
H A Dif_pppox_v26.h147 #include <net/sock.h>
150 /* struct sock must be the first member of pppox_sock */
151 struct sock sk;
171 struct sock *sk;
185 static inline struct pppox_sock *pppox_sk(struct sock *sk)
190 static inline struct sock *sk_pppox(struct pppox_sock *po)
192 return (struct sock *)po;
201 int (*create)(struct socket *sock);
202 int (*ioctl)(struct socket *sock, unsigned int cmd,
209 extern void pppox_unbind_sock(struct sock *s
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/llc/
H A Dllc_c_ac.c23 #include <net/sock.h>
31 static int llc_conn_ac_inc_vs_by_1(struct sock *sk, struct sk_buff *skb);
32 static void llc_process_tmr_ev(struct sock *sk, struct sk_buff *skb);
33 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev);
35 static int llc_conn_ac_inc_npta_value(struct sock *sk, struct sk_buff *skb);
37 static int llc_conn_ac_send_rr_rsp_f_set_ackpf(struct sock *sk,
40 static int llc_conn_ac_set_p_flag_1(struct sock *sk, struct sk_buff *skb);
44 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb)
60 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb)
68 int llc_conn_ac_conn_confirm(struct sock *s
[all...]
H A Daf_llc.c40 static int llc_ui_wait_for_conn(struct sock *sk, long timeout);
41 static int llc_ui_wait_for_disc(struct sock *sk, long timeout);
42 static int llc_ui_wait_for_busy_core(struct sock *sk, long timeout);
87 static inline u8 llc_ui_header_len(struct sock *sk, struct sockaddr_llc *addr)
108 static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock)
125 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) argument
127 sk->sk_type = sock->type;
128 sk->sk_sleep = &sock->wait;
129 sk->sk_socket = sock;
149 llc_ui_create(struct socket *sock, int protocol) argument
171 llc_ui_release(struct socket *sock) argument
238 llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) argument
283 llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) argument
355 llc_ui_shutdown(struct socket *sock, int how) argument
390 llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) argument
463 llc_ui_listen(struct socket *sock, int backlog) argument
589 llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) argument
651 llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
808 llc_ui_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument
893 llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddrlen, int peer) argument
942 llc_ui_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
958 llc_ui_setsockopt(struct socket *sock, int level, int optname, char __user *optval, int optlen) argument
1033 llc_ui_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/
H A Drt_ioctl.c42 kernel_read (int sock) argument
69 int sock; local
126 sock = socket (AF_INET, SOCK_DGRAM, 0);
127 if (sock < 0)
134 ret = ioctl (sock, SIOCADDRT, &rtentry);
140 close (sock);
144 close (sock);
148 close (sock);
153 close (sock);
157 close (sock);
167 int sock; local
355 int sock; local
416 int sock; local
[all...]
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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ipvs/
H A Dip_vs_sync.c34 #include <net/sock.h>
359 static void set_mcast_loop(struct sock *sk, u_char loop)
363 /* setsockopt(sock, SOL_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop)); */
372 static void set_mcast_ttl(struct sock *sk, u_char ttl)
376 /* setsockopt(sock, SOL_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)); */
385 static int set_mcast_if(struct sock *sk, char *ifname)
445 join_mcast_group(struct sock *sk, struct in_addr *addr, char *ifname)
469 static int bind_mcastif_addr(struct socket *sock, char *ifname) argument
491 return sock->ops->bind(sock, (struc
499 struct socket *sock; local
540 struct socket *sock; local
575 ip_vs_send_async(struct socket *sock, const char *buffer, const size_t length) argument
592 ip_vs_send_sync_msg(struct socket *sock, struct ip_vs_sync_mesg *msg) argument
606 ip_vs_receive(struct socket *sock, char *buffer, const size_t buflen) argument
638 struct socket *sock; local
685 struct socket *sock; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netlink/
H A Daf_netlink.c60 #include <net/sock.h>
67 /* struct sock has to be the first member of netlink_sock */
68 struct sock sk;
81 void (*data_ready)(struct sock *sk, int bytes);
88 static inline struct netlink_sock *nlk_sk(struct sock *sk)
121 static int netlink_dump(struct sock *sk);
140 static void netlink_sock_destruct(struct sock *sk)
212 static __inline__ struct sock *netlink_lookup(int protocol, u32 pid)
216 struct sock *sk;
280 struct sock *s
383 __netlink_create(struct socket *sock, struct mutex *cb_mutex, int protocol) argument
411 netlink_create(struct socket *sock, int protocol) argument
453 netlink_release(struct socket *sock) argument
502 netlink_autobind(struct socket *sock) argument
540 netlink_capable(struct socket *sock, unsigned int flag) argument
580 netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
626 netlink_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument
659 netlink_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) argument
690 struct sock *sock; local
711 struct sock *sock; local
1010 netlink_setsockopt(struct socket *sock, int level, int optname, char __user *optval, int optlen) argument
1065 netlink_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
1115 netlink_sendmsg(struct kiocb *kiocb, struct socket *sock, struct msghdr *msg, size_t len) argument
1197 netlink_recvmsg(struct kiocb *kiocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
1280 struct socket *sock; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Daf_rxrpc.c17 #include <net/sock.h>
46 static void rxrpc_sock_destructor(struct sock *);
51 static inline int rxrpc_writable(struct sock *sk)
59 static void rxrpc_write_space(struct sock *sk)
116 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) argument
119 struct sock *sk = sock->sk;
182 static int rxrpc_listen(struct socket *sock, int backlog) argument
184 struct sock *sk = sock
217 rxrpc_name_to_transport(struct socket *sock, struct sockaddr *addr, int addr_len, int flags, gfp_t gfp) argument
263 rxrpc_kernel_begin_call(struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, gfp_t gfp) argument
350 rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor) argument
366 rxrpc_connect(struct socket *sock, struct sockaddr *addr, int addr_len, int flags) argument
437 rxrpc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len) argument
506 rxrpc_setsockopt(struct socket *sock, int level, int optname, char __user *optval, int optlen) argument
582 rxrpc_poll(struct file *file, struct socket *sock, poll_table *wait) argument
608 rxrpc_create(struct socket *sock, int protocol) argument
729 rxrpc_release(struct socket *sock) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/
H A Dhci_sock.c42 #include <net/sock.h>
92 struct sock *sk;
144 static int hci_sock_release(struct socket *sock) argument
146 struct sock *sk = sock->sk;
149 BT_DBG("sock %p sk %p", sock, sk);
173 static inline int hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg)
216 static int hci_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
218 struct sock *s
277 hci_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
313 hci_sock_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) argument
351 hci_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
388 hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len) argument
466 hci_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, int len) argument
542 hci_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
621 hci_sock_create(struct socket *sock, int protocol) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfce_api_internal.h19 int sock; member in struct:udp_entry
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dsvcsock.h21 struct sock * sk_sk; /* INET layer */
50 void (*sk_ostate)(struct sock *);
51 void (*sk_odata)(struct sock *, int bytes);
52 void (*sk_owspace)(struct sock *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/bnep/
H A Dsock.c28 * $Id: sock.c,v 1.1.1.1 2007/08/03 18:53:50 Exp $
46 #include <net/sock.h>
58 static int bnep_sock_release(struct socket *sock) argument
60 struct sock *sk = sock->sk;
62 BT_DBG("sock %p sk %p", sock, sk);
72 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
92 nsock = sockfd_lookup(ca.sock, &err);
150 static int bnep_sock_compat_ioctl(struct socket *sock, unsigne argument
207 bnep_sock_create(struct socket *sock, int protocol) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/cmtp/
H A Dsock.c37 #include <net/sock.h>
51 static int cmtp_sock_release(struct socket *sock) argument
53 struct sock *sk = sock->sk;
55 BT_DBG("sock %p sk %p", sock, sk);
66 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
86 nsock = sockfd_lookup(ca.sock, &err);
141 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
165 return cmtp_sock_ioctl(sock, cm
198 cmtp_sock_create(struct socket *sock, int protocol) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dstream.c20 #include <net/sock.h>
22 void sk_stream_write_space(struct sock *sk)
24 struct socket *sock = sk->sk_socket; local
26 if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk) && sock) {
27 clear_bit(SOCK_NOSPACE, &sock->flags);
31 if (sock->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN))
32 sock_wake_async(sock, 2, POLL_OUT);
40 * @sk: sock to wait on
45 int sk_stream_wait_connect(struct sock *sk, long *timeo_p)
80 static inline int sk_stream_closing(struct sock *s
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dfeat.h57 extern int dccp_feat_change_recv(struct sock *sk, u8 type, u8 feature,
59 extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature,
62 extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dnetlabel.c32 #include <net/sock.h>
50 static int selinux_netlbl_sock_setsid(struct sock *sk, u32 sid)
174 * @sock: the new socket
177 * The connection represented by @sk is being grafted onto @sock so set the
181 void selinux_netlbl_sock_graft(struct sock *sk, struct socket *sock) argument
183 struct inode_security_struct *isec = SOCK_INODE(sock)->i_security;
216 * @sock: the socket to label
223 int selinux_netlbl_socket_post_create(struct socket *sock) argument
226 struct sock *s
256 struct socket *sock; local
346 selinux_netlbl_socket_setsockopt(struct socket *sock, int level, int optname) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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)

Completed in 213 milliseconds

1234567891011>>