1// Code generated by cmd/cgo -godefs; DO NOT EDIT. 2// cgo -godefs defs_freebsd.go 3 4package ipv6 5 6const ( 7 sizeofSockaddrStorage = 0x80 8 sizeofSockaddrInet6 = 0x1c 9 sizeofInet6Pktinfo = 0x14 10 sizeofIPv6Mtuinfo = 0x20 11 12 sizeofIPv6Mreq = 0x14 13 sizeofGroupReq = 0x88 14 sizeofGroupSourceReq = 0x108 15 16 sizeofICMPv6Filter = 0x20 17) 18 19type sockaddrStorage struct { 20 Len uint8 21 Family uint8 22 X__ss_pad1 [6]uint8 23 X__ss_align int64 24 X__ss_pad2 [112]uint8 25} 26 27type sockaddrInet6 struct { 28 Len uint8 29 Family uint8 30 Port uint16 31 Flowinfo uint32 32 Addr [16]byte /* in6_addr */ 33 Scope_id uint32 34} 35 36type inet6Pktinfo struct { 37 Addr [16]byte /* in6_addr */ 38 Ifindex uint32 39} 40 41type ipv6Mtuinfo struct { 42 Addr sockaddrInet6 43 Mtu uint32 44} 45 46type ipv6Mreq struct { 47 Multiaddr [16]byte /* in6_addr */ 48 Interface uint32 49} 50 51type groupReq struct { 52 Interface uint32 53 Group sockaddrStorage 54} 55 56type groupSourceReq struct { 57 Interface uint32 58 Group sockaddrStorage 59 Source sockaddrStorage 60} 61 62type icmpv6Filter struct { 63 Filt [8]uint32 64} 65