taglinefilesource code
sock198include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock11334net/appletalk/ddp.cstatic int atalk_socketpair(struct socket *sock1, struct socket *sock2)
sock11490net/ax25/af_ax25.cstatic int ax25_socketpair(struct socket *sock1, struct socket *sock2)
sock11004net/ipv4/af_inet.cstatic int inet_socketpair(struct socket *sock1, struct socket *sock2)
sock1467net/ipx/af_ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock1470net/ipx/af_ipx.csock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock1506net/ipx/af_ipx.cif (sock1 == NULL && sock2 == NULL) 
sock1539net/ipx/af_ipx.cif (sock1 && sock2) 
sock1548net/ipx/af_ipx.cif (sock1)
sock1549net/ipx/af_ipx.c(void) ipxitf_def_skb_handler(sock1, skb1);
sock11930net/ipx/af_ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock1866net/netrom/af_netrom.cstatic int nr_socketpair(struct socket *sock1, struct socket *sock2)
sock1611net/socket.cstruct socket *sock1, *sock2;
sock1621net/socket.csock1 = sockfd_lookup(fd1, NULL);
sock1622net/socket.cif (!sock1->ops->socketpair) 
sock1639net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock1646net/socket.csock1->conn = sock2;
sock1647net/socket.csock2->conn = sock1;
sock1648net/socket.csock1->state = SS_CONNECTED;