vendor: Update golang.org/x/net/ipv6

This commit is contained in:
Jakob Borg
2017-03-04 07:28:11 +01:00
parent 566c348b00
commit 7260629bc0
81 changed files with 1296 additions and 820 deletions

View File

@@ -71,19 +71,19 @@ const (
sysIPV6_PORTRANGE_HIGH = 0x1
sysIPV6_PORTRANGE_LOW = 0x2
sysSizeofSockaddrStorage = 0x80
sysSizeofSockaddrInet6 = 0x1c
sysSizeofInet6Pktinfo = 0x14
sysSizeofIPv6Mtuinfo = 0x20
sizeofSockaddrStorage = 0x80
sizeofSockaddrInet6 = 0x1c
sizeofInet6Pktinfo = 0x14
sizeofIPv6Mtuinfo = 0x20
sysSizeofIPv6Mreq = 0x14
sysSizeofGroupReq = 0x84
sysSizeofGroupSourceReq = 0x104
sizeofIPv6Mreq = 0x14
sizeofGroupReq = 0x84
sizeofGroupSourceReq = 0x104
sysSizeofICMPv6Filter = 0x20
sizeofICMPv6Filter = 0x20
)
type sysSockaddrStorage struct {
type sockaddrStorage struct {
Len uint8
Family uint8
X__ss_pad1 [6]int8
@@ -91,7 +91,7 @@ type sysSockaddrStorage struct {
X__ss_pad2 [112]int8
}
type sysSockaddrInet6 struct {
type sockaddrInet6 struct {
Len uint8
Family uint8
Port uint16
@@ -100,31 +100,31 @@ type sysSockaddrInet6 struct {
Scope_id uint32
}
type sysInet6Pktinfo struct {
type inet6Pktinfo struct {
Addr [16]byte /* in6_addr */
Ifindex uint32
}
type sysIPv6Mtuinfo struct {
Addr sysSockaddrInet6
type ipv6Mtuinfo struct {
Addr sockaddrInet6
Mtu uint32
}
type sysIPv6Mreq struct {
type ipv6Mreq struct {
Multiaddr [16]byte /* in6_addr */
Interface uint32
}
type sysICMPv6Filter struct {
type icmpv6Filter struct {
Filt [8]uint32
}
type sysGroupReq struct {
type groupReq struct {
Interface uint32
Pad_cgo_0 [128]byte
}
type sysGroupSourceReq struct {
type groupSourceReq struct {
Interface uint32
Pad_cgo_0 [128]byte
Pad_cgo_1 [128]byte