taglinefilesource code
sock198include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock1981net/inet/af_inet.cstatic int inet_socketpair(struct socket *sock1, struct socket *sock2)
sock1340net/inet/ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock1344net/inet/ipx.csock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock1373net/inet/ipx.cif ((sock1 == NULL) && (sock2 == NULL)) {
sock1400net/inet/ipx.cif (sock1 && sock2) {
sock1410net/inet/ipx.cif (sock1) {
sock1411net/inet/ipx.c(void) ipxitf_def_skb_handler(sock1, skb1);
sock11513net/inet/ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock1664net/socket.cstruct socket *sock1, *sock2;
sock1674net/socket.csock1 = sockfd_lookup(fd1, NULL);
sock1675net/socket.cif (!sock1->ops->socketpair) 
sock1692net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock1699net/socket.csock1->conn = sock2;
sock1700net/socket.csock2->conn = sock1;
sock1701net/socket.csock1->state = SS_CONNECTED;
sock167net/unix/sock.cstatic int unix_proto_socketpair(struct socket *sock1, struct socket *sock2);
sock1519net/unix/sock.cstatic int unix_proto_socketpair(struct socket *sock1, struct socket *sock2)
sock1521net/unix/sock.cstruct unix_proto_data *upd1 = UN_DATA(sock1), *upd2 = UN_DATA(sock2);