tag | line | file | source code |
newsock | 88 | include/linux/net.h | int (*dup) (struct socket *newsock, struct socket *oldsock); |
newsock | 95 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
newsock | 877 | net/inet/sock.c | inet_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 879 | net/inet/sock.c | return(inet_create(newsock, |
newsock | 1102 | net/inet/sock.c | inet_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 1118 | net/inet/sock.c | if (newsock->data) kfree_s(newsock->data, sizeof(struct sock)); |
newsock | 1119 | net/inet/sock.c | newsock->data = NULL; |
newsock | 1137 | net/inet/sock.c | newsock->data = (void *)sk2; |
newsock | 1138 | net/inet/sock.c | sk2->sleep = newsock->wait; |
newsock | 1139 | net/inet/sock.c | newsock->conn = NULL; |
newsock | 1149 | net/inet/sock.c | newsock->data = NULL; |
newsock | 1160 | net/inet/sock.c | newsock->data = NULL; |
newsock | 1163 | net/inet/sock.c | newsock->state = SS_CONNECTED; |
newsock | 586 | net/socket.c | struct socket *sock, *newsock; |
newsock | 604 | net/socket.c | if (!(newsock = sock_alloc(0))) { |
newsock | 608 | net/socket.c | newsock->type = sock->type; |
newsock | 609 | net/socket.c | newsock->ops = sock->ops; |
newsock | 610 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) { |
newsock | 611 | net/socket.c | sock_release(newsock); |
newsock | 615 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
newsock | 617 | net/socket.c | sock_release(newsock); |
newsock | 621 | net/socket.c | if ((fd = get_fd(SOCK_INODE(newsock))) < 0) { |
newsock | 622 | net/socket.c | sock_release(newsock); |
newsock | 627 | net/socket.c | sock, newsock)); |
newsock | 630 | net/socket.c | newsock->ops->getname(newsock, upeer_sockaddr, upeer_addrlen, 1); |
newsock | 58 | net/unix/sock.c | static int unix_proto_dup(struct socket *newsock, struct socket *oldsock); |
newsock | 65 | net/unix/sock.c | static int unix_proto_accept(struct socket *sock, struct socket *newsock, |
newsock | 313 | net/unix/sock.c | unix_proto_dup(struct socket *newsock, struct socket *oldsock) |
newsock | 317 | net/unix/sock.c | return(unix_proto_create(newsock, upd->protocol)); |
newsock | 499 | net/unix/sock.c | unix_proto_accept(struct socket *sock, struct socket *newsock, int flags) |
newsock | 504 | net/unix/sock.c | sock, newsock); |
newsock | 525 | net/unix/sock.c | newsock->conn = clientsock; |
newsock | 526 | net/unix/sock.c | clientsock->conn = newsock; |
newsock | 528 | net/unix/sock.c | newsock->state = SS_CONNECTED; |
newsock | 530 | net/unix/sock.c | UN_DATA(newsock)->peerupd = UN_DATA(clientsock); |
newsock | 531 | net/unix/sock.c | UN_DATA(newsock)->sockaddr_un = UN_DATA(sock)->sockaddr_un; |
newsock | 532 | net/unix/sock.c | UN_DATA(newsock)->sockaddr_len = UN_DATA(sock)->sockaddr_len; |