taglinefilesource code
sock216drivers/net/d_link.cstatic unsigned long  d_link_rspace(struct sock *sk);
sock749drivers/net/d_link.cd_link_rspace(struct sock *sk)
sock38fs/nfs/sock.cstruct socket *sock;
sock60fs/nfs/sock.csock = socki_lookup(inode);
sock61fs/nfs/sock.cif (!sock) {
sock84fs/nfs/sock.cresult = sock->ops->send(sock, (void *) start, len, 0, 0);
sock132fs/nfs/sock.cresult = sock->ops->recvfrom(sock, (void *) start, PAGE_SIZE, 1, 0,
sock87include/linux/net.hint  (*create)  (struct socket *sock, int protocol);
sock89include/linux/net.hint  (*release)  (struct socket *sock, struct socket *peer);
sock90include/linux/net.hint  (*bind)    (struct socket *sock, struct sockaddr *umyaddr,
sock92include/linux/net.hint  (*connect)  (struct socket *sock, struct sockaddr *uservaddr,
sock95include/linux/net.hint  (*accept)  (struct socket *sock, struct socket *newsock,
sock97include/linux/net.hint  (*getname)  (struct socket *sock, struct sockaddr *uaddr,
sock99include/linux/net.hint  (*read)    (struct socket *sock, char *ubuf, int size,
sock101include/linux/net.hint  (*write)  (struct socket *sock, char *ubuf, int size,
sock103include/linux/net.hint  (*select)  (struct socket *sock, int sel_type,
sock105include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
sock107include/linux/net.hint  (*listen)  (struct socket *sock, int len);
sock108include/linux/net.hint  (*send)    (struct socket *sock, void *buff, int len, int nonblock,
sock110include/linux/net.hint  (*recv)    (struct socket *sock, void *buff, int len, int nonblock,
sock112include/linux/net.hint  (*sendto)  (struct socket *sock, void *buff, int len, int nonblock,
sock114include/linux/net.hint  (*recvfrom)  (struct socket *sock, void *buff, int len, int nonblock,
sock116include/linux/net.hint  (*shutdown)  (struct socket *sock, int flags);
sock117include/linux/net.hint  (*setsockopt)  (struct socket *sock, int level, int optname,
sock119include/linux/net.hint  (*getsockopt)  (struct socket *sock, int level, int optname,
sock121include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
sock300net/inet/icmp.cip_queue_xmit((struct sock *)NULL, dev, skb2, 1);
sock371net/inet/icmp.cip_queue_xmit((struct sock *)NULL, dev, skb2, 1);
sock467net/inet/icmp.cint icmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock33net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
sock81net/inet/ip.cextern void sort_send(struct sock *sk);
sock140net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock1095net/inet/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
sock1512net/inet/ip.cvoid ip_queue_xmit(struct sock *sk, struct device *dev, 
sock1605net/inet/ip.cvoid ip_retransmit(struct sock *sk, int all)
sock1713net/inet/ip.cint ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock1747net/inet/ip.cint ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock65net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
sock77net/inet/ip.hextern void    ip_queue_xmit(struct sock *sk,
sock80net/inet/ip.hextern void    ip_retransmit(struct sock *sk, int all);
sock81net/inet/ip.hextern int     ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen);
sock82net/inet/ip.hextern int     ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen);
sock66net/inet/packet.cstruct sock *sk;
sock68net/inet/packet.csk = (struct sock *) pt->data;
sock94net/inet/packet.cstatic int packet_sendto(struct sock *sk, unsigned char *from, int len,
sock159net/inet/packet.cstatic int packet_write(struct sock *sk, unsigned char *buff, 
sock166net/inet/packet.cstatic void packet_close(struct sock *sk, int timeout)
sock177net/inet/packet.cstatic int packet_init(struct sock *sk)
sock191net/inet/packet.csk->pair = (struct sock *)p;
sock201net/inet/packet.cint packet_recvfrom(struct sock *sk, unsigned char *to, int len,
sock254net/inet/packet.cint packet_read(struct sock *sk, unsigned char *buff,
sock55net/inet/proc.cstruct sock **s_array;
sock56net/inet/proc.cstruct sock *sp;
sock69net/inet/raw.cstruct sock *sk;
sock77net/inet/raw.csk = (struct sock *) protocol->data;
sock106net/inet/raw.cstruct sock *sk;
sock120net/inet/raw.csk = (struct sock *) protocol->data;
sock159net/inet/raw.cstatic int raw_sendto(struct sock *sk, unsigned char *from, int len,
sock294net/inet/raw.cstatic int raw_write(struct sock *sk, unsigned char *buff, int len, int noblock,
sock301net/inet/raw.cstatic void raw_close(struct sock *sk, int timeout)
sock317net/inet/raw.cstatic int raw_init(struct sock *sk)
sock334net/inet/raw.csk->pair = (struct sock *)p;
sock347net/inet/raw.cint raw_recvfrom(struct sock *sk, unsigned char *to, int len,
sock402net/inet/raw.cint raw_read (struct sock *sk, unsigned char *buff, int len, int noblock,
sock30net/inet/raw.hextern int  raw_recvfrom(struct sock *sk, unsigned char *to,
sock33net/inet/raw.hextern int  raw_read(struct sock *sk, unsigned char *buff,
sock103net/inet/sock.cprint_sk(struct sock *sk)
sock151net/inet/sock.cstruct sock *sk;
sock174net/inet/sock.cstruct sock *sk;
sock212net/inet/sock.cput_sock(unsigned short num, struct sock *sk)
sock214net/inet/sock.cstruct sock *sk1;
sock215net/inet/sock.cstruct sock *sk2;
sock266net/inet/sock.cremove_sock(struct sock *sk1)
sock268net/inet/sock.cstruct sock *sk2;
sock306net/inet/sock.cdestroy_sock(struct sock *sk)
sock446net/inet/sock.cinet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock448net/inet/sock.cstruct sock *sk;
sock450net/inet/sock.csk = (struct sock *) sock->data;
sock476net/inet/sock.cinet_setsockopt(struct socket *sock, int level, int optname,
sock479net/inet/sock.cstruct sock *sk;
sock487net/inet/sock.csk = (struct sock *) sock->data;
sock574net/inet/sock.cinet_getsockopt(struct socket *sock, int level, int optname,
sock577net/inet/sock.cstruct sock *sk;
sock585net/inet/sock.csk = (struct sock *) sock->data;
sock674net/inet/sock.cinet_listen(struct socket *sock, int backlog)
sock676net/inet/sock.cstruct sock *sk;
sock678net/inet/sock.csk = (struct sock *) sock->data;
sock703net/inet/sock.cinet_create(struct socket *sock, int protocol)
sock705net/inet/sock.cstruct sock *sk;
sock709net/inet/sock.csk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL);
sock714net/inet/sock.cswitch(sock->type) {
sock775net/inet/sock.csk->socket = sock;
sock829net/inet/sock.csk->sleep = sock->wait;
sock843net/inet/sock.csock->data =(void *) sk;
sock882net/inet/sock.c((struct sock *)(oldsock->data))->protocol));
sock888net/inet/sock.cinet_release(struct socket *sock, struct socket *peer)
sock890net/inet/sock.cstruct sock *sk;
sock892net/inet/sock.csk = (struct sock *) sock->data;
sock895net/inet/sock.cDPRINTF((DBG_INET, "inet_release(sock = %X, peer = %X)\n", sock, peer));
sock929net/inet/sock.csock->data = NULL;
sock940net/inet/sock.cinet_bind(struct socket *sock, struct sockaddr *uaddr,
sock944net/inet/sock.cstruct sock *sk, *sk2;
sock948net/inet/sock.csk = (struct sock *) sock->data;
sock965net/inet/sock.csk = (struct sock *) sock->data;
sock1022net/inet/sock.cinet_connect(struct socket *sock, struct sockaddr * uaddr,
sock1025net/inet/sock.cstruct sock *sk;
sock1028net/inet/sock.csock->conn = NULL;
sock1029net/inet/sock.csk = (struct sock *) sock->data;
sock1035net/inet/sock.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1037net/inet/sock.csock->state = SS_CONNECTED;
sock1042net/inet/sock.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP &&
sock1046net/inet/sock.cif (sock->state != SS_CONNECTING) {
sock1062net/inet/sock.csock->state = SS_CONNECTING;
sock1081net/inet/sock.csock->state = SS_UNCONNECTED;
sock1088net/inet/sock.csock->state = SS_CONNECTED;
sock1091net/inet/sock.csock->state = SS_UNCONNECTED;
sock1108net/inet/sock.cinet_accept(struct socket *sock, struct socket *newsock, int flags)
sock1110net/inet/sock.cstruct sock *sk1, *sk2;
sock1113net/inet/sock.csk1 = (struct sock *) sock->data;
sock1124net/inet/sock.cif (newsock->data) kfree_s(newsock->data, sizeof(struct sock));
sock1175net/inet/sock.cinet_getname(struct socket *sock, struct sockaddr *uaddr,
sock1179net/inet/sock.cstruct sock *sk;
sock1198net/inet/sock.csk = (struct sock *) sock->data;
sock1222net/inet/sock.cinet_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1224net/inet/sock.cstruct sock *sk;
sock1226net/inet/sock.csk = (struct sock *) sock->data;
sock1244net/inet/sock.cinet_recv(struct socket *sock, void *ubuf, int size, int noblock,
sock1247net/inet/sock.cstruct sock *sk;
sock1249net/inet/sock.csk = (struct sock *) sock->data;
sock1267net/inet/sock.cinet_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1269net/inet/sock.cstruct sock *sk;
sock1271net/inet/sock.csk = (struct sock *) sock->data;
sock1294net/inet/sock.cinet_send(struct socket *sock, void *ubuf, int size, int noblock, 
sock1297net/inet/sock.cstruct sock *sk;
sock1299net/inet/sock.csk = (struct sock *) sock->data;
sock1322net/inet/sock.cinet_sendto(struct socket *sock, void *ubuf, int size, int noblock, 
sock1325net/inet/sock.cstruct sock *sk;
sock1327net/inet/sock.csk = (struct sock *) sock->data;
sock1353net/inet/sock.cinet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, 
sock1356net/inet/sock.cstruct sock *sk;
sock1358net/inet/sock.csk = (struct sock *) sock->data;
sock1380net/inet/sock.cinet_shutdown(struct socket *sock, int how)
sock1382net/inet/sock.cstruct sock *sk;
sock1392net/inet/sock.csk = (struct sock *) sock->data;
sock1397net/inet/sock.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1398net/inet/sock.csock->state = SS_CONNECTED;
sock1408net/inet/sock.cinet_select(struct socket *sock, int sel_type, select_table *wait )
sock1410net/inet/sock.cstruct sock *sk;
sock1412net/inet/sock.csk = (struct sock *) sock->data;
sock1427net/inet/sock.cinet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1429net/inet/sock.cstruct sock *sk;
sock1434net/inet/sock.cif (sock && (sk = (struct sock *) sock->data) == NULL) {
sock1507net/inet/sock.csock_wmalloc(struct sock *sk, unsigned long size, int force,
sock1526net/inet/sock.csock_rmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock1545net/inet/sock.csock_rspace(struct sock *sk)
sock1560net/inet/sock.csock_wspace(struct sock *sk)
sock1572net/inet/sock.csock_wfree(struct sock *sk, void *mem, unsigned long size)
sock1593net/inet/sock.csock_rfree(struct sock *sk, void *mem, unsigned long size)
sock1612net/inet/sock.cstruct sock *get_sock(struct proto *prot, unsigned short num,
sock1616net/inet/sock.cstruct sock *s;
sock1652net/inet/sock.cvoid release_sock(struct sock *sk)
sock87net/inet/sock.hstruct sock      *next;
sock88net/inet/sock.hstruct sock      *pair;
sock151net/inet/sock.hvoid      *(*wmalloc)(struct sock *sk,
sock154net/inet/sock.hvoid      *(*rmalloc)(struct sock *sk,
sock157net/inet/sock.hvoid      (*wfree)(struct sock *sk, void *mem,
sock159net/inet/sock.hvoid      (*rfree)(struct sock *sk, void *mem,
sock161net/inet/sock.hunsigned long    (*rspace)(struct sock *sk);
sock162net/inet/sock.hunsigned long    (*wspace)(struct sock *sk);
sock163net/inet/sock.hvoid      (*close)(struct sock *sk, int timeout);
sock164net/inet/sock.hint      (*read)(struct sock *sk, unsigned char *to,
sock166net/inet/sock.hint      (*write)(struct sock *sk, unsigned char *to,
sock168net/inet/sock.hint      (*sendto)(struct sock *sk,
sock172net/inet/sock.hint      (*recvfrom)(struct sock *sk,
sock181net/inet/sock.hint      (*connect)(struct sock *sk,
sock183net/inet/sock.hstruct sock    *(*accept) (struct sock *sk, int flags);
sock184net/inet/sock.hvoid      (*queue_xmit)(struct sock *sk,
sock187net/inet/sock.hvoid      (*retransmit)(struct sock *sk, int all);
sock188net/inet/sock.hvoid      (*write_wakeup)(struct sock *sk);
sock189net/inet/sock.hvoid      (*read_wakeup)(struct sock *sk);
sock194net/inet/sock.hint      (*select)(struct sock *sk, int which,
sock196net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
sock198net/inet/sock.hint      (*init)(struct sock *sk);
sock199net/inet/sock.hvoid      (*shutdown)(struct sock *sk, int how);
sock202net/inet/sock.hstruct sock    *sock_array[SOCK_ARRAY_SIZE];
sock220net/inet/sock.hextern void      destroy_sock(struct sock *sk);
sock222net/inet/sock.hextern void      put_sock(unsigned short, struct sock *); 
sock223net/inet/sock.hextern void      release_sock(struct sock *sk);
sock224net/inet/sock.hextern struct sock    *get_sock(struct proto *, unsigned short,
sock227net/inet/sock.hextern void      print_sk(struct sock *);
sock228net/inet/sock.hextern void      *sock_wmalloc(struct sock *sk,
sock231net/inet/sock.hextern void      *sock_rmalloc(struct sock *sk,
sock234net/inet/sock.hextern void      sock_wfree(struct sock *sk, void *mem,
sock236net/inet/sock.hextern void      sock_rfree(struct sock *sk, void *mem,
sock238net/inet/sock.hextern unsigned long    sock_rspace(struct sock *sk);
sock239net/inet/sock.hextern unsigned long    sock_wspace(struct sock *sk);
sock243net/inet/sock.hextern struct sock *timer_base;
sock245net/inet/sock.hvoid delete_timer (struct sock *);
sock246net/inet/sock.hvoid reset_timer (struct sock *, int, unsigned long);
sock109net/inet/sockinet.cstruct sock *sk;
sock130net/inet/sockinet.cstruct sock *sk;
sock174net/inet/sockinet.cvoid put_sock(unsigned short num, struct sock *sk)
sock176net/inet/sockinet.cstruct sock *sk1;
sock177net/inet/sockinet.cstruct sock *sk2;
sock233net/inet/sockinet.cstatic void remove_sock(struct sock *sk1)
sock235net/inet/sockinet.cstruct sock *sk2;
sock280net/inet/sockinet.cvoid destroy_sock(struct sock *sk)
sock419net/inet/sockinet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock421net/inet/sockinet.cstruct sock *sk;
sock423net/inet/sockinet.csk = (struct sock *) sock->data;
sock454net/inet/sockinet.cstatic int inet_setsockopt(struct socket *sock, int level, int optname,
sock457net/inet/sockinet.cstruct sock *sk = (struct sock *) sock->data;  
sock469net/inet/sockinet.cstatic int inet_getsockopt(struct socket *sock, int level, int optname,
sock472net/inet/sockinet.cstruct sock *sk = sock->data;    
sock483net/inet/sockinet.cstatic int inet_listen(struct socket *sock, int backlog)
sock485net/inet/sockinet.cstruct sock *sk;
sock487net/inet/sockinet.csk = (struct sock *) sock->data;
sock531net/inet/sockinet.cstatic void def_callback1(struct sock *sk)
sock537net/inet/sockinet.cstatic void def_callback2(struct sock *sk,int len)
sock549net/inet/sockinet.cstatic int inet_create(struct socket *sock, int protocol)
sock551net/inet/sockinet.cstruct sock *sk;
sock555net/inet/sockinet.csk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL);
sock561net/inet/sockinet.cswitch(sock->type) 
sock629net/inet/sockinet.csk->socket = sock;
sock630net/inet/sockinet.csk->type = sock->type;
sock685net/inet/sockinet.csk->sleep = sock->wait;
sock699net/inet/sockinet.csock->data =(void *) sk;
sock747net/inet/sockinet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
sock752net/inet/sockinet.cstatic int inet_release(struct socket *sock, struct socket *peer)
sock754net/inet/sockinet.cstruct sock *sk;
sock756net/inet/sockinet.csk = (struct sock *) sock->data;
sock760net/inet/sockinet.cDPRINTF((DBG_INET, "inet_release(sock = %X, peer = %X)\n", sock, peer));
sock799net/inet/sockinet.csock->data = NULL;
sock809net/inet/sockinet.cstatic int inet_bind(struct socket *sock, struct sockaddr *uaddr,
sock813net/inet/sockinet.cstruct sock *sk, *sk2;
sock817net/inet/sockinet.csk = (struct sock *) sock->data;
sock837net/inet/sockinet.csk = (struct sock *) sock->data;
sock894net/inet/sockinet.cstatic int inet_connect(struct socket *sock, struct sockaddr * uaddr,
sock897net/inet/sockinet.cstruct sock *sk;
sock900net/inet/sockinet.csock->conn = NULL;
sock901net/inet/sockinet.csk = (struct sock *) sock->data;
sock908net/inet/sockinet.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock910net/inet/sockinet.csock->state = SS_CONNECTED;
sock915net/inet/sockinet.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK))
sock918net/inet/sockinet.cif (sock->state != SS_CONNECTING) 
sock937net/inet/sockinet.csock->state = SS_CONNECTING;
sock957net/inet/sockinet.csock->state = SS_UNCONNECTED;
sock964net/inet/sockinet.csock->state = SS_CONNECTED;
sock968net/inet/sockinet.csock->state = SS_UNCONNECTED;
sock983net/inet/sockinet.cstatic int inet_accept(struct socket *sock, struct socket *newsock, int flags)
sock985net/inet/sockinet.cstruct sock *sk1, *sk2;
sock988net/inet/sockinet.csk1 = (struct sock *) sock->data;
sock1002net/inet/sockinet.ckfree_s(newsock->data, sizeof(struct sock));
sock1062net/inet/sockinet.cstatic int inet_getname(struct socket *sock, struct sockaddr *uaddr,
sock1066net/inet/sockinet.cstruct sock *sk;
sock1086net/inet/sockinet.csk = (struct sock *) sock->data;
sock1114net/inet/sockinet.cstatic int inet_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1116net/inet/sockinet.cstruct sock *sk;
sock1118net/inet/sockinet.csk = (struct sock *) sock->data;
sock1138net/inet/sockinet.cstatic int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags)
sock1140net/inet/sockinet.cstruct sock *sk;
sock1142net/inet/sockinet.csk = (struct sock *) sock->data;
sock1162net/inet/sockinet.cstatic int inet_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1164net/inet/sockinet.cstruct sock *sk;
sock1166net/inet/sockinet.csk = (struct sock *) sock->data;
sock1192net/inet/sockinet.cstatic int inet_send(struct socket *sock, void *ubuf, int size, int noblock, 
sock1195net/inet/sockinet.cstruct sock *sk;
sock1197net/inet/sockinet.csk = (struct sock *) sock->data;
sock1223net/inet/sockinet.cstatic int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, 
sock1226net/inet/sockinet.cstruct sock *sk;
sock1228net/inet/sockinet.csk = (struct sock *) sock->data;
sock1258net/inet/sockinet.cstatic int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, 
sock1261net/inet/sockinet.cstruct sock *sk;
sock1263net/inet/sockinet.csk = (struct sock *) sock->data;
sock1288net/inet/sockinet.cstatic int inet_shutdown(struct socket *sock, int how)
sock1290net/inet/sockinet.cstruct sock *sk;
sock1301net/inet/sockinet.csk = (struct sock *) sock->data;
sock1307net/inet/sockinet.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1308net/inet/sockinet.csock->state = SS_CONNECTED;
sock1319net/inet/sockinet.cstatic int inet_select(struct socket *sock, int sel_type, select_table *wait )
sock1321net/inet/sockinet.cstruct sock *sk;
sock1323net/inet/sockinet.csk = (struct sock *) sock->data;
sock1339net/inet/sockinet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1341net/inet/sockinet.cstruct sock *sk;
sock1346net/inet/sockinet.cif (sock && (sk = (struct sock *) sock->data) == NULL) 
sock1421net/inet/sockinet.cstruct sock *get_sock(struct proto *prot, unsigned short num,
sock1425net/inet/sockinet.cstruct sock *s;
sock1460net/inet/sockinet.cvoid release_sock(struct sock *sk)
sock40net/inet/sockinet.hvoid      *(*wmalloc)(struct sock *sk,
sock43net/inet/sockinet.hvoid      *(*rmalloc)(struct sock *sk,
sock46net/inet/sockinet.hvoid      (*wfree)(struct sock *sk, void *mem,
sock48net/inet/sockinet.hvoid      (*rfree)(struct sock *sk, void *mem,
sock50net/inet/sockinet.hunsigned long    (*rspace)(struct sock *sk);
sock51net/inet/sockinet.hunsigned long    (*wspace)(struct sock *sk);
sock52net/inet/sockinet.hvoid      (*close)(struct sock *sk, int timeout);
sock53net/inet/sockinet.hint      (*read)(struct sock *sk, unsigned char *to,
sock55net/inet/sockinet.hint      (*write)(struct sock *sk, unsigned char *to,
sock57net/inet/sockinet.hint      (*sendto)(struct sock *sk,
sock61net/inet/sockinet.hint      (*recvfrom)(struct sock *sk,
sock71net/inet/sockinet.hint      (*connect)(struct sock *sk,
sock73net/inet/sockinet.hstruct sock    *(*accept) (struct sock *sk, int flags);
sock74net/inet/sockinet.hvoid      (*queue_xmit)(struct sock *sk,
sock77net/inet/sockinet.hvoid      (*retransmit)(struct sock *sk, int all);
sock78net/inet/sockinet.hvoid      (*write_wakeup)(struct sock *sk);
sock79net/inet/sockinet.hvoid      (*read_wakeup)(struct sock *sk);
sock84net/inet/sockinet.hint      (*select)(struct sock *sk, int which,
sock86net/inet/sockinet.hint      (*ioctl)(struct sock *sk, int cmd,
sock88net/inet/sockinet.hint      (*init)(struct sock *sk);
sock89net/inet/sockinet.hvoid      (*shutdown)(struct sock *sk, int how);
sock90net/inet/sockinet.hint      (*setsockopt)(struct sock *sk, int level, int optname,
sock92net/inet/sockinet.hint      (*getsockopt)(struct sock *sk, int level, int optname,
sock96net/inet/sockinet.hstruct sock    *sock_array[SOCK_ARRAY_SIZE];
sock100net/inet/sockinet.hextern void      destroy_sock(struct sock *sk);
sock102net/inet/sockinet.hextern void      put_sock(unsigned short, struct sock *); 
sock103net/inet/sockinet.hextern void      release_sock(struct sock *sk);
sock104net/inet/sockinet.hextern struct sock    *get_sock(struct proto *, unsigned short,
sock110net/inet/sockinet.hextern struct sock *timer_base;
sock112net/inet/sockinet.hvoid delete_timer (struct sock *);
sock113net/inet/sockinet.hvoid reset_timer (struct sock *, int, unsigned long);
sock140net/inet/tcp.cstatic struct sk_buff *get_firstr(struct sock *sk)
sock166net/inet/tcp.cstatic void tcp_time_wait(struct sock *sk)
sock182net/inet/tcp.cstatic void tcp_retransmit(struct sock *sk, int all)
sock211net/inet/tcp.cstruct sock *sk;
sock270net/inet/tcp.cstatic int tcp_readable(struct sock *sk)
sock335net/inet/tcp.cstatic int tcp_select(struct sock *sk, int sel_type, select_table *wait)
sock431net/inet/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock574net/inet/tcp.cunsigned long daddr, int len, struct sock *sk)
sock585net/inet/tcp.cstatic void tcp_send_partial(struct sock *sk)
sock645net/inet/tcp.cstruct sock *sk,
sock732net/inet/tcp.cstatic int tcp_build_header(struct tcphdr *th, struct sock *sk, int push)
sock758net/inet/tcp.cstatic int tcp_write(struct sock *sk, unsigned char *from,
sock1138net/inet/tcp.cstatic int tcp_sendto(struct sock *sk, unsigned char *from,
sock1160net/inet/tcp.ctcp_read_wakeup(struct sock *sk)
sock1247net/inet/tcp.cstatic void cleanup_rbuf(struct sock *sk)
sock1327net/inet/tcp.cstatic int tcp_read_urg(struct sock * sk, int nonblock,
sock1448net/inet/tcp.cstatic int tcp_read_data(int type,struct sock *sk, unsigned char *to,
sock1761net/inet/tcp.cstatic int tcp_read(struct sock *sk, unsigned char *to,
sock1773net/inet/tcp.cvoid tcp_shutdown(struct sock *sk, int how)
sock1873net/inet/tcp.cstatic int tcp_recvfrom(struct sock *sk, unsigned char *to,
sock1994net/inet/tcp.cstatic void tcp_options(struct sock *sk, struct tcphdr *th)
sock2050net/inet/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
sock2057net/inet/tcp.cstruct sock *newsk;
sock2098net/inet/tcp.cnewsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC);
sock2254net/inet/tcp.cstatic void tcp_close(struct sock *sk, int timeout)
sock2429net/inet/tcp.cstatic void tcp_write_xmit(struct sock *sk)
sock2482net/inet/tcp.cvoid sort_send(struct sock *sk)
sock2519net/inet/tcp.cstatic int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
sock2827net/inet/tcp.cstatic int tcp_data(struct sk_buff *skb, struct sock *sk, 
sock3066net/inet/tcp.cstatic int tcp_urg(struct sock *sk, struct tcphdr *th, unsigned long saddr)
sock3105net/inet/tcp.cstatic int tcp_fin(struct sock *sk, struct tcphdr *th, 
sock3168net/inet/tcp.cstatic struct sock *tcp_accept(struct sock *sk, int flags)
sock3170net/inet/tcp.cstruct sock *newsk;
sock3230net/inet/tcp.cstatic int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock3347net/inet/tcp.cstatic int tcp_sequence(struct sock *sk, struct tcphdr *th, short len,
sock3423net/inet/tcp.cstruct sock *sk;
sock3902net/inet/tcp.cstatic void tcp_write_wakeup(struct sock *sk)
sock3970net/inet/tcp.cint tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock4001net/inet/tcp.cint tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock141net/inet/tcp.hextern void  tcp_shutdown (struct sock *sk, int how);
sock147net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock54net/inet/timer.cvoid delete_timer (struct sock *t)
sock67net/inet/timer.cvoid reset_timer (struct sock *t, int timeout, unsigned long len)
sock91net/inet/timer.cstruct sock *sk = (struct sock*)data;
sock101net/inet/udp.cstruct sock *sk;
sock213net/inet/udp.cunsigned long daddr, int len, struct sock *sk)
sock224net/inet/udp.cstatic int udp_send(struct sock *sk, struct sockaddr_in *sin,
sock302net/inet/udp.cstatic int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock,
sock355net/inet/udp.cstatic int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock,
sock362net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock443net/inet/udp.cint udp_recvfrom(struct sock *sk, unsigned char *to, int len,
sock511net/inet/udp.cint udp_read(struct sock *sk, unsigned char *buff, int len, int noblock,
sock518net/inet/udp.cint udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock544net/inet/udp.cstatic void udp_close(struct sock *sk, int timeout)
sock563net/inet/udp.cstruct sock *sk;
sock36net/inet/udp.hextern int  udp_recvfrom(struct sock *sk, unsigned char *to,
sock39net/inet/udp.hextern int  udp_read(struct sock *sk, unsigned char *buff,
sock41net/inet/udp.hextern int  udp_connect(struct sock *sk,
sock47net/inet/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock141net/socket.cstruct socket *sock;
sock143net/socket.cif ((sock = inode->i_socket) != NULL) {
sock144net/socket.cif (sock->state != SS_FREE && SOCK_INODE(sock) == inode)
sock145net/socket.creturn sock;
sock148net/socket.cfor (sock = sockets; sock <= last_socket; ++sock)
sock149net/socket.cif (sock->state != SS_FREE && SOCK_INODE(sock) == inode) {
sock151net/socket.creturn(sock);
sock171net/socket.cstruct socket *sock;
sock175net/socket.cfor (sock = sockets; sock <= last_socket; ++sock) {
sock176net/socket.cif (sock->state == SS_FREE) {
sock177net/socket.csock->state = SS_UNCONNECTED;
sock179net/socket.csock->flags = 0;
sock180net/socket.csock->ops = NULL;
sock181net/socket.csock->data = NULL;
sock182net/socket.csock->conn = NULL;
sock183net/socket.csock->iconn = NULL;
sock192net/socket.cif (!(SOCK_INODE(sock) = get_empty_inode())) {
sock194net/socket.csock->state = SS_FREE;
sock197net/socket.cSOCK_INODE(sock)->i_mode = S_IFSOCK;
sock198net/socket.cSOCK_INODE(sock)->i_uid = current->euid;
sock199net/socket.cSOCK_INODE(sock)->i_gid = current->egid;
sock200net/socket.cSOCK_INODE(sock)->i_socket = sock;
sock202net/socket.csock->wait = &SOCK_INODE(sock)->i_wait;
sock205net/socket.csock, SOCK_INODE(sock)));
sock206net/socket.creturn(sock);
sock231net/socket.csock_release(struct socket *sock)
sock238net/socket.csock, SOCK_INODE(sock)));
sock239net/socket.cif ((oldstate = sock->state) != SS_UNCONNECTED)
sock240net/socket.csock->state = SS_DISCONNECTING;
sock243net/socket.cfor (peersock = sock->iconn; peersock; peersock = nextsock) {
sock252net/socket.cpeersock = (oldstate == SS_CONNECTED) ? sock->conn : NULL;
sock253net/socket.cif (sock->ops) sock->ops->release(sock, peersock);
sock255net/socket.cinode = SOCK_INODE(sock);
sock256net/socket.csock->state = SS_FREE;    /* this really releases us */
sock275net/socket.cstruct socket *sock;
sock278net/socket.cif (!(sock = socki_lookup(inode))) {
sock282net/socket.cif (sock->flags & SO_ACCEPTCON) return(-EINVAL);
sock283net/socket.creturn(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK)));
sock290net/socket.cstruct socket *sock;
sock293net/socket.cif (!(sock = socki_lookup(inode))) {
sock297net/socket.cif (sock->flags & SO_ACCEPTCON) return(-EINVAL);
sock298net/socket.creturn(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK)));
sock315net/socket.cstruct socket *sock;
sock319net/socket.cif (!(sock = socki_lookup(inode))) {
sock323net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
sock330net/socket.cstruct socket *sock;
sock335net/socket.cif (!(sock = socki_lookup(inode))) {
sock341net/socket.cif (sock->ops && sock->ops->select)
sock342net/socket.creturn(sock->ops->select(sock, sel_type, wait));
sock350net/socket.cstruct socket *sock;
sock357net/socket.cif (!(sock = socki_lookup(inode))) {
sock361net/socket.csock_release(sock);
sock432net/socket.cstruct socket *sock;
sock465net/socket.cif (!(sock = sock_alloc(1))) {
sock469net/socket.csock->type = type;
sock470net/socket.csock->ops = ops;
sock471net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) {
sock472net/socket.csock_release(sock);
sock476net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) {
sock477net/socket.csock_release(sock);
sock540net/socket.cstruct socket *sock;
sock546net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock547net/socket.cif ((i = sock->ops->bind(sock, umyaddr, addrlen)) < 0) {
sock563net/socket.cstruct socket *sock;
sock568net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock569net/socket.cif (sock->state != SS_UNCONNECTED) {
sock573net/socket.cif (sock->ops && sock->ops->listen) sock->ops->listen(sock, backlog);
sock574net/socket.csock->flags |= SO_ACCEPTCON;
sock588net/socket.cstruct socket *sock, *newsock;
sock595net/socket.cif (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK);
sock596net/socket.cif (sock->state != SS_UNCONNECTED) {
sock600net/socket.cif (!(sock->flags & SO_ACCEPTCON)) {
sock610net/socket.cnewsock->type = sock->type;
sock611net/socket.cnewsock->ops = sock->ops;
sock612net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) {
sock617net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
sock629net/socket.csock, newsock));
sock642net/socket.cstruct socket *sock;
sock650net/socket.cif (!(sock = sockfd_lookup(fd, &file))) return(-ENOTSOCK);
sock651net/socket.cswitch(sock->state) {
sock660net/socket.creturn(sock->ops->connect(sock, uservaddr,
sock667net/socket.ci = sock->ops->connect(sock, uservaddr, addrlen, file->f_flags);
sock679net/socket.cstruct socket *sock;
sock684net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock685net/socket.creturn(sock->ops->getname(sock, usockaddr, usockaddr_len, 0));
sock692net/socket.cstruct socket *sock;
sock697net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock698net/socket.creturn(sock->ops->getname(sock, usockaddr, usockaddr_len, 1));
sock705net/socket.cstruct socket *sock;
sock714net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock716net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
sock724net/socket.cstruct socket *sock;
sock733net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock735net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock743net/socket.cstruct socket *sock;
sock752net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock754net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
sock762net/socket.cstruct socket *sock;
sock771net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock773net/socket.creturn(sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock781net/socket.cstruct socket *sock;
sock791net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock793net/socket.creturn(sock->ops->setsockopt(sock, level, optname, optval, optlen));
sock800net/socket.cstruct socket *sock;
sock810net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock812net/socket.cif (!sock->ops || !sock->ops->getsockopt) return(0);
sock813net/socket.creturn(sock->ops->getsockopt(sock, level, optname, optval, optlen));
sock820net/socket.cstruct socket *sock;
sock828net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) return(-ENOTSOCK);
sock830net/socket.creturn(sock->ops->shutdown(sock, how));
sock837net/socket.cstruct socket *sock;
sock839net/socket.csock = socki_lookup (filp->f_inode);
sock840net/socket.cif (sock != NULL && sock->ops != NULL && sock->ops->fcntl != NULL)
sock841net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
sock1073net/socket.cstruct socket *sock;
sock1083net/socket.cfor (sock = sockets; sock <= last_socket; ++sock) sock->state = SS_FREE;
sock50net/socket/datagram.cstruct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err)
sock178net/socket/datagram.cint datagram_select(struct sock *sk, int sel_type, select_table *wait)
sock49net/socket/skbuff.hstruct sock    *sk;
sock107net/socket/skbuff.hextern struct sk_buff *    skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err);
sock108net/socket/skbuff.hextern int      datagram_select(struct sock *sk, int sel_type, select_table *wait);
sock55net/socket/sock.cvoid print_sk(struct sock *sk)
sock107net/socket/sock.cint sock_setsockopt(struct sock *sk, int level, int optname,
sock208net/socket/sock.cint sock_getsockopt(struct sock *sk, int level, int optname,
sock299net/socket/sock.cvoid *sock_wmalloc(struct sock *sk, unsigned long size, int force,
sock319net/socket/sock.cvoid *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock340net/socket/sock.cunsigned long sock_rspace(struct sock *sk)
sock357net/socket/sock.cunsigned long sock_wspace(struct sock *sk)
sock371net/socket/sock.cvoid sock_wfree(struct sock *sk, void *mem, unsigned long size)
sock398net/socket/sock.cvoid sock_rfree(struct sock *sk, void *mem, unsigned long size)
sock84net/socket/sock.hstruct sock      *next;
sock85net/socket/sock.hstruct sock      *pair;
sock152net/socket/sock.hvoid        (*state_change)(struct sock *sk);
sock153net/socket/sock.hvoid        (*data_ready)(struct sock *sk,int bytes);
sock154net/socket/sock.hvoid        (*write_space)(struct sock *sk);
sock155net/socket/sock.hvoid        (*error_report)(struct sock *sk);
sock172net/socket/sock.hextern void      print_sk(struct sock *);
sock173net/socket/sock.hextern void      *sock_wmalloc(struct sock *sk,
sock176net/socket/sock.hextern void      *sock_rmalloc(struct sock *sk,
sock179net/socket/sock.hextern void      sock_wfree(struct sock *sk, void *mem,
sock181net/socket/sock.hextern void      sock_rfree(struct sock *sk, void *mem,
sock183net/socket/sock.hextern unsigned long    sock_rspace(struct sock *sk);
sock184net/socket/sock.hextern unsigned long    sock_wspace(struct sock *sk);
sock186net/socket/sock.hextern int       sock_setsockopt(struct sock *sk, int level, int optname, char *optval,
sock188net/socket/sock.hextern int      sock_getsockopt(struct sock *sk, int level, int optname, char *optval,
sock58net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol);
sock60net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer);
sock61net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock63net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock66net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, 
sock68net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock70net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size,
sock72net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size,
sock74net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait);
sock75net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
sock77net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog);
sock78net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len,
sock80net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len,
sock82net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len,
sock85net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len,
sock89net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how);
sock91net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock93net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock151net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog)
sock157net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock164net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock170net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, 
sock176net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, 
sock183net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how)
sock193net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock,
sock198net/unix/sock.creturn(unix_proto_write(sock, (char *) buff, len, nonblock));
sock206net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock,
sock211net/unix/sock.creturn(unix_proto_read(sock, (char *) buff, len, nonblock));
sock298net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol)
sock302net/unix/sock.cdprintf(1, "UNIX: create: socket 0x%x, proto %d\n", sock, protocol);
sock320net/unix/sock.cupd->socket = sock;
sock321net/unix/sock.cUN_DATA(sock) = upd;
sock335net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer)
sock337net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock339net/unix/sock.cdprintf(1, "UNIX: release: socket 0x%x, unix_data 0x%x\n", sock, upd);
sock342net/unix/sock.cif (upd->socket != sock) 
sock353net/unix/sock.cUN_DATA(sock) = NULL;
sock371net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock375net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock380net/unix/sock.cdprintf(1, "UNIX: bind: socket 0x%x, len=%d\n", sock, sockaddr_len);
sock431net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock442net/unix/sock.cdprintf(1, "UNIX: connect: socket 0x%x, servlen=%d\n", sock, sockaddr_len);
sock449net/unix/sock.cif (sock->state == SS_CONNECTING) 
sock451net/unix/sock.cif (sock->state == SS_CONNECTED)
sock492net/unix/sock.cif ((i = sock_awaitconn(sock, serv_upd->socket)) < 0) 
sock497net/unix/sock.cif (sock->conn) 
sock499net/unix/sock.cunix_data_ref(UN_DATA(sock->conn));
sock500net/unix/sock.cUN_DATA(sock)->peerupd = UN_DATA(sock->conn); /* ref server */
sock527net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags)
sock532net/unix/sock.csock, newsock);
sock538net/unix/sock.cwhile(!(clientsock = sock->iconn)) 
sock542net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock554net/unix/sock.csock->iconn = clientsock->next;
sock562net/unix/sock.cUN_DATA(newsock)->sockaddr_un        = UN_DATA(sock)->sockaddr_un;
sock563net/unix/sock.cUN_DATA(newsock)->sockaddr_len       = UN_DATA(sock)->sockaddr_len;
sock573net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock580net/unix/sock.cdprintf(1, "UNIX: getname: socket 0x%x for %s\n", sock, peer?"peer":"self");
sock583net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock588net/unix/sock.cupd = UN_DATA(sock->conn);
sock591net/unix/sock.cupd = UN_DATA(sock);
sock614net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock)
sock622net/unix/sock.cupd = UN_DATA(sock);
sock625net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock628net/unix/sock.creturn((sock->state == SS_DISCONNECTING) ? 0 : -EINVAL);
sock633net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock673net/unix/sock.cif (sock->state == SS_CONNECTED) 
sock674net/unix/sock.cwake_up(sock->conn->wait);
sock687net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock)
sock695net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock698net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock705net/unix/sock.cpupd = UN_DATA(sock)->peerupd;  /* safer than sock->conn */
sock712net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock718net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock747net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock770net/unix/sock.cif (sock->state == SS_CONNECTED) 
sock771net/unix/sock.cwake_up(sock->conn->wait);
sock779net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait)
sock784net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock789net/unix/sock.csock->iconn ? "" : "no ");
sock790net/unix/sock.cif (sock->iconn) 
sock792net/unix/sock.cselect_wait(sock->wait, wait);
sock793net/unix/sock.creturn(sock->iconn ? 1 : 0);
sock796net/unix/sock.cselect_wait(sock->wait, wait);
sock802net/unix/sock.cupd = UN_DATA(sock);
sock807net/unix/sock.celse if (sock->state != SS_CONNECTED) 
sock812net/unix/sock.cselect_wait(sock->wait,wait);
sock817net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock822net/unix/sock.cpeerupd = UN_DATA(sock->conn);
sock827net/unix/sock.cselect_wait(sock->wait,wait);
sock837net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock842net/unix/sock.cupd = UN_DATA(sock);
sock843net/unix/sock.cpeerupd = (sock->state == SS_CONNECTED) ? UN_DATA(sock->conn) : NULL;
sock848net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock859net/unix/sock.cif (sock->flags & SO_ACCEPTCON)