Home
last modified time | relevance | path

Searched refs:SO_REUSEPORT (Results 1 - 25 of 61) sorted by relevance

123

/third_party/ltp/include/lapi/
H A Dsocket.h21 #ifndef SO_REUSEPORT
22 # define SO_REUSEPORT 15 macro
/third_party/python/Modules/
H A Dsocketmodule.h202 // undef SO_REUSEADDR and SO_REUSEPORT so they cannot be used.
206 #ifdef SO_REUSEPORT
207 # undef SO_REUSEPORT macro
/third_party/musl/arch/powerpc/bits/
H A Dsocket.h15 #define SO_REUSEPORT 15 macro
/third_party/musl/arch/powerpc64/bits/
H A Dsocket.h15 #define SO_REUSEPORT 15 macro
/third_party/musl/arch/mips/bits/
H A Dsocket.h14 #define SO_REUSEPORT 0x0200 macro
/third_party/musl/arch/mips64/bits/
H A Dsocket.h12 #define SO_REUSEPORT 0x0200 macro
/third_party/musl/arch/mipsn32/bits/
H A Dsocket.h14 #define SO_REUSEPORT 0x0200 macro
/third_party/python/Lib/test/support/
H A Dsocket_helper.py85 or SO_REUSEPORT set on it. Tests should *never* set these socket options
100 if hasattr(socket, 'SO_REUSEPORT'):
102 if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1:
104 "SO_REUSEPORT socket option on "
108 # thus defining SO_REUSEPORT but this process is running
109 # under an older kernel that does not support SO_REUSEPORT.
/third_party/libuv/src/unix/
H A Dudp.c424 /* On the BSDs, SO_REUSEPORT implies SO_REUSEADDR but with some additional
427 * Linux as of 3.9 has a SO_REUSEPORT socket option but with semantics that
432 * zOS does not support getsockname with SO_REUSEPORT option when using
439 #if defined(SO_REUSEPORT) && defined(__MVS__) in uv__set_reuse()
448 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__set_reuse()
451 #elif defined(SO_REUSEPORT) && !defined(__linux__) && !defined(__GNU__) && \ in uv__set_reuse()
453 if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &yes, sizeof(yes))) in uv__set_reuse()
/third_party/node/deps/uv/src/unix/
H A Dudp.c471 /* On the BSDs, SO_REUSEPORT implies SO_REUSEADDR but with some additional
474 * Linux as of 3.9 has a SO_REUSEPORT socket option but with semantics that
479 * zOS does not support getsockname with SO_REUSEPORT option when using
486 #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/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dsocket.h203 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/linux/user/include/sys/
H A Dsocket.h218 #define SO_REUSEPORT 15 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsocket.h214 #define SO_REUSEPORT 15 macro
/third_party/musl/include/sys/
H A Dsocket.h218 #define SO_REUSEPORT 15 macro
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/generic/
H A Dmod.rs35 pub const SO_REUSEPORT: ::c_int = 15; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
H A Dmod.rs25 pub const SO_REUSEPORT: ::c_int = 0x0200; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
H A Dmod.rs27 pub const SO_REUSEPORT: ::c_int = 0x0200; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/
H A Dmod.rs20 pub const SO_REUSEPORT: ::c_int = 15; consts
/third_party/ltp/testcases/network/netstress/
H A Dnetstress.c318 SAFE_SETSOCKOPT_INT(sd, SOL_SOCKET, SO_REUSEPORT, 1); in bind_before_connect()
677 SAFE_SETSOCKOPT_INT(sfd, SOL_SOCKET, SO_REUSEPORT, 1); in server_init()
1011 {"P:", &reuse_port, "Enable SO_REUSEPORT"},
/third_party/python/Lib/test/test_asyncio/
H A Dtest_base_events.py1559 del m_socket.SO_REUSEPORT
1571 m_socket.SO_REUSEPORT = -1
1764 # SO_REUSEPORT is not available on all platforms.
1772 reuseport_supported = hasattr(socket, 'SO_REUSEPORT')
1777 socket.SOL_SOCKET, socket.SO_REUSEPORT))
1800 socket.SOL_SOCKET, socket.SO_REUSEPORT))
1811 del m_socket.SO_REUSEPORT
1830 reuseport_supported = hasattr(socket, 'SO_REUSEPORT')
/third_party/python/Lib/
H A Dsocketserver.py470 if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"):
471 self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
/third_party/lwip/src/include/lwip/
H A Dsockets.h210 #define SO_REUSEPORT 0x0200 /* Unimplemented: allow local address & port reuse */ macro

Completed in 32 milliseconds

123