1// Code generated by cmd/cgo -godefs; DO NOT EDIT.
2// cgo -godefs defs_linux.go
3
4package ipv6
5
6const (
7	sizeofKernelSockaddrStorage = 0x80
8	sizeofSockaddrInet6         = 0x1c
9	sizeofInet6Pktinfo          = 0x14
10	sizeofIPv6Mtuinfo           = 0x20
11	sizeofIPv6FlowlabelReq      = 0x20
12
13	sizeofIPv6Mreq       = 0x14
14	sizeofGroupReq       = 0x88
15	sizeofGroupSourceReq = 0x108
16
17	sizeofICMPv6Filter = 0x20
18)
19
20type kernelSockaddrStorage struct {
21	Family  uint16
22	X__data [126]int8
23}
24
25type sockaddrInet6 struct {
26	Family   uint16
27	Port     uint16
28	Flowinfo uint32
29	Addr     [16]byte /* in6_addr */
30	Scope_id uint32
31}
32
33type inet6Pktinfo struct {
34	Addr    [16]byte /* in6_addr */
35	Ifindex int32
36}
37
38type ipv6Mtuinfo struct {
39	Addr sockaddrInet6
40	Mtu  uint32
41}
42
43type ipv6FlowlabelReq struct {
44	Dst        [16]byte /* in6_addr */
45	Label      uint32
46	Action     uint8
47	Share      uint8
48	Flags      uint16
49	Expires    uint16
50	Linger     uint16
51	X__flr_pad uint32
52}
53
54type ipv6Mreq struct {
55	Multiaddr [16]byte /* in6_addr */
56	Ifindex   int32
57}
58
59type groupReq struct {
60	Interface uint32
61	Pad_cgo_0 [4]byte
62	Group     kernelSockaddrStorage
63}
64
65type groupSourceReq struct {
66	Interface uint32
67	Pad_cgo_0 [4]byte
68	Group     kernelSockaddrStorage
69	Source    kernelSockaddrStorage
70}
71
72type icmpv6Filter struct {
73	Data [8]uint32
74}
75