tag | line | file | source code |
socket | 33 | fs/nfs/sock.c | extern struct socket *socki_lookup(struct inode *inode); |
socket | 51 | fs/nfs/sock.c | struct socket *sock; |
socket | 202 | include/linux/fs.h | struct socket * i_socket; |
socket | 75 | include/linux/net.h | struct socket *conn; /* server socket connected to */ |
socket | 76 | include/linux/net.h | struct socket *iconn; /* incomplete client conn.s */ |
socket | 77 | include/linux/net.h | struct socket *next; |
socket | 87 | include/linux/net.h | int (*create) (struct socket *sock, int protocol); |
socket | 88 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
socket | 89 | include/linux/net.h | int (*release) (struct socket *sock, struct socket *peer); |
socket | 90 | include/linux/net.h | int (*bind) (struct socket *sock, struct sockaddr *umyaddr, |
socket | 92 | include/linux/net.h | int (*connect) (struct socket *sock, struct sockaddr *uservaddr, |
socket | 94 | include/linux/net.h | int (*socketpair) (struct socket *sock1, struct socket *sock2); |
socket | 95 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
socket | 97 | include/linux/net.h | int (*getname) (struct socket *sock, struct sockaddr *uaddr, |
socket | 99 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
socket | 101 | include/linux/net.h | int (*write) (struct socket *sock, char *ubuf, int size, |
socket | 103 | include/linux/net.h | int (*select) (struct socket *sock, int sel_type, |
socket | 105 | include/linux/net.h | int (*ioctl) (struct socket *sock, unsigned int cmd, |
socket | 107 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
socket | 108 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 110 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 112 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 114 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 116 | include/linux/net.h | int (*shutdown) (struct socket *sock, int flags); |
socket | 117 | include/linux/net.h | int (*setsockopt) (struct socket *sock, int level, int optname, |
socket | 119 | include/linux/net.h | int (*getsockopt) (struct socket *sock, int level, int optname, |
socket | 121 | include/linux/net.h | int (*fcntl) (struct socket *sock, unsigned int cmd, |
socket | 130 | include/linux/net.h | extern int sock_awaitconn(struct socket *mysock, struct socket *servsock); |
socket | 354 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 383 | net/inet/af_inet.c | static int inet_setsockopt(struct socket *sock, int level, int optname, |
socket | 399 | net/inet/af_inet.c | static int inet_getsockopt(struct socket *sock, int level, int optname, |
socket | 433 | net/inet/af_inet.c | static int inet_listen(struct socket *sock, int backlog) |
socket | 475 | net/inet/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
socket | 554 | net/inet/af_inet.c | sk->socket = sock; |
socket | 681 | net/inet/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
socket | 693 | net/inet/af_inet.c | static int inet_release(struct socket *sock, struct socket *peer) |
socket | 751 | net/inet/af_inet.c | static int inet_bind(struct socket *sock, struct sockaddr *uaddr, |
socket | 849 | net/inet/af_inet.c | static int inet_connect(struct socket *sock, struct sockaddr * uaddr, |
socket | 916 | net/inet/af_inet.c | static int inet_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 926 | net/inet/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 1006 | net/inet/af_inet.c | static int inet_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 1038 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1055 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1062 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1074 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1091 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1096 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1117 | net/inet/af_inet.c | static int inet_shutdown(struct socket *sock, int how) |
socket | 1141 | net/inet/af_inet.c | static int inet_select(struct socket *sock, int sel_type, select_table *wait ) |
socket | 1161 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 167 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
socket | 466 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 476 | net/inet/ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
socket | 514 | net/inet/ipx.c | static int ipx_getsockopt(struct socket *sock, int level, int optname, |
socket | 552 | net/inet/ipx.c | static int ipx_listen(struct socket *sock, int backlog) |
socket | 569 | net/inet/ipx.c | static int ipx_create(struct socket *sock, int protocol) |
socket | 600 | net/inet/ipx.c | sk->socket=sock; |
socket | 624 | net/inet/ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
socket | 629 | net/inet/ipx.c | static int ipx_release(struct socket *sock, struct socket *peer) |
socket | 652 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
socket | 721 | net/inet/ipx.c | static int ipx_connect(struct socket *sock, struct sockaddr *uaddr, |
socket | 756 | net/inet/ipx.c | static int ipx_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 761 | net/inet/ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 768 | net/inet/ipx.c | static int ipx_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 955 | net/inet/ipx.c | static int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock, |
socket | 1130 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
socket | 1135 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1177 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1183 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
socket | 1192 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1198 | net/inet/ipx.c | static int ipx_shutdown(struct socket *sk,int how) |
socket | 1203 | net/inet/ipx.c | static int ipx_select(struct socket *sock , int sel_type, select_table *wait) |
socket | 1210 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
socket | 98 | net/inet/proc.c | sp->dead?0:SOCK_INODE(sp->socket)->i_uid); |
socket | 167 | net/inet/sock.h | struct socket *socket; |
socket | 86 | net/socket.c | static struct socket sockets[NSOCKETS]; |
socket | 197 | net/socket.c | struct socket *socki_lookup(struct inode *inode) |
socket | 199 | net/socket.c | struct socket *sock; |
socket | 220 | net/socket.c | static inline struct socket *sockfd_lookup(int fd, struct file **pfile) |
socket | 237 | net/socket.c | static struct socket *sock_alloc(int wait) |
socket | 239 | net/socket.c | struct socket *sock; |
socket | 304 | net/socket.c | static inline void sock_release_peer(struct socket *peer) |
socket | 311 | net/socket.c | static void sock_release(struct socket *sock) |
socket | 315 | net/socket.c | struct socket *peersock, *nextsock; |
socket | 371 | net/socket.c | struct socket *sock; |
socket | 398 | net/socket.c | struct socket *sock; |
socket | 438 | net/socket.c | struct socket *sock; |
socket | 451 | net/socket.c | struct socket *sock; |
socket | 471 | net/socket.c | struct socket *sock; |
socket | 493 | net/socket.c | int sock_awaitconn(struct socket *mysock, struct socket *servsock) |
socket | 495 | net/socket.c | struct socket *last; |
socket | 569 | net/socket.c | struct socket *sock; |
socket | 634 | net/socket.c | struct socket *sock1, *sock2; |
socket | 694 | net/socket.c | struct socket *sock; |
socket | 724 | net/socket.c | struct socket *sock; |
socket | 754 | net/socket.c | struct socket *sock, *newsock; |
socket | 814 | net/socket.c | struct socket *sock; |
socket | 866 | net/socket.c | struct socket *sock; |
socket | 891 | net/socket.c | struct socket *sock; |
socket | 916 | net/socket.c | struct socket *sock; |
socket | 944 | net/socket.c | struct socket *sock; |
socket | 980 | net/socket.c | struct socket *sock; |
socket | 1010 | net/socket.c | struct socket *sock; |
socket | 1046 | net/socket.c | struct socket *sock; |
socket | 1064 | net/socket.c | struct socket *sock; |
socket | 1084 | net/socket.c | struct socket *sock; |
socket | 1102 | net/socket.c | struct socket *sock; |
socket | 1289 | net/socket.c | struct socket *sock; |
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 | 61 | net/unix/sock.c | static int unix_proto_create(struct socket *sock, int protocol); |
socket | 62 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock); |
socket | 63 | net/unix/sock.c | static int unix_proto_release(struct socket *sock, struct socket *peer); |
socket | 64 | net/unix/sock.c | static int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr, |
socket | 66 | net/unix/sock.c | static int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr, |
socket | 68 | net/unix/sock.c | static int unix_proto_socketpair(struct socket *sock1, struct socket *sock2); |
socket | 69 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, |
socket | 71 | net/unix/sock.c | static int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr, |
socket | 73 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, |
socket | 75 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, |
socket | 77 | net/unix/sock.c | static int unix_proto_select(struct socket *sock, int sel_type, select_table * wait); |
socket | 78 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, |
socket | 80 | net/unix/sock.c | static int unix_proto_listen(struct socket *sock, int backlog); |
socket | 81 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, |
socket | 83 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, |
socket | 85 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, |
socket | 88 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, |
socket | 92 | net/unix/sock.c | static int unix_proto_shutdown(struct socket *sock, int how); |
socket | 94 | net/unix/sock.c | static int unix_proto_setsockopt(struct socket *sock, int level, int optname, |
socket | 96 | net/unix/sock.c | static int unix_proto_getsockopt(struct socket *sock, int level, int optname, |
socket | 137 | net/unix/sock.c | static int unix_proto_listen(struct socket *sock, int backlog) |
socket | 146 | net/unix/sock.c | static int unix_proto_setsockopt(struct socket *sock, int level, int optname, |
socket | 153 | net/unix/sock.c | static int unix_proto_getsockopt(struct socket *sock, int level, int optname, |
socket | 164 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
socket | 170 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
socket | 180 | net/unix/sock.c | static int unix_proto_shutdown(struct socket *sock, int how) |
socket | 190 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
socket | 203 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
socket | 223 | net/unix/sock.c | if (upd->refcnt > 0 && upd->socket && |
socket | 224 | net/unix/sock.c | upd->socket->state == SS_UNCONNECTED && |
socket | 252 | net/unix/sock.c | upd->socket = NULL; |
socket | 307 | net/unix/sock.c | static int unix_proto_create(struct socket *sock, int protocol) |
socket | 332 | net/unix/sock.c | upd->socket = sock; |
socket | 342 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock) |
socket | 353 | net/unix/sock.c | static int unix_proto_release(struct socket *sock, struct socket *peer) |
socket | 360 | net/unix/sock.c | if (upd->socket != sock) |
socket | 373 | net/unix/sock.c | upd->socket = NULL; |
socket | 392 | net/unix/sock.c | static int unix_proto_bind(struct socket *sock, struct sockaddr *umyaddr, |
socket | 446 | net/unix/sock.c | static int unix_proto_connect(struct socket *sock, struct sockaddr *uservaddr, |
socket | 499 | net/unix/sock.c | if ((i = sock_awaitconn(sock, serv_upd->socket)) < 0) |
socket | 520 | net/unix/sock.c | static int unix_proto_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 536 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 538 | net/unix/sock.c | struct socket *clientsock; |
socket | 580 | net/unix/sock.c | static int unix_proto_getname(struct socket *sock, struct sockaddr *usockaddr, |
socket | 608 | net/unix/sock.c | static int unix_proto_read(struct socket *sock, char *ubuf, int size, int nonblock) |
socket | 673 | net/unix/sock.c | static int unix_proto_write(struct socket *sock, char *ubuf, int size, int nonblock) |
socket | 761 | net/unix/sock.c | static int unix_proto_select(struct socket *sock, int sel_type, select_table * wait) |
socket | 819 | 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 */ |