/tools/testing/selftests/net/ |
D | sk_bind_sendto_listen.c | 27 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { in main() 49 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { in main()
|
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()
|
D | sk_connect_zero_addr.c | 27 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) { in main()
|
D | reuseaddr_conflict.c | 62 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, in open_port()
|
D | reuseaddr_ports_exhausted.c | 63 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, sizeof(int)); in bind_port()
|
D | fin_ack_lat.c | 125 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, in main()
|
D | tcp_inq.c | 128 if (setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, in main()
|
D | rxtimestamp.c | 258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags()
|
D | tcp_mmap.c | 526 setsockopt(fdlisten, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); in main()
|
D | reuseport_bpf.c | 197 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) in send_from()
|
D | nettest.c | 578 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) != 0) { in set_reuseaddr() 1355 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, in msock_init()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_getset_retval.c | 38 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_set() 78 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_set_and_get() 117 if (!ASSERT_OK(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_default_zero() 158 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_default_zero_and_set() 207 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_override() 253 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_legacy_eperm() 304 if (!ASSERT_ERR(setsockopt(sock_fd, SOL_SOCKET, SO_REUSEADDR, in test_setsockopt_legacy_no_override()
|
D | sk_lookup.c | 176 err = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, in make_server()
|
/tools/include/uapi/asm-generic/ |
D | socket.h | 12 #define SO_REUSEADDR 2 macro
|
/tools/testing/selftests/netfilter/ |
D | connect_close.c | 58 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); in do_accept()
|
/tools/testing/selftests/bpf/progs/ |
D | bpf_tracing_net.h | 9 #define SO_REUSEADDR 2 macro
|
D | setget_sockopt.c | 41 { .opt = SO_REUSEADDR, .flip = 1, },
|
/tools/testing/vsock/ |
D | control.c | 68 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, in control_init()
|
/tools/usb/usbip/src/ |
D | usbip_network.c | 215 ret = setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)); in usbip_net_set_reuseaddr()
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 112 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
|
D | mptcp_sockopt.c | 199 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
|
D | mptcp_connect.c | 313 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
|
/tools/testing/selftests/bpf/ |
D | test_maps.c | 679 err = setsockopt(sfd[i], SOL_SOCKET, SO_REUSEADDR, in test_sockmap() 711 err = setsockopt(sfd[i], SOL_SOCKET, SO_REUSEADDR, in test_sockmap()
|
D | test_sockmap.c | 318 err = setsockopt(*fds[i], SOL_SOCKET, SO_REUSEADDR, in sockmap_init_sockets()
|
/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 946 if (setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0) in tcp_server()
|