taglinefilesource code
sock1100include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock11299net/appletalk/ddp.cstatic int atalk_socketpair(struct socket *sock1, struct socket *sock2)
sock11272net/ax25/af_ax25.cstatic int ax25_socketpair(struct socket *sock1, struct socket *sock2)
sock11001net/ipv4/af_inet.cstatic int inet_socketpair(struct socket *sock1, struct socket *sock2)
sock1350net/ipx/af_ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock1353net/ipx/af_ipx.csock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock1382net/ipx/af_ipx.cif ((sock1 == NULL) && (sock2 == NULL)) {
sock1418net/ipx/af_ipx.cif (sock1 && sock2) {
sock1427net/ipx/af_ipx.cif (sock1) {
sock1428net/ipx/af_ipx.c(void) ipxitf_def_skb_handler(sock1, skb1);
sock11604net/ipx/af_ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock1831net/netrom/af_netrom.cstatic int nr_socketpair(struct socket *sock1, struct socket *sock2)
sock1578net/socket.cstruct socket *sock1, *sock2;
sock1588net/socket.csock1 = sockfd_lookup(fd1, NULL);
sock1589net/socket.cif (!sock1->ops->socketpair) 
sock1606net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock1613net/socket.csock1->conn = sock2;
sock1614net/socket.csock2->conn = sock1;
sock1615net/socket.csock1->state = SS_CONNECTED;