Searched refs:reuseport (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/net/ |
| 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-v5.10/net/sunrpc/ |
| D | clnt.c | 589 xprt->reuseport = 0; in rpc_create() 591 xprt->reuseport = 1; in rpc_create() 2865 unsigned char resvport, reuseport; in rpc_clnt_add_xprt() local 2877 reuseport = xprt->reuseport; in rpc_clnt_add_xprt() 2888 xprt->reuseport = reuseport; in rpc_clnt_add_xprt()
|
| D | xprtsock.c | 1628 if (transport->srcport == 0 && transport->xprt.reuseport) in xs_set_srcport() 1771 int protocol, bool reuseport) in xs_create_sock() argument 1785 if (reuseport) in xs_create_sock()
|
| /Linux-v5.10/net/ipv4/ |
| D | inet_connection_sock.c | 139 bool reuseport = !!sk->sk_reuseport; in inet_csk_bind_conflict() local 158 reuseport && sk2->sk_reuseport && in inet_csk_bind_conflict() 165 !reuseport || !sk2->sk_reuseport || in inet_csk_bind_conflict()
|
| /Linux-v5.10/tools/bpf/bpftool/Documentation/ |
| D | bpftool-net.rst | 44 For sk_{filter, skb, msg, reuseport} and lwt/seg6
|
| /Linux-v5.10/include/linux/sunrpc/ |
| D | xprt.h | 210 reuseport : 1; /* reuse port on reconnect */ member
|