summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-16 23:53:29 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-16 23:53:29 +0000
commit5b7909e2b8dc8be4da07f3f1f16ca65ce3ed1eae (patch)
tree3e618d3c0713a4706f79bdf0b37e189736727649 /pkg/tcpip/tcpip.go
parent66b80f2befc2b40c2848283fc67ea282ccd06546 (diff)
parent0eda0104a5a7c95a36dd288199ec1e90be9d8be9 (diff)
Merge release-20200323.0-168-g0eda010 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index 109121dbc..1ca4088c9 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -685,6 +685,11 @@ type TCPDeferAcceptOption time.Duration
// default MinRTO used by the Stack.
type TCPMinRTOOption time.Duration
+// TCPSynRcvdCountThresholdOption is used by SetSockOpt/GetSockOpt to specify
+// the number of endpoints that can be in SYN-RCVD state before the stack
+// switches to using SYN cookies.
+type TCPSynRcvdCountThresholdOption uint64
+
// MulticastInterfaceOption is used by SetSockOpt/GetSockOpt to specify a
// default interface for multicast.
type MulticastInterfaceOption struct {