tag | line | file | source code |
socket | 38 | fs/nfs/sock.c | extern struct socket *socki_lookup(struct inode *inode); |
socket | 56 | 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 | 88 | include/linux/net.h | int (*create) (struct socket *sock, int protocol); |
socket | 89 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
socket | 90 | include/linux/net.h | int (*release) (struct socket *sock, struct socket *peer); |
socket | 91 | include/linux/net.h | int (*bind) (struct socket *sock, struct sockaddr *umyaddr, |
socket | 93 | include/linux/net.h | int (*connect) (struct socket *sock, struct sockaddr *uservaddr, |
socket | 95 | include/linux/net.h | int (*socketpair) (struct socket *sock1, struct socket *sock2); |
socket | 96 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
socket | 98 | include/linux/net.h | int (*getname) (struct socket *sock, struct sockaddr *uaddr, |
socket | 100 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
socket | 102 | include/linux/net.h | int (*write) (struct socket *sock, char *ubuf, int size, |
socket | 104 | include/linux/net.h | int (*select) (struct socket *sock, int sel_type, |
socket | 106 | include/linux/net.h | int (*ioctl) (struct socket *sock, unsigned int cmd, |
socket | 108 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
socket | 109 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 111 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 113 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 115 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
socket | 117 | include/linux/net.h | int (*shutdown) (struct socket *sock, int flags); |
socket | 118 | include/linux/net.h | int (*setsockopt) (struct socket *sock, int level, int optname, |
socket | 120 | include/linux/net.h | int (*getsockopt) (struct socket *sock, int level, int optname, |
socket | 122 | include/linux/net.h | int (*fcntl) (struct socket *sock, unsigned int cmd, |
socket | 131 | include/linux/net.h | extern int sock_awaitconn(struct socket *mysock, struct socket *servsock); |
socket | 132 | include/linux/net.h | extern int sock_wake_async(struct socket *sock); |
socket | 360 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 389 | net/inet/af_inet.c | static int inet_setsockopt(struct socket *sock, int level, int optname, |
socket | 405 | net/inet/af_inet.c | static int inet_getsockopt(struct socket *sock, int level, int optname, |
socket | 439 | net/inet/af_inet.c | static int inet_listen(struct socket *sock, int backlog) |
socket | 472 | net/inet/af_inet.c | sock_wake_async(sk->socket); |
socket | 484 | net/inet/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
socket | 563 | net/inet/af_inet.c | sk->socket = sock; |
socket | 690 | net/inet/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
socket | 702 | net/inet/af_inet.c | static int inet_release(struct socket *sock, struct socket *peer) |
socket | 760 | net/inet/af_inet.c | static int inet_bind(struct socket *sock, struct sockaddr *uaddr, |
socket | 858 | net/inet/af_inet.c | static int inet_connect(struct socket *sock, struct sockaddr * uaddr, |
socket | 931 | net/inet/af_inet.c | static int inet_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 941 | net/inet/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 984 | net/inet/af_inet.c | sk2->socket = newsock; |
socket | 998 | net/inet/af_inet.c | sk2->socket=NULL; |
socket | 1023 | net/inet/af_inet.c | static int inet_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 1055 | net/inet/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1072 | net/inet/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1079 | net/inet/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1091 | net/inet/af_inet.c | static int inet_send(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1108 | net/inet/af_inet.c | static int inet_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1113 | net/inet/af_inet.c | static int inet_sendto(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1134 | net/inet/af_inet.c | static int inet_shutdown(struct socket *sock, int how) |
socket | 1158 | net/inet/af_inet.c | static int inet_select(struct socket *sock, int sel_type, select_table *wait ) |
socket | 1178 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 170 | net/inet/ipx.c | len += sprintf (buffer+len,"%02X %d\n", s->state, SOCK_INODE(s->socket)->i_uid); |
socket | 469 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
socket | 479 | net/inet/ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
socket | 517 | net/inet/ipx.c | static int ipx_getsockopt(struct socket *sock, int level, int optname, |
socket | 555 | net/inet/ipx.c | static int ipx_listen(struct socket *sock, int backlog) |
socket | 571 | net/inet/ipx.c | sock_wake_async(sk->socket); |
socket | 575 | net/inet/ipx.c | static int ipx_create(struct socket *sock, int protocol) |
socket | 606 | net/inet/ipx.c | sk->socket=sock; |
socket | 630 | net/inet/ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
socket | 635 | net/inet/ipx.c | static int ipx_release(struct socket *sock, struct socket *peer) |
socket | 661 | net/inet/ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
socket | 730 | net/inet/ipx.c | static int ipx_connect(struct socket *sock, struct sockaddr *uaddr, |
socket | 766 | net/inet/ipx.c | static int ipx_socketpair(struct socket *sock1, struct socket *sock2) |
socket | 771 | net/inet/ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
socket | 778 | net/inet/ipx.c | static int ipx_getname(struct socket *sock, struct sockaddr *uaddr, |
socket | 966 | net/inet/ipx.c | static int ipx_sendto(struct socket *sock, void *ubuf, int len, int noblock, |
socket | 1142 | net/inet/ipx.c | static int ipx_send(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags) |
socket | 1147 | net/inet/ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
socket | 1189 | net/inet/ipx.c | static int ipx_write(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1195 | net/inet/ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
socket | 1204 | net/inet/ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
socket | 1210 | net/inet/ipx.c | static int ipx_shutdown(struct socket *sk,int how) |
socket | 1215 | net/inet/ipx.c | static int ipx_select(struct socket *sock , int sel_type, select_table *wait) |
socket | 1222 | 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 | 93 | net/socket.c | static struct socket sockets[NSOCKETS]; |
socket | 204 | net/socket.c | struct socket *socki_lookup(struct inode *inode) |
socket | 206 | net/socket.c | struct socket *sock; |
socket | 227 | net/socket.c | static inline struct socket *sockfd_lookup(int fd, struct file **pfile) |
socket | 244 | net/socket.c | static struct socket *sock_alloc(int wait) |
socket | 246 | net/socket.c | struct socket *sock; |
socket | 312 | net/socket.c | static inline void sock_release_peer(struct socket *peer) |
socket | 319 | net/socket.c | static void sock_release(struct socket *sock) |
socket | 323 | net/socket.c | struct socket *peersock, *nextsock; |
socket | 379 | net/socket.c | struct socket *sock; |
socket | 406 | net/socket.c | struct socket *sock; |
socket | 446 | net/socket.c | struct socket *sock; |
socket | 459 | net/socket.c | struct socket *sock; |
socket | 479 | net/socket.c | struct socket *sock; |
socket | 504 | net/socket.c | struct socket *sock; |
socket | 550 | net/socket.c | int sock_wake_async(struct socket *sock) |
socket | 563 | net/socket.c | int sock_awaitconn(struct socket *mysock, struct socket *servsock) |
socket | 565 | net/socket.c | struct socket *last; |
socket | 639 | net/socket.c | struct socket *sock; |
socket | 704 | net/socket.c | struct socket *sock1, *sock2; |
socket | 764 | net/socket.c | struct socket *sock; |
socket | 794 | net/socket.c | struct socket *sock; |
socket | 824 | net/socket.c | struct socket *sock, *newsock; |
socket | 884 | net/socket.c | struct socket *sock; |
socket | 936 | net/socket.c | struct socket *sock; |
socket | 961 | net/socket.c | struct socket *sock; |
socket | 986 | net/socket.c | struct socket *sock; |
socket | 1012 | net/socket.c | struct socket *sock; |
socket | 1046 | net/socket.c | struct socket *sock; |
socket | 1076 | net/socket.c | struct socket *sock; |
socket | 1112 | net/socket.c | struct socket *sock; |
socket | 1130 | net/socket.c | struct socket *sock; |
socket | 1150 | net/socket.c | struct socket *sock; |
socket | 1168 | net/socket.c | struct socket *sock; |
socket | 1381 | 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 */ |