Searched refs:reuseport (Results 1 – 4 of 4) sorted by relevance
/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()
|
/tools/testing/selftests/bpf/prog_tests/ |
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()
|
/tools/testing/selftests/bpf/ |
D | network_helpers.c | 70 socklen_t addrlen, int timeout_ms, bool reuseport) in __start_server() argument 84 if (reuseport && in __start_server()
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-net.rst | 44 For sk_{filter, skb, msg, reuseport} and lwt/seg6
|