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 | 1148 | net/appletalk/ddp.c | static int atalk_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1150 | net/appletalk/ddp.c | return(atalk_create(newsock,SOCK_DGRAM)); |
newsock | 1311 | net/appletalk/ddp.c | static int atalk_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1313 | net/appletalk/ddp.c | if(newsock->data) |
newsock | 1314 | net/appletalk/ddp.c | kfree_s(newsock->data,sizeof(atalk_socket)); |
newsock | 1073 | net/ax25/af_ax25.c | static int ax25_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 1077 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
newsock | 1348 | net/ax25/af_ax25.c | static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1354 | net/ax25/af_ax25.c | if (newsock->data) |
newsock | 1355 | net/ax25/af_ax25.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 1357 | net/ax25/af_ax25.c | newsock->data = NULL; |
newsock | 1394 | net/ax25/af_ax25.c | newsock->data = newsk; |
newsock | 740 | net/ipv4/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 742 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
newsock | 1057 | net/ipv4/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1070 | net/ipv4/af_inet.c | if (newsock->data) |
newsock | 1072 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)newsock->data; |
newsock | 1073 | net/ipv4/af_inet.c | newsock->data=NULL; |
newsock | 1098 | net/ipv4/af_inet.c | newsock->data = (void *)sk2; |
newsock | 1099 | net/ipv4/af_inet.c | sk2->sleep = newsock->wait; |
newsock | 1100 | net/ipv4/af_inet.c | sk2->socket = newsock; |
newsock | 1101 | net/ipv4/af_inet.c | newsock->conn = NULL; |
newsock | 1115 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1126 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1129 | net/ipv4/af_inet.c | newsock->state = SS_CONNECTED; |
newsock | 1651 | net/ipx/af_ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1653 | net/ipx/af_ipx.c | return(ipx_create(newsock,SOCK_DGRAM)); |
newsock | 1818 | net/ipx/af_ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1820 | net/ipx/af_ipx.c | if(newsock->data) |
newsock | 1821 | net/ipx/af_ipx.c | kfree_s(newsock->data,sizeof(ipx_socket)); |
newsock | 594 | net/netrom/af_netrom.c | static int nr_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 598 | net/netrom/af_netrom.c | return nr_create(newsock, sk->protocol); |
newsock | 817 | net/netrom/af_netrom.c | static int nr_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 823 | net/netrom/af_netrom.c | if (newsock->data) |
newsock | 824 | net/netrom/af_netrom.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 826 | net/netrom/af_netrom.c | newsock->data = NULL; |
newsock | 863 | net/netrom/af_netrom.c | newsock->data = newsk; |
newsock | 704 | net/socket.c | struct socket *sock, *newsock; |
newsock | 722 | net/socket.c | if (!(newsock = sock_alloc())) |
newsock | 728 | net/socket.c | newsock->type = sock->type; |
newsock | 729 | net/socket.c | newsock->ops = sock->ops; |
newsock | 730 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) |
newsock | 732 | net/socket.c | sock_release(newsock); |
newsock | 736 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
newsock | 739 | net/socket.c | sock_release(newsock); |
newsock | 743 | net/socket.c | if ((fd = get_fd(SOCK_INODE(newsock))) < 0) |
newsock | 745 | net/socket.c | sock_release(newsock); |
newsock | 751 | net/socket.c | newsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1); |
newsock | 340 | net/unix/af_unix.c | static int unix_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 342 | net/unix/af_unix.c | return unix_create(newsock,0); |
newsock | 596 | net/unix/af_unix.c | static int unix_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 611 | net/unix/af_unix.c | newsk=newsock->data; |