summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/socket.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-01-06 19:49:06 +0000
committergVisor bot <gvisor-bot@google.com>2021-01-06 19:49:06 +0000
commit18201bb435965cc576f2144b64b0bb41c9bd7dce (patch)
treebb08d20722376c31d42cdb5f9292954b09d855b8 /pkg/abi/linux/socket.go
parent2000cb5fd6f1093fec6ca5ad2e8730d3c8bac5aa (diff)
parentabe9d9f67f2c2c696ef26690fa8518dfc4e28728 (diff)
Merge release-20201208.0-117-gabe9d9f67 (automated)
Diffstat (limited to 'pkg/abi/linux/socket.go')
-rw-r--r--pkg/abi/linux/socket.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/abi/linux/socket.go b/pkg/abi/linux/socket.go
index 556892dc3..8591acbf2 100644
--- a/pkg/abi/linux/socket.go
+++ b/pkg/abi/linux/socket.go
@@ -250,6 +250,12 @@ type SockAddrInet struct {
_ [8]uint8 // pad to sizeof(struct sockaddr).
}
+// Inet6MulticastRequest is struct ipv6_mreq, from uapi/linux/in6.h.
+type Inet6MulticastRequest struct {
+ MulticastAddr Inet6Addr
+ InterfaceIndex int32
+}
+
// InetMulticastRequest is struct ip_mreq, from uapi/linux/in.h.
type InetMulticastRequest struct {
MulticastAddr InetAddr