tag | line | file | source code |
newsock | 94 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
newsock | 101 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
newsock | 1145 | net/appletalk/ddp.c | static int atalk_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1147 | net/appletalk/ddp.c | return(atalk_create(newsock,SOCK_DGRAM)); |
newsock | 1308 | net/appletalk/ddp.c | static int atalk_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1310 | net/appletalk/ddp.c | if(newsock->data) |
newsock | 1311 | net/appletalk/ddp.c | kfree_s(newsock->data,sizeof(atalk_socket)); |
newsock | 1035 | net/ax25/af_ax25.c | static int ax25_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 1039 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
newsock | 1277 | net/ax25/af_ax25.c | static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1283 | net/ax25/af_ax25.c | if (newsock->data) |
newsock | 1284 | net/ax25/af_ax25.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 1286 | net/ax25/af_ax25.c | newsock->data = NULL; |
newsock | 1321 | net/ax25/af_ax25.c | newsock->data = newsk; |
newsock | 723 | net/ipv4/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 725 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
newsock | 1009 | net/ipv4/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1021 | net/ipv4/af_inet.c | if (newsock->data) |
newsock | 1023 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)newsock->data; |
newsock | 1024 | net/ipv4/af_inet.c | newsock->data=NULL; |
newsock | 1046 | net/ipv4/af_inet.c | newsock->data = (void *)sk2; |
newsock | 1047 | net/ipv4/af_inet.c | sk2->sleep = newsock->wait; |
newsock | 1048 | net/ipv4/af_inet.c | sk2->socket = newsock; |
newsock | 1049 | net/ipv4/af_inet.c | newsock->conn = NULL; |
newsock | 1063 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1074 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1077 | net/ipv4/af_inet.c | newsock->state = SS_CONNECTED; |
newsock | 1488 | net/ipx/af_ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1490 | net/ipx/af_ipx.c | return(ipx_create(newsock,SOCK_DGRAM)); |
newsock | 1597 | net/ipx/af_ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1599 | net/ipx/af_ipx.c | if(newsock->data) |
newsock | 1600 | net/ipx/af_ipx.c | kfree_s(newsock->data,sizeof(ipx_socket)); |
newsock | 605 | net/netrom/af_netrom.c | static int nr_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 609 | net/netrom/af_netrom.c | return nr_create(newsock, sk->protocol); |
newsock | 836 | net/netrom/af_netrom.c | static int nr_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 842 | net/netrom/af_netrom.c | if (newsock->data) |
newsock | 843 | net/netrom/af_netrom.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 845 | net/netrom/af_netrom.c | newsock->data = NULL; |
newsock | 880 | net/netrom/af_netrom.c | newsock->data = newsk; |
newsock | 702 | net/socket.c | struct socket *sock, *newsock; |
newsock | 720 | net/socket.c | if (!(newsock = sock_alloc())) |
newsock | 726 | net/socket.c | newsock->type = sock->type; |
newsock | 727 | net/socket.c | newsock->ops = sock->ops; |
newsock | 728 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) |
newsock | 730 | net/socket.c | sock_release(newsock); |
newsock | 734 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
newsock | 737 | net/socket.c | sock_release(newsock); |
newsock | 741 | net/socket.c | if ((fd = get_fd(SOCK_INODE(newsock))) < 0) |
newsock | 743 | net/socket.c | sock_release(newsock); |
newsock | 749 | net/socket.c | newsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1); |
newsock | 338 | net/unix/af_unix.c | static int unix_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 340 | net/unix/af_unix.c | return unix_create(newsock,0); |
newsock | 594 | net/unix/af_unix.c | static int unix_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 609 | net/unix/af_unix.c | newsk=newsock->data; |