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

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pcmcia/
H A Dm32r_cfc.c106 void pcc_ioread_byte(int sock, unsigned long port, void *buf, size_t size, argument
113 pr_debug("m32r_cfc: pcc_ioread_byte: sock=%d, port=%#lx, buf=%p, "
115 sock, port, buf, size, nmemb, flag);
131 void pcc_ioread_word(int sock, unsigned long port, void *buf, size_t size, argument
138 pr_debug("m32r_cfc: pcc_ioread_word: sock=%d, port=%#lx, "
140 sock, port, buf, size, nmemb, flag);
162 void pcc_iowrite_byte(int sock, unsigned long port, void *buf, size_t size, argument
169 pr_debug("m32r_cfc: pcc_iowrite_byte: sock=%d, port=%#lx, "
171 sock, port, buf, size, nmemb, flag);
187 void pcc_iowrite_word(int sock, unsigne argument
247 pcc_get(u_short sock, unsigned int reg) argument
255 pcc_set(u_short sock, unsigned int reg, unsigned int data) argument
270 is_alive(u_short sock) argument
395 _pcc_get_status(u_short sock, u_int *value) argument
468 _pcc_set_socket(u_short sock, socket_state_t *state) argument
522 _pcc_set_io_map(u_short sock, struct pccard_io_map *io) argument
537 _pcc_set_mem_map(u_short sock, struct pccard_mem_map *mem) argument
600 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
613 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
625 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
637 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
[all...]
H A Dm32r_pcc.c85 void pcc_iorw(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int wr, int flag) argument
93 pcc_socket_t *t = &socket[sock];
125 pcc_set(sock, PCCR, 0);
131 pcc_set(sock, PCMOD, PCMOD_AS_IO | cbsz | need_ex);
132 pcc_set(sock, PCADR, addr & 0x1ff00000);
137 pcc_set(sock, PCCR, 1);
210 if ((addr = pcc_get(sock, PCIRC)) & PCIRC_BWERR) {
213 pcc_set(sock, PCIRC, addr);
228 void pcc_ioread(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int flag) { argument
229 pcc_iorw(sock, por
232 pcc_iowrite(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int flag) argument
256 pcc_get(u_short sock, unsigned int reg) argument
262 pcc_set(u_short sock, unsigned int reg, unsigned int data) argument
276 is_alive(u_short sock) argument
388 _pcc_get_status(u_short sock, u_int *value) argument
409 _pcc_set_socket(u_short sock, socket_state_t *state) argument
466 _pcc_set_io_map(u_short sock, struct pccard_io_map *io) argument
481 _pcc_set_mem_map(u_short sock, struct pccard_mem_map *mem) argument
568 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
579 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
589 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
598 unsigned int sock = container_of(s, struct pcc_socket, socket)->number; local
[all...]
H A Di82365.c219 static u_char i365_get(u_short sock, u_short reg) argument
224 unsigned int port = socket[sock].ioaddr;
226 reg = I365_REG(socket[sock].psock, reg);
233 static void i365_set(u_short sock, u_short reg, u_char data) argument
238 unsigned int port = socket[sock].ioaddr;
239 u_char val = I365_REG(socket[sock].psock, reg);
245 static void i365_bset(u_short sock, u_short reg, u_char mask) argument
247 u_char d = i365_get(sock, reg);
249 i365_set(sock, reg, d);
252 static void i365_bclr(u_short sock, u_shor argument
259 i365_bflip(u_short sock, u_short reg, u_char mask, int b) argument
269 i365_get_pair(u_short sock, u_short reg) argument
277 i365_set_pair(u_short sock, u_short reg, u_short data) argument
491 test_irq(u_short sock, int irq) argument
519 isa_scan(u_short sock, u_int mask0) argument
574 identify(unsigned int port, u_short sock) argument
642 is_alive(u_short sock) argument
757 int i, j, sock, k, ns, id; local
889 i365_get_status(u_short sock, u_int *value) argument
924 i365_set_socket(u_short sock, socket_state_t *state) argument
1034 i365_set_io_map(u_short sock, struct pccard_io_map *io) argument
1063 i365_set_mem_map(u_short sock, struct pccard_mem_map *mem) argument
1127 unsigned int sock = container_of(s, struct i82365_socket, socket)->number; local
1139 unsigned int sock = container_of(s, struct i82365_socket, socket)->number; local
1149 unsigned int sock = container_of(s, struct i82365_socket, socket)->number; local
1158 unsigned int sock = container_of(s, struct i82365_socket, socket)->number; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/phonet/
H A Dphonet.h37 struct sock sk;
42 static inline struct pn_sock *pn_sk(struct sock *sk)
50 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
53 void pn_sock_hash(struct sock *sk);
54 void pn_sock_unhash(struct sock *sk);
55 int pn_sock_get_port(struct sock *sk, unsigned short sport);
57 int pn_skb_send(struct sock *sk, struct sk_buff *skb,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Dudp.h27 #include <net/sock.h>
137 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb)
148 static inline void udp_lib_hash(struct sock *sk)
153 extern void udp_lib_unhash(struct sock *sk);
154 extern void udp_lib_rehash(struct sock *sk, u16 new_hash);
156 static inline void udp_lib_close(struct sock *sk, long timeout)
161 extern int udp_lib_get_port(struct sock *sk, unsigned short snum,
162 int (*)(const struct sock *,const struct sock *),
166 extern int udp_get_port(struct sock *s
[all...]
H A Dinet6_hashtables.h43 static inline int inet6_sk_ehashfn(const struct sock *sk)
56 extern int __inet6_hash(struct sock *sk, struct inet_timewait_sock *twp);
64 extern struct sock *__inet6_lookup_established(struct net *net,
72 extern struct sock *inet6_lookup_listener(struct net *net,
78 static inline struct sock *__inet6_lookup(struct net *net,
86 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr,
94 static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo,
99 struct sock *sk;
109 extern struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
H A Daf_unix.h7 #include <net/sock.h>
13 extern struct sock *unix_get_socket(struct file *filp);
48 struct sock sk;
53 struct sock *peer;
54 struct sock *other;
H A Dtransp_v6.h35 extern int udpv6_connect(struct sock *sk,
39 extern int datagram_recv_ctl(struct sock *sk,
57 extern void inet6_destroy_sock(struct sock *sk);
H A Dinet_hashtables.h31 #include <net/sock.h>
233 extern void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb,
242 static inline int inet_sk_listen_hashfn(const struct sock *sk)
248 extern void __inet_inherit_port(struct sock *sk, struct sock *child);
250 extern void inet_put_port(struct sock *sk);
254 extern int __inet_hash_nolisten(struct sock *sk, struct inet_timewait_sock *tw);
255 extern void inet_hash(struct sock *sk);
256 extern void inet_unhash(struct sock *sk);
258 extern struct sock *__inet_lookup_listene
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/
H A Dackvec.h87 struct sock;
96 extern int dccp_ackvec_add(struct dccp_ackvec *av, const struct sock *sk,
100 struct sock *sk, const u64 ackno);
101 extern int dccp_ackvec_parse(struct sock *sk, const struct sk_buff *skb,
105 extern int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/
H A Ddn_timer.c24 #include <net/sock.h>
37 void dn_start_slow_timer(struct sock *sk)
46 void dn_stop_slow_timer(struct sock *sk)
53 struct sock *sk = (struct sock *)arg;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/bluetooth/cmtp/
H A Dcmtp.h40 int sock; // Connected socket member in struct:cmtp_connadd_req
61 int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock);
73 struct socket *sock; member in struct:cmtp_session
126 struct sock *sk = session->sock->sk;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ipvs/
H A Dip_vs_sync.c39 #include <net/sock.h>
75 struct socket *sock; member in struct:ip_vs_sync_thread_data
476 static void set_mcast_loop(struct sock *sk, u_char loop)
480 /* setsockopt(sock, SOL_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop)); */
489 static void set_mcast_ttl(struct sock *sk, u_char ttl)
493 /* setsockopt(sock, SOL_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl)); */
502 static int set_mcast_if(struct sock *sk, char *ifname)
562 join_mcast_group(struct sock *sk, struct in_addr *addr, char *ifname)
586 static int bind_mcastif_addr(struct socket *sock, char *ifname) argument
608 return sock
616 struct socket *sock; local
661 struct socket *sock; local
699 ip_vs_send_async(struct socket *sock, const char *buffer, const size_t length) argument
716 ip_vs_send_sync_msg(struct socket *sock, struct ip_vs_sync_mesg *msg) argument
730 ip_vs_receive(struct socket *sock, char *buffer, const size_t buflen) argument
839 struct socket *sock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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
27 if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk) && sock) {
28 clear_bit(SOCK_NOSPACE, &sock->flags);
36 sock_wake_async(sock, SOCK_WAKE_SPACE, POLL_OUT);
44 * @sk: sock to wait on
49 int sk_stream_wait_connect(struct sock *sk, long *timeo_p)
83 static inline int sk_stream_closing(struct sock *sk)
89 void sk_stream_wait_close(struct sock *s
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/ccids/
H A Dccid2.h28 struct sock;
73 static inline struct ccid2_hc_tx_sock *ccid2_hc_tx_sk(const struct sock *sk)
78 static inline struct ccid2_hc_rx_sock *ccid2_hc_rx_sk(const struct sock *sk)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/
H A Dllc_c_ev.c39 #include <net/sock.h>
71 static u16 llc_util_nr_inside_tx_window(struct sock *sk, u8 nr)
95 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb)
103 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb)
111 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb)
119 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb)
127 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb)
135 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb)
143 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb)
148 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *s
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ieee802154/
H A Daf_ieee802154.c34 #include <net/sock.h>
96 static int ieee802154_sock_release(struct socket *sock) argument
98 struct sock *sk = sock->sk;
101 sock->sk = NULL;
106 static int ieee802154_sock_sendmsg(struct kiocb *iocb, struct socket *sock, argument
109 struct sock *sk = sock->sk;
114 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, argument
117 struct sock *s
125 ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument
167 ieee802154_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
243 ieee802154_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/phonet/
H A Dsocket.c30 #include <net/sock.h>
38 static int pn_socket_release(struct socket *sock) argument
40 struct sock *sk = sock->sk;
43 sock->sk = NULL;
74 * Also grab sock if it was found. Remember to sock_put it later.
76 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn)
79 struct sock *sknode;
80 struct sock *rval = NULL;
125 struct sock *sknod
166 pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) argument
212 pn_socket_autobind(struct socket *sock) argument
227 pn_socket_accept(struct socket *sock, struct socket *newsock, int flags) argument
245 pn_socket_getname(struct socket *sock, struct sockaddr *addr, int *sockaddr_len, int peer) argument
261 pn_socket_poll(struct file *file, struct socket *sock, poll_table *wait) argument
290 pn_socket_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
328 pn_socket_listen(struct socket *sock, int backlog) argument
352 pn_socket_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dpppox.c35 #include <net/sock.h>
57 void pppox_unbind_sock(struct sock *sk)
71 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
73 struct sock *sk = sock->sk;
97 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY;
106 static int pppox_create(struct net *net, struct socket *sock, int protocol, argument
121 rc = pppox_protos[protocol]->create(net, sock);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netlink/
H A Daf_netlink.c60 #include <net/sock.h>
68 /* struct sock has to be the first member of netlink_sock */
69 struct sock sk;
96 static inline struct netlink_sock *nlk_sk(struct sock *sk)
101 static inline int netlink_is_kernel(struct sock *sk)
134 static int netlink_dump(struct sock *sk);
152 static void netlink_sock_destruct(struct sock *sk)
229 static inline struct sock *netlink_lookup(struct net *net, int protocol,
234 struct sock *sk;
298 struct sock *s
403 __netlink_create(struct net *net, struct socket *sock, struct mutex *cb_mutex, int protocol) argument
431 netlink_create(struct net *net, struct socket *sock, int protocol, int kern) argument
484 netlink_release(struct socket *sock) argument
540 netlink_autobind(struct socket *sock) argument
581 netlink_capable(struct socket *sock, unsigned int flag) argument
632 netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
678 netlink_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument
714 netlink_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) argument
750 struct sock *sock; local
770 struct sock *sock; local
1190 netlink_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen) argument
1251 netlink_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
1311 netlink_sendmsg(struct kiocb *kiocb, struct socket *sock, struct msghdr *msg, size_t len) argument
1399 netlink_recvmsg(struct kiocb *kiocb, struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
1498 struct socket *sock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dif_ec.h48 /* struct sock has to be the first member of econet_sock */
49 struct sock sk;
57 static inline struct econet_sock *ec_sk(const struct sock *sk)
H A Dnetlink.h176 extern struct sock *netlink_kernel_create(struct net *net,
181 extern void netlink_kernel_release(struct sock *sk);
182 extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
183 extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
184 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
185 extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group);
187 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
188 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 pid, int nonblock);
189 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 pid,
191 extern int netlink_broadcast_filtered(struct sock *ss
[all...]
H A Dppp_comm.h3 #include <net/sock.h>
29 struct sock *sk;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/networking/timestamping/
H A Dtimestamping.c138 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len) argument
143 res = sendto(sock, sync, sizeof(sync), 0,
156 int sock, int recvmsg_flags,
264 if (ioctl(sock, SIOCGSTAMP, &tv))
272 if (ioctl(sock, SIOCGSTAMPNS, &ts))
281 static void recvpacket(int sock, int recvmsg_flags, argument
304 res = recvmsg(sock, &msg, recvmsg_flags|MSG_DONTWAIT);
312 sock, recvmsg_flags,
328 int sock; local
372 sock
154 printpacket(struct msghdr *msg, int res, char *data, int sock, int recvmsg_flags, int siocgstamp, int siocgstampns) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/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...]

Completed in 264 milliseconds

1234567891011>>