summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-23 17:51:50 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-23 17:51:50 +0000
commitce44e4f40f7c2c2642da14cd9cbf9bee3fc0b6b2 (patch)
tree8a9c2124c6b86cdd8192b17b5a5dac180d879ed9 /pkg/tcpip/tcpip.go
parentaddf7ba2386b07677892262caede551b90bedcb2 (diff)
parent39e9b3bb8a25cdfdbc2203e33c6881a7c2c88766 (diff)
Merge release-20201019.0-37-g39e9b3bb8 (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 d77848d61..a7d54d3b9 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -763,6 +763,10 @@ const (
// endpoint that all packets being written have an IP header and the
// endpoint should not attach an IP header.
IPHdrIncludedOption
+
+ // AcceptConnOption is used by GetSockOptBool to indicate if the
+ // socket is a listening socket.
+ AcceptConnOption
)
// SockOptInt represents socket options which values have the int type.