diff options
Diffstat (limited to 'vendor/golang.org/x/net/ipv6')
| -rw-r--r-- | vendor/golang.org/x/net/ipv6/zsys_freebsd_riscv64.go | 64 | 
1 files changed, 64 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/ipv6/zsys_freebsd_riscv64.go b/vendor/golang.org/x/net/ipv6/zsys_freebsd_riscv64.go new file mode 100644 index 000000000..5b39eb8df --- /dev/null +++ b/vendor/golang.org/x/net/ipv6/zsys_freebsd_riscv64.go @@ -0,0 +1,64 @@ +// Code generated by cmd/cgo -godefs; DO NOT EDIT. +// cgo -godefs defs_freebsd.go + +package ipv6 + +const ( +	sizeofSockaddrStorage = 0x80 +	sizeofSockaddrInet6   = 0x1c +	sizeofInet6Pktinfo    = 0x14 +	sizeofIPv6Mtuinfo     = 0x20 + +	sizeofIPv6Mreq       = 0x14 +	sizeofGroupReq       = 0x88 +	sizeofGroupSourceReq = 0x108 + +	sizeofICMPv6Filter = 0x20 +) + +type sockaddrStorage struct { +	Len         uint8 +	Family      uint8 +	X__ss_pad1  [6]uint8 +	X__ss_align int64 +	X__ss_pad2  [112]uint8 +} + +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 groupReq struct { +	Interface uint32 +	Group     sockaddrStorage +} + +type groupSourceReq struct { +	Interface uint32 +	Group     sockaddrStorage +	Source    sockaddrStorage +} + +type icmpv6Filter struct { +	Filt [8]uint32 +}  | 
