taglinefilesource code
sock194include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock1640net/inet/ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock11124net/inet/sock.cinet_socketpair(struct socket *sock1, struct socket *sock2)
sock1496net/socket.cstruct socket *sock1, *sock2;
sock1508net/socket.csock1 = sockfd_lookup(fd1, NULL);
sock1509net/socket.cif (!sock1->ops->socketpair) {
sock1520net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) {
sock1525net/socket.csock1->conn = sock2;
sock1526net/socket.csock2->conn = sock1;
sock1527net/socket.csock1->state = SS_CONNECTED;
sock166net/unix/sock.cstatic int unix_proto_socketpair(struct socket *sock1, struct socket *sock2);
sock1511net/unix/sock.cunix_proto_socketpair(struct socket *sock1, struct socket *sock2)
sock1513net/unix/sock.cstruct unix_proto_data *upd1 = UN_DATA(sock1), *upd2 = UN_DATA(sock2);