summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/socket.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-12 23:24:25 +0000
committergVisor bot <gvisor-bot@google.com>2020-08-12 23:24:25 +0000
commit6475914b04e69d1729028739ef688e452f034f70 (patch)
tree6e19326595ef87f6f80d0a3fbb978de33dbc855a /pkg/abi/linux/socket.go
parenta2e5062951e1dd7a996369edd9549e4dfa556dcb (diff)
parentd50f2e2c7639084bbccac35fcc5f55e3f83f646a (diff)
Merge release-20200810.0-19-gd50f2e2c7 (automated)
Diffstat (limited to 'pkg/abi/linux/socket.go')
-rw-r--r--pkg/abi/linux/socket.go5
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