1
// Created by cgo -godefs - DO NOT EDIT
2
// cgo -godefs defs_linux.go
11
sysIP_ROUTER_ALERT = 0x5
15
sysIP_PKTOPTIONS = 0x9
16
sysIP_MTU_DISCOVER = 0xa
22
sysIP_TRANSPARENT = 0x13
23
sysIP_RECVRETOPTS = 0x7
24
sysIP_ORIGDSTADDR = 0x14
25
sysIP_RECVORIGDSTADDR = 0x14
28
sysIP_UNICAST_IF = 0x32
30
sysIP_MULTICAST_IF = 0x20
31
sysIP_MULTICAST_TTL = 0x21
32
sysIP_MULTICAST_LOOP = 0x22
33
sysIP_ADD_MEMBERSHIP = 0x23
34
sysIP_DROP_MEMBERSHIP = 0x24
35
sysIP_UNBLOCK_SOURCE = 0x25
36
sysIP_BLOCK_SOURCE = 0x26
37
sysIP_ADD_SOURCE_MEMBERSHIP = 0x27
38
sysIP_DROP_SOURCE_MEMBERSHIP = 0x28
40
sysMCAST_JOIN_GROUP = 0x2a
41
sysMCAST_LEAVE_GROUP = 0x2d
42
sysMCAST_JOIN_SOURCE_GROUP = 0x2e
43
sysMCAST_LEAVE_SOURCE_GROUP = 0x2f
44
sysMCAST_BLOCK_SOURCE = 0x2b
45
sysMCAST_UNBLOCK_SOURCE = 0x2c
46
sysMCAST_MSFILTER = 0x30
47
sysIP_MULTICAST_ALL = 0x31
51
sysSO_EE_ORIGIN_NONE = 0x0
52
sysSO_EE_ORIGIN_LOCAL = 0x1
53
sysSO_EE_ORIGIN_ICMP = 0x2
54
sysSO_EE_ORIGIN_ICMP6 = 0x3
55
sysSO_EE_ORIGIN_TXSTATUS = 0x4
56
sysSO_EE_ORIGIN_TIMESTAMPING = 0x4
58
sysSizeofKernelSockaddrStorage = 0x80
59
sysSizeofSockaddrInet = 0x10
60
sysSizeofInetPktinfo = 0xc
61
sysSizeofSockExtendedErr = 0x10
64
sysSizeofIPMreqn = 0xc
65
sysSizeofIPMreqSource = 0xc
66
sysSizeofGroupReq = 0x88
67
sysSizeofGroupSourceReq = 0x108
69
sysSizeofICMPFilter = 0x4
72
type sysKernelSockaddrStorage struct {
77
type sysSockaddrInet struct {
80
Addr [4]byte /* in_addr */
84
type sysInetPktinfo struct {
86
Spec_dst [4]byte /* in_addr */
87
Addr [4]byte /* in_addr */
90
type sysSockExtendedErr struct {
100
type sysIPMreq struct {
101
Multiaddr [4]byte /* in_addr */
102
Interface [4]byte /* in_addr */
105
type sysIPMreqn struct {
106
Multiaddr [4]byte /* in_addr */
107
Address [4]byte /* in_addr */
111
type sysIPMreqSource struct {
117
type sysGroupReq struct {
120
Group sysKernelSockaddrStorage
123
type sysGroupSourceReq struct {
126
Group sysKernelSockaddrStorage
127
Source sysKernelSockaddrStorage
130
type sysICMPFilter struct {