tag | line | file | source code |
newsock | 92 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
newsock | 99 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
newsock | 1114 | net/appletalk/ddp.c | static int atalk_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1116 | net/appletalk/ddp.c | return(atalk_create(newsock,SOCK_DGRAM)); |
newsock | 1277 | net/appletalk/ddp.c | static int atalk_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1279 | net/appletalk/ddp.c | if(newsock->data) |
newsock | 1280 | net/appletalk/ddp.c | kfree_s(newsock->data,sizeof(atalk_socket)); |
newsock | 936 | net/ax25/af_ax25.c | static int ax25_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 940 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
newsock | 1178 | net/ax25/af_ax25.c | static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1184 | net/ax25/af_ax25.c | if (newsock->data) |
newsock | 1185 | net/ax25/af_ax25.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 1187 | net/ax25/af_ax25.c | newsock->data = NULL; |
newsock | 1222 | net/ax25/af_ax25.c | newsock->data = newsk; |
newsock | 762 | net/ipv4/af_inet.c | static int inet_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 764 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
newsock | 1049 | net/ipv4/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1061 | net/ipv4/af_inet.c | if (newsock->data) |
newsock | 1063 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)newsock->data; |
newsock | 1064 | net/ipv4/af_inet.c | newsock->data=NULL; |
newsock | 1088 | net/ipv4/af_inet.c | newsock->data = (void *)sk2; |
newsock | 1089 | net/ipv4/af_inet.c | sk2->sleep = newsock->wait; |
newsock | 1090 | net/ipv4/af_inet.c | sk2->socket = newsock; |
newsock | 1091 | net/ipv4/af_inet.c | newsock->conn = NULL; |
newsock | 1105 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1117 | net/ipv4/af_inet.c | newsock->data = NULL; |
newsock | 1120 | net/ipv4/af_inet.c | newsock->state = SS_CONNECTED; |
newsock | 1435 | net/ipx/af_ipx.c | static int ipx_dup(struct socket *newsock,struct socket *oldsock) |
newsock | 1437 | net/ipx/af_ipx.c | return(ipx_create(newsock,SOCK_DGRAM)); |
newsock | 1544 | net/ipx/af_ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1546 | net/ipx/af_ipx.c | if(newsock->data) |
newsock | 1547 | net/ipx/af_ipx.c | kfree_s(newsock->data,sizeof(ipx_socket)); |
newsock | 572 | net/netrom/af_netrom.c | static int nr_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 576 | net/netrom/af_netrom.c | return nr_create(newsock, sk->protocol); |
newsock | 789 | net/netrom/af_netrom.c | static int nr_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 795 | net/netrom/af_netrom.c | if (newsock->data) |
newsock | 796 | net/netrom/af_netrom.c | kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 798 | net/netrom/af_netrom.c | newsock->data = NULL; |
newsock | 833 | net/netrom/af_netrom.c | newsock->data = newsk; |
newsock | 755 | net/socket.c | struct socket *sock, *newsock; |
newsock | 773 | net/socket.c | if (!(newsock = sock_alloc())) |
newsock | 779 | net/socket.c | newsock->type = sock->type; |
newsock | 780 | net/socket.c | newsock->ops = sock->ops; |
newsock | 781 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) |
newsock | 783 | net/socket.c | sock_release(newsock); |
newsock | 787 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
newsock | 790 | net/socket.c | sock_release(newsock); |
newsock | 794 | net/socket.c | if ((fd = get_fd(SOCK_INODE(newsock))) < 0) |
newsock | 796 | net/socket.c | sock_release(newsock); |
newsock | 802 | net/socket.c | newsock->ops->getname(newsock, (struct sockaddr *)address, &len, 1); |
newsock | 61 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock); |
newsock | 68 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, |
newsock | 341 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 344 | net/unix/sock.c | return(unix_proto_create(newsock, upd->protocol)); |
newsock | 535 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 563 | net/unix/sock.c | newsock->conn = clientsock; |
newsock | 564 | net/unix/sock.c | clientsock->conn = newsock; |
newsock | 566 | net/unix/sock.c | newsock->state = SS_CONNECTED; |
newsock | 568 | net/unix/sock.c | UN_DATA(newsock)->peerupd = UN_DATA(clientsock); |
newsock | 569 | net/unix/sock.c | UN_DATA(newsock)->sockaddr_un = UN_DATA(sock)->sockaddr_un; |
newsock | 570 | net/unix/sock.c | UN_DATA(newsock)->sockaddr_len = UN_DATA(sock)->sockaddr_len; |