taglinefilesource code
sock117drivers/net/de600.cstatic unsigned long de600_rspace(struct sock *sk);
sock808drivers/net/de600.cde600_rspace(struct sock *sk)
sock56fs/nfs/sock.cstruct socket *sock;
sock81fs/nfs/sock.csock = &inode->u.socket_i;
sock82fs/nfs/sock.cif (!sock) {
sock105fs/nfs/sock.cresult = sock->ops->send(sock, (void *) start, len, 0, 0);
sock163fs/nfs/sock.cresult = sock->ops->recvfrom(sock, (void *)&recv_xid,
sock194fs/nfs/sock.c(void)sock->ops->recvfrom(sock, (void *)&recv_xid,
sock208fs/nfs/sock.cresult=sock->ops->recvfrom(sock, (void *)start, 
sock63include/linux/igmp.hextern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr);
sock64include/linux/igmp.hextern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr);
sock65include/linux/igmp.hextern void ip_mc_drop_socket(struct sock *sk);
sock91include/linux/net.hint  (*create)  (struct socket *sock, int protocol);
sock93include/linux/net.hint  (*release)  (struct socket *sock, struct socket *peer);
sock94include/linux/net.hint  (*bind)    (struct socket *sock, struct sockaddr *umyaddr,
sock96include/linux/net.hint  (*connect)  (struct socket *sock, struct sockaddr *uservaddr,
sock99include/linux/net.hint  (*accept)  (struct socket *sock, struct socket *newsock,
sock101include/linux/net.hint  (*getname)  (struct socket *sock, struct sockaddr *uaddr,
sock103include/linux/net.hint  (*read)    (struct socket *sock, char *ubuf, int size,
sock105include/linux/net.hint  (*write)  (struct socket *sock, char *ubuf, int size,
sock107include/linux/net.hint  (*select)  (struct socket *sock, int sel_type,
sock109include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
sock111include/linux/net.hint  (*listen)  (struct socket *sock, int len);
sock112include/linux/net.hint  (*send)    (struct socket *sock, void *buff, int len, int nonblock,
sock114include/linux/net.hint  (*recv)    (struct socket *sock, void *buff, int len, int nonblock,
sock116include/linux/net.hint  (*sendto)  (struct socket *sock, void *buff, int len, int nonblock,
sock118include/linux/net.hint  (*recvfrom)  (struct socket *sock, void *buff, int len, int nonblock,
sock120include/linux/net.hint  (*shutdown)  (struct socket *sock, int flags);
sock121include/linux/net.hint  (*setsockopt)  (struct socket *sock, int level, int optname,
sock123include/linux/net.hint  (*getsockopt)  (struct socket *sock, int level, int optname,
sock125include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
sock135include/linux/net.hextern int  sock_wake_async(struct socket *sock, int how);
sock139include/linux/net.hextern void  sock_release(struct socket *sock);
sock46include/linux/skbuff.hstruct sock      *sk;
sock280include/linux/skbuff.hextern struct sk_buff *    skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err);
sock281include/linux/skbuff.hextern int      datagram_select(struct sock *sk, int sel_type, select_table *wait);
sock87net/inet/af_inet.cstruct sock *sk;
sock115net/inet/af_inet.cstruct sock *sk;
sock159net/inet/af_inet.cvoid put_sock(unsigned short num, struct sock *sk)
sock161net/inet/af_inet.cstruct sock *sk1;
sock162net/inet/af_inet.cstruct sock *sk2;
sock225net/inet/af_inet.cstatic void remove_sock(struct sock *sk1)
sock227net/inet/af_inet.cstruct sock *sk2;
sock267net/inet/af_inet.cvoid destroy_sock(struct sock *sk)
sock385net/inet/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock387net/inet/af_inet.cstruct sock *sk;
sock389net/inet/af_inet.csk = (struct sock *) sock->data;
sock414net/inet/af_inet.cstatic int inet_setsockopt(struct socket *sock, int level, int optname,
sock417net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;  
sock430net/inet/af_inet.cstatic int inet_getsockopt(struct socket *sock, int level, int optname,
sock433net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;    
sock446net/inet/af_inet.cstatic int inet_autobind(struct sock *sk)
sock464net/inet/af_inet.cstatic int inet_listen(struct socket *sock, int backlog)
sock466net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock493net/inet/af_inet.cstatic void def_callback1(struct sock *sk)
sock499net/inet/af_inet.cstatic void def_callback2(struct sock *sk,int len)
sock508net/inet/af_inet.cstatic void def_callback3(struct sock *sk)
sock524net/inet/af_inet.cstatic int inet_create(struct socket *sock, int protocol)
sock526net/inet/af_inet.cstruct sock *sk;
sock530net/inet/af_inet.csk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL);
sock535net/inet/af_inet.cswitch(sock->type) 
sock603net/inet/af_inet.csk->socket = sock;
sock609net/inet/af_inet.csk->type = sock->type;
sock665net/inet/af_inet.csk->sleep = sock->wait;
sock682net/inet/af_inet.csock->data =(void *) sk;
sock739net/inet/af_inet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
sock745net/inet/af_inet.cstatic inline int closing(struct sock * sk)
sock763net/inet/af_inet.cstatic int inet_release(struct socket *sock, struct socket *peer)
sock765net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock819net/inet/af_inet.csock->data = NULL;
sock829net/inet/af_inet.cstatic int inet_bind(struct socket *sock, struct sockaddr *uaddr,
sock833net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data, *sk2;
sock843net/inet/af_inet.cif(sock->type != SOCK_RAW)
sock870net/inet/af_inet.cif(sock->type != SOCK_RAW)
sock911net/inet/af_inet.cstatic int inet_error(struct sock *sk)
sock928net/inet/af_inet.cstatic int inet_connect(struct socket *sock, struct sockaddr * uaddr,
sock931net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock933net/inet/af_inet.csock->conn = NULL;
sock935net/inet/af_inet.cif (sock->state == SS_CONNECTING && tcp_connected(sk->state))
sock937net/inet/af_inet.csock->state = SS_CONNECTED;
sock942net/inet/af_inet.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK))
sock945net/inet/af_inet.cif (sock->state != SS_CONNECTING) 
sock955net/inet/af_inet.csock->state = SS_CONNECTING;
sock958net/inet/af_inet.cif (sk->state > TCP_FIN_WAIT2 && sock->state==SS_CONNECTING)
sock960net/inet/af_inet.csock->state=SS_UNCONNECTED;
sock985net/inet/af_inet.csock->state = SS_UNCONNECTED;
sock992net/inet/af_inet.csock->state = SS_CONNECTED;
sock996net/inet/af_inet.csock->state = SS_UNCONNECTED;
sock1015net/inet/af_inet.cstatic int inet_accept(struct socket *sock, struct socket *newsock, int flags)
sock1017net/inet/af_inet.cstruct sock *sk1, *sk2;
sock1020net/inet/af_inet.csk1 = (struct sock *) sock->data;
sock1029net/inet/af_inet.cstruct sock *sk=(struct sock *)newsock->data;
sock1097net/inet/af_inet.cstatic int inet_getname(struct socket *sock, struct sockaddr *uaddr,
sock1101net/inet/af_inet.cstruct sock *sk;
sock1104net/inet/af_inet.csk = (struct sock *) sock->data;
sock1129net/inet/af_inet.cstatic int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, 
sock1132net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1146net/inet/af_inet.cstatic int inet_recv(struct socket *sock, void *ubuf, int size, int noblock,
sock1150net/inet/af_inet.creturn inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL);
sock1153net/inet/af_inet.cstatic int inet_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1155net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1165net/inet/af_inet.cstatic int inet_send(struct socket *sock, void *ubuf, int size, int noblock, 
sock1168net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1182net/inet/af_inet.cstatic int inet_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1184net/inet/af_inet.creturn inet_send(sock,ubuf,size,noblock,0);
sock1187net/inet/af_inet.cstatic int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, 
sock1190net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1208net/inet/af_inet.cstatic int inet_shutdown(struct socket *sock, int how)
sock1210net/inet/af_inet.cstruct sock *sk=(struct sock*)sock->data;
sock1221net/inet/af_inet.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1222net/inet/af_inet.csock->state = SS_CONNECTED;
sock1232net/inet/af_inet.cstatic int inet_select(struct socket *sock, int sel_type, select_table *wait )
sock1234net/inet/af_inet.cstruct sock *sk=(struct sock *) sock->data;
sock1252net/inet/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1254net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock1349net/inet/af_inet.cstruct sock *get_sock(struct proto *prot, unsigned short num,
sock1353net/inet/af_inet.cstruct sock *s;
sock1354net/inet/af_inet.cstruct sock *result = NULL;
sock1413net/inet/af_inet.cstruct sock *get_sock_raw(struct sock *sk, 
sock1418net/inet/af_inet.cstruct sock *s;
sock1442net/inet/af_inet.cstruct sock *get_sock_mcast(struct sock *sk, 
sock1447net/inet/af_inet.cstruct sock *s;
sock53net/inet/datagram.cstruct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err)
sock176net/inet/datagram.cint datagram_select(struct sock *sk, int sel_type, select_table *wait)
sock397net/inet/dev.c((struct sock *)ptype->data != skb->sk))
sock462net/inet/icmp.cip_queue_xmit((struct sock *)NULL, ndev, skb2, 1);
sock552net/inet/icmp.cip_queue_xmit((struct sock *) NULL, ndev, skb2, 1);
sock635net/inet/icmp.cip_queue_xmit((struct sock *)NULL, ndev, skb2, 1);
sock766net/inet/icmp.cint icmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock35net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
sock311net/inet/igmp.cint ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr)
sock345net/inet/igmp.cint ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr)
sock371net/inet/igmp.cvoid ip_mc_drop_socket(struct sock *sk)
sock125net/inet/ip.cextern void sort_send(struct sock *sk);
sock146net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock1087net/inet/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
sock1462net/inet/ip.cstruct sock *raw_sk=NULL;
sock1657net/inet/ip.cstruct sock *sknext=NULL;
sock1785net/inet/ip.cvoid ip_queue_xmit(struct sock *sk, struct device *dev,
sock2053net/inet/ip.cint ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock2329net/inet/ip.cint ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock41net/inet/ip.hextern void    ip_mc_dropsocket(struct sock *);
sock77net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
sock91net/inet/ip.hextern void    ip_queue_xmit(struct sock *sk,
sock94net/inet/ip.hextern int     ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen);
sock95net/inet/ip.hextern int     ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen);
sock318net/inet/ipx.cipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb)
sock322net/inet/ipx.cif((retval = sock_queue_rcv_skb(sock, skb))<0) {
sock344net/inet/ipx.csock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock354net/inet/ipx.cswitch (ntohs(ipx->ipx_dest.sock)) {
sock365net/inet/ipx.cipx->ipx_dest.sock);
sock1023net/inet/ipx.cipx->ipx_source.sock = sk->ipx_port;
sock1026net/inet/ipx.cipx->ipx_dest.sock=usipx->sipx_port;
sock1186net/inet/ipx.chtons(s->ipx_dest_addr.sock));
sock1259net/inet/ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1268net/inet/ipx.cstatic int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
sock1273net/inet/ipx.csk=(ipx_socket *)sock->data;
sock1304net/inet/ipx.cstatic int ipx_getsockopt(struct socket *sock, int level, int optname,
sock1311net/inet/ipx.csk=(ipx_socket *)sock->data;
sock1342net/inet/ipx.cstatic int ipx_listen(struct socket *sock, int backlog)
sock1347net/inet/ipx.cstatic void def_callback1(struct sock *sk)
sock1353net/inet/ipx.cstatic void def_callback2(struct sock *sk, int len)
sock1363net/inet/ipx.cipx_create(struct socket *sock, int protocol)
sock1369net/inet/ipx.cswitch(sock->type)
sock1394net/inet/ipx.csk->socket=sock;
sock1395net/inet/ipx.csk->type=sock->type;
sock1403net/inet/ipx.cif(sock!=NULL)
sock1405net/inet/ipx.csock->data=(void *)sk;
sock1406net/inet/ipx.csk->sleep=sock->wait;
sock1418net/inet/ipx.cstatic int ipx_release(struct socket *sock, struct socket *peer)
sock1420net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1426net/inet/ipx.csock->data=NULL;
sock1454net/inet/ipx.cstatic int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len)
sock1460net/inet/ipx.csk=(ipx_socket *)sock->data;
sock1499net/inet/ipx.cstatic int ipx_connect(struct socket *sock, struct sockaddr *uaddr,
sock1502net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1506net/inet/ipx.csock->state = SS_UNCONNECTED;
sock1520net/inet/ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock1527net/inet/ipx.csk->ipx_dest_addr.sock=addr->sipx_port;
sock1530net/inet/ipx.csock->state = SS_CONNECTED;
sock1540net/inet/ipx.cstatic int ipx_accept(struct socket *sock, struct socket *newsock, int flags)
sock1547net/inet/ipx.cstatic int ipx_getname(struct socket *sock, struct sockaddr *uaddr,
sock1554net/inet/ipx.csk=(ipx_socket *)sock->data;
sock1564net/inet/ipx.csipx.sipx_port = addr->sock;
sock1610net/inet/ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
sock1666net/inet/ipx.cstatic int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock,
sock1669net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1684net/inet/ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock1698net/inet/ipx.cusipx->sipx_port=sk->ipx_dest_addr.sock;
sock1709net/inet/ipx.cstatic int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags)
sock1711net/inet/ipx.creturn ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0);
sock1714net/inet/ipx.cstatic int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock,
sock1717net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1750net/inet/ipx.csipx->sipx_port=ipx->ipx_source.sock;
sock1759net/inet/ipx.cstatic int ipx_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1761net/inet/ipx.creturn ipx_send(sock,ubuf,size,noblock,0);
sock1765net/inet/ipx.cstatic int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock,
sock1768net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1771net/inet/ipx.creturn ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL);
sock1774net/inet/ipx.cstatic int ipx_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1776net/inet/ipx.creturn ipx_recv(sock,ubuf,size,noblock,0);
sock1785net/inet/ipx.cstatic int ipx_select(struct socket *sock , int sel_type, select_table *wait)
sock1787net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1792net/inet/ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
sock1796net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock22net/inet/ipx.hunsigned short sock;
sock45net/inet/ipx.htypedef struct sock ipx_socket;
sock73net/inet/packet.cstruct sock *sk;
sock81net/inet/packet.csk = (struct sock *) pt->data;  
sock140net/inet/packet.cstatic int packet_sendto(struct sock *sk, unsigned char *from, int len,
sock224net/inet/packet.cstatic int packet_write(struct sock *sk, unsigned char *buff, 
sock237net/inet/packet.cstatic void packet_close(struct sock *sk, int timeout)
sock255net/inet/packet.cstatic int packet_init(struct sock *sk)
sock273net/inet/packet.csk->pair = (struct sock *)p;
sock284net/inet/packet.cint packet_recvfrom(struct sock *sk, unsigned char *to, int len,
sock365net/inet/packet.cint packet_read(struct sock *sk, unsigned char *buff,
sock59net/inet/proc.cstruct sock **s_array;
sock60net/inet/proc.cstruct sock *sp;
sock69net/inet/raw.cstruct sock *sk;
sock73net/inet/raw.csk = (struct sock *) protocol->data;
sock97net/inet/raw.cint raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, long saddr, long daddr)
sock126net/inet/raw.cstatic int raw_sendto(struct sock *sk, unsigned char *from, 
sock218net/inet/raw.cstatic int raw_write(struct sock *sk, unsigned char *buff, int len, int noblock,
sock225net/inet/raw.cstatic void raw_close(struct sock *sk, int timeout)
sock231net/inet/raw.cstatic int raw_init(struct sock *sk)
sock242net/inet/raw.cint raw_recvfrom(struct sock *sk, unsigned char *to, int len,
sock282net/inet/raw.cint raw_read (struct sock *sk, unsigned char *buff, int len, int noblock,unsigned flags)
sock26net/inet/raw.hextern int  raw_recvfrom(struct sock *sk, unsigned char *to,
sock29net/inet/raw.hextern int  raw_read(struct sock *sk, unsigned char *buff,
sock31net/inet/raw.hextern int   raw_rcv(struct sock *, struct sk_buff *, struct device *, 
sock117net/inet/sock.cint sock_setsockopt(struct sock *sk, int level, int optname,
sock222net/inet/sock.cint sock_getsockopt(struct sock *sk, int level, int optname,
sock316net/inet/sock.cstruct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock339net/inet/sock.cstruct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock362net/inet/sock.cunsigned long sock_rspace(struct sock *sk)
sock379net/inet/sock.cunsigned long sock_wspace(struct sock *sk)
sock393net/inet/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
sock414net/inet/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
sock434net/inet/sock.cstruct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode)
sock509net/inet/sock.cint sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
sock525net/inet/sock.cvoid release_sock(struct sock *sk)
sock96net/inet/sock.hstruct sock      *next;
sock97net/inet/sock.hstruct sock      *prev; /* Doubly linked chain.. */
sock98net/inet/sock.hstruct sock      *pair;
sock193net/inet/sock.hvoid        (*state_change)(struct sock *sk);
sock194net/inet/sock.hvoid        (*data_ready)(struct sock *sk,int bytes);
sock195net/inet/sock.hvoid        (*write_space)(struct sock *sk);
sock196net/inet/sock.hvoid        (*error_report)(struct sock *sk);
sock201net/inet/sock.hstruct sk_buff *  (*wmalloc)(struct sock *sk,
sock204net/inet/sock.hstruct sk_buff *  (*rmalloc)(struct sock *sk,
sock207net/inet/sock.hvoid      (*wfree)(struct sock *sk, struct sk_buff *skb,
sock209net/inet/sock.hvoid      (*rfree)(struct sock *sk, struct sk_buff *skb,
sock211net/inet/sock.hunsigned long    (*rspace)(struct sock *sk);
sock212net/inet/sock.hunsigned long    (*wspace)(struct sock *sk);
sock213net/inet/sock.hvoid      (*close)(struct sock *sk, int timeout);
sock214net/inet/sock.hint      (*read)(struct sock *sk, unsigned char *to,
sock216net/inet/sock.hint      (*write)(struct sock *sk, unsigned char *to,
sock218net/inet/sock.hint      (*sendto)(struct sock *sk,
sock222net/inet/sock.hint      (*recvfrom)(struct sock *sk,
sock231net/inet/sock.hint      (*connect)(struct sock *sk,
sock233net/inet/sock.hstruct sock *    (*accept) (struct sock *sk, int flags);
sock234net/inet/sock.hvoid      (*queue_xmit)(struct sock *sk,
sock237net/inet/sock.hvoid      (*retransmit)(struct sock *sk, int all);
sock238net/inet/sock.hvoid      (*write_wakeup)(struct sock *sk);
sock239net/inet/sock.hvoid      (*read_wakeup)(struct sock *sk);
sock244net/inet/sock.hint      (*select)(struct sock *sk, int which,
sock246net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
sock248net/inet/sock.hint      (*init)(struct sock *sk);
sock249net/inet/sock.hvoid      (*shutdown)(struct sock *sk, int how);
sock250net/inet/sock.hint      (*setsockopt)(struct sock *sk, int level, int optname,
sock252net/inet/sock.hint      (*getsockopt)(struct sock *sk, int level, int optname,
sock256net/inet/sock.hstruct sock *    sock_array[SOCK_ARRAY_SIZE];
sock276net/inet/sock.hextern void      destroy_sock(struct sock *sk);
sock278net/inet/sock.hextern void      put_sock(unsigned short, struct sock *); 
sock279net/inet/sock.hextern void      release_sock(struct sock *sk);
sock280net/inet/sock.hextern struct sock    *get_sock(struct proto *, unsigned short,
sock283net/inet/sock.hextern struct sock    *get_sock_mcast(struct sock *, unsigned short,
sock286net/inet/sock.hextern struct sock    *get_sock_raw(struct sock *, unsigned short,
sock289net/inet/sock.hextern struct sk_buff    *sock_wmalloc(struct sock *sk,
sock292net/inet/sock.hextern struct sk_buff    *sock_rmalloc(struct sock *sk,
sock295net/inet/sock.hextern void      sock_wfree(struct sock *sk, struct sk_buff *skb,
sock297net/inet/sock.hextern void      sock_rfree(struct sock *sk, struct sk_buff *skb,
sock299net/inet/sock.hextern unsigned long    sock_rspace(struct sock *sk);
sock300net/inet/sock.hextern unsigned long    sock_wspace(struct sock *sk);
sock302net/inet/sock.hextern int      sock_setsockopt(struct sock *sk,int level,int op,char *optval,int optlen);
sock304net/inet/sock.hextern int      sock_getsockopt(struct sock *sk,int level,int op,char *optval,int *optlen);
sock305net/inet/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode);
sock306net/inet/sock.hextern int      sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
sock309net/inet/sock.hextern struct sock *timer_base;
sock311net/inet/sock.hvoid delete_timer (struct sock *);
sock312net/inet/sock.hvoid reset_timer (struct sock *, int, unsigned long);
sock244net/inet/tcp.cstatic void tcp_close(struct sock *sk, int timeout);
sock270net/inet/tcp.cstatic __inline__ void tcp_set_state(struct sock *sk, int state)
sock305net/inet/tcp.cint tcp_select_window(struct sock *sk)
sock334net/inet/tcp.cstatic struct sk_buff *tcp_find_established(struct sock *s)
sock354net/inet/tcp.cstatic struct sk_buff *tcp_dequeue_established(struct sock *s)
sock373net/inet/tcp.cstatic void tcp_close_pending (struct sock *sk) 
sock390net/inet/tcp.cstatic void tcp_time_wait(struct sock *sk)
sock404net/inet/tcp.cvoid tcp_do_retransmit(struct sock *sk, int all)
sock515net/inet/tcp.cstatic void reset_xmit_timer(struct sock *sk, int why, unsigned long when)
sock536net/inet/tcp.cvoid tcp_retransmit_time(struct sock *sk, int all)
sock571net/inet/tcp.cstatic void tcp_retransmit(struct sock *sk, int all)
sock593net/inet/tcp.cstatic int tcp_write_timeout(struct sock *sk)
sock648net/inet/tcp.cstruct sock *sk = (struct sock*)data;
sock757net/inet/tcp.cstruct sock *sk;
sock815net/inet/tcp.cstatic int tcp_readable(struct sock *sk)
sock889net/inet/tcp.cstatic int tcp_listen_select(struct sock *sk, int sel_type, select_table *wait)
sock912net/inet/tcp.cstatic int tcp_select(struct sock *sk, int sel_type, select_table *wait)
sock959net/inet/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock1102net/inet/tcp.cunsigned long daddr, int len, struct sock *sk)
sock1114net/inet/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
sock1233net/inet/tcp.cstruct sk_buff * tcp_dequeue_partial(struct sock * sk)
sock1253net/inet/tcp.cstatic void tcp_send_partial(struct sock *sk)
sock1267net/inet/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
sock1297net/inet/tcp.cstruct sock *sk,
sock1415net/inet/tcp.cextern __inline int tcp_build_header(struct tcphdr *th, struct sock *sk, int push)
sock1439net/inet/tcp.cstatic int tcp_write(struct sock *sk, unsigned char *from,
sock1768net/inet/tcp.cstatic int tcp_sendto(struct sock *sk, unsigned char *from,
sock1793net/inet/tcp.cstatic void tcp_read_wakeup(struct sock *sk)
sock1870net/inet/tcp.cstatic void cleanup_rbuf(struct sock *sk)
sock1958net/inet/tcp.cstatic int tcp_read_urg(struct sock * sk, int nonblock,
sock2015net/inet/tcp.cstatic int tcp_read(struct sock *sk, unsigned char *to,
sock2249net/inet/tcp.cstatic int tcp_close_state(struct sock *sk, int dead)
sock2303net/inet/tcp.cstatic void tcp_send_fin(struct sock *sk)
sock2407net/inet/tcp.cvoid tcp_shutdown(struct sock *sk, int how)
sock2460net/inet/tcp.ctcp_recvfrom(struct sock *sk, unsigned char *to,
sock2588net/inet/tcp.cstatic void tcp_options(struct sock *sk, struct tcphdr *th)
sock2673net/inet/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
sock2680net/inet/tcp.cstruct sock *newsk;
sock2723net/inet/tcp.cnewsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC);
sock2946net/inet/tcp.cstatic void tcp_close(struct sock *sk, int timeout)
sock3017net/inet/tcp.cstatic void tcp_write_xmit(struct sock *sk)
sock3107net/inet/tcp.cextern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
sock3710net/inet/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
sock3797net/inet/tcp.cextern __inline__ int tcp_data(struct sk_buff *skb, struct sock *sk, 
sock4124net/inet/tcp.cstatic void tcp_check_urg(struct sock * sk, struct tcphdr * th)
sock4156net/inet/tcp.cextern __inline__ int tcp_urg(struct sock *sk, struct tcphdr *th,
sock4197net/inet/tcp.cstatic struct sock *tcp_accept(struct sock *sk, int flags)
sock4199net/inet/tcp.cstruct sock *newsk;
sock4256net/inet/tcp.cstatic int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock4418net/inet/tcp.cextern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len,
sock4474net/inet/tcp.cstatic int tcp_std_reset(struct sock *sk, struct sk_buff *skb)
sock4511net/inet/tcp.cstruct sock *sk;
sock4902net/inet/tcp.cstatic void tcp_write_wakeup(struct sock *sk)
sock4983net/inet/tcp.cvoid tcp_send_probe0(struct sock *sk)
sock5001net/inet/tcp.cint tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock5037net/inet/tcp.cint tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock126net/inet/tcp.hextern void  tcp_shutdown (struct sock *sk, int how);
sock132net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock134net/inet/tcp.hextern int tcp_select_window(struct sock *sk);
sock136net/inet/tcp.hunsigned long daddr, int len, struct sock *sk);
sock137net/inet/tcp.hextern void tcp_send_probe0(struct sock *sk);
sock138net/inet/tcp.hextern void tcp_enqueue_partial(struct sk_buff *, struct sock *);
sock139net/inet/tcp.hextern struct sk_buff * tcp_dequeue_partial(struct sock *);
sock53net/inet/timer.cvoid delete_timer (struct sock *t)
sock66net/inet/timer.cvoid reset_timer (struct sock *t, int timeout, unsigned long len)
sock88net/inet/timer.cstruct sock *sk = (struct sock*)data;
sock83net/inet/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len);
sock103net/inet/udp.cstruct sock *sk;
sock234net/inet/udp.cunsigned long daddr, int len, struct sock *sk)
sock251net/inet/udp.cstatic int udp_send(struct sock *sk, struct sockaddr_in *sin,
sock342net/inet/udp.cstatic int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock,
sock401net/inet/udp.cstatic int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock,
sock412net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock467net/inet/udp.cint udp_recvfrom(struct sock *sk, unsigned char *to, int len,
sock519net/inet/udp.cint udp_read(struct sock *sk, unsigned char *buff, int len, int noblock,
sock526net/inet/udp.cint udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock552net/inet/udp.cstatic void udp_close(struct sock *sk, int timeout)
sock571net/inet/udp.cstruct sock *sk;
sock622net/inet/udp.cstruct sock *sknext=NULL;
sock667net/inet/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len)
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);
sock235net/socket.cstruct socket * sock;
sock246net/socket.csock = &inode->u.socket_i;
sock247net/socket.csock->state = SS_UNCONNECTED;
sock248net/socket.csock->flags = 0;
sock249net/socket.csock->ops = NULL;
sock250net/socket.csock->data = NULL;
sock251net/socket.csock->conn = NULL;
sock252net/socket.csock->iconn = NULL;
sock253net/socket.csock->next = NULL;
sock254net/socket.csock->wait = &inode->i_wait;
sock255net/socket.csock->inode = inode;    /* "backlink": we could use pointer arithmetic instead */
sock256net/socket.csock->fasync_list = NULL;
sock258net/socket.creturn sock;
sock272net/socket.cvoid sock_release(struct socket *sock)
sock277net/socket.cif ((oldstate = sock->state) != SS_UNCONNECTED)
sock278net/socket.csock->state = SS_DISCONNECTING;
sock284net/socket.cfor (peersock = sock->iconn; peersock; peersock = nextsock) 
sock295net/socket.cpeersock = (oldstate == SS_CONNECTED) ? sock->conn : NULL;
sock296net/socket.cif (sock->ops) 
sock297net/socket.csock->ops->release(sock, peersock);
sock301net/socket.ciput(SOCK_INODE(sock));
sock320net/socket.cstruct socket *sock;
sock323net/socket.cif (!(sock = socki_lookup(inode))) 
sock328net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock337net/socket.creturn(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK)));
sock347net/socket.cstruct socket *sock;
sock350net/socket.cif (!(sock = socki_lookup(inode))) 
sock356net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock366net/socket.creturn(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK)));
sock387net/socket.cstruct socket *sock;
sock389net/socket.cif (!(sock = socki_lookup(inode))) 
sock394net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
sock400net/socket.cstruct socket *sock;
sock402net/socket.cif (!(sock = socki_lookup(inode))) 
sock412net/socket.cif (sock->ops && sock->ops->select)
sock413net/socket.creturn(sock->ops->select(sock, sel_type, wait));
sock420net/socket.cstruct socket *sock;
sock429net/socket.cif (!(sock = socki_lookup(inode))) 
sock435net/socket.csock_release(sock);
sock445net/socket.cstruct socket *sock;
sock455net/socket.csock = socki_lookup(inode);
sock457net/socket.cprev=&(sock->fasync_list);
sock476net/socket.cfna->fa_next=sock->fasync_list;
sock477net/socket.csock->fasync_list=fna;
sock491net/socket.cint sock_wake_async(struct socket *sock, int how)
sock493net/socket.cif (!sock || !sock->fasync_list)
sock498net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock501net/socket.cif (!(sock->flags & SO_WAITDATA))
sock502net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock505net/socket.cif (sock->flags & SO_NOSPACE)
sock507net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock508net/socket.csock->flags &= ~SO_NOSPACE;
sock601net/socket.cstruct socket *sock;
sock636net/socket.cif (!(sock = sock_alloc())) 
sock643net/socket.csock->type = type;
sock644net/socket.csock->ops = ops;
sock645net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
sock647net/socket.csock_release(sock);
sock651net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
sock653net/socket.csock_release(sock);
sock731net/socket.cstruct socket *sock;
sock739net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock745net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
sock761net/socket.cstruct socket *sock;
sock765net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock768net/socket.cif (sock->state != SS_UNCONNECTED) 
sock773net/socket.cif (sock->ops && sock->ops->listen)
sock774net/socket.csock->ops->listen(sock, backlog);
sock775net/socket.csock->flags |= SO_ACCEPTCON;
sock791net/socket.cstruct socket *sock, *newsock;
sock798net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
sock800net/socket.cif (sock->state != SS_UNCONNECTED) 
sock804net/socket.cif (!(sock->flags & SO_ACCEPTCON)) 
sock815net/socket.cnewsock->type = sock->type;
sock816net/socket.cnewsock->ops = sock->ops;
sock817net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
sock823net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
sock852net/socket.cstruct socket *sock;
sock860net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
sock866net/socket.cswitch(sock->state) 
sock873net/socket.cif(sock->type == SOCK_DGRAM) /* Hack for now - move this all into the protocol */
sock888net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
sock903net/socket.cstruct socket *sock;
sock910net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock913net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
sock928net/socket.cstruct socket *sock;
sock935net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock938net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
sock953net/socket.cstruct socket *sock;
sock959net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock967net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
sock979net/socket.cstruct socket *sock;
sock986net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock998net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock1013net/socket.cstruct socket *sock;
sock1020net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1031net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
sock1043net/socket.cstruct socket *sock;
sock1050net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1061net/socket.clen=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock1079net/socket.cstruct socket *sock;
sock1084net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1087net/socket.creturn(sock->ops->setsockopt(sock, level, optname, optval, optlen));
sock1097net/socket.cstruct socket *sock;
sock1102net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1105net/socket.cif (!sock->ops || !sock->ops->getsockopt) 
sock1107net/socket.creturn(sock->ops->getsockopt(sock, level, optname, optval, optlen));
sock1117net/socket.cstruct socket *sock;
sock1122net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1125net/socket.creturn(sock->ops->shutdown(sock, how));
sock1135net/socket.cstruct socket *sock;
sock1137net/socket.csock = socki_lookup (filp->f_inode);
sock1138net/socket.cif (sock != NULL && sock->ops != NULL && sock->ops->fcntl != NULL)
sock1139net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
sock60net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol);
sock62net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer);
sock63net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock65net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock68net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, 
sock70net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock72net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size,
sock74net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size,
sock76net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait);
sock77net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
sock79net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog);
sock80net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len,
sock82net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len,
sock84net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len,
sock87net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len,
sock91net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how);
sock93net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock95net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock136net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog)
sock145net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock152net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock163net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, 
sock169net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, 
sock179net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how)
sock189net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock,
sock194net/unix/sock.creturn(unix_proto_write(sock, (char *) buff, len, nonblock));
sock202net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock,
sock207net/unix/sock.creturn(unix_proto_read(sock, (char *) buff, len, nonblock));
sock306net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol)
sock331net/unix/sock.cupd->socket = sock;
sock332net/unix/sock.cUN_DATA(sock) = upd;
sock352net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer)
sock354net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock359net/unix/sock.cif (upd->socket != sock) 
sock371net/unix/sock.cUN_DATA(sock) = NULL;
sock391net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock395net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock445net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock461net/unix/sock.cif (sock->state == SS_CONNECTING) 
sock463net/unix/sock.cif (sock->state == SS_CONNECTED)
sock498net/unix/sock.cif ((i = sock_awaitconn(sock, serv_upd->socket, flags)) < 0) 
sock503net/unix/sock.cif (sock->conn) 
sock505net/unix/sock.cunix_data_ref(UN_DATA(sock->conn));
sock506net/unix/sock.cUN_DATA(sock)->peerupd = UN_DATA(sock->conn); /* ref server */
sock535net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags)
sock544net/unix/sock.cwhile(!(clientsock = sock->iconn)) 
sock548net/unix/sock.csock->flags |= SO_WAITDATA;
sock549net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock550net/unix/sock.csock->flags &= ~SO_WAITDATA;
sock561net/unix/sock.csock->iconn = clientsock->next;
sock569net/unix/sock.cUN_DATA(newsock)->sockaddr_un        = UN_DATA(sock)->sockaddr_un;
sock570net/unix/sock.cUN_DATA(newsock)->sockaddr_len       = UN_DATA(sock)->sockaddr_len;
sock581net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock589net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock593net/unix/sock.cupd = UN_DATA(sock->conn);
sock596net/unix/sock.cupd = UN_DATA(sock);
sock609net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock)
sock617net/unix/sock.cupd = UN_DATA(sock);
sock620net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock622net/unix/sock.creturn((sock->state == SS_DISCONNECTING) ? 0 : -EINVAL);
sock626net/unix/sock.csock->flags |= SO_WAITDATA;
sock627net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock628net/unix/sock.csock->flags &= ~SO_WAITDATA;
sock660net/unix/sock.cif (sock->state == SS_CONNECTED)
sock662net/unix/sock.cwake_up_interruptible(sock->conn->wait);
sock663net/unix/sock.csock_wake_async(sock->conn, 2);
sock679net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock)
sock686net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock688net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock695net/unix/sock.cpupd = UN_DATA(sock)->peerupd;  /* safer than sock->conn */
sock699net/unix/sock.csock->flags |= SO_NOSPACE;
sock702net/unix/sock.csock->flags &= ~SO_NOSPACE;
sock703net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock708net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock738net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock755net/unix/sock.cif (sock->state == SS_CONNECTED)
sock757net/unix/sock.cwake_up_interruptible(sock->conn->wait);
sock758net/unix/sock.csock_wake_async(sock->conn, 1);
sock772net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait)
sock779net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock783net/unix/sock.cif (sock->iconn) 
sock785net/unix/sock.cselect_wait(sock->wait, wait);
sock786net/unix/sock.creturn(sock->iconn ? 1 : 0);
sock788net/unix/sock.cselect_wait(sock->wait, wait);
sock794net/unix/sock.cupd = UN_DATA(sock);
sock797net/unix/sock.celse if (sock->state != SS_CONNECTED) 
sock801net/unix/sock.cselect_wait(sock->wait,wait);
sock807net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock811net/unix/sock.cpeerupd = UN_DATA(sock->conn);
sock814net/unix/sock.cselect_wait(sock->wait,wait);
sock830net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock835net/unix/sock.cupd = UN_DATA(sock);
sock836net/unix/sock.cpeerupd = (sock->state == SS_CONNECTED) ? UN_DATA(sock->conn) : NULL;
sock841net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock852net/unix/sock.cif (sock->flags & SO_ACCEPTCON)