tag | line | file | source code |
socket | 37 | fs/nfs/sock.c | extern struct socket *socki_lookup(struct inode *inode); |
socket | 55 | fs/nfs/sock.c | struct socket *sock; |
socket | 228 | include/linux/fs.h | struct socket * i_socket; |
socket | 77 | include/linux/net.h | struct socket *conn; /* server socket connected to */ |
socket | 78 | include/linux/net.h | struct socket *iconn; /* incomplete client conn.s */ |
socket | 79 | include/linux/net.h | struct socket *next; |
socket | 90 | include/linux/net.h | int (*create) (struct socket *sock, int protocol); |
socket | 91 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
socket | 92 | include/linux/net.h | int (*release) (struct socket *sock, struct socket *peer); |
socket | 93 | include/linux/net.h | int (*bind) (struct socket *sock, struct sockaddr *umyaddr, |
socket | 95 | include/linux/net.h | int (*connect) (struct socket *sock, struct sockaddr *uservaddr, |
socket | 97 | include/linux/net.h | int (*socketpair) (struct socket *sock1, struct socket *sock2); |
socket | 98 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
socket | 100 | include/linux/net.h | int (*getname) (struct socket *sock, struct sockaddr *uaddr, |
socket | 102 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
socket | 104 | include/linux/net.h | int (*write) (struct socket *sock, char *ubuf, int size, |
socket | 106 | include/linux/net.h | int (*select) (struct socket *sock, int sel_type, |
socket | 108 | include/linux/net.h | int (*ioctl) (struct socket *sock, unsigned int cmd, |
socket | 110 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
socket | 111 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 113 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 115 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 117 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 119 | include/linux/net.h | int (*shutdown) (struct socket *sock, int flags); |
socket | 120 | include/linux/net.h | int (*setsockopt) (struct socket *sock, int level, int optname, |
socket | 122 | include/linux/net.h | int (*getsockopt) (struct socket *sock, int level, int optname, |
socket | 124 | include/linux/net.h | int (*fcntl) (struct socket *sock, unsigned int cmd, |
socket | 133 | include/linux/net.h | extern int sock_awaitconn(struct socket *mysock, struct socket *servsock, int flags); |
socket | 134 | include/linux/net.h | extern int sock_wake_async(struct socket *sock, int how); |
socket | 367 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 396 | net/inet/af_inet.c | static int inet_setsockopt(struct socket *sock, int level, int optname, |
socket | 412 | net/inet/af_inet.c | static int inet_getsockopt(struct socket *sock, int level, int optname, |
socket | 446 | net/inet/af_inet.c | static int inet_listen(struct socket *sock, int backlog) |
socket | 486 | net/inet/af_inet.c | sock_wake_async(sk->socket, 1); |
socket | 495 | net/inet/af_inet.c | sock_wake_async(sk->socket, 2); |
socket | 506 | net/inet/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
socket | 585 | net/inet/af_inet.c | sk->socket = sock; |
socket | 719 | net/inet/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
socket | 731 | net/inet/af_inet.c | static int inet_release(struct socket *sock, struct socket *peer) |
socket | 782 | net/inet/af_inet.c | sk->socket = NULL; |
socket | 791 | net/inet/af_inet.c | static int inet_bind(struct socket *sock, struct sockaddr *uaddr, |
socket | 889 | net/inet/af_inet.c | static int inet_connect(struct socket *sock, struct sockaddr * uaddr, |
socket | 966 | net/inet/af_inet.c | static int inet_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 976 | net/inet/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 1019 | net/inet/af_inet.c | sk2->socket = newsock; |
socket | 1033 | net/inet/af_inet.c | sk2->socket=NULL; |
socket | 1058 | net/inet/af_inet.c | static int inet_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 1090 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1107 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1114 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1126 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1143 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1148 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1169 | net/inet/af_inet.c | static int inet_shutdown(struct socket *sock, int how) |
socket | 1193 | net/inet/af_inet.c | static int inet_select(struct socket *sock, int sel_type, select_table *wait ) |
socket | 1213 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 168 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
socket | 471 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 481 | net/inet/ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
socket | 519 | net/inet/ipx.c | static int ipx_getsockopt(struct socket *sock, int level, int optname, |
socket | 557 | net/inet/ipx.c | static int ipx_listen(struct socket *sock, int backlog) |
socket | 573 | net/inet/ipx.c | sock_wake_async(sk->socket, 1); |
socket | 577 | net/inet/ipx.c | static int ipx_create(struct socket *sock, int protocol) |
socket | 608 | net/inet/ipx.c | sk->socket=sock; |
socket | 632 | net/inet/ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
socket | 637 | net/inet/ipx.c | static int ipx_release(struct socket *sock, struct socket *peer) |
socket | 663 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
socket | 732 | net/inet/ipx.c | static int ipx_connect(struct socket *sock, struct sockaddr *uaddr, |
socket | 768 | net/inet/ipx.c | static int ipx_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 773 | net/inet/ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 780 | net/inet/ipx.c | static int ipx_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 962 | net/inet/ipx.c | static int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock, |
socket | 1138 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
socket | 1143 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1185 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1191 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
socket | 1200 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1206 | net/inet/ipx.c | static int ipx_shutdown(struct socket *sk,int how) |
socket | 1211 | net/inet/ipx.c | static int ipx_select(struct socket *sock , int sel_type, select_table *wait) |
socket | 1218 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
socket | 98 | net/inet/proc.c | sp->socket?SOCK_INODE(sp->socket)->i_uid:0, |
socket | 463 | net/inet/sock.c | sk->socket->flags |= SO_NOSPACE; |
socket | 485 | net/inet/sock.c | sk->socket->flags &= ~SO_NOSPACE; |
socket | 180 | net/inet/sock.h | struct socket *socket; |
socket | 1481 | net/inet/tcp.c | sk->socket->flags |= SO_NOSPACE; |
socket | 1504 | net/inet/tcp.c | sk->socket->flags &= ~SO_NOSPACE; |
socket | 1930 | net/inet/tcp.c | sk->socket->flags |= SO_WAITDATA; |
socket | 1932 | net/inet/tcp.c | sk->socket->flags &= ~SO_WAITDATA; |
socket | 2484 | net/inet/tcp.c | newsk->socket = NULL; |
socket | 3450 | net/inet/tcp.c | sock_wake_async(sk->socket, 1); |
socket | 4473 | net/inet/tcp.c | sock_wake_async(sk->socket, 0); |
socket | 95 | net/socket.c | static struct socket *sockets = NULL; |
socket | 207 | net/socket.c | struct socket *socki_lookup(struct inode *inode) |
socket | 209 | net/socket.c | struct socket *sock; |
socket | 230 | net/socket.c | static inline struct socket *sockfd_lookup(int fd, struct file **pfile) |
socket | 247 | net/socket.c | static struct socket *sock_alloc(int wait) |
socket | 249 | net/socket.c | struct socket *sock; |
socket | 315 | net/socket.c | static inline void sock_release_peer(struct socket *peer) |
socket | 323 | net/socket.c | static void sock_release(struct socket *sock) |
socket | 327 | net/socket.c | struct socket *peersock, *nextsock; |
socket | 383 | net/socket.c | struct socket *sock; |
socket | 410 | net/socket.c | struct socket *sock; |
socket | 450 | net/socket.c | struct socket *sock; |
socket | 463 | net/socket.c | struct socket *sock; |
socket | 483 | net/socket.c | struct socket *sock; |
socket | 508 | net/socket.c | struct socket *sock; |
socket | 554 | net/socket.c | int sock_wake_async(struct socket *sock, int how) |
socket | 583 | net/socket.c | int sock_awaitconn(struct socket *mysock, struct socket *servsock, int flags) |
socket | 585 | net/socket.c | struct socket *last; |
socket | 664 | net/socket.c | struct socket *sock; |
socket | 729 | net/socket.c | struct socket *sock1, *sock2; |
socket | 793 | net/socket.c | struct socket *sock; |
socket | 823 | net/socket.c | struct socket *sock; |
socket | 853 | net/socket.c | struct socket *sock, *newsock; |
socket | 913 | net/socket.c | struct socket *sock; |
socket | 964 | net/socket.c | struct socket *sock; |
socket | 989 | net/socket.c | struct socket *sock; |
socket | 1014 | net/socket.c | struct socket *sock; |
socket | 1040 | net/socket.c | struct socket *sock; |
socket | 1074 | net/socket.c | struct socket *sock; |
socket | 1104 | net/socket.c | struct socket *sock; |
socket | 1140 | net/socket.c | struct socket *sock; |
socket | 1158 | net/socket.c | struct socket *sock; |
socket | 1178 | net/socket.c | struct socket *sock; |
socket | 1196 | net/socket.c | struct socket *sock; |
socket | 1409 | net/socket.c | struct socket *sock; |
socket | 1417 | net/socket.c | sockets = (struct socket *)kmalloc(sizeof(struct socket) * nsockets, GFP_KERNEL); |
socket | 56 | net/unix/proc.c | if (unix_datas[i].refcnt>0 && unix_datas[i].socket!=NULL) |
socket | 59 | net/unix/proc.c | s_type=unix_datas[i].socket->type; |
socket | 60 | net/unix/proc.c | s_flags=unix_datas[i].socket->flags; |
socket | 61 | net/unix/proc.c | s_state=unix_datas[i].socket->state; |
socket | 60 | net/unix/sock.c | static int unix_proto_create(struct socket *sock, int protocol); |
socket | 61 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock); |
socket | 62 | net/unix/sock.c | static int unix_proto_release(struct socket *sock, struct socket *peer); |
socket | 63 | net/unix/sock.c | static int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr, |
socket | 65 | net/unix/sock.c | static int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr, |
socket | 67 | net/unix/sock.c | static int unix_proto_socketpair(struct socket *sock1, struct socket *sock2); |
socket | 68 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, |
socket | 70 | net/unix/sock.c | static int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr, |
socket | 72 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, |
socket | 74 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, |
socket | 76 | net/unix/sock.c | static int unix_proto_select(struct socket *sock, int sel_type, select_table * wait); |
socket | 77 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, |
socket | 79 | net/unix/sock.c | static int unix_proto_listen(struct socket *sock, int backlog); |
socket | 80 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, |
socket | 82 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, |
socket | 84 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, |
socket | 87 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, |
socket | 91 | net/unix/sock.c | static int unix_proto_shutdown(struct socket *sock, int how); |
socket | 93 | net/unix/sock.c | static int unix_proto_setsockopt(struct socket *sock, int level, int optname, |
socket | 95 | net/unix/sock.c | static int unix_proto_getsockopt(struct socket *sock, int level, int optname, |
socket | 136 | net/unix/sock.c | static int unix_proto_listen(struct socket *sock, int backlog) |
socket | 145 | net/unix/sock.c | static int unix_proto_setsockopt(struct socket *sock, int level, int optname, |
socket | 152 | net/unix/sock.c | static int unix_proto_getsockopt(struct socket *sock, int level, int optname, |
socket | 163 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
socket | 169 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
socket | 179 | net/unix/sock.c | static int unix_proto_shutdown(struct socket *sock, int how) |
socket | 189 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
socket | 202 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
socket | 222 | net/unix/sock.c | if (upd->refcnt > 0 && upd->socket && |
socket | 223 | net/unix/sock.c | upd->socket->state == SS_UNCONNECTED && |
socket | 251 | net/unix/sock.c | upd->socket = NULL; |
socket | 306 | net/unix/sock.c | static int unix_proto_create(struct socket *sock, int protocol) |
socket | 331 | net/unix/sock.c | upd->socket = sock; |
socket | 341 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock) |
socket | 352 | net/unix/sock.c | static int unix_proto_release(struct socket *sock, struct socket *peer) |
socket | 359 | net/unix/sock.c | if (upd->socket != sock) |
socket | 372 | net/unix/sock.c | upd->socket = NULL; |
socket | 391 | net/unix/sock.c | static int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr, |
socket | 445 | net/unix/sock.c | static int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr, |
socket | 498 | net/unix/sock.c | if ((i = sock_awaitconn(sock, serv_upd->socket, flags)) < 0) |
socket | 519 | net/unix/sock.c | static int unix_proto_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 535 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 537 | net/unix/sock.c | struct socket *clientsock; |
socket | 581 | net/unix/sock.c | static int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr, |
socket | 609 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock) |
socket | 679 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock) |
socket | 772 | net/unix/sock.c | static int unix_proto_select(struct socket *sock, int sel_type, select_table * wait) |
socket | 830 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 34 | net/unix/unix.h | struct socket *socket; /* socket we're bound to */ |