mirror of
https://github.com/golang/net.git
synced 2026-03-31 02:17:08 +09:00
Done with: go get go@1.18 go mod tidy go fix ./... Using go1.21.3. With a manual change to keep golang.org/x/net/context testing itself, not context in the standard library. For golang/go#60268. Change-Id: I00682bf7cf1e3ba4370e2a3e7f63dc245b294a36 Reviewed-on: https://go-review.googlesource.com/c/net/+/534241 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
69 lines
1.1 KiB
Go
69 lines
1.1 KiB
Go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs defs_aix.go
|
|
|
|
// Added for go1.11 compatibility
|
|
//go:build aix
|
|
|
|
package ipv6
|
|
|
|
const (
|
|
sizeofSockaddrStorage = 0x508
|
|
sizeofSockaddrInet6 = 0x1c
|
|
sizeofInet6Pktinfo = 0x14
|
|
sizeofIPv6Mtuinfo = 0x20
|
|
|
|
sizeofIPv6Mreq = 0x14
|
|
sizeofGroupReq = 0x510
|
|
sizeofGroupSourceReq = 0xa18
|
|
|
|
sizeofICMPv6Filter = 0x20
|
|
)
|
|
|
|
type sockaddrStorage struct {
|
|
X__ss_len uint8
|
|
Family uint8
|
|
X__ss_pad1 [6]uint8
|
|
X__ss_align int64
|
|
X__ss_pad2 [1265]uint8
|
|
Pad_cgo_0 [7]byte
|
|
}
|
|
|
|
type sockaddrInet6 struct {
|
|
Len uint8
|
|
Family uint8
|
|
Port uint16
|
|
Flowinfo uint32
|
|
Addr [16]byte /* in6_addr */
|
|
Scope_id uint32
|
|
}
|
|
|
|
type inet6Pktinfo struct {
|
|
Addr [16]byte /* in6_addr */
|
|
Ifindex int32
|
|
}
|
|
|
|
type ipv6Mtuinfo struct {
|
|
Addr sockaddrInet6
|
|
Mtu uint32
|
|
}
|
|
|
|
type ipv6Mreq struct {
|
|
Multiaddr [16]byte /* in6_addr */
|
|
Interface uint32
|
|
}
|
|
|
|
type icmpv6Filter struct {
|
|
Filt [8]uint32
|
|
}
|
|
|
|
type groupReq struct {
|
|
Interface uint32
|
|
Group sockaddrStorage
|
|
}
|
|
|
|
type groupSourceReq struct {
|
|
Interface uint32
|
|
Group sockaddrStorage
|
|
Source sockaddrStorage
|
|
}
|