Searched refs:sock2 (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/net/ipx/
H A Daf_ipx.c451 struct sock *sock1 = NULL, *sock2 = NULL; ipxitf_demux_socket() local
477 sock2 = ipxitf_find_socket(ipx_primary_net, ipxitf_demux_socket()
485 if (!sock1 && !sock2) { ipxitf_demux_socket()
495 * demuxed to sock1 and/or sock2. If we are unable to make enough ipxitf_demux_socket()
509 if (sock1 && sock2) ipxitf_demux_socket()
520 if (sock2) ipxitf_demux_socket()
521 ipxitf_def_skb_handler(sock2, skb2); ipxitf_demux_socket()
527 if (sock2) ipxitf_demux_socket()
528 sock_put(sock2); ipxitf_demux_socket()
/linux-4.1.27/include/linux/
H A Dnet.h138 struct socket *sock2);
/linux-4.1.27/net/
H A Dsocket.c1266 struct socket *sock1, *sock2; SYSCALL_DEFINE4() local
1288 err = sock_create(family, type, protocol, &sock2); SYSCALL_DEFINE4()
1292 err = sock1->ops->socketpair(sock1, sock2); SYSCALL_DEFINE4()
1314 newfile2 = sock_alloc_file(sock2, flags, NULL); SYSCALL_DEFINE4()
1349 sock_release(sock2); SYSCALL_DEFINE4()
1357 sock_release(sock2); SYSCALL_DEFINE4()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_receiver.c845 struct socket **sock2) connection_established()
851 if (!*sock1 || !*sock2) connection_established()
861 ok = drbd_socket_okay(sock2) && ok; connection_established()
843 connection_established(struct drbd_connection *connection, struct socket **sock1, struct socket **sock2) connection_established() argument
/linux-4.1.27/net/core/
H A Dsock.c2116 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) sock_no_socketpair() argument

Completed in 306 milliseconds