diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-30 23:07:27 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-30 23:07:27 +0000 |
commit | d7a0deccf87f68c77fdc24eb3dea217b7f318480 (patch) | |
tree | 03c644195f29eb6cc695ce30b8dc49314ad8d77d /pkg/abi | |
parent | b5ef113e75c0c4b6b9ea31a52fc2e2d63495101e (diff) | |
parent | 6f8d64f4229be58814319003a397b971ca9b4e1b (diff) |
Merge release-20200921.0-93-g6f8d64f42 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/linux/netfilter_ipv6.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/abi/linux/netfilter_ipv6.go b/pkg/abi/linux/netfilter_ipv6.go index a137940b6..6d31eb5e3 100644 --- a/pkg/abi/linux/netfilter_ipv6.go +++ b/pkg/abi/linux/netfilter_ipv6.go @@ -321,3 +321,16 @@ const ( // Enable all flags. IP6T_INV_MASK = 0x7F ) + +// NFNATRange corresponds to struct nf_nat_range in +// include/uapi/linux/netfilter/nf_nat.h. +type NFNATRange struct { + Flags uint32 + MinAddr Inet6Addr + MaxAddr Inet6Addr + MinProto uint16 // Network byte order. + MaxProto uint16 // Network byte order. +} + +// SizeOfNFNATRange is the size of NFNATRange. +const SizeOfNFNATRange = 40 |