taglinefilesource code
sock2100include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock21299net/appletalk/ddp.cstatic int atalk_socketpair(struct socket *sock1, struct socket *sock2)
sock21272net/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)
sock2350net/ipx/af_ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock2373net/ipx/af_ipx.csock2 = ipxitf_find_socket(ipx_primary_net, 
sock2382net/ipx/af_ipx.cif ((sock1 == NULL) && (sock2 == NULL)) {
sock2418net/ipx/af_ipx.cif (sock1 && sock2) {
sock2433net/ipx/af_ipx.cif (sock2) {
sock2434net/ipx/af_ipx.c(void) ipxitf_def_skb_handler(sock2, skb2);
sock21604net/ipx/af_ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock2831net/netrom/af_netrom.cstatic int nr_socketpair(struct socket *sock1, struct socket *sock2)
sock2578net/socket.cstruct socket *sock1, *sock2;
sock2605net/socket.csock2 = sockfd_lookup(fd2, NULL);
sock2606net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock2613net/socket.csock1->conn = sock2;
sock2614net/socket.csock2->conn = sock1;
sock2616net/socket.csock2->state = SS_CONNECTED;