taglinefilesource code
sock114drivers/net/de600.cstatic unsigned long de600_rspace(struct sock *sk);
sock807drivers/net/de600.cde600_rspace(struct sock *sk)
sock145fs/nfs/inode.cstruct socket *sock;
sock150fs/nfs/inode.csock = &((filp->f_inode)->u.socket_i);
sock153fs/nfs/inode.csock->ops->getname(sock, &(server->toaddr), &dummylen, 1) ;
sock785fs/nfs/nfsroot.cstruct socket *sock;
sock803fs/nfs/nfsroot.csock = &((filp->f_inode)->u.socket_i);
sock806fs/nfs/nfsroot.csock->ops->getname(sock, &(s.toaddr), &dummylen, 1);
sock82fs/nfs/rpcsock.cstruct socket  *sock = rsock->sock;
sock89fs/nfs/rpcsock.cresult = sock->ops->sendmsg(sock, msg, len, 0, 0);
sock130fs/nfs/rpcsock.cstruct socket  *sock = rsock->sock;
sock139fs/nfs/rpcsock.cresult = sock->ops->recvmsg(sock, msg, len, 1, flags, &alen);
sock364fs/nfs/rpcsock.crsock->sock = &file->f_inode->u.socket_i;
sock161fs/read_write.cstruct socket *sock;
sock163fs/read_write.csock = &inode->u.socket_i;
sock164fs/read_write.cif (!sock->ops)
sock174fs/read_write.cif (!sock->ops->recvmsg)
sock176fs/read_write.creturn sock->ops->recvmsg(sock, &msg, size,
sock179fs/read_write.cif (!sock->ops->sendmsg)
sock181fs/read_write.creturn sock->ops->sendmsg(sock, &msg, size,
sock27fs/smbfs/sock.cstatic int _recvfrom(struct socket *sock, unsigned char *ubuf, int size, int noblock, unsigned flags,
sock44fs/smbfs/sock.creturn sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len);
sock47fs/smbfs/sock.cstatic int _send(struct socket *sock, const void *buff, int len, int nonblock, unsigned flags) {
sock60fs/smbfs/sock.creturn sock->ops->sendmsg(sock, &msg, len, nonblock, flags);
sock64fs/smbfs/sock.csmb_data_callback(struct sock *sk,int len)
sock66fs/smbfs/sock.cstruct socket *sock = sk->socket;
sock77fs/smbfs/sock.cresult = _recvfrom(sock, (void *)peek_buf, 1, 1,
sock83fs/smbfs/sock.cresult = _recvfrom(sock, (void *)peek_buf,
sock92fs/smbfs/sock.cresult = _recvfrom(sock, (void *)peek_buf,
sock111fs/smbfs/sock.cstruct socket *sock;
sock112fs/smbfs/sock.cstruct sock   *sk;
sock124fs/smbfs/sock.csock = &(inode->u.socket_i);
sock126fs/smbfs/sock.cif (sock->type != SOCK_STREAM) {
sock132fs/smbfs/sock.csk   = (struct sock *)(sock->data);
sock159fs/smbfs/sock.cstruct socket *sock;
sock160fs/smbfs/sock.cstruct sock   *sk;
sock172fs/smbfs/sock.csock = &(inode->u.socket_i);
sock174fs/smbfs/sock.cif (sock->type != SOCK_STREAM) {
sock179fs/smbfs/sock.csk   = (struct sock *)(sock->data);
sock213fs/smbfs/sock.csmb_receive_raw(struct socket *sock, unsigned char *target,
sock227fs/smbfs/sock.cresult = _recvfrom(sock, (void *)peek_buf, 4, 0,
sock273fs/smbfs/sock.cresult = _recvfrom(sock,
sock294fs/smbfs/sock.csmb_receive(struct smb_server *server, struct socket *sock)
sock298fs/smbfs/sock.cresult = smb_receive_raw(sock, server->packet,
sock324fs/smbfs/sock.csmb_receive_trans2(struct smb_server *server, struct socket *sock,
sock337fs/smbfs/sock.cif ((result = smb_receive(server, sock)) < 0) {
sock412fs/smbfs/sock.cif ((result = smb_receive(server, sock)) < 0) {
sock451fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock454fs/smbfs/sock.cif (sock == NULL)
sock457fs/smbfs/sock.cresult = sock->ops->release(sock, NULL);
sock463fs/smbfs/sock.csock->state = SS_UNCONNECTED;
sock465fs/smbfs/sock.cresult = sock->ops->create(sock, 0);
sock473fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock474fs/smbfs/sock.cif (sock == NULL)
sock476fs/smbfs/sock.cif (sock->state != SS_UNCONNECTED) {
sock478fs/smbfs/sock.csock->state);
sock480fs/smbfs/sock.creturn sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr),
sock498fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock501fs/smbfs/sock.cif ((sock == NULL) || (buffer == NULL)) {
sock524fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
sock529fs/smbfs/sock.cresult = smb_receive(server, sock);
sock566fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock569fs/smbfs/sock.cif ((sock == NULL) || (buffer == NULL)) {
sock592fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
sock597fs/smbfs/sock.cresult = smb_receive_trans2(server, sock,
sock632fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock635fs/smbfs/sock.cif ((sock == NULL) || (buffer == NULL)) {
sock661fs/smbfs/sock.c(unsigned int)buffer, (unsigned int)sock);
sock663fs/smbfs/sock.cresult = _send(sock, (void *)buffer, len, 0, 0);
sock673fs/smbfs/sock.cresult = smb_receive_raw(sock, target, max_len, 0);
sock707fs/smbfs/sock.cstruct socket *sock = server_sock(server);
sock710fs/smbfs/sock.cif ((sock == NULL) || (buffer == NULL)) {
sock731fs/smbfs/sock.cresult = _send(sock, (void *)nb_header, 4, 0, 0);
sock735fs/smbfs/sock.cresult = _send(sock, (void *)source, length, 0, 0);
sock744fs/smbfs/sock.cresult = smb_receive(server, sock);
sock128include/linux/atalk.htypedef struct sock  atalk_socket;
sock111include/linux/igmp.hextern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr);
sock112include/linux/igmp.hextern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr);
sock113include/linux/igmp.hextern void ip_mc_drop_socket(struct sock *sk);
sock119include/linux/mroute.hextern struct sock *mroute_socket;
sock120include/linux/mroute.hextern int ip_mroute_setsockopt(struct sock *, int, char *, int);
sock121include/linux/mroute.hextern int ip_mroute_getsockopt(struct sock *, int, char *, int *);
sock122include/linux/mroute.hextern int ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock123include/linux/mroute.hextern void mroute_close(struct sock *sk);
sock93include/linux/net.hint  (*create)  (struct socket *sock, int protocol);
sock95include/linux/net.hint  (*release)  (struct socket *sock, struct socket *peer);
sock96include/linux/net.hint  (*bind)    (struct socket *sock, struct sockaddr *umyaddr,
sock98include/linux/net.hint  (*connect)  (struct socket *sock, struct sockaddr *uservaddr,
sock101include/linux/net.hint  (*accept)  (struct socket *sock, struct socket *newsock,
sock103include/linux/net.hint  (*getname)  (struct socket *sock, struct sockaddr *uaddr,
sock105include/linux/net.hint  (*select)  (struct socket *sock, int sel_type,
sock107include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
sock109include/linux/net.hint  (*listen)  (struct socket *sock, int len);
sock110include/linux/net.hint  (*shutdown)  (struct socket *sock, int flags);
sock111include/linux/net.hint  (*setsockopt)  (struct socket *sock, int level, int optname,
sock113include/linux/net.hint  (*getsockopt)  (struct socket *sock, int level, int optname,
sock115include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
sock117include/linux/net.hint   (*sendmsg)  (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags);
sock118include/linux/net.hint   (*recvmsg)  (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags, int *addr_len);
sock126include/linux/net.hextern int  sock_wake_async(struct socket *sock, int how);
sock130include/linux/net.hextern void  sock_release(struct socket *sock);
sock39include/linux/rpcsock.hstruct socket    *sock;
sock47include/linux/skbuff.hstruct sock      *sk;      /* Socket we are owned by       */
sock370include/linux/skbuff.hextern struct sk_buff *    skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err);
sock371include/linux/skbuff.hextern int      datagram_select(struct sock *sk, int sel_type, select_table *wait);
sock3include/net/af_unix.htypedef struct sock unix_socket;
sock159include/net/ax25.hstruct sock    *sk;    /* Backlink to socket */
sock32include/net/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
sock45include/net/ip.hextern void    ip_mc_dropsocket(struct sock *);
sock86include/net/ip.hextern int    ip_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock103include/net/ip.hextern void    ip_queue_xmit(struct sock *sk,
sock107include/net/ip.hextern int    ip_build_xmit(struct sock *sk,
sock129include/net/ip.hvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag);
sock150include/net/ip.hextern int     ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen);
sock151include/net/ip.hextern int     ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen);
sock22include/net/ipx.hunsigned short sock;
sock45include/net/ipx.htypedef struct sock ipx_socket;
sock63include/net/netrom.hstruct sock    *sk;    /* Backlink to socket */
sock95include/net/netrom.hextern void nr_destroy_socket(struct sock *);
sock104include/net/netrom.hextern int  nr_process_rx_frame(struct sock *, struct sk_buff *);
sock107include/net/netrom.hextern void nr_output(struct sock *, struct sk_buff *);
sock108include/net/netrom.hextern void nr_send_nak_frame(struct sock *);
sock109include/net/netrom.hextern void nr_kick(struct sock *);
sock110include/net/netrom.hextern void nr_transmit_buffer(struct sock *, struct sk_buff *);
sock111include/net/netrom.hextern void nr_establish_data_link(struct sock *);
sock112include/net/netrom.hextern void nr_enquiry_response(struct sock *);
sock113include/net/netrom.hextern void nr_check_iframes_acked(struct sock *, unsigned short);
sock126include/net/netrom.hextern void nr_clear_queues(struct sock *);
sock127include/net/netrom.hextern void nr_frames_acked(struct sock *, unsigned short);
sock128include/net/netrom.hextern void nr_requeue_frames(struct sock *);
sock129include/net/netrom.hextern int  nr_validate_nr(struct sock *, unsigned short);
sock130include/net/netrom.hextern int  nr_in_rx_window(struct sock *, unsigned short);
sock131include/net/netrom.hextern void nr_write_internal(struct sock *, int);
sock133include/net/netrom.hextern unsigned short nr_calculate_t1(struct sock *);
sock134include/net/netrom.hextern void nr_calculate_rtt(struct sock *);
sock137include/net/netrom.hextern void nr_set_timer(struct sock *);
sock26include/net/raw.hextern int  raw_recvfrom(struct sock *sk, unsigned char *to,
sock29include/net/raw.hextern int  raw_read(struct sock *sk, unsigned char *buff,
sock31include/net/raw.hextern int   raw_rcv(struct sock *, struct sk_buff *, struct device *, 
sock73include/net/sock.hstruct sock *    other;
sock134include/net/sock.hstruct sock    *next;
sock135include/net/sock.hstruct sock    *prev; /* Doubly linked chain.. */
sock136include/net/sock.hstruct sock    *pair;
sock259include/net/sock.hvoid      (*state_change)(struct sock *sk);
sock260include/net/sock.hvoid      (*data_ready)(struct sock *sk,int bytes);
sock261include/net/sock.hvoid      (*write_space)(struct sock *sk);
sock262include/net/sock.hvoid      (*error_report)(struct sock *sk);
sock272include/net/sock.hvoid      (*close)(struct sock *sk, int timeout);
sock279include/net/sock.hint      (*connect)(struct sock *sk,
sock281include/net/sock.hstruct sock *    (*accept) (struct sock *sk, int flags);
sock282include/net/sock.hvoid      (*queue_xmit)(struct sock *sk,
sock285include/net/sock.hvoid      (*retransmit)(struct sock *sk, int all);
sock286include/net/sock.hvoid      (*write_wakeup)(struct sock *sk);
sock287include/net/sock.hvoid      (*read_wakeup)(struct sock *sk);
sock292include/net/sock.hint      (*select)(struct sock *sk, int which,
sock294include/net/sock.hint      (*ioctl)(struct sock *sk, int cmd,
sock296include/net/sock.hint      (*init)(struct sock *sk);
sock297include/net/sock.hvoid      (*shutdown)(struct sock *sk, int how);
sock298include/net/sock.hint      (*setsockopt)(struct sock *sk, int level, int optname,
sock300include/net/sock.hint      (*getsockopt)(struct sock *sk, int level, int optname,
sock302include/net/sock.hint      (*sendmsg)(struct sock *sk, struct msghdr *msg, int len,
sock304include/net/sock.hint      (*recvmsg)(struct sock *sk, struct msghdr *msg, int len,
sock306include/net/sock.hint      (*bind)(struct sock *sk, struct sockaddr *uaddr, int addr_len);
sock311include/net/sock.hstruct sock *    sock_array[SOCK_ARRAY_SIZE];
sock338include/net/sock.hextern void      destroy_sock(struct sock *sk);
sock341include/net/sock.hextern void      put_sock(unsigned short, struct sock *); 
sock342include/net/sock.hextern void      release_sock(struct sock *sk);
sock343include/net/sock.hextern struct sock    *get_sock(struct proto *, unsigned short,
sock346include/net/sock.hextern struct sock    *get_sock_mcast(struct sock *, unsigned short,
sock349include/net/sock.hextern struct sock    *get_sock_raw(struct sock *, unsigned short,
sock352include/net/sock.hextern struct sk_buff    *sock_wmalloc(struct sock *sk,
sock355include/net/sock.hextern struct sk_buff    *sock_rmalloc(struct sock *sk,
sock358include/net/sock.hextern void      sock_wfree(struct sock *sk,
sock360include/net/sock.hextern void      sock_rfree(struct sock *sk,
sock362include/net/sock.hextern unsigned long    sock_rspace(struct sock *sk);
sock363include/net/sock.hextern unsigned long    sock_wspace(struct sock *sk);
sock365include/net/sock.hextern int      sock_setsockopt(struct sock *sk, int level,
sock369include/net/sock.hextern int      sock_getsockopt(struct sock *sk, int level,
sock372include/net/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb,
sock387include/net/sock.hextern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
sock407include/net/sock.hextern __inline__ int sock_error(struct sock *sk)
sock417include/net/sock.hextern struct sock *timer_base;
sock419include/net/sock.hextern void delete_timer (struct sock *);
sock420include/net/sock.hextern void reset_timer (struct sock *, int, unsigned long);
sock128include/net/tcp.hextern void  tcp_shutdown (struct sock *sk, int how);
sock134include/net/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock136include/net/tcp.hextern int tcp_select_window(struct sock *sk);
sock138include/net/tcp.hunsigned long daddr, int len, struct sock *sk);
sock139include/net/tcp.hextern void tcp_send_probe0(struct sock *sk);
sock140include/net/tcp.hextern void tcp_enqueue_partial(struct sk_buff *, struct sock *);
sock141include/net/tcp.hextern struct sk_buff * tcp_dequeue_partial(struct sock *);
sock37include/net/udp.h__u32 daddr, int len, struct sock *sk);
sock38include/net/udp.hextern int  udp_recvfrom(struct sock *sk, unsigned char *to,
sock41include/net/udp.hextern int  udp_read(struct sock *sk, unsigned char *buff,
sock43include/net/udp.hextern int  udp_connect(struct sock *sk,
sock49include/net/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
sock6net/802/llc.cint llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock36net/802/llc.cint llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock70net/802/llc.cint llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock114net/802/llc.cint llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock150net/802/llc.cint llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock199net/802/llc.cint llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock288net/802/llc.cint llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
sock951net/appletalk/ddp.cstatic int atalk_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock966net/appletalk/ddp.cstatic int atalk_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
sock971net/appletalk/ddp.csk=(atalk_socket *)sock->data;
sock1004net/appletalk/ddp.cstatic int atalk_getsockopt(struct socket *sock, int level, int optname,
sock1011net/appletalk/ddp.csk=(atalk_socket *)sock->data;
sock1043net/appletalk/ddp.cstatic int atalk_listen(struct socket *sock, int backlog)
sock1052net/appletalk/ddp.cstatic void def_callback1(struct sock *sk)
sock1058net/appletalk/ddp.cstatic void def_callback2(struct sock *sk, int len)
sock1072net/appletalk/ddp.cstatic int atalk_create(struct socket *sock, int protocol)
sock1078net/appletalk/ddp.cswitch(sock->type)
sock1112net/appletalk/ddp.csk->socket=sock;
sock1113net/appletalk/ddp.csk->type=sock->type;
sock1126net/appletalk/ddp.cif(sock!=NULL)
sock1128net/appletalk/ddp.csock->data=(void *)sk;
sock1129net/appletalk/ddp.csk->sleep=sock->wait;
sock1154net/appletalk/ddp.cstatic int atalk_release(struct socket *sock, struct socket *peer)
sock1156net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock1162net/appletalk/ddp.csock->data=NULL;
sock1205net/appletalk/ddp.cstatic int atalk_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len)
sock1210net/appletalk/ddp.csk=(atalk_socket *)sock->data;
sock1259net/appletalk/ddp.cstatic int atalk_connect(struct socket *sock, struct sockaddr *uaddr,
sock1262net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock1266net/appletalk/ddp.csock->state = SS_UNCONNECTED;
sock1290net/appletalk/ddp.csock->state = SS_CONNECTED;
sock1308net/appletalk/ddp.cstatic int atalk_accept(struct socket *sock, struct socket *newsock, int flags)
sock1320net/appletalk/ddp.cstatic int atalk_getname(struct socket *sock, struct sockaddr *uaddr,
sock1326net/appletalk/ddp.csk=(atalk_socket *)sock->data;
sock1362net/appletalk/ddp.catalk_socket *sock;
sock1489net/appletalk/ddp.csock=atalk_search_socket( &tosat, atif );
sock1491net/appletalk/ddp.cif(sock==NULL)  /* But not one of our sockets */
sock1502net/appletalk/ddp.cskb->sk = sock;
sock1504net/appletalk/ddp.cif(sock_queue_rcv_skb(sock,skb)<0)
sock1512net/appletalk/ddp.cstatic int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
sock1514net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock1699net/appletalk/ddp.cstatic int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len)
sock1701net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock1750net/appletalk/ddp.cstatic int atalk_select(struct socket *sock , int sel_type, select_table *wait)
sock1752net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock1761net/appletalk/ddp.cstatic int atalk_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
sock1765net/appletalk/ddp.catalk_socket *sk=(atalk_socket *)sock->data;
sock267net/ax25/af_ax25.cstatic struct sock *ax25_find_listener(ax25_address *addr, struct device *dev, int type)
sock292net/ax25/af_ax25.cstatic struct sock *ax25_find_socket(ax25_address *my_addr, ax25_address *dest_addr, int type)
sock341net/ax25/af_ax25.cstatic struct sock *ax25_addr_match(ax25_address *addr)
sock361net/ax25/af_ax25.cstatic void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto)
sock683net/ax25/af_ax25.cstatic int ax25_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock692net/ax25/af_ax25.cstatic int ax25_setsockopt(struct socket *sock, int level, int optname,
sock695net/ax25/af_ax25.cstruct sock *sk;
sock698net/ax25/af_ax25.csk = (struct sock *)sock->data;
sock767net/ax25/af_ax25.cstatic int ax25_getsockopt(struct socket *sock, int level, int optname,
sock770net/ax25/af_ax25.cstruct sock *sk;
sock774net/ax25/af_ax25.csk = (struct sock *)sock->data;
sock832net/ax25/af_ax25.cstatic int ax25_listen(struct socket *sock, int backlog)
sock834net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock845net/ax25/af_ax25.cstatic void def_callback1(struct sock *sk)
sock851net/ax25/af_ax25.cstatic void def_callback2(struct sock *sk, int len)
sock857net/ax25/af_ax25.cstatic int ax25_create(struct socket *sock, int protocol)
sock859net/ax25/af_ax25.cstruct sock *sk;
sock862net/ax25/af_ax25.cswitch (sock->type) {
sock892net/ax25/af_ax25.cif ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL)
sock904net/ax25/af_ax25.csk->socket        = sock;
sock905net/ax25/af_ax25.csk->type          = sock->type;
sock934net/ax25/af_ax25.cif (sock != NULL) {
sock935net/ax25/af_ax25.csock->data = (void *)sk;
sock936net/ax25/af_ax25.csk->sleep  = sock->wait;
sock945net/ax25/af_ax25.cstatic struct sock *ax25_make_new(struct sock *osk, struct device *dev)
sock947net/ax25/af_ax25.cstruct sock *sk;
sock950net/ax25/af_ax25.cif ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL)
sock1037net/ax25/af_ax25.cstruct sock *sk = (struct sock *)oldsock->data;
sock1042net/ax25/af_ax25.cstatic int ax25_release(struct socket *sock, struct socket *peer)
sock1044net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock1099net/ax25/af_ax25.csock->data = NULL;  
sock1111net/ax25/af_ax25.cstatic int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len)
sock1113net/ax25/af_ax25.cstruct sock *sk;
sock1118net/ax25/af_ax25.csk = (struct sock *)sock->data;
sock1168net/ax25/af_ax25.cstatic int ax25_connect(struct socket *sock, struct sockaddr *uaddr,
sock1171net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock1175net/ax25/af_ax25.cif (sk->state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock1176net/ax25/af_ax25.csock->state = SS_CONNECTED;
sock1180net/ax25/af_ax25.cif (sk->state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock1181net/ax25/af_ax25.csock->state = SS_UNCONNECTED;
sock1189net/ax25/af_ax25.csock->state = SS_UNCONNECTED;
sock1230net/ax25/af_ax25.csock->state = SS_CONNECTED;
sock1236net/ax25/af_ax25.csock->state        = SS_CONNECTING;
sock1261net/ax25/af_ax25.csock->state = SS_UNCONNECTED;
sock1265net/ax25/af_ax25.csock->state = SS_CONNECTED;
sock1277net/ax25/af_ax25.cstatic int ax25_accept(struct socket *sock, struct socket *newsock, int flags)
sock1279net/ax25/af_ax25.cstruct sock *sk;
sock1280net/ax25/af_ax25.cstruct sock *newsk;
sock1284net/ax25/af_ax25.ckfree_s(newsock->data, sizeof(struct sock));
sock1288net/ax25/af_ax25.csk = (struct sock *)sock->data;
sock1326net/ax25/af_ax25.cstatic int ax25_getname(struct socket *sock, struct sockaddr *uaddr,
sock1331net/ax25/af_ax25.cstruct sock *sk;
sock1334net/ax25/af_ax25.csk = (struct sock *)sock->data;
sock1363net/ax25/af_ax25.cstruct sock *make;
sock1364net/ax25/af_ax25.cstruct sock *sk;
sock1369net/ax25/af_ax25.cstruct sock *raw;
sock1685net/ax25/af_ax25.cstatic int ax25_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
sock1687net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock1823net/ax25/af_ax25.cstatic int ax25_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len)
sock1825net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock1905net/ax25/af_ax25.cstatic int ax25_select(struct socket *sock , int sel_type, select_table *wait)
sock1907net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock1912net/ax25/af_ax25.cstatic int ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1914net/ax25/af_ax25.cstruct sock *sk = (struct sock *)sock->data;
sock55net/core/datagram.cstruct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err)
sock189net/core/datagram.cint datagram_select(struct sock *sk, int sel_type, select_table *wait)
sock381net/core/dev.c((struct sock *)ptype->data != skb->sk))
sock119net/core/sock.cint sock_setsockopt(struct sock *sk, int level, int optname,
sock220net/core/sock.cint sock_getsockopt(struct sock *sk, int level, int optname,
sock312net/core/sock.cstruct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock335net/core/sock.cstruct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority)
sock358net/core/sock.cunsigned long sock_rspace(struct sock *sk)
sock375net/core/sock.cunsigned long sock_wspace(struct sock *sk)
sock389net/core/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb)
sock410net/core/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb)
sock431net/core/sock.cstruct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, unsigned long fallback, int noblock, int *errcode)
sock529net/core/sock.cvoid release_sock(struct sock *sk)
sock109net/ipv4/af_inet.cstruct sock *sk;
sock137net/ipv4/af_inet.cstruct sock *sk;
sock184net/ipv4/af_inet.cvoid put_sock(unsigned short num, struct sock *sk)
sock186net/ipv4/af_inet.cstruct sock **skp, *tmp;
sock245net/ipv4/af_inet.cstatic void remove_sock(struct sock *sk1)
sock247net/ipv4/af_inet.cstruct sock **p;
sock282net/ipv4/af_inet.cvoid destroy_sock(struct sock *sk)
sock430net/ipv4/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock432net/ipv4/af_inet.cstruct sock *sk;
sock434net/ipv4/af_inet.csk = (struct sock *) sock->data;
sock459net/ipv4/af_inet.cstatic int inet_setsockopt(struct socket *sock, int level, int optname,
sock462net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;  
sock475net/ipv4/af_inet.cstatic int inet_getsockopt(struct socket *sock, int level, int optname,
sock478net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;    
sock491net/ipv4/af_inet.cstatic int inet_autobind(struct sock *sk)
sock511net/ipv4/af_inet.cstatic int inet_listen(struct socket *sock, int backlog)
sock513net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock543net/ipv4/af_inet.cstatic void def_callback1(struct sock *sk)
sock549net/ipv4/af_inet.cstatic void def_callback2(struct sock *sk,int len)
sock558net/ipv4/af_inet.cstatic void def_callback3(struct sock *sk)
sock574net/ipv4/af_inet.cstatic int inet_create(struct socket *sock, int protocol)
sock576net/ipv4/af_inet.cstruct sock *sk;
sock580net/ipv4/af_inet.csk = (struct sock *) kmalloc(sizeof(*sk), GFP_KERNEL);
sock586net/ipv4/af_inet.cswitch(sock->type) 
sock647net/ipv4/af_inet.csk->socket = sock;
sock653net/ipv4/af_inet.csk->type = sock->type;
sock670net/ipv4/af_inet.csk->sleep = sock->wait;
sock676net/ipv4/af_inet.csock->data =(void *) sk;
sock726net/ipv4/af_inet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
sock733net/ipv4/af_inet.cstatic inline int closing(struct sock * sk)
sock751net/ipv4/af_inet.cstatic int inet_release(struct socket *sock, struct socket *peer)
sock753net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock806net/ipv4/af_inet.csock->data = NULL;
sock819net/ipv4/af_inet.cstatic int inet_bind(struct socket *sock, struct sockaddr *uaddr,
sock823net/ipv4/af_inet.cstruct sock *sk=(struct sock *)sock->data, *sk2;
sock840net/ipv4/af_inet.cif(sock->type != SOCK_RAW)
sock881net/ipv4/af_inet.cif(sock->type != SOCK_RAW)
sock910net/ipv4/af_inet.cif(sock->type==SOCK_DGRAM)
sock912net/ipv4/af_inet.cif(sock->type==SOCK_STREAM)
sock929net/ipv4/af_inet.cstatic int inet_connect(struct socket *sock, struct sockaddr * uaddr,
sock932net/ipv4/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock934net/ipv4/af_inet.csock->conn = NULL;
sock936net/ipv4/af_inet.cif (sock->state == SS_CONNECTING && tcp_connected(sk->state))
sock938net/ipv4/af_inet.csock->state = SS_CONNECTED;
sock943net/ipv4/af_inet.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK))
sock949net/ipv4/af_inet.cif (sock->state != SS_CONNECTING) 
sock959net/ipv4/af_inet.csock->state = SS_CONNECTING;
sock962net/ipv4/af_inet.cif (sk->state > TCP_FIN_WAIT2 && sock->state==SS_CONNECTING)
sock964net/ipv4/af_inet.csock->state=SS_UNCONNECTED;
sock984net/ipv4/af_inet.csock->state = SS_UNCONNECTED;
sock990net/ipv4/af_inet.csock->state = SS_CONNECTED;
sock994net/ipv4/af_inet.csock->state = SS_UNCONNECTED;
sock1011net/ipv4/af_inet.cstatic int inet_accept(struct socket *sock, struct socket *newsock, int flags)
sock1013net/ipv4/af_inet.cstruct sock *sk1, *sk2;
sock1016net/ipv4/af_inet.csk1 = (struct sock *) sock->data;
sock1026net/ipv4/af_inet.cstruct sock *sk=(struct sock *)newsock->data;
sock1092net/ipv4/af_inet.cstatic int inet_getname(struct socket *sock, struct sockaddr *uaddr,
sock1096net/ipv4/af_inet.cstruct sock *sk;
sock1099net/ipv4/af_inet.csk = (struct sock *) sock->data;
sock1124net/ipv4/af_inet.cstatic int inet_recvmsg(struct socket *sock, struct msghdr *ubuf, int size, int noblock, 
sock1127net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1140net/ipv4/af_inet.cstatic int inet_sendmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, 
sock1143net/ipv4/af_inet.cstruct sock *sk = (struct sock *) sock->data;
sock1161net/ipv4/af_inet.cstatic int inet_shutdown(struct socket *sock, int how)
sock1163net/ipv4/af_inet.cstruct sock *sk=(struct sock*)sock->data;
sock1174net/ipv4/af_inet.cif (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED)
sock1175net/ipv4/af_inet.csock->state = SS_CONNECTED;
sock1185net/ipv4/af_inet.cstatic int inet_select(struct socket *sock, int sel_type, select_table *wait )
sock1187net/ipv4/af_inet.cstruct sock *sk=(struct sock *) sock->data;
sock1205net/ipv4/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1207net/ipv4/af_inet.cstruct sock *sk=(struct sock *)sock->data;
sock1304net/ipv4/af_inet.cstruct sock *get_sock(struct proto *prot, unsigned short num,
sock1308net/ipv4/af_inet.cstruct sock *s;
sock1309net/ipv4/af_inet.cstruct sock *result = NULL;
sock1368net/ipv4/af_inet.cstruct sock *get_sock_raw(struct sock *sk, 
sock1373net/ipv4/af_inet.cstruct sock *s;
sock1397net/ipv4/af_inet.cstruct sock *get_sock_mcast(struct sock *sk, 
sock1402net/ipv4/af_inet.cstruct sock *s;
sock233net/ipv4/icmp.cstruct sock *sk=icmp_socket.data;
sock742net/ipv4/icmp.cstruct sock *sk;
sock496net/ipv4/igmp.cint ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr)
sock530net/ipv4/igmp.cint ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr)
sock556net/ipv4/igmp.cvoid ip_mc_drop_socket(struct sock *sk)
sock618net/ipv4/ip_fragment.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
sock156net/ipv4/ip_input.cextern void sort_send(struct sock *sk);
sock176net/ipv4/ip_input.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock197net/ipv4/ip_input.cstruct sock *raw_sk=NULL;
sock460net/ipv4/ip_input.cstruct sock *sknext=NULL;
sock333net/ipv4/ip_output.cvoid ip_queue_xmit(struct sock *sk, struct device *dev,
sock560net/ipv4/ip_output.cint ip_build_xmit(struct sock *sk,
sock111net/ipv4/ip_sockglue.cint ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock420net/ipv4/ip_sockglue.cint ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock426net/ipv4/ipmr.cint ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen)
sock567net/ipv4/ipmr.cint ip_mroute_getsockopt(struct sock *sk,int optname,char *optval,int *optlen)
sock595net/ipv4/ipmr.cint ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock638net/ipv4/ipmr.cvoid mroute_close(struct sock *sk)
sock76net/ipv4/packet.cstruct sock *sk;
sock83net/ipv4/packet.csk = (struct sock *) pt->data;  
sock123net/ipv4/packet.cstatic int packet_sendmsg(struct sock *sk, struct msghdr *msg, int len,
sock208net/ipv4/packet.cstatic void packet_close(struct sock *sk, int timeout)
sock246net/ipv4/packet.cint packet_attach(struct sock *sk)
sock270net/ipv4/packet.cstatic int packet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
sock351net/ipv4/packet.cstatic int packet_init(struct sock *sk)
sock379net/ipv4/packet.cint packet_recvmsg(struct sock *sk, struct msghdr *msg, int len,
sock61net/ipv4/proc.cstruct sock **s_array;
sock62net/ipv4/proc.cstruct sock *sp;
sock63net/ipv4/raw.cstruct sock *mroute_socket=NULL;
sock81net/ipv4/raw.cstruct sock *sk;
sock85net/ipv4/raw.csk = (struct sock *) protocol->data;
sock118net/ipv4/raw.cint raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr)
sock190net/ipv4/raw.cstatic int raw_sendto(struct sock *sk, const unsigned char *from, 
sock253net/ipv4/raw.cstatic int raw_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, 
sock284net/ipv4/raw.cstatic void raw_close(struct sock *sk, int timeout)
sock297net/ipv4/raw.cstatic int raw_init(struct sock *sk)
sock308net/ipv4/raw.cint raw_recvmsg(struct sock *sk, struct msghdr *msg, int len,
sock455net/ipv4/tcp.cvolatile struct sock *th_cache_sk;
sock470net/ipv4/tcp.cstatic void tcp_close(struct sock *sk, int timeout);
sock496net/ipv4/tcp.cstatic __inline__ void tcp_set_state(struct sock *sk, int state)
sock533net/ipv4/tcp.cint tcp_select_window(struct sock *sk)
sock562net/ipv4/tcp.cstatic struct sk_buff *tcp_find_established(struct sock *s)
sock582net/ipv4/tcp.cstatic struct sk_buff *tcp_dequeue_established(struct sock *s)
sock601net/ipv4/tcp.cstatic void tcp_close_pending (struct sock *sk) 
sock618net/ipv4/tcp.cstatic void tcp_time_wait(struct sock *sk)
sock632net/ipv4/tcp.cvoid tcp_do_retransmit(struct sock *sk, int all)
sock796net/ipv4/tcp.cstatic void reset_xmit_timer(struct sock *sk, int why, unsigned long when)
sock817net/ipv4/tcp.cvoid tcp_retransmit_time(struct sock *sk, int all)
sock853net/ipv4/tcp.cstatic void tcp_retransmit(struct sock *sk, int all)
sock875net/ipv4/tcp.cstatic int tcp_write_timeout(struct sock *sk)
sock946net/ipv4/tcp.cstruct sock *sk = (struct sock*)data;
sock1058net/ipv4/tcp.cstruct sock *sk;
sock1136net/ipv4/tcp.cstatic int tcp_readable(struct sock *sk)
sock1210net/ipv4/tcp.cstatic int tcp_listen_select(struct sock *sk, int sel_type, select_table *wait)
sock1233net/ipv4/tcp.cstatic int tcp_select(struct sock *sk, int sel_type, select_table *wait)
sock1282net/ipv4/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock1351net/ipv4/tcp.cunsigned long daddr, int len, struct sock *sk)
sock1364net/ipv4/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
sock1484net/ipv4/tcp.cstruct sk_buff * tcp_dequeue_partial(struct sock * sk)
sock1504net/ipv4/tcp.cstatic void tcp_send_partial(struct sock *sk)
sock1518net/ipv4/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
sock1548net/ipv4/tcp.cstruct sock *sk,
sock1663net/ipv4/tcp.cextern __inline int tcp_build_header(struct tcphdr *th, struct sock *sk, int push)
sock1687net/ipv4/tcp.cstatic int tcp_sendmsg(struct sock *sk, struct msghdr *msg,
sock2055net/ipv4/tcp.cstatic void tcp_read_wakeup(struct sock *sk)
sock2137net/ipv4/tcp.cstatic void cleanup_rbuf(struct sock *sk)
sock2225net/ipv4/tcp.cstatic int tcp_recv_urg(struct sock * sk, int nonblock,
sock2288net/ipv4/tcp.cstatic int tcp_recvmsg(struct sock *sk, struct msghdr *msg,
sock2533net/ipv4/tcp.cstatic int tcp_close_state(struct sock *sk, int dead)
sock2587net/ipv4/tcp.cstatic void tcp_send_fin(struct sock *sk)
sock2689net/ipv4/tcp.cvoid tcp_shutdown(struct sock *sk, int how)
sock2835net/ipv4/tcp.cstatic void tcp_options(struct sock *sk, struct tcphdr *th)
sock2920net/ipv4/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
sock2927net/ipv4/tcp.cstruct sock *newsk;
sock2970net/ipv4/tcp.cnewsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC);
sock2985net/ipv4/tcp.ckfree_s(newsk, sizeof(struct sock));
sock2992net/ipv4/tcp.ckfree_s(newsk, sizeof(struct sock));
sock3217net/ipv4/tcp.cstatic void tcp_close(struct sock *sk, int timeout)
sock3290net/ipv4/tcp.cstatic void tcp_write_xmit(struct sock *sk)
sock3386net/ipv4/tcp.cextern __inline__ int tcp_ack(struct sock *sk, struct tcphdr *th, unsigned long saddr, int len)
sock3989net/ipv4/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
sock4076net/ipv4/tcp.cextern __inline__ int tcp_data(struct sk_buff *skb, struct sock *sk, 
sock4397net/ipv4/tcp.cstatic void tcp_check_urg(struct sock * sk, struct tcphdr * th)
sock4429net/ipv4/tcp.cextern __inline__ int tcp_urg(struct sock *sk, struct tcphdr *th,
sock4470net/ipv4/tcp.cstatic struct sock *tcp_accept(struct sock *sk, int flags)
sock4472net/ipv4/tcp.cstruct sock *newsk;
sock4529net/ipv4/tcp.cstatic int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock4702net/ipv4/tcp.cextern __inline__ int tcp_sequence(struct sock *sk, struct tcphdr *th, short len,
sock4758net/ipv4/tcp.cstatic int tcp_std_reset(struct sock *sk, struct sk_buff *skb)
sock4796net/ipv4/tcp.cstruct sock *sk;
sock4814net/ipv4/tcp.csk=(struct sock *)th_cache_sk;
sock5209net/ipv4/tcp.cstatic void tcp_write_wakeup(struct sock *sk)
sock5434net/ipv4/tcp.cvoid tcp_send_probe0(struct sock *sk)
sock5452net/ipv4/tcp.cint tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen)
sock5488net/ipv4/tcp.cint tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen)
sock53net/ipv4/timer.cvoid delete_timer (struct sock *t)
sock66net/ipv4/timer.cvoid reset_timer (struct sock *t, int timeout, unsigned long len)
sock88net/ipv4/timer.cstruct sock *sk = (struct sock*)data;
sock123net/ipv4/udp.cvolatile struct sock *uh_cache_sk;
sock138net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len);
sock158net/ipv4/udp.cstruct sock *sk;
sock300net/ipv4/udp.cstatic int udp_send(struct sock *sk, struct sockaddr_in *sin,
sock338net/ipv4/udp.cstatic int udp_sendto(struct sock *sk, const unsigned char *from, int len, int noblock,
sock409net/ipv4/udp.cstatic int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, 
sock444net/ipv4/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
sock499net/ipv4/udp.cint udp_recvmsg(struct sock *sk, struct msghdr *msg, int len,
sock547net/ipv4/udp.cint udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len)
sock577net/ipv4/udp.cstatic void udp_close(struct sock *sk, int timeout)
sock598net/ipv4/udp.cstruct sock *sk;
sock665net/ipv4/udp.cstruct sock *sknext=NULL;
sock691net/ipv4/udp.csk=(struct sock *)uh_cache_sk;
sock720net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len)
sock328net/ipx/af_ipx.cipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb)
sock332net/ipx/af_ipx.cif((retval = sock_queue_rcv_skb(sock, skb))<0) {
sock353net/ipx/af_ipx.csock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock363net/ipx/af_ipx.cswitch (ntohs(ipx->ipx_dest.sock)) {
sock374net/ipx/af_ipx.cipx->ipx_dest.sock);
sock1083net/ipx/af_ipx.cipx->ipx_source.sock = sk->ipx_port;
sock1086net/ipx/af_ipx.cipx->ipx_dest.sock=usipx->sipx_port;
sock1255net/ipx/af_ipx.chtons(s->ipx_dest_addr.sock));
sock1329net/ipx/af_ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1338net/ipx/af_ipx.cstatic int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
sock1343net/ipx/af_ipx.csk=(ipx_socket *)sock->data;
sock1374net/ipx/af_ipx.cstatic int ipx_getsockopt(struct socket *sock, int level, int optname,
sock1381net/ipx/af_ipx.csk=(ipx_socket *)sock->data;
sock1412net/ipx/af_ipx.cstatic int ipx_listen(struct socket *sock, int backlog)
sock1417net/ipx/af_ipx.cstatic void def_callback1(struct sock *sk)
sock1423net/ipx/af_ipx.cstatic void def_callback2(struct sock *sk, int len)
sock1433net/ipx/af_ipx.cipx_create(struct socket *sock, int protocol)
sock1439net/ipx/af_ipx.cswitch(sock->type)
sock1463net/ipx/af_ipx.csk->socket=sock;
sock1464net/ipx/af_ipx.csk->type=sock->type;
sock1472net/ipx/af_ipx.cif(sock!=NULL)
sock1474net/ipx/af_ipx.csock->data=(void *)sk;
sock1475net/ipx/af_ipx.csk->sleep=sock->wait;
sock1487net/ipx/af_ipx.cstatic int ipx_release(struct socket *sock, struct socket *peer)
sock1489net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1495net/ipx/af_ipx.csock->data=NULL;
sock1523net/ipx/af_ipx.cstatic int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len)
sock1529net/ipx/af_ipx.csk=(ipx_socket *)sock->data;
sock1568net/ipx/af_ipx.cstatic int ipx_connect(struct socket *sock, struct sockaddr *uaddr,
sock1571net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1575net/ipx/af_ipx.csock->state = SS_UNCONNECTED;
sock1589net/ipx/af_ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock1596net/ipx/af_ipx.csk->ipx_dest_addr.sock=addr->sipx_port;
sock1599net/ipx/af_ipx.csock->state = SS_CONNECTED;
sock1609net/ipx/af_ipx.cstatic int ipx_accept(struct socket *sock, struct socket *newsock, int flags)
sock1616net/ipx/af_ipx.cstatic int ipx_getname(struct socket *sock, struct sockaddr *uaddr,
sock1623net/ipx/af_ipx.csk=(ipx_socket *)sock->data;
sock1633net/ipx/af_ipx.csipx.sipx_port = addr->sock;
sock1690net/ipx/af_ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
sock1749net/ipx/af_ipx.cstatic int ipx_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock,
sock1752net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1767net/ipx/af_ipx.cret = ipx_bind (sock, (struct sockaddr *)&uaddr, sizeof(struct sockaddr_ipx));
sock1781net/ipx/af_ipx.cusipx->sipx_port=sk->ipx_dest_addr.sock;
sock1793net/ipx/af_ipx.cstatic int ipx_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock,
sock1796net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1826net/ipx/af_ipx.csipx->sipx_port=ipx->ipx_source.sock;
sock1840net/ipx/af_ipx.cstatic int ipx_select(struct socket *sock , int sel_type, select_table *wait)
sock1842net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock1847net/ipx/af_ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
sock1851net/ipx/af_ipx.cipx_socket *sk=(ipx_socket *)sock->data;
sock73net/netrom/af_netrom.cstatic struct sock *volatile nr_list = NULL;
sock78net/netrom/af_netrom.cstatic void nr_remove_socket(struct sock *sk)
sock80net/netrom/af_netrom.cstruct sock *s;
sock110net/netrom/af_netrom.cstruct sock *s;
sock143net/netrom/af_netrom.cstatic void nr_insert_socket(struct sock *sk)
sock160net/netrom/af_netrom.cstatic struct sock *nr_find_listener(ax25_address *addr, int type)
sock163net/netrom/af_netrom.cstruct sock *s;
sock182net/netrom/af_netrom.cstatic struct sock *nr_find_socket(unsigned char index, unsigned char id, int type)
sock184net/netrom/af_netrom.cstruct sock *s;
sock205net/netrom/af_netrom.cstatic struct sock *nr_find_peer(unsigned char index, unsigned char id, int type)
sock207net/netrom/af_netrom.cstruct sock *s;
sock228net/netrom/af_netrom.cvoid nr_destory_socket(struct sock *);
sock235net/netrom/af_netrom.cnr_destroy_socket((struct sock *)data);
sock244net/netrom/af_netrom.cvoid nr_destroy_socket(struct sock *sk)  /* Not static as its used by the timer */
sock287net/netrom/af_netrom.cstatic int nr_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock296net/netrom/af_netrom.cstatic int nr_setsockopt(struct socket *sock, int level, int optname,
sock299net/netrom/af_netrom.cstruct sock *sk;
sock302net/netrom/af_netrom.csk = (struct sock *)sock->data;
sock346net/netrom/af_netrom.cstatic int nr_getsockopt(struct socket *sock, int level, int optname,
sock349net/netrom/af_netrom.cstruct sock *sk;
sock353net/netrom/af_netrom.csk = (struct sock *)sock->data;
sock395net/netrom/af_netrom.cstatic int nr_listen(struct socket *sock, int backlog)
sock397net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock409net/netrom/af_netrom.cstatic void def_callback1(struct sock *sk)
sock415net/netrom/af_netrom.cstatic void def_callback2(struct sock *sk, int len)
sock421net/netrom/af_netrom.cstatic int nr_create(struct socket *sock, int protocol)
sock423net/netrom/af_netrom.cstruct sock *sk;
sock426net/netrom/af_netrom.cif (sock->type != SOCK_SEQPACKET || protocol != 0)
sock429net/netrom/af_netrom.cif ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL)
sock443net/netrom/af_netrom.csk->socket        = sock;
sock444net/netrom/af_netrom.csk->type          = sock->type;
sock474net/netrom/af_netrom.cif (sock != NULL) {
sock475net/netrom/af_netrom.csock->data = (void *)sk;
sock476net/netrom/af_netrom.csk->sleep  = sock->wait;
sock522net/netrom/af_netrom.cstatic struct sock *nr_make_new(struct sock *osk)
sock524net/netrom/af_netrom.cstruct sock *sk;
sock530net/netrom/af_netrom.cif ((sk = (struct sock *)kmalloc(sizeof(*sk), GFP_ATOMIC)) == NULL)
sock607net/netrom/af_netrom.cstruct sock *sk = (struct sock *)oldsock->data;
sock612net/netrom/af_netrom.cstatic int nr_release(struct socket *sock, struct socket *peer)
sock614net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock668net/netrom/af_netrom.csock->data = NULL;  
sock674net/netrom/af_netrom.cstatic int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
sock676net/netrom/af_netrom.cstruct sock *sk;
sock681net/netrom/af_netrom.csk = (struct sock *)sock->data;
sock735net/netrom/af_netrom.cstatic int nr_connect(struct socket *sock, struct sockaddr *uaddr,
sock738net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock743net/netrom/af_netrom.cif (sk->state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock744net/netrom/af_netrom.csock->state = SS_CONNECTED;
sock748net/netrom/af_netrom.cif (sk->state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock749net/netrom/af_netrom.csock->state = SS_UNCONNECTED;
sock757net/netrom/af_netrom.csock->state = SS_UNCONNECTED;
sock795net/netrom/af_netrom.csock->state   = SS_CONNECTING;
sock820net/netrom/af_netrom.csock->state = SS_UNCONNECTED;
sock824net/netrom/af_netrom.csock->state = SS_CONNECTED;
sock836net/netrom/af_netrom.cstatic int nr_accept(struct socket *sock, struct socket *newsock, int flags)
sock838net/netrom/af_netrom.cstruct sock *sk;
sock839net/netrom/af_netrom.cstruct sock *newsk;
sock843net/netrom/af_netrom.ckfree_s(newsock->data, sizeof(struct sock));
sock847net/netrom/af_netrom.csk = (struct sock *)sock->data;
sock885net/netrom/af_netrom.cstatic int nr_getname(struct socket *sock, struct sockaddr *uaddr,
sock889net/netrom/af_netrom.cstruct sock *sk;
sock891net/netrom/af_netrom.csk = (struct sock *)sock->data;
sock913net/netrom/af_netrom.cstruct sock *sk;
sock914net/netrom/af_netrom.cstruct sock *make;  
sock1028net/netrom/af_netrom.cstatic int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags)
sock1030net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock1131net/netrom/af_netrom.cstatic int nr_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock,
sock1134net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock1186net/netrom/af_netrom.cstatic int nr_select(struct socket *sock , int sel_type, select_table *wait)
sock1188net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock1193net/netrom/af_netrom.cstatic int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock1195net/netrom/af_netrom.cstruct sock *sk = (struct sock *)sock->data;
sock1283net/netrom/af_netrom.cstruct sock *s;
sock53net/netrom/nr_in.cstatic int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more)
sock97net/netrom/nr_in.cstatic int nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype)
sock143net/netrom/nr_in.cstatic int nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype)
sock171net/netrom/nr_in.cstatic int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype)
sock310net/netrom/nr_in.cint nr_process_rx_frame(struct sock *sk, struct sk_buff *skb)
sock49net/netrom/nr_out.cvoid nr_output(struct sock *sk, struct sk_buff *skb)
sock104net/netrom/nr_out.cstatic void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
sock118net/netrom/nr_out.cvoid nr_send_nak_frame(struct sock *sk)
sock141net/netrom/nr_out.cvoid nr_kick(struct sock *sk)
sock202net/netrom/nr_out.cvoid nr_transmit_buffer(struct sock *sk, struct sk_buff *skb)
sock243net/netrom/nr_out.cvoid nr_establish_data_link(struct sock *sk)
sock257net/netrom/nr_out.cvoid nr_enquiry_response(struct sock *sk)
sock275net/netrom/nr_out.cvoid nr_check_iframes_acked(struct sock *sk, unsigned short nr)
sock47net/netrom/nr_subr.cvoid nr_clear_queues(struct sock *sk)
sock77net/netrom/nr_subr.cvoid nr_frames_acked(struct sock *sk, unsigned short nr)
sock100net/netrom/nr_subr.cvoid nr_requeue_frames(struct sock *sk)
sock117net/netrom/nr_subr.cint nr_validate_nr(struct sock *sk, unsigned short nr)
sock134net/netrom/nr_subr.cint nr_in_rx_window(struct sock *sk, unsigned short ns)
sock151net/netrom/nr_subr.cvoid nr_write_internal(struct sock *sk, int frametype)
sock292net/netrom/nr_subr.cunsigned short nr_calculate_t1(struct sock *sk)
sock307net/netrom/nr_subr.cvoid nr_calculate_rtt(struct sock *sk)
sock48net/netrom/nr_timer.cvoid nr_set_timer(struct sock *sk)
sock65net/netrom/nr_timer.cstatic void nr_reset_timer(struct sock *sk)
sock88net/netrom/nr_timer.cstruct sock *sk = (struct sock *)param;
sock239net/socket.cstruct socket * sock;
sock250net/socket.csock = &inode->u.socket_i;
sock251net/socket.csock->state = SS_UNCONNECTED;
sock252net/socket.csock->flags = 0;
sock253net/socket.csock->ops = NULL;
sock254net/socket.csock->data = NULL;
sock255net/socket.csock->conn = NULL;
sock256net/socket.csock->iconn = NULL;
sock257net/socket.csock->next = NULL;
sock258net/socket.csock->wait = &inode->i_wait;
sock259net/socket.csock->inode = inode;    /* "backlink": we could use pointer arithmetic instead */
sock260net/socket.csock->fasync_list = NULL;
sock262net/socket.creturn sock;
sock276net/socket.cvoid sock_release(struct socket *sock)
sock281net/socket.cif ((oldstate = sock->state) != SS_UNCONNECTED)
sock282net/socket.csock->state = SS_DISCONNECTING;
sock288net/socket.cfor (peersock = sock->iconn; peersock; peersock = nextsock) 
sock299net/socket.cpeersock = (oldstate == SS_CONNECTED) ? sock->conn : NULL;
sock300net/socket.cif (sock->ops) 
sock301net/socket.csock->ops->release(sock, peersock);
sock305net/socket.ciput(SOCK_INODE(sock));
sock324net/socket.cstruct socket *sock;
sock329net/socket.csock = socki_lookup(inode); 
sock330net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock346net/socket.creturn(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), 0,&msg.msg_namelen));
sock356net/socket.cstruct socket *sock;
sock361net/socket.csock = socki_lookup(inode); 
sock363net/socket.cif (sock->flags & SO_ACCEPTCON) 
sock381net/socket.creturn(sock->ops->sendmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK),0));
sock392net/socket.cstruct socket *sock;
sock393net/socket.csock = socki_lookup(inode); 
sock394net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
sock400net/socket.cstruct socket *sock;
sock402net/socket.csock = socki_lookup(inode);
sock408net/socket.cif (sock->ops->select)
sock409net/socket.creturn(sock->ops->select(sock, sel_type, wait));
sock433net/socket.cstruct socket *sock;
sock443net/socket.csock = socki_lookup(inode);
sock445net/socket.cprev=&(sock->fasync_list);
sock464net/socket.cfna->fa_next=sock->fasync_list;
sock465net/socket.csock->fasync_list=fna;
sock479net/socket.cint sock_wake_async(struct socket *sock, int how)
sock481net/socket.cif (!sock || !sock->fasync_list)
sock486net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock489net/socket.cif (!(sock->flags & SO_WAITDATA))
sock490net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock493net/socket.cif (sock->flags & SO_NOSPACE)
sock495net/socket.ckill_fasync(sock->fasync_list, SIGIO);
sock496net/socket.csock->flags &= ~SO_NOSPACE;
sock512net/socket.cstruct socket *sock;
sock547net/socket.cif (!(sock = sock_alloc())) 
sock554net/socket.csock->type = type;
sock555net/socket.csock->ops = ops;
sock556net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
sock558net/socket.csock_release(sock);
sock562net/socket.cif ((fd = get_fd(SOCK_INODE(sock))) < 0) 
sock564net/socket.csock_release(sock);
sock642net/socket.cstruct socket *sock;
sock650net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock656net/socket.cif ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) 
sock672net/socket.cstruct socket *sock;
sock677net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock680net/socket.cif (sock->state != SS_UNCONNECTED) 
sock683net/socket.cif (sock->ops && sock->ops->listen)
sock685net/socket.cerr=sock->ops->listen(sock, backlog);
sock687net/socket.csock->flags |= SO_ACCEPTCON;
sock704net/socket.cstruct socket *sock, *newsock;
sock711net/socket.cif (!(sock = sockfd_lookup(fd, &file))) 
sock713net/socket.cif (sock->state != SS_UNCONNECTED) 
sock717net/socket.cif (!(sock->flags & SO_ACCEPTCON)) 
sock728net/socket.cnewsock->type = sock->type;
sock729net/socket.cnewsock->ops = sock->ops;
sock730net/socket.cif ((i = sock->ops->dup(newsock, sock)) < 0) 
sock736net/socket.ci = newsock->ops->accept(sock, newsock, file->f_flags);
sock765net/socket.cstruct socket *sock;
sock773net/socket.cif (!(sock = sockfd_lookup(fd, &file)))
sock779net/socket.cswitch(sock->state) 
sock786net/socket.cif(sock->type == SOCK_DGRAM) /* Hack for now - move this all into the protocol */
sock801net/socket.ci = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags);
sock816net/socket.cstruct socket *sock;
sock823net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock826net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0);
sock841net/socket.cstruct socket *sock;
sock848net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock851net/socket.cerr=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1);
sock866net/socket.cstruct socket *sock;
sock874net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock889net/socket.creturn(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), flags));
sock901net/socket.cstruct socket *sock;
sock910net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock929net/socket.creturn(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK),
sock942net/socket.cstruct socket *sock;
sock949net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock967net/socket.creturn(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), flags,&msg.msg_namelen));
sock979net/socket.cstruct socket *sock;
sock988net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1006net/socket.csize=sock->ops->recvmsg(sock, &msg, size, (file->f_flags & O_NONBLOCK),
sock1024net/socket.cstruct socket *sock;
sock1029net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1032net/socket.creturn(sock->ops->setsockopt(sock, level, optname, optval, optlen));
sock1042net/socket.cstruct socket *sock;
sock1047net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1050net/socket.cif (!sock->ops->getsockopt) 
sock1052net/socket.creturn(sock->ops->getsockopt(sock, level, optname, optval, optlen));
sock1062net/socket.cstruct socket *sock;
sock1067net/socket.cif (!(sock = sockfd_lookup(fd, NULL))) 
sock1070net/socket.creturn(sock->ops->shutdown(sock, how));
sock1079net/socket.cstruct socket *sock;
sock1089net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1103net/socket.cif(sock->ops->sendmsg==NULL)
sock1105net/socket.creturn sock->ops->sendmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags);
sock1114net/socket.cstruct socket *sock;
sock1126net/socket.cif (!(sock = sockfd_lookup(fd, NULL)))
sock1140net/socket.cif(sock->ops->recvmsg==NULL)
sock1142net/socket.clen=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len);
sock1160net/socket.cstruct socket *sock;
sock1162net/socket.csock = socki_lookup (filp->f_inode);
sock1163net/socket.cif (sock != NULL && sock->ops != NULL && sock->ops->fcntl != NULL)
sock1164net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
sock209net/unix/af_unix.cstatic int unix_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock218net/unix/af_unix.cstatic int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen)
sock220net/unix/af_unix.cunix_socket *sk=sock->data;
sock226net/unix/af_unix.cstatic int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen)
sock228net/unix/af_unix.cunix_socket *sk=sock->data;
sock234net/unix/af_unix.cstatic int unix_listen(struct socket *sock, int backlog)
sock236net/unix/af_unix.cunix_socket *sk=sock->data;
sock246net/unix/af_unix.cstatic void def_callback1(struct sock *sk)
sock252net/unix/af_unix.cstatic void def_callback2(struct sock *sk, int len)
sock261net/unix/af_unix.cstatic void def_callback3(struct sock *sk)
sock270net/unix/af_unix.cstatic int unix_create(struct socket *sock, int protocol)
sock279net/unix/af_unix.cswitch(sock->type)
sock288net/unix/af_unix.csock->type=SOCK_DGRAM;
sock295net/unix/af_unix.csk->type=sock->type;
sock331net/unix/af_unix.csk->socket=sock;
sock332net/unix/af_unix.csock->data=(void *)sk;
sock333net/unix/af_unix.csk->sleep=sock->wait;
sock344net/unix/af_unix.cstatic int unix_release(struct socket *sock, struct socket *peer)
sock346net/unix/af_unix.cunix_socket *sk=sock->data;
sock403net/unix/af_unix.cstatic int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
sock406net/unix/af_unix.cunix_socket *sk=sock->data;
sock450net/unix/af_unix.cstatic int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags)
sock452net/unix/af_unix.cunix_socket *sk=sock->data;
sock460net/unix/af_unix.cif(sock->state==SS_CONNECTING && sk->state==TCP_ESTABLISHED)
sock462net/unix/af_unix.csock->state=SS_CONNECTED;
sock465net/unix/af_unix.cif(sock->state==SS_CONNECTING && sk->state == TCP_CLOSE)
sock467net/unix/af_unix.csock->state=SS_UNCONNECTED;
sock470net/unix/af_unix.cif(sock->state==SS_CONNECTING)
sock484net/unix/af_unix.csock->state=SS_UNCONNECTED;
sock487net/unix/af_unix.cif(sock->type==SOCK_DGRAM)
sock496net/unix/af_unix.csock->state=SS_CONNECTED;
sock502net/unix/af_unix.cif(sock->state==SS_UNCONNECTED)
sock531net/unix/af_unix.csock->state=SS_CONNECTING;
sock563net/unix/af_unix.csock->state=SS_UNCONNECTED;
sock572net/unix/af_unix.csock->state=SS_CONNECTED;
sock595net/unix/af_unix.cstatic int unix_accept(struct socket *sock, struct socket *newsock, int flags)
sock597net/unix/af_unix.cunix_socket *sk=sock->data;
sock656net/unix/af_unix.cstatic int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer)
sock658net/unix/af_unix.cunix_socket *sk=sock->data;
sock679net/unix/af_unix.cstatic int unix_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags)
sock681net/unix/af_unix.cunix_socket *sk=sock->data;
sock700net/unix/af_unix.cif(sock->type==SOCK_STREAM)
sock726net/unix/af_unix.cif(sock->type==SOCK_DGRAM)
sock736net/unix/af_unix.cif(size > 4000 && sock->type!=SOCK_DGRAM)
sock767net/unix/af_unix.cif(sock->type==SOCK_DGRAM && other->dead)
sock771net/unix/af_unix.csock->state=SS_UNCONNECTED;
sock815net/unix/af_unix.cstatic int unix_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len)
sock817net/unix/af_unix.cunix_socket *sk=sock->data;
sock892net/unix/af_unix.cif(sock->type==SOCK_DGRAM)
sock901net/unix/af_unix.cstatic int unix_shutdown(struct socket *sock, int mode)
sock903net/unix/af_unix.cunix_socket *sk=(unix_socket *)sock->data;
sock930net/unix/af_unix.cstatic int unix_select(struct socket *sock,  int sel_type, select_table *wait)
sock932net/unix/af_unix.creturn datagram_select(sock->data,sel_type,wait);
sock935net/unix/af_unix.cstatic int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
sock937net/unix/af_unix.cunix_socket *sk=sock->data;