Home
last modified time | relevance | path

Searched refs:SO_REUSEPORT (Results 1 – 20 of 20) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dbind4_prog.c64 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()
Dbind6_prog.c70 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/
Dsocket.h27 #define SO_REUSEPORT 15 macro
/tools/testing/selftests/net/
Dreuseport_bpf.c165 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()
Dreuseaddr_ports_exhausted.c66 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &reuseport, sizeof(int)); in bind_port()
Dfin_ack_lat.c125 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, in main()
Dreuseport_dualstack.c61 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
Dreuseport_bpf_numa.c61 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
Dreuseport_addr_any.c80 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
Dreuseport_bpf_cpu.c65 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
Dudpgso_bench_rx.c138 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) in do_socket()
Dtcp_fastopen_backup_key.c129 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
Dmsg_zerocopy.c589 do_setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, 1); in do_setup_rx()
Dnettest.c535 if (setsockopt(sd, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)) != 0) { in set_reuseport()
/tools/testing/selftests/bpf/
Dnetwork_helpers.c85 setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &on, sizeof(on))) { in __start_server()
Dtest_maps.c1631 err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT, in prepare_reuseport_grp()
/tools/testing/selftests/bpf/prog_tests/
Dmigrate_reuseport.c234 SO_REUSEPORT, &reuseport, sizeof(reuseport)); in start_servers()
Dselect_reuseport.c625 err = setsockopt(sk_fds[i], SOL_SOCKET, SO_REUSEPORT, in prepare_sk_fds()
Dsk_lookup.c186 err = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &one, in make_server()
Dsockmap_listen.c276 err = xsetsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in enable_reuseport()