Home
last modified time | relevance | path

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

1234

/external/ltp/include/lapi/
Dsocket.h33 #ifndef SO_REUSEPORT
34 # define SO_REUSEPORT 15 macro
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc164 #ifndef SO_REUSEPORT in grpc_set_socket_reuse_port()
171 if (0 != setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) { in grpc_set_socket_reuse_port()
174 if (0 != getsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &newval, &intlen)) { in grpc_set_socket_reuse_port()
Dtcp_uv.cc195 #if defined(GPR_LINUX) && defined(SO_REUSEPORT) in uv_socket_init_helper()
201 setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &enable, sizeof(enable)); in uv_socket_init_helper()
/external/linux-kselftest/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()
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_bpf_cpu.c65 if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_group()
Dreuseport_addr_any.c76 if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, in build_rcv_fd()
Dudpgso_bench_rx.c135 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()
/external/strace/xlat/
Dsock_options.h243 #if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT)
245 static_assert((SO_REUSEPORT) == (512), "SO_REUSEPORT != 512");
248 # define SO_REUSEPORT 512
251 #if defined(SO_REUSEPORT) || (defined(HAVE_DECL_SO_REUSEPORT) && HAVE_DECL_SO_REUSEPORT)
253 static_assert((SO_REUSEPORT) == (15), "SO_REUSEPORT != 15");
256 # define SO_REUSEPORT 15
1518 XLAT(SO_REUSEPORT),
1520 XLAT(SO_REUSEPORT),
Dsock_options.in86 SO_REUSEPORT 512
88 SO_REUSEPORT 15
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc190 #ifndef SO_REUSEPORT in grpc_set_socket_reuse_port()
197 if (0 != setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) { in grpc_set_socket_reuse_port()
200 if (0 != getsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &newval, &intlen)) { in grpc_set_socket_reuse_port()
Dtcp_uv.cc194 #if defined(GPR_LINUX) && defined(SO_REUSEPORT) in uv_socket_init_helper()
200 setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &enable, sizeof(enable)); in uv_socket_init_helper()
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h27 #define SO_REUSEPORT 15 macro
/external/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
Dmod.rs14 pub const SO_REUSEPORT: ::c_int = 0x0200; constant
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_reconnect_test.py37 return socket.SO_REUSEPORT
/external/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
Dmod.rs12 pub const SO_REUSEPORT: ::c_int = 0x0200; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/
Dmod.rs20 pub const SO_REUSEPORT: ::c_int = 15; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/generic/
Dmod.rs22 pub const SO_REUSEPORT: ::c_int = 15; constant
/external/python/cpython3/Lib/test/support/
Dsocket_helper.py99 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1:
/external/rust/crates/mio/src/sys/unix/
Dtcp.rs97 libc::SO_REUSEPORT, in set_reuseport()
112 libc::SO_REUSEPORT, in get_reuseport()
/external/python/cpython2/Misc/NEWS.d/
D2.6a3.rst276 address reuse (i.e. SO_REUSEADDR, SO_REUSEPORT). The new implementation of
278 AF_INET/SOCK_STREAM socket with either the SO_REUSEADDR or SO_REUSEPORT
/external/libcups/cups/
Dhttp-addrlist.c154 #ifdef SO_REUSEPORT in httpAddrConnect2()
156 setsockopt(fds[nfds], SOL_SOCKET, SO_REUSEPORT, CUPS_SOCAST &val, sizeof(val)); in httpAddrConnect2()
/external/python/cpython2/Lib/plat-beos5/
DIN.py314 SO_REUSEPORT = 4 variable

1234