2019-09-23 17:04:40 +00:00
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
2018-03-21 13:44:58 +00:00
|
|
|
// cgo -godefs defs_openbsd.go
|
|
|
|
|
|
|
|
package ipv6
|
|
|
|
|
|
|
|
const (
|
2021-04-14 19:17:52 +00:00
|
|
|
sysIPV6_PATHMTU = 0x2c
|
2018-03-21 13:44:58 +00:00
|
|
|
sysIPV6_PKTINFO = 0x2e
|
|
|
|
sysIPV6_HOPLIMIT = 0x2f
|
|
|
|
sysIPV6_NEXTHOP = 0x30
|
|
|
|
sysIPV6_TCLASS = 0x3d
|
|
|
|
|
|
|
|
sizeofSockaddrInet6 = 0x1c
|
|
|
|
sizeofInet6Pktinfo = 0x14
|
|
|
|
sizeofIPv6Mtuinfo = 0x20
|
|
|
|
|
|
|
|
sizeofIPv6Mreq = 0x14
|
|
|
|
|
|
|
|
sizeofICMPv6Filter = 0x20
|
|
|
|
)
|
|
|
|
|
|
|
|
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 uint32
|
|
|
|
}
|
|
|
|
|
|
|
|
type ipv6Mtuinfo struct {
|
|
|
|
Addr sockaddrInet6
|
|
|
|
Mtu uint32
|
|
|
|
}
|
|
|
|
|
|
|
|
type ipv6Mreq struct {
|
|
|
|
Multiaddr [16]byte /* in6_addr */
|
|
|
|
Interface uint32
|
|
|
|
}
|
|
|
|
|
|
|
|
type icmpv6Filter struct {
|
|
|
|
Filt [8]uint32
|
|
|
|
}
|