Home
last modified time | relevance | path

Searched refs:SO_REUSEPORT (Results 1 - 25 of 63) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbind6_prog.c68 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 Dbind4_prog.c62 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 Dbpf_tracing_net.h14 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dbind_bhash.c78 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 Dreuseport_bpf.c2 * 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 Dstress_reuseport_listen.c7 * 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 Dreuseport_bpf.c2 * 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 Dreuseaddr_ports_exhausted.c11 * 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 Dsocket.h26 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
H A Dsocket.h33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */ macro
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
H A Dsocket.h24 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/
H A Dsocket.h33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */ macro
/kernel/linux/linux-6.6/arch/alpha/include/uapi/asm/
H A Dsocket.h24 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dsocket.h27 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dsocket.h27 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dsocket.h27 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dsocket.h27 #define SO_REUSEPORT 15 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dsocket.h40 #define SO_REUSEPORT 15 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/
H A Dsocket.h31 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
H A Dsocket.h31 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dsocket.h40 #define SO_REUSEPORT 15 macro
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dsocket.h18 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
H A Dsocket.h20 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dsocket.h18 #define SO_REUSEPORT 0x0200 macro
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/
H A Dsocket.h20 #define SO_REUSEPORT 0x0200 macro

Completed in 10 milliseconds

123