...
1
2
3
4
5
6
7
8
9 package ipv6
10
11
18 import "C"
19
20 const (
21 sizeofSockaddrInet6 = C.sizeof_struct_sockaddr_in6
22 sizeofInet6Pktinfo = C.sizeof_struct_in6_pktinfo
23 sizeofIPv6Mtuinfo = C.sizeof_struct_ip6_mtuinfo
24
25 sizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
26
27 sizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
28 )
29
30 type sockaddrInet6 C.struct_sockaddr_in6
31
32 type inet6Pktinfo C.struct_in6_pktinfo
33
34 type ipv6Mtuinfo C.struct_ip6_mtuinfo
35
36 type ipv6Mreq C.struct_ipv6_mreq
37
38 type icmpv6Filter C.struct_icmp6_filter
39
View as plain text