Home
last modified time | relevance | path

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

123

/third_party/ltp/include/lapi/
Dsocket.h21 #ifndef SO_REUSEPORT
22 # define SO_REUSEPORT 15 macro
/third_party/grpc/examples/python/compression/test/
Dcompression_example_test.py31 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
32 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 0:
/third_party/grpc/examples/python/cancellation/test/
D_cancellation_example_test.py32 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
33 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 0:
/third_party/grpc/examples/python/multiprocessing/
Dserver.py83 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
84 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 0:
DREADME.md24 [`SO_REUSEPORT`](https://lwn.net/Articles/542629/) socket option.
/third_party/musl/arch/powerpc/bits/
Dsocket.h15 #define SO_REUSEPORT 15 macro
/third_party/musl/arch/powerpc64/bits/
Dsocket.h15 #define SO_REUSEPORT 15 macro
/third_party/musl/arch/mips/bits/
Dsocket.h14 #define SO_REUSEPORT 0x0200 macro
/third_party/musl/arch/mipsn32/bits/
Dsocket.h14 #define SO_REUSEPORT 0x0200 macro
/third_party/musl/arch/mips64/bits/
Dsocket.h12 #define SO_REUSEPORT 0x0200 macro
/third_party/grpc/src/core/lib/iomgr/
Dsocket_utils_common_posix.cc191 #ifndef SO_REUSEPORT in grpc_set_socket_reuse_port()
198 if (0 != setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val))) { in grpc_set_socket_reuse_port()
201 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()
/third_party/grpc/src/python/grpcio_tests/tests/unit/framework/common/
D__init__.py21 socket.SO_REUSEPORT) if os.name != 'nt' else (
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/iomgr/
Diomgr.pyx.pxi130 # SO_REUSEPORT only available in POSIX systems.
133 s.setsockopt(native_socket.SOL_SOCKET, native_socket.SO_REUSEPORT, 1)
/third_party/python/Lib/test/support/
Dsocket_helper.py99 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1:
/third_party/libuv/src/unix/
Dudp.c486 #if defined(SO_REUSEPORT) && defined(__MVS__) in uv__set_reuse()
495 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__set_reuse()
498 #elif defined(SO_REUSEPORT) && !defined(__linux__) && !defined(__GNU__) in uv__set_reuse()
499 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__set_reuse()
/third_party/grpc/doc/core/
Dgrpc-client-server-polling-engine-usage.md28 …ded to each of the server completion queues. Note that in gRPC we use SO_REUSEPORT option and crea…
/third_party/musl/ndk_musl_include/sys/
Dsocket.h218 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dsocket.h203 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/linux/user/include/sys/
Dsocket.h218 #define SO_REUSEPORT 15 macro
/third_party/musl/include/sys/
Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsocket.h214 #define SO_REUSEPORT 15 macro

123