| /linux/tools/testing/selftests/bpf/progs/ |
| A D | bind4_prog.c | 64 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 67 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 71 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 74 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport()
|
| A D | bind6_prog.c | 70 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 73 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 77 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport() 80 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport()
|
| A D | bpf_tracing_net.h | 17 #define SO_REUSEPORT 15 macro
|
| A D | setget_sockopt.c | 43 { .opt = SO_REUSEPORT, .flip = 1, },
|
| /linux/tools/testing/selftests/net/ |
| 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()
|
| A D | reuseport_bpf.c | 163 if (setsockopt(fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_recv_group() 320 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 322 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 399 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() 401 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind()
|
| A D | stress_reuseport_listen.c | 50 err = setsockopt(*cur_fd, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport_sock6()
|
| A D | reuseaddr_ports_exhausted.c | 66 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(int)); in bind_port()
|
| A D | fin_ack_lat.c | 125 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, in main()
|
| A D | reuseport_dualstack.c | 61 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
| A D | so_incoming_cpu.c | 136 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &(int){1}, sizeof(int)); in create_server()
|
| A D | reuseport_addr_any.c | 80 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
| A D | reuseport_bpf_cpu.c | 65 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
|
| A D | reuseport_bpf_numa.c | 61 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
|
| A D | udpgso_bench_rx.c | 138 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) in do_socket()
|
| A D | tcp_fastopen_backup_key.c | 127 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
| A D | ncdevmem.c | 307 ret = setsockopt(socket_fd, SOL_SOCKET, SO_REUSEPORT, &opt, in do_server()
|
| /linux/tools/include/uapi/asm-generic/ |
| A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
| /linux/arch/sparc/include/uapi/asm/ |
| A D | socket.h | 20 #define SO_REUSEPORT 0x0200 macro
|
| /linux/include/uapi/asm-generic/ |
| A D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
| /linux/arch/alpha/include/uapi/asm/ |
| A D | socket.h | 24 #define SO_REUSEPORT 0x0200 macro
|
| /linux/arch/parisc/include/uapi/asm/ |
| A D | socket.h | 18 #define SO_REUSEPORT 0x0200 macro
|
| /linux/arch/mips/include/uapi/asm/ |
| A D | socket.h | 33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */ macro
|
| /linux/tools/testing/selftests/net/netfilter/ |
| A D | connect_close.c | 59 setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in do_accept()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_helpers.h | 341 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in enable_reuseport()
|