Home
last modified time | relevance | path

Searched refs:reuseport (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/net/
A Dreuseaddr_ports_exhausted.c29 int reuseport[2]; member
54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() argument
66 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(int)); in bind_port()
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
114 if (opts->reuseport[0] && opts->reuseport[1]) { in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dmigrate_reuseport.c219 int i, err, prog_fd, reuseport = 1, qlen = QLEN; in start_servers() local
234 SO_REUSEPORT, &reuseport, sizeof(reuseport)); in start_servers()
/linux/tools/testing/selftests/bpf/
A Dnetwork_helpers.c70 socklen_t addrlen, int timeout_ms, bool reuseport) in __start_server() argument
84 if (reuseport && in __start_server()
/linux/net/sunrpc/
A Dclnt.c593 xprt->reuseport = 0; in rpc_create()
595 xprt->reuseport = 1; in rpc_create()
2902 unsigned char resvport, reuseport; in rpc_clnt_add_xprt() local
2914 reuseport = xprt->reuseport; in rpc_clnt_add_xprt()
2925 xprt->reuseport = reuseport; in rpc_clnt_add_xprt()
A Dxprtsock.c1628 if (transport->srcport == 0 && transport->xprt.reuseport) in xs_set_srcport()
1689 if (transport->xprt.reuseport) in xs_bind()
1779 int protocol, bool reuseport) in xs_create_sock() argument
1793 if (reuseport) in xs_create_sock()
2087 if (!xprt->reuseport) { in xs_tcp_shutdown()
/linux/net/ipv4/
A Dinet_connection_sock.c140 bool reuseport = !!sk->sk_reuseport; in inet_csk_bind_conflict() local
166 reuseport && sk2->sk_reuseport && in inet_csk_bind_conflict()
173 !reuseport || !sk2->sk_reuseport || in inet_csk_bind_conflict()
/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-net.rst44 For sk_{filter, skb, msg, reuseport} and lwt/seg6
/linux/include/linux/sunrpc/
A Dxprt.h213 reuseport : 1; /* reuse port on reconnect */ member
/linux/tools/testing/selftests/netfilter/
A Dnft_nat.sh768 echo CLIENT | ip netns exec "$ns2" timeout 5 socat -u STDIN UDP4-LISTEN:1405,reuseport &

Completed in 23 milliseconds