tag | line | file | source code |
sock1 | 49 | net/kern_sock.h | int (*socketpair)(struct socket *sock1, struct socket *sock2); |
sock1 | 475 | net/socket.c | struct socket *sock1, *sock2; |
sock1 | 486 | net/socket.c | sock1 = sockfd_lookup(fd1, NULL); |
sock1 | 487 | net/socket.c | if (!sock1->ops->socketpair) { |
sock1 | 500 | net/socket.c | if ((i = sock1->ops->socketpair(sock1, sock2)) < 0) { |
sock1 | 505 | net/socket.c | sock1->conn = sock2; |
sock1 | 506 | net/socket.c | sock2->conn = sock1; |
sock1 | 507 | net/socket.c | sock1->state = SS_CONNECTED; |
sock1 | 50 | net/unix.c | static int unix_proto_socketpair(struct socket *sock1, struct socket *sock2); |
sock1 | 325 | net/unix.c | unix_proto_socketpair(struct socket *sock1, struct socket *sock2) |
sock1 | 327 | net/unix.c | struct unix_proto_data *upd1 = UN_DATA(sock1), *upd2 = UN_DATA(sock2); |