taglinefilesource code
sock117drivers/net/de600.cstatic unsigned long de600_rspace(struct sock *sk);
sock802drivers/net/de600.cde600_rspace(struct sock *sk)
sock56fs/nfs/sock.cstruct socket *sock;
sock81fs/nfs/sock.csock = socki_lookup(inode);
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, 
sock88include/linux/net.hint  (*create)  (struct socket *sock, int protocol);
sock90include/linux/net.hint  (*release)  (struct socket *sock, struct socket *peer);
sock91include/linux/net.hint  (*bind)    (struct socket *sock, struct sockaddr *umyaddr,
sock93include/linux/net.hint  (*connect)  (struct socket *sock, struct sockaddr *uservaddr,
sock96include/linux/net.hint  (*accept)  (struct socket *sock, struct socket *newsock,
sock98include/linux/net.hint  (*getname)  (struct socket *sock, struct sockaddr *uaddr,
sock100include/linux/net.hint  (*read)    (struct socket *sock, char *ubuf, int size,
sock102include/linux/net.hint  (*write)  (struct socket *sock, char *ubuf, int size,
sock104include/linux/net.hint  (*select)  (struct socket *sock, int sel_type,
sock106include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
sock108include/linux/net.hint  (*listen)  (struct socket *sock, int len);
sock109include/linux/net.hint  (*send)    (struct socket *sock, void *buff, int len, int nonblock,
sock111include/linux/net.hint  (*recv)    (struct socket *sock, void *buff, int len, int nonblock,
sock113include/linux/net.hint  (*sendto)  (struct socket *sock, void *buff, int len, int nonblock,
sock115include/linux/net.hint  (*recvfrom)  (struct socket *sock, void *buff, int len, int nonblock,
sock117include/linux/net.hint  (*shutdown)  (struct socket *sock, int flags);
sock118include/linux/net.hint  (*setsockopt)  (struct socket *sock, int level, int optname,
sock120include/linux/net.hint  (*getsockopt)  (struct socket *sock, int level, int optname,
sock122include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
sock132include/linux/net.hextern int  sock_wake_async(struct socket *sock);
sock45include/linux/skbuff.hstruct sock      *sk;
sock278include/linux/skbuff.hextern struct sk_buff *    skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err);
sock279include/linux/skbuff.hextern int      datagram_select(struct sock *sk, int sel_type, select_table *wait);
sock75net/inet/af_inet.cstruct sock *sk;
sock103net/inet/af_inet.cstruct sock *sk;
sock147net/inet/af_inet.cvoid put_sock(unsigned short num, struct sock *sk)
sock149net/inet/af_inet.cstruct sock *sk1;
sock150net/inet/af_inet.cstruct sock *sk2;
sock206net/inet/af_inet.cstatic void remove_sock(struct sock *sk1)
sock208net/inet/af_inet.cstruct sock *sk2;
sock244net/inet/af_inet.cvoid destroy_sock(struct sock *sk)
sock360net/inet/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock362net/inet/af_inet.cstruct sock *sk;
sock364net/inet/af_inet.csk = (struct sock *) sock->data;
sock389net/inet/af_inet.cstatic int inet_setsockopt(struct socket *sock, int level, int optname,
sock392net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;  
sock405net/inet/af_inet.cstatic int inet_getsockopt(struct socket *sock, int level, int optname,
sock408net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;    
sock421net/inet/af_inet.cstatic int inet_autobind(struct sock *sk)
sock439net/inet/af_inet.cstatic int inet_listen(struct socket *sock, int backlog)
sock441net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock468net/inet/af_inet.cstatic void def_callback1(struct sock *sk)
sock474net/inet/af_inet.cstatic void def_callback2(struct sock *sk,int len)
sock491net/inet/af_inet.cstatic int inet_create(struct socket *sock, int protocol)
sock493net/inet/af_inet.cstruct sock *sk;
sock497net/inet/af_inet.csk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL);
sock502net/inet/af_inet.cswitch(sock->type) 
sock570net/inet/af_inet.csk->socket = sock;
sock576net/inet/af_inet.csk->type = sock->type;
sock632net/inet/af_inet.csk->sleep = sock->wait;
sock648net/inet/af_inet.csock->data =(void *) sk;
sock705net/inet/af_inet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
sock715net/inet/af_inet.cstatic int inet_release(struct socket *sock, struct socket *peer)
sock717net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock764net/inet/af_inet.csock->data = NULL;
sock774net/inet/af_inet.cstatic int inet_bind(struct socket *sock, struct sockaddr *uaddr,
sock778net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data, *sk2;
sock855net/inet/af_inet.cstatic int inet_error(struct sock *sk)
sock872net/inet/af_inet.cstatic int inet_connect(struct socket *sock, struct sockaddr * uaddr,
sock875net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock877net/inet/af_inet.csock->conn = NULL;
sock879net/inet/af_inet.cif (sock->state == SS_CONNECTING && tcp_connected(sk->state))
sock881net/inet/af_inet.csock->state = SS_CONNECTED;
sock886net/inet/af_inet.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK))
sock889net/inet/af_inet.cif (sock->state != SS_CONNECTING) 
sock899net/inet/af_inet.csock->state = SS_CONNECTING;
sock902net/inet/af_inet.cif (sk->state > TCP_FIN_WAIT2 && sock->state==SS_CONNECTING)
sock904net/inet/af_inet.csock->state=SS_UNCONNECTED;
sock929net/inet/af_inet.csock->state = SS_UNCONNECTED;
sock936net/inet/af_inet.csock->state = SS_CONNECTED;
sock940net/inet/af_inet.csock->state = SS_UNCONNECTED;
sock959net/inet/af_inet.cstatic int inet_accept(struct socket *sock, struct socket *newsock, int flags)
sock961net/inet/af_inet.cstruct sock *sk1, *sk2;
sock964net/inet/af_inet.csk1 = (struct sock *) sock->data;
sock973net/inet/af_inet.cstruct sock *sk=(struct sock *)newsock->data;
sock1041net/inet/af_inet.cstatic int inet_getname(struct socket *sock, struct sockaddr *uaddr,
sock1045net/inet/af_inet.cstruct sock *sk;
sock1048net/inet/af_inet.csk = (struct sock *) sock->data;
sock1073net/inet/af_inet.cstatic int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, 
sock1076net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1090net/inet/af_inet.cstatic int inet_recv(struct socket *sock, void *ubuf, int size, int noblock,
sock1094net/inet/af_inet.creturn inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL);
sock1097net/inet/af_inet.cstatic int inet_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1099net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1109net/inet/af_inet.cstatic int inet_send(struct socket *sock, void *ubuf, int size, int noblock, 
sock1112net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1126net/inet/af_inet.cstatic int inet_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1128net/inet/af_inet.creturn inet_send(sock,ubuf,size,noblock,0);
sock1131net/inet/af_inet.cstatic int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, 
sock1134net/inet/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1152net/inet/af_inet.cstatic int inet_shutdown(struct socket *sock, int how)
sock1154net/inet/af_inet.cstruct sock *sk=(struct sock*)sock->data;
sock1165net/inet/af_inet.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1166net/inet/af_inet.csock->state = SS_CONNECTED;
sock1176net/inet/af_inet.cstatic int inet_select(struct socket *sock, int sel_type, select_table *wait )
sock1178net/inet/af_inet.cstruct sock *sk=(struct sock *) sock->data;
sock1196net/inet/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1198net/inet/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock1293net/inet/af_inet.cstruct sock *get_sock(struct proto *prot, unsigned short num,
sock1297net/inet/af_inet.cstruct sock *s;
sock1298net/inet/af_inet.cstruct sock *result = NULL;
sock1357net/inet/af_inet.cstruct sock *get_sock_raw(struct sock *sk, 
sock1362net/inet/af_inet.cstruct sock *s;
sock1386net/inet/af_inet.cstruct sock *get_sock_mcast(struct sock *sk, 
sock1391net/inet/af_inet.cstruct sock *s;
sock53net/inet/datagram.cstruct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err)
sock174net/inet/datagram.cint datagram_select(struct sock *sk, int sel_type, select_table *wait)
sock436net/inet/icmp.cip_queue_xmit((struct sock *)NULL, ndev, skb2, 1);
sock526net/inet/icmp.cip_queue_xmit((struct sock *) NULL, ndev, skb2, 1);
sock609net/inet/icmp.cip_queue_xmit((struct sock *)NULL, ndev, skb2, 1);
sock740net/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,
sock284net/inet/igmp.cint ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr)
sock318net/inet/igmp.cint ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr)
sock344net/inet/igmp.cvoid ip_mc_drop_socket(struct sock *sk)
sock66net/inet/igmp.hextern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr);
sock67net/inet/igmp.hextern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr);
sock68net/inet/igmp.hextern void ip_mc_drop_socket(struct sock *sk);
sock101net/inet/ip.cextern void sort_send(struct sock *sk);
sock128net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock1102net/inet/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
sock1467net/inet/ip.cstruct sock *raw_sk=NULL;
sock1635net/inet/ip.cstruct sock *sknext=NULL;
sock1727net/inet/ip.cvoid ip_queue_xmit(struct sock *sk, struct device *dev,
sock1896net/inet/ip.cvoid ip_do_retransmit(struct sock *sk, int all)
sock1990net/inet/ip.cvoid ip_retransmit(struct sock *sk, int all)
sock2066net/inet/ip.cint ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock2332net/inet/ip.cint ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock40net/inet/ip.hextern void    ip_mc_dropsocket(struct sock *);
sock76net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
sock88net/inet/ip.hextern void    ip_queue_xmit(struct sock *sk,
sock91net/inet/ip.hextern void    ip_retransmit(struct sock *sk, int all);
sock92net/inet/ip.hextern void    ip_do_retransmit(struct sock *sk, int all);
sock93net/inet/ip.hextern int     ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen);
sock94net/inet/ip.hextern int     ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen);
sock117net/inet/ipx.cif(s->ipx_source_addr.sock==port)
sock164net/inet/ipx.chtons(s->ipx_source_addr.sock));
sock168net/inet/ipx.chtons(s->ipx_dest_addr.sock));
sock469net/inet/ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock471net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock479net/inet/ipx.cstatic int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
sock484net/inet/ipx.csk=(ipx_socket *)sock->data;
sock517net/inet/ipx.cstatic int ipx_getsockopt(struct socket *sock, int level, int optname,
sock524net/inet/ipx.csk=(ipx_socket *)sock->data;
sock555net/inet/ipx.cstatic int ipx_listen(struct socket *sock, int backlog)
sock560net/inet/ipx.cstatic void def_callback1(struct sock *sk)
sock566net/inet/ipx.cstatic void def_callback2(struct sock *sk, int len)
sock575net/inet/ipx.cstatic int ipx_create(struct socket *sock, int protocol)
sock581net/inet/ipx.cswitch(sock->type)
sock606net/inet/ipx.csk->socket=sock;
sock607net/inet/ipx.csk->type=sock->type;
sock615net/inet/ipx.cif(sock!=NULL)
sock617net/inet/ipx.csock->data=(void *)sk;
sock618net/inet/ipx.csk->sleep=sock->wait;
sock635net/inet/ipx.cstatic int ipx_release(struct socket *sock, struct socket *peer)
sock637net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock643net/inet/ipx.csock->data=NULL;
sock661net/inet/ipx.cstatic int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len)
sock668net/inet/ipx.csk=(ipx_socket *)sock->data;
sock697net/inet/ipx.csk->ipx_source_addr.sock=addr->sipx_port;
sock730net/inet/ipx.cstatic int ipx_connect(struct socket *sock, struct sockaddr *uaddr,
sock733net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock737net/inet/ipx.csock->state = SS_UNCONNECTED;
sock751net/inet/ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock756net/inet/ipx.csk->ipx_dest_addr.sock=addr->sipx_port;
sock761net/inet/ipx.csock->state = SS_CONNECTED;
sock771net/inet/ipx.cstatic int ipx_accept(struct socket *sock, struct socket *newsock, int flags)
sock778net/inet/ipx.cstatic int ipx_getname(struct socket *sock, struct sockaddr *uaddr,
sock785net/inet/ipx.csk=(ipx_socket *)sock->data;
sock800net/inet/ipx.csipx.sipx_port = addr->sock;
sock810net/inet/ipx.cipx_socket *sock;
sock939net/inet/ipx.csock=ipx_find_socket(ipx->ipx_dest.sock);
sock940net/inet/ipx.cif(sock==NULL)  /* But not one of our sockets */
sock948net/inet/ipx.cif (sock->ipx_source_addr.net == 0L)
sock949net/inet/ipx.csock->ipx_source_addr.net = ln->net;
sock951net/inet/ipx.cif(sock_queue_rcv_skb(sock, skb)<0)
sock960net/inet/ipx.cstatic int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock,
sock963net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock989net/inet/ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock1007net/inet/ipx.cusipx->sipx_port=sk->ipx_dest_addr.sock;
sock1097net/inet/ipx.cipx->ipx_dest.sock=usipx->sipx_port;
sock1136net/inet/ipx.cstatic int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags)
sock1138net/inet/ipx.creturn ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0);
sock1141net/inet/ipx.cstatic int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock,
sock1144net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1173net/inet/ipx.csipx->sipx_port=ipx->ipx_source.sock;
sock1183net/inet/ipx.cstatic int ipx_write(struct socket *sock, char *ubuf, int size, int noblock)
sock1185net/inet/ipx.creturn ipx_send(sock,ubuf,size,noblock,0);
sock1189net/inet/ipx.cstatic int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock,
sock1192net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1195net/inet/ipx.creturn ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL);
sock1198net/inet/ipx.cstatic int ipx_read(struct socket *sock, char *ubuf, int size, int noblock)
sock1200net/inet/ipx.creturn ipx_recv(sock,ubuf,size,noblock,0);
sock1209net/inet/ipx.cstatic int ipx_select(struct socket *sock , int sel_type, select_table *wait)
sock1211net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1216net/inet/ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
sock1220net/inet/ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock21net/inet/ipx.hunsigned short sock;
sock62net/inet/ipx.htypedef struct sock ipx_socket;
sock69net/inet/packet.cstruct sock *sk;
sock76net/inet/packet.csk = (struct sock *) pt->data;  
sock123net/inet/packet.cstatic int packet_sendto(struct sock *sk, unsigned char *from, int len,
sock207net/inet/packet.cstatic int packet_write(struct sock *sk, unsigned char *buff, 
sock220net/inet/packet.cstatic void packet_close(struct sock *sk, int timeout)
sock238net/inet/packet.cstatic int packet_init(struct sock *sk)
sock255net/inet/packet.csk->pair = (struct sock *)p;
sock266net/inet/packet.cint packet_recvfrom(struct sock *sk, unsigned char *to, int len,
sock347net/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 *, 
sock115net/inet/sock.cint sock_setsockopt(struct sock *sk, int level, int optname,
sock220net/inet/sock.cint sock_getsockopt(struct sock *sk, int level, int optname,
sock314net/inet/sock.cstruct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock335net/inet/sock.cstruct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock356net/inet/sock.cunsigned long sock_rspace(struct sock *sk)
sock373net/inet/sock.cunsigned long sock_wspace(struct sock *sk)
sock387net/inet/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
sock404net/inet/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
sock420net/inet/sock.cstruct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode)
sock492net/inet/sock.cint sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
sock504net/inet/sock.cvoid release_sock(struct sock *sk)
sock92net/inet/sock.hstruct sock      *next;
sock93net/inet/sock.hstruct sock      *pair;
sock178net/inet/sock.hvoid        (*state_change)(struct sock *sk);
sock179net/inet/sock.hvoid        (*data_ready)(struct sock *sk,int bytes);
sock180net/inet/sock.hvoid        (*write_space)(struct sock *sk);
sock181net/inet/sock.hvoid        (*error_report)(struct sock *sk);
sock186net/inet/sock.hstruct sk_buff *  (*wmalloc)(struct sock *sk,
sock189net/inet/sock.hstruct sk_buff *  (*rmalloc)(struct sock *sk,
sock192net/inet/sock.hvoid      (*wfree)(struct sock *sk, struct sk_buff *skb,
sock194net/inet/sock.hvoid      (*rfree)(struct sock *sk, struct sk_buff *skb,
sock196net/inet/sock.hunsigned long    (*rspace)(struct sock *sk);
sock197net/inet/sock.hunsigned long    (*wspace)(struct sock *sk);
sock198net/inet/sock.hvoid      (*close)(struct sock *sk, int timeout);
sock199net/inet/sock.hint      (*read)(struct sock *sk, unsigned char *to,
sock201net/inet/sock.hint      (*write)(struct sock *sk, unsigned char *to,
sock203net/inet/sock.hint      (*sendto)(struct sock *sk,
sock207net/inet/sock.hint      (*recvfrom)(struct sock *sk,
sock216net/inet/sock.hint      (*connect)(struct sock *sk,
sock218net/inet/sock.hstruct sock *    (*accept) (struct sock *sk, int flags);
sock219net/inet/sock.hvoid      (*queue_xmit)(struct sock *sk,
sock222net/inet/sock.hvoid      (*retransmit)(struct sock *sk, int all);
sock223net/inet/sock.hvoid      (*write_wakeup)(struct sock *sk);
sock224net/inet/sock.hvoid      (*read_wakeup)(struct sock *sk);
sock229net/inet/sock.hint      (*select)(struct sock *sk, int which,
sock231net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
sock233net/inet/sock.hint      (*init)(struct sock *sk);
sock234net/inet/sock.hvoid      (*shutdown)(struct sock *sk, int how);
sock235net/inet/sock.hint      (*setsockopt)(struct sock *sk, int level, int optname,
sock237net/inet/sock.hint      (*getsockopt)(struct sock *sk, int level, int optname,
sock241net/inet/sock.hstruct sock *    sock_array[SOCK_ARRAY_SIZE];
sock260net/inet/sock.hextern void      destroy_sock(struct sock *sk);
sock262net/inet/sock.hextern void      put_sock(unsigned short, struct sock *); 
sock263net/inet/sock.hextern void      release_sock(struct sock *sk);
sock264net/inet/sock.hextern struct sock    *get_sock(struct proto *, unsigned short,
sock267net/inet/sock.hextern struct sock    *get_sock_mcast(struct sock *, unsigned short,
sock270net/inet/sock.hextern struct sock    *get_sock_raw(struct sock *, unsigned short,
sock273net/inet/sock.hextern struct sk_buff    *sock_wmalloc(struct sock *sk,
sock276net/inet/sock.hextern struct sk_buff    *sock_rmalloc(struct sock *sk,
sock279net/inet/sock.hextern void      sock_wfree(struct sock *sk, struct sk_buff *skb,
sock281net/inet/sock.hextern void      sock_rfree(struct sock *sk, struct sk_buff *skb,
sock283net/inet/sock.hextern unsigned long    sock_rspace(struct sock *sk);
sock284net/inet/sock.hextern unsigned long    sock_wspace(struct sock *sk);
sock286net/inet/sock.hextern int      sock_setsockopt(struct sock *sk,int level,int op,char *optval,int optlen);
sock288net/inet/sock.hextern int      sock_getsockopt(struct sock *sk,int level,int op,char *optval,int *optlen);
sock289net/inet/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode);
sock290net/inet/sock.hextern int      sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
sock293net/inet/sock.hextern struct sock *timer_base;
sock295net/inet/sock.hvoid delete_timer (struct sock *);
sock296net/inet/sock.hvoid reset_timer (struct sock *, int, unsigned long);
sock185net/inet/tcp.cstatic void tcp_close(struct sock *sk, int timeout);
sock201net/inet/tcp.cstatic __inline__ void tcp_set_state(struct sock *sk, int state)
sock229net/inet/tcp.cint tcp_select_window(struct sock *sk)
sock254net/inet/tcp.cstatic struct sk_buff *tcp_find_established(struct sock *s)
sock276net/inet/tcp.cstatic void tcp_close_pending (struct sock *sk, int timeout) 
sock287net/inet/tcp.cstatic struct sk_buff *tcp_dequeue_established(struct sock *s)
sock305net/inet/tcp.cstatic void tcp_time_wait(struct sock *sk)
sock321net/inet/tcp.cstatic void tcp_retransmit(struct sock *sk, int all)
sock353net/inet/tcp.cstruct sock *sk;
sock410net/inet/tcp.cstatic int tcp_readable(struct sock *sk)
sock484net/inet/tcp.cstatic int tcp_select(struct sock *sk, int sel_type, select_table *wait)
sock552net/inet/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock695net/inet/tcp.cunsigned long daddr, int len, struct sock *sk)
sock702net/inet/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
sock764net/inet/tcp.cstruct sk_buff * tcp_dequeue_partial(struct sock * sk)
sock780net/inet/tcp.cstatic void tcp_send_partial(struct sock *sk)
sock790net/inet/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
sock817net/inet/tcp.cstruct sock *sk,
sock910net/inet/tcp.cextern __inline int tcp_build_header(struct tcphdr *th, struct sock *sk, int push)
sock935net/inet/tcp.cstatic int tcp_write(struct sock *sk, unsigned char *from,
sock1260net/inet/tcp.cstatic int tcp_sendto(struct sock *sk, unsigned char *from,
sock1280net/inet/tcp.cstatic void tcp_read_wakeup(struct sock *sk)
sock1357net/inet/tcp.cstatic void cleanup_rbuf(struct sock *sk)
sock1444net/inet/tcp.cstatic int tcp_read_urg(struct sock * sk, int nonblock,
sock1497net/inet/tcp.cstatic int tcp_read(struct sock *sk, unsigned char *to,
sock1647net/inet/tcp.cvoid tcp_shutdown(struct sock *sk, int how)
sock1789net/inet/tcp.ctcp_recvfrom(struct sock *sk, unsigned char *to,
sock1907net/inet/tcp.cstatic void tcp_options(struct sock *sk, struct tcphdr *th)
sock1984net/inet/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
sock1991net/inet/tcp.cstruct sock *newsk;
sock2034net/inet/tcp.cnewsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC);
sock2250net/inet/tcp.cstatic void tcp_close(struct sock *sk, int timeout)
sock2461net/inet/tcp.ctcp_write_xmit(struct sock *sk)
sock2523net/inet/tcp.cstatic int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
sock3045net/inet/tcp.cstatic int tcp_data(struct sk_buff *skb, struct sock *sk, 
sock3359net/inet/tcp.cstatic void tcp_check_urg(struct sock * sk, struct tcphdr * th)
sock3387net/inet/tcp.cstatic inline int tcp_urg(struct sock *sk, struct tcphdr *th,
sock3426net/inet/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th, 
sock3504net/inet/tcp.cstatic struct sock *
sock3505net/inet/tcp.ctcp_accept(struct sock *sk, int flags)
sock3507net/inet/tcp.cstruct sock *newsk;
sock3564net/inet/tcp.cstatic int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock3719net/inet/tcp.ctcp_sequence(struct sock *sk, struct tcphdr *th, short len,
sock3779net/inet/tcp.cstatic inline int tcp_clean_end(struct sock *sk)
sock3794net/inet/tcp.cstruct sock *sk;
sock4077net/inet/tcp.cstruct sock *psk=sk;
sock4374net/inet/tcp.cstatic void tcp_write_wakeup(struct sock *sk)
sock4449net/inet/tcp.ctcp_send_probe0(struct sock *sk)
sock4467net/inet/tcp.cint tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock4503net/inet/tcp.cint tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock119net/inet/tcp.hextern void  tcp_shutdown (struct sock *sk, int how);
sock125net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock127net/inet/tcp.hextern int tcp_select_window(struct sock *sk);
sock129net/inet/tcp.hunsigned long daddr, int len, struct sock *sk);
sock130net/inet/tcp.hextern void tcp_send_probe0(struct sock *sk);
sock131net/inet/tcp.hextern void tcp_enqueue_partial(struct sk_buff *, struct sock *);
sock132net/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;
sock81net/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);
sock101net/inet/udp.cstruct sock *sk;
sock232net/inet/udp.cunsigned long daddr, int len, struct sock *sk)
sock249net/inet/udp.cstatic int udp_send(struct sock *sk, struct sockaddr_in *sin,
sock340net/inet/udp.cstatic int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock,
sock399net/inet/udp.cstatic int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock,
sock410net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock465net/inet/udp.cint udp_recvfrom(struct sock *sk, unsigned char *to, int len,
sock517net/inet/udp.cint udp_read(struct sock *sk, unsigned char *buff, int len, int noblock,
sock524net/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;
sock609net/inet/udp.cstruct sock *sknext=NULL;
sock654net/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);
sock195net/socket.cstruct socket *sock;
sock197net/socket.cif ((sock = inode->i_socket) != NULL) 
sock199net/socket.cif (sock->state != SS_FREE && SOCK_INODE(sock) == inode)
sock200net/socket.creturn sock;
sock203net/socket.cfor (sock = sockets; sock <= last_socket; ++sock)
sock204net/socket.cif (sock->state != SS_FREE && SOCK_INODE(sock) == inode) 
sock207net/socket.creturn(sock);
sock235net/socket.cstruct socket *sock;
sock240net/socket.cfor (sock = sockets; sock <= last_socket; ++sock) 
sock242net/socket.cif (sock->state == SS_FREE) 
sock247net/socket.csock->state = SS_UNCONNECTED;
sock249net/socket.csock->flags = 0;
sock250net/socket.csock->ops = NULL;
sock251net/socket.csock->data = NULL;
sock252net/socket.csock->conn = NULL;
sock253net/socket.csock->iconn = NULL;
sock254net/socket.csock->fasync_list = NULL;
sock262net/socket.cif (!(SOCK_INODE(sock) = get_empty_inode())) 
sock265net/socket.csock->state = SS_FREE;
sock268net/socket.cSOCK_INODE(sock)->i_mode = S_IFSOCK;
sock269net/socket.cSOCK_INODE(sock)->i_uid = current->euid;
sock270net/socket.cSOCK_INODE(sock)->i_gid = current->egid;
sock271net/socket.cSOCK_INODE(sock)->i_socket = sock;
sock273net/socket.csock->wait = &SOCK_INODE(sock)->i_wait;
sock274net/socket.creturn(sock);
sock308net/socket.cstatic void sock_release(struct socket *sock)
sock314net/socket.cif ((oldstate = sock->state) != SS_UNCONNECTED)
sock315net/socket.csock->state = SS_DISCONNECTING;
sock321net/socket.cfor (peersock = sock->iconn; peersock; peersock = nextsock) 
sock332net/socket.cpeersock = (oldstate == SS_CONNECTED) ? sock->conn : NULL;
sock333net/socket.cif (sock->ops) 
sock334net/socket.csock->ops->release(sock, peersock);
sock337net/socket.cinode = SOCK_INODE(sock);
sock338net/socket.csock->state = SS_FREE;    /* this really releases us */
sock368net/socket.cstruct socket *sock;
sock371net/socket.cif (!(sock = socki_lookup(inode))) 
sock376net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock385net/socket.creturn(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK)));
sock395net/socket.cstruct socket *sock;
sock398net/socket.cif (!(sock = socki_lookup(inode))) 
sock404net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock414net/socket.creturn(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK)));
sock435net/socket.cstruct socket *sock;
sock437net/socket.cif (!(sock = socki_lookup(inode))) 
sock442net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
sock448net/socket.cstruct socket *sock;
sock450net/socket.cif (!(sock = socki_lookup(inode))) 
sock460net/socket.cif (sock->ops && sock->ops->select)
sock461net/socket.creturn(sock->ops->select(sock, sel_type, wait));
sock468net/socket.cstruct socket *sock;
sock477net/socket.cif (!(sock = socki_lookup(inode))) 
sock483net/socket.csock_release(sock);
sock493net/socket.cstruct socket *sock;
sock503net/socket.csock = socki_lookup(inode);
sock505net/socket.cprev=&(sock->fasync_list);
sock524net/socket.cfna->fa_next=sock->fasync_list;
sock525net/socket.csock->fasync_list=fna;
sock539net/socket.cint sock_wake_async(struct socket *sock)
sock541net/socket.cif (!sock || !sock->fasync_list)
sock543net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock628net/socket.cstruct socket *sock;
sock663net/socket.cif (!(sock = sock_alloc(1))) 
sock669net/socket.csock->type = type;
sock670net/socket.csock->ops = ops;
sock671net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
sock673net/socket.csock_release(sock);
sock677net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
sock679net/socket.csock_release(sock);
sock757net/socket.cstruct socket *sock;
sock765net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock771net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
sock787net/socket.cstruct socket *sock;
sock791net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock794net/socket.cif (sock->state != SS_UNCONNECTED) 
sock799net/socket.cif (sock->ops && sock->ops->listen)
sock800net/socket.csock->ops->listen(sock, backlog);
sock801net/socket.csock->flags |= SO_ACCEPTCON;
sock817net/socket.cstruct socket *sock, *newsock;
sock824net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
sock826net/socket.cif (sock->state != SS_UNCONNECTED) 
sock830net/socket.cif (!(sock->flags & SO_ACCEPTCON)) 
sock840net/socket.cnewsock->type = sock->type;
sock841net/socket.cnewsock->ops = sock->ops;
sock842net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
sock848net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
sock877net/socket.cstruct socket *sock;
sock885net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
sock891net/socket.cswitch(sock->state) 
sock898net/socket.cif(sock->type == SOCK_DGRAM) /* Hack for now - move this all into the protocol */
sock909net/socket.creturn(sock->ops->connect(sock, uservaddr,
sock914net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
sock929net/socket.cstruct socket *sock;
sock936net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock939net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
sock954net/socket.cstruct socket *sock;
sock961net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock964net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
sock979net/socket.cstruct socket *sock;
sock985net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock993net/socket.creturn(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags));
sock1005net/socket.cstruct socket *sock;
sock1012net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1024net/socket.creturn(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock1039net/socket.cstruct socket *sock;
sock1046net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1057net/socket.creturn(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags));
sock1069net/socket.cstruct socket *sock;
sock1076net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1087net/socket.clen=sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK),
sock1105net/socket.cstruct socket *sock;
sock1110net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1113net/socket.creturn(sock->ops->setsockopt(sock, level, optname, optval, optlen));
sock1123net/socket.cstruct socket *sock;
sock1128net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1131net/socket.cif (!sock->ops || !sock->ops->getsockopt) 
sock1133net/socket.creturn(sock->ops->getsockopt(sock, level, optname, optval, optlen));
sock1143net/socket.cstruct socket *sock;
sock1148net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1151net/socket.creturn(sock->ops->shutdown(sock, how));
sock1161net/socket.cstruct socket *sock;
sock1163net/socket.csock = socki_lookup (filp->f_inode);
sock1164net/socket.cif (sock != NULL && sock->ops != NULL && sock->ops->fcntl != NULL)
sock1165net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
sock1374net/socket.cstruct socket *sock;
sock1382net/socket.cfor (sock = sockets; sock <= last_socket; ++sock)
sock1383net/socket.csock->state = SS_FREE;
sock61net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol);
sock63net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer);
sock64net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock66net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock69net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, 
sock71net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock73net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size,
sock75net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size,
sock77net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait);
sock78net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
sock80net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog);
sock81net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len,
sock83net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len,
sock85net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len,
sock88net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len,
sock92net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how);
sock94net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock96net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock137net/unix/sock.cstatic int unix_proto_listen(struct socket *sock, int backlog)
sock146net/unix/sock.cstatic int unix_proto_setsockopt(struct socket *sock, int level, int optname,
sock153net/unix/sock.cstatic int unix_proto_getsockopt(struct socket *sock, int level, int optname,
sock164net/unix/sock.cstatic int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, 
sock170net/unix/sock.cstatic int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, 
sock180net/unix/sock.cstatic int unix_proto_shutdown(struct socket *sock, int how)
sock190net/unix/sock.cstatic int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock,
sock195net/unix/sock.creturn(unix_proto_write(sock, (char *) buff, len, nonblock));
sock203net/unix/sock.cstatic int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock,
sock208net/unix/sock.creturn(unix_proto_read(sock, (char *) buff, len, nonblock));
sock307net/unix/sock.cstatic int unix_proto_create(struct socket *sock, int protocol)
sock332net/unix/sock.cupd->socket = sock;
sock333net/unix/sock.cUN_DATA(sock) = upd;
sock353net/unix/sock.cstatic int unix_proto_release(struct socket *sock, struct socket *peer)
sock355net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock360net/unix/sock.cif (upd->socket != sock) 
sock372net/unix/sock.cUN_DATA(sock) = NULL;
sock392net/unix/sock.cstatic int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr,
sock396net/unix/sock.cstruct unix_proto_data *upd = UN_DATA(sock);
sock446net/unix/sock.cstatic int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr,
sock462net/unix/sock.cif (sock->state == SS_CONNECTING) 
sock464net/unix/sock.cif (sock->state == SS_CONNECTED)
sock499net/unix/sock.cif ((i = sock_awaitconn(sock, serv_upd->socket)) < 0) 
sock504net/unix/sock.cif (sock->conn) 
sock506net/unix/sock.cunix_data_ref(UN_DATA(sock->conn));
sock507net/unix/sock.cUN_DATA(sock)->peerupd = UN_DATA(sock->conn); /* ref server */
sock536net/unix/sock.cstatic int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags)
sock545net/unix/sock.cwhile(!(clientsock = sock->iconn)) 
sock549net/unix/sock.cinterruptible_sleep_on(sock->wait);
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;
sock580net/unix/sock.cstatic int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr,
sock588net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock592net/unix/sock.cupd = UN_DATA(sock->conn);
sock595net/unix/sock.cupd = UN_DATA(sock);
sock608net/unix/sock.cstatic int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock)
sock616net/unix/sock.cupd = UN_DATA(sock);
sock619net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock621net/unix/sock.creturn((sock->state == SS_DISCONNECTING) ? 0 : -EINVAL);
sock625net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock657net/unix/sock.cif (sock->state == SS_CONNECTED)
sock658net/unix/sock.cwake_up_interruptible(sock->conn->wait);
sock673net/unix/sock.cstatic int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock)
sock680net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock682net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock689net/unix/sock.cpupd = UN_DATA(sock)->peerupd;  /* safer than sock->conn */
sock695net/unix/sock.cinterruptible_sleep_on(sock->wait);
sock700net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock730net/unix/sock.cif (sock->state == SS_DISCONNECTING) 
sock747net/unix/sock.cif (sock->state == SS_CONNECTED)
sock748net/unix/sock.cwake_up_interruptible(sock->conn->wait);
sock761net/unix/sock.cstatic int unix_proto_select(struct socket *sock, int sel_type, select_table * wait)
sock768net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock772net/unix/sock.cif (sock->iconn) 
sock774net/unix/sock.cselect_wait(sock->wait, wait);
sock775net/unix/sock.creturn(sock->iconn ? 1 : 0);
sock777net/unix/sock.cselect_wait(sock->wait, wait);
sock783net/unix/sock.cupd = UN_DATA(sock);
sock786net/unix/sock.celse if (sock->state != SS_CONNECTED) 
sock790net/unix/sock.cselect_wait(sock->wait,wait);
sock796net/unix/sock.cif (sock->state != SS_CONNECTED) 
sock800net/unix/sock.cpeerupd = UN_DATA(sock->conn);
sock803net/unix/sock.cselect_wait(sock->wait,wait);
sock819net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock824net/unix/sock.cupd = UN_DATA(sock);
sock825net/unix/sock.cpeerupd = (sock->state == SS_CONNECTED) ? UN_DATA(sock->conn) : NULL;
sock830net/unix/sock.cif (sock->flags & SO_ACCEPTCON) 
sock841net/unix/sock.cif (sock->flags & SO_ACCEPTCON)