1 // Created by cgo -godefs - DO NOT EDIT
2 // cgo -godefs defs_freebsd.go
12 sysIP_RECVRETOPTS = 0x6
13 sysIP_RECVDSTADDR = 0x7
14 sysIP_SENDSRCADDR = 0x7
17 sysIP_ONESBCAST = 0x17
24 sysIP_MULTICAST_IF = 0x9
25 sysIP_MULTICAST_TTL = 0xa
26 sysIP_MULTICAST_LOOP = 0xb
27 sysIP_ADD_MEMBERSHIP = 0xc
28 sysIP_DROP_MEMBERSHIP = 0xd
29 sysIP_MULTICAST_VIF = 0xe
30 sysIP_ADD_SOURCE_MEMBERSHIP = 0x46
31 sysIP_DROP_SOURCE_MEMBERSHIP = 0x47
32 sysIP_BLOCK_SOURCE = 0x48
33 sysIP_UNBLOCK_SOURCE = 0x49
34 sysMCAST_JOIN_GROUP = 0x50
35 sysMCAST_LEAVE_GROUP = 0x51
36 sysMCAST_JOIN_SOURCE_GROUP = 0x52
37 sysMCAST_LEAVE_SOURCE_GROUP = 0x53
38 sysMCAST_BLOCK_SOURCE = 0x54
39 sysMCAST_UNBLOCK_SOURCE = 0x55
41 sizeofSockaddrStorage = 0x80
42 sizeofSockaddrInet = 0x10
46 sizeofIPMreqSource = 0xc
48 sizeofGroupSourceReq = 0x108
51 type sockaddrStorage struct {
59 type sockaddrInet struct {
63 Addr [4]byte /* in_addr */
68 Multiaddr [4]byte /* in_addr */
69 Interface [4]byte /* in_addr */
73 Multiaddr [4]byte /* in_addr */
74 Address [4]byte /* in_addr */
78 type ipMreqSource struct {
79 Multiaddr [4]byte /* in_addr */
80 Sourceaddr [4]byte /* in_addr */
81 Interface [4]byte /* in_addr */
84 type groupReq struct {
90 type groupSourceReq struct {
94 Source sockaddrStorage