/third_party/ltp/include/lapi/ |
H A D | socket.h | 21 #ifndef SO_REUSEPORT 22 # define SO_REUSEPORT 15 macro
|
/third_party/python/Modules/ |
H A D | socketmodule.h | 202 // 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 D | socket.h | 15 #define SO_REUSEPORT 15 macro
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | socket.h | 15 #define SO_REUSEPORT 15 macro
|
/third_party/musl/arch/mips/bits/ |
H A D | socket.h | 14 #define SO_REUSEPORT 0x0200 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | socket.h | 12 #define SO_REUSEPORT 0x0200 macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | socket.h | 14 #define SO_REUSEPORT 0x0200 macro
|
/third_party/python/Lib/test/support/ |
H A D | socket_helper.py | 85 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 D | udp.c | 424 /* 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 D | udp.c | 471 /* 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 D | socket.h | 214 #define SO_REUSEPORT 15 macro
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | socket.h | 203 #define SO_REUSEPORT 15 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | socket.h | 214 #define SO_REUSEPORT 15 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | socket.h | 214 #define SO_REUSEPORT 15 macro
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | socket.h | 218 #define SO_REUSEPORT 15 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | socket.h | 214 #define SO_REUSEPORT 15 macro
|
/third_party/musl/include/sys/ |
H A D | socket.h | 218 #define SO_REUSEPORT 15 macro
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/generic/ |
H A D | mod.rs | 35 pub const SO_REUSEPORT: ::c_int = 15; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/mips/ |
H A D | mod.rs | 25 pub const SO_REUSEPORT: ::c_int = 0x0200; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/ |
H A D | mod.rs | 27 pub const SO_REUSEPORT: ::c_int = 0x0200; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/ |
H A D | mod.rs | 20 pub const SO_REUSEPORT: ::c_int = 15; consts
|
/third_party/ltp/testcases/network/netstress/ |
H A D | netstress.c | 318 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 D | test_base_events.py | 1559 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 D | socketserver.py | 470 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 D | sockets.h | 210 #define SO_REUSEPORT 0x0200 /* Unimplemented: allow local address & port reuse */ macro
|