/tools/testing/selftests/bpf/progs/ |
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()
|
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()
|
/tools/include/uapi/asm-generic/ |
D | socket.h | 27 #define SO_REUSEPORT 15 macro
|
/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 165 if (setsockopt(fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_recv_group() 322 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 324 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 401 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() 403 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind()
|
D | reuseaddr_ports_exhausted.c | 66 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(int)); in bind_port()
|
D | fin_ack_lat.c | 125 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, in main()
|
D | reuseport_dualstack.c | 61 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
D | reuseport_bpf_numa.c | 61 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
|
D | reuseport_addr_any.c | 80 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
D | reuseport_bpf_cpu.c | 65 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
|
D | udpgso_bench_rx.c | 138 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) in do_socket()
|
D | tcp_fastopen_backup_key.c | 129 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
|
D | msg_zerocopy.c | 589 do_setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, 1); in do_setup_rx()
|
D | nettest.c | 535 if (setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)) != 0) { in set_reuseport()
|
/tools/testing/selftests/bpf/ |
D | network_helpers.c | 85 setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) { in __start_server()
|
D | test_maps.c | 1631 err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT, in prepare_reuseport_grp()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | migrate_reuseport.c | 234 SO_REUSEPORT, &reuseport, sizeof(reuseport)); in start_servers()
|
D | select_reuseport.c | 625 err = setsockopt(sk_fds[i], SOL_SOCKET, SO_REUSEPORT, in prepare_sk_fds()
|
D | sk_lookup.c | 186 err = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &one, in make_server()
|
D | sockmap_listen.c | 276 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in enable_reuseport()
|