diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-08-12 15:43:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-12 16:20:51 -0700 |
commit | d50f2e2c7639084bbccac35fcc5f55e3f83f646a (patch) | |
tree | 7cef4f4d382e21e99e5f16546a3bc1e85c2de131 /pkg/abi/linux/socket.go | |
parent | 252329c1f332319e2f1e2b28751aadd84dedae64 (diff) |
ip6tables: ABI structs and constants
Part of #3549.
PiperOrigin-RevId: 326329028
Diffstat (limited to 'pkg/abi/linux/socket.go')
-rw-r--r-- | pkg/abi/linux/socket.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/abi/linux/socket.go b/pkg/abi/linux/socket.go index 693996c01..e37c8727d 100644 --- a/pkg/abi/linux/socket.go +++ b/pkg/abi/linux/socket.go @@ -259,6 +259,11 @@ type InetMulticastRequestWithNIC struct { InterfaceIndex int32 } +// Inet6Addr is struct in6_addr, from uapi/linux/in6.h. +// +// +marshal +type Inet6Addr [16]byte + // SockAddrInet6 is struct sockaddr_in6, from uapi/linux/in6.h. type SockAddrInet6 struct { Family uint16 |