summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-29 11:51:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-29 11:52:22 -0700
commit0baba92ad9fc3c92347cada47364514a85603462 (patch)
tree4d312b48ac7e108a4e0d3f1dc43bef24862fd701 /pkg/abi
parent9ada8c972e43e0c3e144b432fe57d95f823a1847 (diff)
Internal change.
PiperOrigin-RevId: 313821986
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/ip.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/abi/linux/ip.go b/pkg/abi/linux/ip.go
index 31e56ffa6..ef6d1093e 100644
--- a/pkg/abi/linux/ip.go
+++ b/pkg/abi/linux/ip.go
@@ -92,6 +92,16 @@ const (
IP_UNICAST_IF = 50
)
+// IP_MTU_DISCOVER values from uapi/linux/in.h
+const (
+ IP_PMTUDISC_DONT = 0
+ IP_PMTUDISC_WANT = 1
+ IP_PMTUDISC_DO = 2
+ IP_PMTUDISC_PROBE = 3
+ IP_PMTUDISC_INTERFACE = 4
+ IP_PMTUDISC_OMIT = 5
+)
+
// Socket options from uapi/linux/in6.h
const (
IPV6_ADDRFORM = 1