1 // Created by cgo -godefs - DO NOT EDIT
2 // cgo -godefs defs_freebsd.go
17 sysNET_RT_IFLIST = 0x3
18 sysNET_RT_IFMALIST = 0x4
19 sysNET_RT_IFLISTL = 0x5
53 sysRTM_DELMADDR = 0x10
54 sysRTM_IFANNOUNCE = 0x11
55 sysRTM_IEEE80211 = 0x12
78 sizeofIfMsghdrlFreeBSD10 = 0x68
79 sizeofIfaMsghdrFreeBSD10 = 0x14
80 sizeofIfaMsghdrlFreeBSD10 = 0x6c
81 sizeofIfmaMsghdrFreeBSD10 = 0x10
82 sizeofIfAnnouncemsghdrFreeBSD10 = 0x18
84 sizeofRtMsghdrFreeBSD10 = 0x5c
85 sizeofRtMetricsFreeBSD10 = 0x38
87 sizeofIfMsghdrFreeBSD7 = 0x60
88 sizeofIfMsghdrFreeBSD8 = 0x60
89 sizeofIfMsghdrFreeBSD9 = 0x60
90 sizeofIfMsghdrFreeBSD10 = 0x64
91 sizeofIfMsghdrFreeBSD11 = 0xa8
93 sizeofIfDataFreeBSD7 = 0x50
94 sizeofIfDataFreeBSD8 = 0x50
95 sizeofIfDataFreeBSD9 = 0x50
96 sizeofIfDataFreeBSD10 = 0x54
97 sizeofIfDataFreeBSD11 = 0x98
99 // MODIFIED BY HAND FOR 386 EMULATION ON AMD64
100 // 386 EMULATION USES THE UNDERLYING RAW DATA LAYOUT
102 sizeofIfMsghdrlFreeBSD10Emu = 0xb0
103 sizeofIfaMsghdrFreeBSD10Emu = 0x14
104 sizeofIfaMsghdrlFreeBSD10Emu = 0xb0
105 sizeofIfmaMsghdrFreeBSD10Emu = 0x10
106 sizeofIfAnnouncemsghdrFreeBSD10Emu = 0x18
108 sizeofRtMsghdrFreeBSD10Emu = 0x98
109 sizeofRtMetricsFreeBSD10Emu = 0x70
111 sizeofIfMsghdrFreeBSD7Emu = 0xa8
112 sizeofIfMsghdrFreeBSD8Emu = 0xa8
113 sizeofIfMsghdrFreeBSD9Emu = 0xa8
114 sizeofIfMsghdrFreeBSD10Emu = 0xa8
115 sizeofIfMsghdrFreeBSD11Emu = 0xa8
117 sizeofIfDataFreeBSD7Emu = 0x98
118 sizeofIfDataFreeBSD8Emu = 0x98
119 sizeofIfDataFreeBSD9Emu = 0x98
120 sizeofIfDataFreeBSD10Emu = 0x98
121 sizeofIfDataFreeBSD11Emu = 0x98
123 sizeofSockaddrStorage = 0x80
124 sizeofSockaddrInet = 0x10
125 sizeofSockaddrInet6 = 0x1c