Searched refs:sock (Results 1 - 25 of 697) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dllc_c_ev.h15 #include <net/sock.h>
128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb);
129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb);
131 extern int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb);
132 extern int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb);
133 extern int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb);
134 extern int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb);
135 extern int llc_conn_ev_local_busy_detected(struct sock *sk,
137 extern int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb);
138 extern int llc_conn_ev_rx_bad_pdu(struct sock *s
[all...]
H A Dllc_c_ac.h90 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb);
92 extern int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb);
93 extern int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb);
94 extern int llc_conn_ac_conn_confirm(struct sock* sk, struct sk_buff *skb);
95 extern int llc_conn_ac_data_ind(struct sock* sk, struct sk_buff *skb);
96 extern int llc_conn_ac_disc_ind(struct sock* sk, struct sk_buff *skb);
97 extern int llc_conn_ac_rst_ind(struct sock* sk, struct sk_buff *skb);
98 extern int llc_conn_ac_rst_confirm(struct sock* sk, struct sk_buff *skb);
99 extern int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock* sk,
101 extern int llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2(struct sock* s
[all...]
H A Dinet_common.h12 struct sock;
16 extern void inet_remove_sock(struct sock *sk1);
18 struct sock *sk);
19 extern int inet_release(struct socket *sock);
20 extern int inet_stream_connect(struct socket *sock,
23 extern int inet_dgram_connect(struct socket *sock,
26 extern int inet_accept(struct socket *sock,
29 struct socket *sock,
32 extern int inet_shutdown(struct socket *sock, int how);
33 extern unsigned int inet_poll(struct file * file, struct socket *sock, struc
[all...]
H A Draw.h25 extern void raw_err(struct sock *, struct sk_buff *, u32 info);
26 extern int raw_rcv(struct sock *, struct sk_buff *);
37 extern struct sock *__raw_v4_lookup(struct sock *sk, unsigned short num,
H A Drawv6.h12 extern struct sock *__raw_v6_lookup(struct sock *sk, unsigned short num,
16 extern int rawv6_rcv(struct sock *sk,
20 extern void rawv6_err(struct sock *sk,
H A Dinet6_connection_sock.h22 struct sock;
25 extern int inet6_csk_bind_conflict(const struct sock *sk,
28 extern struct request_sock *inet6_csk_search_req(const struct sock *sk,
35 extern void inet6_csk_reqsk_queue_hash_add(struct sock *sk,
39 extern void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
H A Dtimewait_sock.h15 #include <net/sock.h>
20 int (*twsk_unique)(struct sock *sk,
21 struct sock *sktw, void *twp);
22 void (*twsk_destructor)(struct sock *sk);
25 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp)
32 static inline void twsk_destructor(struct sock *sk)
H A Dinet_connection_sock.h41 void (*send_check)(struct sock *sk, int len,
43 int (*rebuild_header)(struct sock *sk);
44 int (*conn_request)(struct sock *sk, struct sk_buff *skb);
45 struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb,
48 int (*remember_stamp)(struct sock *sk);
51 int (*setsockopt)(struct sock *sk, int level, int optname,
53 int (*getsockopt)(struct sock *sk, int level, int optname,
55 int (*compat_setsockopt)(struct sock *sk,
58 int (*compat_getsockopt)(struct sock *s
[all...]
H A Dsock.h8 * Version: @(#)sock.h 1.0.4 05/13/93
94 struct sock;
110 * for struct sock and struct inet_timewait_sock.
125 * struct sock - network layer representation of sockets
131 * @sk_sleep: sock wait queue
153 * @sk_prot_creator: sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)
167 * @sk_timer: sock cleanup timer
176 * @sk_state_change: callback to indicate change in the state of the sock
181 * @sk_destruct: called at sock freeing time, i.e. when all refcnt == 0
183 struct sock { struct
666 struct socket *sock; member in struct:sock_iocb
[all...]
H A Dllc_sap.h17 struct sock;
20 extern void llc_save_primitive(struct sock *sk, struct sk_buff* skb,
22 extern struct sk_buff *llc_alloc_frame(struct sock *sk,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/
H A Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \
71 ((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))|\
72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))
74 #define MECR_GET(mecr, sock, shift, mask) \
75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\
78 #define MECR_BSIO_SET(mecr, sock, bs) \
79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs))
81 #define MECR_BSIO_GET(mecr, sock) \
82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK)
84 #define MECR_BSA_SET(mecr, sock, b
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dcreate_icmp6_socket.c19 int sock; local
24 sock = socket(AF_INET6, SOCK_RAW,
26 if (sock < 0) {
35 return sock;
H A Dcreate_icmp_socket.c18 int sock; local
23 sock = socket(AF_INET, SOCK_RAW,
25 if (sock < 0) {
34 return sock;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/iucv/
H A Daf_iucv.h57 struct sock sk;
63 struct sock *parent;
76 static void iucv_sock_destruct(struct sock *sk);
77 static void iucv_sock_cleanup_listen(struct sock *parent);
78 static void iucv_sock_kill(struct sock *sk);
79 static void iucv_sock_close(struct sock *sk);
80 static int iucv_sock_create(struct socket *sock, int proto);
81 static int iucv_sock_bind(struct socket *sock, struct sockaddr *addr,
83 static int iucv_sock_connect(struct socket *sock, struct sockaddr *addr,
85 static int iucv_sock_listen(struct socket *sock, in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/
H A Dclientsocket.c41 struct sockaddr_ll sock; local
46 sock.sll_family = AF_PACKET;
47 sock.sll_protocol = htons(ETH_P_IP);
48 sock.sll_ifindex = ifindex;
49 xbind(fd, (struct sockaddr *) &sock, sizeof(sock));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dudp_impl.h11 extern int __udp_lib_get_port(struct sock *sk, unsigned short snum,
13 int (*)(const struct sock*,const struct sock*));
14 extern int ipv4_rcv_saddr_equal(const struct sock *, const struct sock *);
17 extern int udp_setsockopt(struct sock *sk, int level, int optname,
19 extern int udp_getsockopt(struct sock *sk, int level, int optname,
23 extern int compat_udp_setsockopt(struct sock *sk, int level, int optname,
25 extern int compat_udp_getsockopt(struct sock *sk, int level, int optname,
28 extern int udp_recvmsg(struct kiocb *iocb, struct sock *s
[all...]
H A Dtcp_vegas.h18 extern void tcp_vegas_init(struct sock *sk);
19 extern void tcp_vegas_state(struct sock *sk, u8 ca_state);
20 extern void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, ktime_t last);
21 extern void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event);
22 extern void tcp_vegas_get_info(struct sock *sk, u32 ext, struct sk_buff *skb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dppp_private.h10 extern int pptp_xmit_wrap(struct sock *sk, struct sk_buff *skb);
11 extern int pppoe_xmit_wrap(struct sock *sk, struct sk_buff *skb);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/hidp/
H A DMakefile7 hidp-objs := core.o sock.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dsock_exec.c35 struct sockaddr_in sock; local
37 socklen_t socklen = sizeof(sock);
42 memset(&sock, 0, sizeof(sock));
56 if (getsockname(listener, (struct sockaddr *)&sock, &socklen) != 0) goto failed;
62 sock.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
64 if (connect(fd[1],(struct sockaddr *)&sock,sizeof(sock)) == -1) {
70 if ((fd[0] = accept(listener, (struct sockaddr *)&sock, &socklen)) == -1) goto failed;
74 if (connect(fd[1],(struct sockaddr *)&sock,sizeo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/
H A Dsocket.c33 int sock; local
37 sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
38 if (sock < 0)
45 err = setsockopt(sock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &val, sizeof(val));
54 err = setsockopt(sock, IPPROTO_RAW, IPV6_CHECKSUM, &val, sizeof(val));
56 err = setsockopt(sock, IPPROTO_IPV6, IPV6_CHECKSUM, &val, sizeof(val));
65 err = setsockopt(sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &val, sizeof(val));
73 err = setsockopt(sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &val, sizeof(val));
83 err = setsockopt(sock, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, &val, sizeof(val));
100 err = setsockopt(sock, IPPROTO_ICMPV
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dsockopt.c28 setsockopt_ipv6_pktinfo (int sock, int val) argument
33 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &val, sizeof(val));
37 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_PKTINFO, &val, sizeof(val));
46 setsockopt_ipv6_checksum (int sock, int val) argument
51 ret = setsockopt(sock, IPPROTO_RAW, IPV6_CHECKSUM, &val, sizeof(val));
53 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_CHECKSUM, &val, sizeof(val));
62 setsockopt_ipv6_multicast_hops (int sock, int val) argument
66 ret = setsockopt(sock, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &val, sizeof(val));
74 setsockopt_ipv6_unicast_hops (int sock, int val) argument
78 ret = setsockopt(sock, IPPROTO_IPV
85 setsockopt_ipv6_hoplimit(int sock, int val) argument
103 setsockopt_ipv6_multicast_loop(int sock, int val) argument
122 setsockopt_multicast_ipv4(int sock, int optname, struct in_addr if_addr, unsigned int mcast_addr, unsigned int ifindex) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnet.h114 struct sock *sk;
129 int (*release) (struct socket *sock);
130 int (*bind) (struct socket *sock,
133 int (*connect) (struct socket *sock,
138 int (*accept) (struct socket *sock,
140 int (*getname) (struct socket *sock,
143 unsigned int (*poll) (struct file *file, struct socket *sock,
145 int (*ioctl) (struct socket *sock, unsigned int cmd,
147 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
149 int (*listen) (struct socket *sock, in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/bnep/
H A DMakefile7 bnep-objs := core.o sock.o netdev.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/cmtp/
H A DMakefile7 cmtp-objs := core.o sock.o capi.o

Completed in 218 milliseconds

1234567891011>>