1// Code generated by cmd/cgo -godefs; DO NOT EDIT.
2// cgo -godefs defs_freebsd.go
3
4package ipv4
5
6const (
7	sizeofSockaddrStorage = 0x80
8	sizeofSockaddrInet    = 0x10
9
10	sizeofIPMreq         = 0x8
11	sizeofIPMreqSource   = 0xc
12	sizeofGroupReq       = 0x88
13	sizeofGroupSourceReq = 0x108
14)
15
16type sockaddrStorage struct {
17	Len         uint8
18	Family      uint8
19	X__ss_pad1  [6]uint8
20	X__ss_align int64
21	X__ss_pad2  [112]uint8
22}
23
24type sockaddrInet struct {
25	Len    uint8
26	Family uint8
27	Port   uint16
28	Addr   [4]byte /* in_addr */
29	Zero   [8]uint8
30}
31
32type ipMreq struct {
33	Multiaddr [4]byte /* in_addr */
34	Interface [4]byte /* in_addr */
35}
36
37type ipMreqSource struct {
38	Multiaddr  [4]byte /* in_addr */
39	Sourceaddr [4]byte /* in_addr */
40	Interface  [4]byte /* in_addr */
41}
42
43type groupReq struct {
44	Interface uint32
45	Group     sockaddrStorage
46}
47
48type groupSourceReq struct {
49	Interface uint32
50	Group     sockaddrStorage
51	Source    sockaddrStorage
52}
53