summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-25 10:43:58 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-25 10:43:58 -0700
commit3272400a4f21c22a02c95956e860efde45c42f7c (patch)
tree6eb4ecef37efc2cd138eb1ed1e7991830f77b701 /pkg/abi
parentf1dd6932e9fa0242bd996931ecb3897efcc9d05e (diff)
parent0636c1c929da3b58d3a34262fbc6567f86bfb594 (diff)
Merge pull request #6027 from liornm:fix-unused-flag
PiperOrigin-RevId: 375740504
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/ioctl_tun.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/abi/linux/ioctl_tun.go b/pkg/abi/linux/ioctl_tun.go
index c59c9c136..ea4fdca0f 100644
--- a/pkg/abi/linux/ioctl_tun.go
+++ b/pkg/abi/linux/ioctl_tun.go
@@ -26,4 +26,7 @@ const (
IFF_TAP = 0x0002
IFF_NO_PI = 0x1000
IFF_NOFILTER = 0x1000
+
+ // According to linux/if_tun.h "This flag has no real effect"
+ IFF_ONE_QUEUE = 0x2000
)