taglinefilesource code
sock298include/linux/net.hint  (*socketpair)  (struct socket *sock1, struct socket *sock2);
sock2981net/inet/af_inet.cstatic int inet_socketpair(struct socket *sock1, struct socket *sock2)
sock2340net/inet/ipx.cipx_socket  *sock1 = NULL, *sock2 = NULL;
sock2364net/inet/ipx.csock2 = ipxitf_find_socket(ipx_primary_net, 
sock2373net/inet/ipx.cif ((sock1 == NULL) && (sock2 == NULL)) {
sock2400net/inet/ipx.cif (sock1 && sock2) {
sock2416net/inet/ipx.cif (sock2) {
sock2417net/inet/ipx.c(void) ipxitf_def_skb_handler(sock2, skb2);
sock21513net/inet/ipx.cstatic int ipx_socketpair(struct socket *sock1, struct socket *sock2)
sock2664net/socket.cstruct socket *sock1, *sock2;
sock2691net/socket.csock2 = sockfd_lookup(fd2, NULL);
sock2692net/socket.cif ((i = sock1->ops->socketpair(sock1, sock2)) < 0) 
sock2699net/socket.csock1->conn = sock2;
sock2700net/socket.csock2->conn = sock1;
sock2702net/socket.csock2->state = SS_CONNECTED;
sock267net/unix/sock.cstatic int unix_proto_socketpair(struct socket *sock1, struct socket *sock2);
sock2519net/unix/sock.cstatic int unix_proto_socketpair(struct socket *sock1, struct socket *sock2)
sock2521net/unix/sock.cstruct unix_proto_data *upd1 = UN_DATA(sock1), *upd2 = UN_DATA(sock2);