Searched refs:reuseport (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/net/ |
A D | reuseaddr_ports_exhausted.c | 29 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 D | migrate_reuseport.c | 219 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 D | network_helpers.c | 70 socklen_t addrlen, int timeout_ms, bool reuseport) in __start_server() argument 84 if (reuseport && in __start_server()
|
/linux/net/sunrpc/ |
A D | clnt.c | 593 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 D | xprtsock.c | 1628 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 D | inet_connection_sock.c | 140 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 D | bpftool-net.rst | 44 For sk_{filter, skb, msg, reuseport} and lwt/seg6
|
/linux/include/linux/sunrpc/ |
A D | xprt.h | 213 reuseport : 1; /* reuse port on reconnect */ member
|
/linux/tools/testing/selftests/netfilter/ |
A D | nft_nat.sh | 768 echo CLIENT | ip netns exec "$ns2" timeout 5 socat -u STDIN UDP4-LISTEN:1405,reuseport &
|
Completed in 23 milliseconds