Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
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()
/tools/testing/selftests/bpf/prog_tests/
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()
/tools/testing/selftests/bpf/
Dnetwork_helpers.c70 socklen_t addrlen, int timeout_ms, bool reuseport) in __start_server() argument
84 if (reuseport && in __start_server()
/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst44 For sk_{filter, skb, msg, reuseport} and lwt/seg6