mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 05:15:58 +01:00
d98694e6ca
* Update bluemonday to v1.0.15 (#16379) * Fix TESTS
43 lines
656 B
Go
Vendored
43 lines
656 B
Go
Vendored
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs defs_netbsd.go
|
|
|
|
package ipv6
|
|
|
|
const (
|
|
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
|
|
}
|