summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-07-12 20:43:12 +0000
committergVisor bot <gvisor-bot@google.com>2019-07-12 20:43:12 +0000
commit9d44403d6a3b4b00689a910ab9f93f2fc1d4cdba (patch)
tree03447fbb0a3c41abebac7b030c777fec6e10c858 /pkg/tcpip/tcpip.go
parent702bdfcc32014c20a95a5d6a82c452f20865be7f (diff)
parent6116473b2ffdea90a4a97196e265c6d93e53ce00 (diff)
Merge 6116473b (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index c61f96fb0..c4076666a 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -496,6 +496,10 @@ type AvailableCongestionControlOption string
// buffer moderation.
type ModerateReceiveBufferOption bool
+// MaxSegOption is used by SetSockOpt/GetSockOpt to set/get the current
+// Maximum Segment Size(MSS) value as specified using the TCP_MAXSEG option.
+type MaxSegOption int
+
// MulticastTTLOption is used by SetSockOpt/GetSockOpt to control the default
// TTL value for multicast messages. The default is 1.
type MulticastTTLOption uint8