Home
last modified time | relevance | path

Searched refs:SO_REUSEADDR (Results 1 – 25 of 29) sorted by relevance

12

/linux/arch/sparc/include/uapi/asm/
A Dsocket.h13 #define SO_REUSEADDR 0x0004 macro
/linux/tools/include/uapi/asm-generic/
A Dsocket.h12 #define SO_REUSEADDR 2 macro
/linux/arch/parisc/include/uapi/asm/
A Dsocket.h12 #define SO_REUSEADDR 0x0004 macro
/linux/arch/alpha/include/uapi/asm/
A Dsocket.h18 #define SO_REUSEADDR 0x0004 macro
/linux/tools/testing/selftests/net/
A Dreuseaddr_conflict.c62 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, in open_port()
A Dreuseaddr_ports_exhausted.c63 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, sizeof(int)); in bind_port()
A Dfin_ack_lat.c125 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR | SO_REUSEPORT, in main()
A Dtcp_inq.c128 if (setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, in main()
A Drxtimestamp.c258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags()
A Dtcp_mmap.c448 setsockopt(fdlisten, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); in main()
A Dreuseport_bpf.c199 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) in send_from()
A Dnettest.c548 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) != 0) { in set_reuseaddr()
1278 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, in msock_init()
/linux/arch/mips/include/uapi/asm/
A Dsocket.h24 #define SO_REUSEADDR 0x0004 /* Allow reuse of local addresses. */ macro
/linux/include/uapi/asm-generic/
A Dsocket.h12 #define SO_REUSEADDR 2 macro
/linux/samples/bpf/
A Dxdpsock_ctrl_proc.c129 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof(int)); in main()
/linux/tools/testing/vsock/
A Dcontrol.c68 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, in control_init()
/linux/arch/um/drivers/
A Dport_user.c121 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &arg, sizeof(arg)) < 0) { in port_listen_fd()
A Dumcast_user.c87 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0) { in umcast_open()
/linux/tools/usb/usbip/src/
A Dusbip_network.c215 ret = setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)); in usbip_net_set_reuseaddr()
/linux/net/mptcp/
A Dsockopt.c299 case SO_REUSEADDR: in mptcp_setsockopt_sol_socket()
313 else if (optname == SO_REUSEADDR) in mptcp_setsockopt_sol_socket()
/linux/tools/testing/selftests/net/mptcp/
A Dmptcp_sockopt.c157 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
A Dmptcp_connect.c211 if (-1 == setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, in sock_listen_mptcp()
/linux/tools/testing/selftests/cgroup/
A Dtest_memcontrol.c839 if (setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0) in tcp_server()
/linux/tools/testing/selftests/bpf/
A Dtest_maps.c687 err = setsockopt(sfd[i], SOL_SOCKET, SO_REUSEADDR, in test_sockmap()
719 err = setsockopt(sfd[i], SOL_SOCKET, SO_REUSEADDR, in test_sockmap()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsk_lookup.c177 err = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &one, in make_server()

Completed in 66 milliseconds

12