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 | 1124 | net/appletalk/ddp.c | static int atalk_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1126 | net/appletalk/ddp.c | return(atalk_create(newsock,SOCK_DGRAM)); |
newsock | 1287 | net/appletalk/ddp.c | static int atalk_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1289 | net/appletalk/ddp.c | if(newsock->data) |
newsock | 1290 | net/appletalk/ddp.c | kfree_s(newsock->data,sizeof(atalk_socket)); |
newsock | 1009 | net/ax25/af_ax25.c | static int ax25_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 1013 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
newsock | 1251 | net/ax25/af_ax25.c | static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1257 | net/ax25/af_ax25.c | if (newsock->data) |
newsock | 1258 | net/ax25/af_ax25.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 1260 | net/ax25/af_ax25.c | newsock->data = NULL; |
newsock | 1295 | net/ax25/af_ax25.c | newsock->data = newsk; |
newsock | 775 | net/ipv4/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 777 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
newsock | 1066 | net/ipv4/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1078 | net/ipv4/af_inet.c | if (newsock->data) |
newsock | 1080 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)newsock->data; |
newsock | 1081 | net/ipv4/af_inet.c | newsock->data=NULL; |
newsock | 1105 | net/ipv4/af_inet.c | newsock->data = (void *)sk2; |
newsock | 1106 | net/ipv4/af_inet.c | sk2->sleep = newsock->wait; |
newsock | 1107 | net/ipv4/af_inet.c | sk2->socket = newsock; |
newsock | 1108 | net/ipv4/af_inet.c | newsock->conn = NULL; |
newsock | 1122 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1134 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1137 | net/ipv4/af_inet.c | newsock->state = SS_CONNECTED; |
newsock | 1445 | net/ipx/af_ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1447 | net/ipx/af_ipx.c | return(ipx_create(newsock,SOCK_DGRAM)); |
newsock | 1554 | net/ipx/af_ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1556 | net/ipx/af_ipx.c | if(newsock->data) |
newsock | 1557 | net/ipx/af_ipx.c | kfree_s(newsock->data,sizeof(ipx_socket)); |
newsock | 613 | net/netrom/af_netrom.c | static int nr_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 617 | net/netrom/af_netrom.c | return nr_create(newsock, sk->protocol); |
newsock | 832 | net/netrom/af_netrom.c | static int nr_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 838 | net/netrom/af_netrom.c | if (newsock->data) |
newsock | 839 | net/netrom/af_netrom.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 841 | net/netrom/af_netrom.c | newsock->data = NULL; |
newsock | 876 | net/netrom/af_netrom.c | newsock->data = newsk; |
newsock | 756 | net/socket.c | struct socket *sock, *newsock; |
newsock | 774 | net/socket.c | if (!(newsock = sock_alloc())) |
newsock | 780 | net/socket.c | newsock->type = sock->type; |
newsock | 781 | net/socket.c | newsock->ops = sock->ops; |
newsock | 782 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) |
newsock | 784 | net/socket.c | sock_release(newsock); |
newsock | 788 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
newsock | 791 | net/socket.c | sock_release(newsock); |
newsock | 795 | net/socket.c | if ((fd = get_fd(SOCK_INODE(newsock))) < 0) |
newsock | 797 | net/socket.c | sock_release(newsock); |
newsock | 803 | net/socket.c | newsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1); |
newsock | 317 | net/unix/af_unix.c | static int unix_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 319 | net/unix/af_unix.c | return unix_create(newsock,0); |
newsock | 569 | net/unix/af_unix.c | static int unix_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 584 | net/unix/af_unix.c | newsk=newsock->data; |