1
// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
2
// Created by cgo -godefs - DO NOT EDIT
3
// cgo -godefs types_darwin.go
24
type Timespec struct {
34
type Timeval32 [0]byte
73
Birthtimespec Timespec
83
type Statfs_t struct {
98
Mntfromname [1024]int8
102
type Flock_t struct {
110
type Fstore_t struct {
118
type Radvisory_t struct {
123
type Fbootstraptransfer_t struct {
129
type Log2phys_t struct {
149
type RawSockaddrInet4 struct {
153
Addr [4]byte /* in_addr */
157
type RawSockaddrInet6 struct {
162
Addr [16]byte /* in6_addr */
166
type RawSockaddrUnix struct {
172
type RawSockaddrDatalink struct {
183
type RawSockaddr struct {
189
type RawSockaddrAny struct {
207
Multiaddr [4]byte /* in_addr */
208
Interface [4]byte /* in_addr */
211
type IPv6Mreq struct {
212
Multiaddr [16]byte /* in6_addr */
226
type Cmsghdr struct {
232
type Inet4Pktinfo struct {
234
Spec_dst [4]byte /* in_addr */
235
Addr [4]byte /* in_addr */
238
type Inet6Pktinfo struct {
239
Addr [16]byte /* in6_addr */
243
type IPv6MTUInfo struct {
244
Addr RawSockaddrInet6
248
type ICMPv6Filter struct {
253
SizeofSockaddrInet4 = 0x10
254
SizeofSockaddrInet6 = 0x1c
255
SizeofSockaddrAny = 0x6c
256
SizeofSockaddrUnix = 0x6a
257
SizeofSockaddrDatalink = 0x14
260
SizeofIPv6Mreq = 0x14
263
SizeofInet4Pktinfo = 0xc
264
SizeofInet6Pktinfo = 0x14
265
SizeofIPv6MTUInfo = 0x20
266
SizeofICMPv6Filter = 0x20
275
type Kevent_t struct {
289
SizeofIfMsghdr = 0x70
291
SizeofIfaMsghdr = 0x14
292
SizeofIfmaMsghdr = 0x10
293
SizeofIfmaMsghdr2 = 0x14
294
SizeofRtMsghdr = 0x5c
295
SizeofRtMetrics = 0x38
298
type IfMsghdr struct {
341
type IfaMsghdr struct {
352
type IfmaMsghdr struct {
362
type IfmaMsghdr2 struct {
373
type RtMsghdr struct {
389
type RtMetrics struct {
404
SizeofBpfVersion = 0x4
406
SizeofBpfProgram = 0x8
411
type BpfVersion struct {
416
type BpfStat struct {
421
type BpfProgram struct {
426
type BpfInsn struct {
441
type Termios struct {