/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bind6_prog.c | 68 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 71 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 75 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 78 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport()
|
H A D | bind4_prog.c | 62 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 65 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 69 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 72 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport()
|
H A D | bpf_tracing_net.h | 14 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | bind_bhash.c | 78 sock_fd = bind_socket(SO_REUSEADDR | SO_REUSEPORT, setup_addr); in setup() 106 listener_fd = bind_socket(SO_REUSEADDR | SO_REUSEPORT, setup_addr); in main()
|
H A D | reuseport_bpf.c | 2 * Test functionality of BPF filters for SO_REUSEPORT. The tests below will use 163 if (setsockopt(fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_recv_group() 165 error(1, errno, "failed to set SO_REUSEPORT on %d", i); in build_recv_group() 320 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 321 error(1, errno, "failed to set SO_REUSEPORT on socket 1"); in test_extra_filter() 322 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 323 error(1, errno, "failed to set SO_REUSEPORT on socket 2"); in test_extra_filter() 351 fprintf(stderr, "Testing filters on non-SO_REUSEPORT socket...\n"); in test_filter_no_reuseport() 399 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() 400 error(1, errno, "failed to set SO_REUSEPORT o in test_filter_without_bind() [all...] |
H A D | stress_reuseport_listen.c | 7 * SO_REUSEPORT. 50 err = setsockopt(*cur_fd, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport_sock6() 54 "setsockopt(lfds[%u,%u], SO_REUSEPORT)", in bind_reuseport_sock6()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 2 * Test functionality of BPF filters for SO_REUSEPORT. The tests below will use 165 if (setsockopt(fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_recv_group() 167 error(1, errno, "failed to set SO_REUSEPORT on %d", i); in build_recv_group() 322 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 323 error(1, errno, "failed to set SO_REUSEPORT on socket 1"); in test_extra_filter() 324 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 325 error(1, errno, "failed to set SO_REUSEPORT on socket 2"); in test_extra_filter() 353 fprintf(stderr, "Testing filters on non-SO_REUSEPORT socket...\n"); in test_filter_no_reuseport() 401 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() 402 error(1, errno, "failed to set SO_REUSEPORT o in test_filter_without_bind() [all...] |
H A D | reuseaddr_ports_exhausted.c | 11 * 4. if SO_REUSEADDR is enabled and SO_REUSEPORT is disabled, 13 * 5. if SO_REUSEADDR and SO_REUSEPORT are enabled and 66 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(int)); in bind_port() 67 ASSERT_EQ(0, ret) TH_LOG("failed to setsockopt: SO_REUSEPORT."); in bind_port()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | socket.h | 26 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
H A D | socket.h | 33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */ macro
|
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/ |
H A D | socket.h | 24 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | socket.h | 33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */ macro
|
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/ |
H A D | socket.h | 24 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
H A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | socket.h | 40 #define SO_REUSEPORT 15 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/ |
H A D | socket.h | 31 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
H A D | socket.h | 31 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | socket.h | 40 #define SO_REUSEPORT 15 macro
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
H A D | socket.h | 18 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
H A D | socket.h | 20 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | socket.h | 18 #define SO_REUSEPORT 0x0200 macro
|
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/ |
H A D | socket.h | 20 #define SO_REUSEPORT 0x0200 macro
|