- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for hasSOLMPTCP (0.19 sec)
-
src/net/mptcpsock_linux.go
package net import ( "context" "errors" "internal/poll" "internal/syscall/unix" "sync" "syscall" ) var ( mptcpOnce sync.Once mptcpAvailable bool hasSOLMPTCP bool ) // These constants aren't in the syscall package, which is frozen const ( _IPPROTO_MPTCP = 0x106 _SOL_MPTCP = 0x11c _MPTCP_INFO = 0x1 ) func supportsMultipathTCP() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 18:48:34 UTC 2023 - 4K bytes - Viewed (0) -
src/net/mptcpsock_linux_test.go
ch <- err return } if !mptcp { ch <- errors.New("incoming connection is not with MPTCP") return } // Also check the method for the older kernels if not tested before if hasSOLMPTCP && !isUsingMPTCPProto(tcp.fd) { ch <- errors.New("incoming connection is not an MPTCP proto") return } } func dialerMPTCP(t *testing.T, addr string, envVar bool) { d := &Dialer{} if envVar {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 00:36:57 UTC 2023 - 4.1K bytes - Viewed (0)