mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 00:57:40 +02:00
104 lines
1.8 KiB
Go
104 lines
1.8 KiB
Go
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||
|
// cgo -godefs defs_aix.go
|
||
|
|
||
|
// Added for go1.11 compatibility
|
||
|
// +build aix
|
||
|
|
||
|
package ipv6
|
||
|
|
||
|
const (
|
||
|
sysIPV6_UNICAST_HOPS = 0x4
|
||
|
sysIPV6_MULTICAST_IF = 0x9
|
||
|
sysIPV6_MULTICAST_HOPS = 0xa
|
||
|
sysIPV6_MULTICAST_LOOP = 0xb
|
||
|
sysIPV6_JOIN_GROUP = 0xc
|
||
|
sysIPV6_LEAVE_GROUP = 0xd
|
||
|
sysICMP6_FILTER = 0x26
|
||
|
|
||
|
sysIPV6_CHECKSUM = 0x27
|
||
|
sysIPV6_V6ONLY = 0x25
|
||
|
|
||
|
sysIPV6_RTHDRDSTOPTS = 0x37
|
||
|
|
||
|
sysIPV6_RECVPKTINFO = 0x23
|
||
|
sysIPV6_RECVHOPLIMIT = 0x29
|
||
|
sysIPV6_RECVRTHDR = 0x33
|
||
|
sysIPV6_RECVHOPOPTS = 0x35
|
||
|
sysIPV6_RECVDSTOPTS = 0x38
|
||
|
|
||
|
sysIPV6_USE_MIN_MTU = 0x2c
|
||
|
sysIPV6_RECVPATHMTU = 0x2f
|
||
|
sysIPV6_PATHMTU = 0x2e
|
||
|
|
||
|
sysIPV6_PKTINFO = 0x21
|
||
|
sysIPV6_HOPLIMIT = 0x28
|
||
|
sysIPV6_NEXTHOP = 0x30
|
||
|
sysIPV6_HOPOPTS = 0x34
|
||
|
sysIPV6_DSTOPTS = 0x36
|
||
|
sysIPV6_RTHDR = 0x32
|
||
|
|
||
|
sysIPV6_RECVTCLASS = 0x2a
|
||
|
|
||
|
sysIPV6_TCLASS = 0x2b
|
||
|
sysIPV6_DONTFRAG = 0x2d
|
||
|
|
||
|
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
|
||
|
}
|