taglinefilesource code
sock2101include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock21334net/appletalk/ddp.cstatic int atalk_socketpair(struct socket *sock1, struct socket *sock2)
sock21491net/ax25/af_ax25.cstatic int ax25_socketpair(struct socket *sock1, struct socket *sock2)
sock21001net/ipv4/af_inet.cstatic int inet_socketpair(struct socket *sock1, struct socket *sock2)
sock2451net/ipx/af_ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock2477net/ipx/af_ipx.csock2 = ipxitf_find_socket(ipx_primary_net, 
sock2490net/ipx/af_ipx.cif (sock1 == NULL && sock2 == NULL) 
sock2523net/ipx/af_ipx.cif (sock1 && sock2) 
sock2538net/ipx/af_ipx.cif (sock2)
sock2539net/ipx/af_ipx.c(void) ipxitf_def_skb_handler(sock2, skb2);
sock21904net/ipx/af_ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock2866net/netrom/af_netrom.cstatic int nr_socketpair(struct socket *sock1, struct socket *sock2)
sock2611net/socket.cstruct socket *sock1, *sock2;
sock2638net/socket.csock2 = sockfd_lookup(fd2, NULL);
sock2639net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock2646net/socket.csock1->conn = sock2;
sock2647net/socket.csock2->conn = sock1;
sock2649net/socket.csock2->state = SS_CONNECTED;