1 // cgo -godefs types_darwin.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
23 type Timespec struct {
33 type Timeval32 struct{}
82 type Statfs_t struct {
97 Mntfromname [1024]byte
101 type Flock_t struct {
109 type Fstore_t struct {
117 type Radvisory_t struct {
122 type Fbootstraptransfer_t struct {
128 type Log2phys_t struct {
152 type RawSockaddrInet4 struct {
156 Addr [4]byte /* in_addr */
160 type RawSockaddrInet6 struct {
165 Addr [16]byte /* in6_addr */
169 type RawSockaddrUnix struct {
175 type RawSockaddrDatalink struct {
186 type RawSockaddr struct {
192 type RawSockaddrAny struct {
197 type RawSockaddrCtl struct {
203 Sc_reserved [5]uint32
219 Multiaddr [4]byte /* in_addr */
220 Interface [4]byte /* in_addr */
223 type IPv6Mreq struct {
224 Multiaddr [16]byte /* in6_addr */
238 type Cmsghdr struct {
244 type Inet4Pktinfo struct {
246 Spec_dst [4]byte /* in_addr */
247 Addr [4]byte /* in_addr */
250 type Inet6Pktinfo struct {
251 Addr [16]byte /* in6_addr */
255 type IPv6MTUInfo struct {
256 Addr RawSockaddrInet6
260 type ICMPv6Filter struct {
265 SizeofSockaddrInet4 = 0x10
266 SizeofSockaddrInet6 = 0x1c
267 SizeofSockaddrAny = 0x6c
268 SizeofSockaddrUnix = 0x6a
269 SizeofSockaddrDatalink = 0x14
270 SizeofSockaddrCtl = 0x20
274 SizeofIPv6Mreq = 0x14
277 SizeofInet4Pktinfo = 0xc
278 SizeofInet6Pktinfo = 0x14
279 SizeofIPv6MTUInfo = 0x20
280 SizeofICMPv6Filter = 0x20
289 type Kevent_t struct {
303 SizeofIfMsghdr = 0x70
305 SizeofIfaMsghdr = 0x14
306 SizeofIfmaMsghdr = 0x10
307 SizeofIfmaMsghdr2 = 0x14
308 SizeofRtMsghdr = 0x5c
309 SizeofRtMetrics = 0x38
312 type IfMsghdr struct {
354 type IfaMsghdr struct {
364 type IfmaMsghdr struct {
374 type IfmaMsghdr2 struct {
384 type RtMsghdr struct {
399 type RtMetrics struct {
415 SizeofBpfVersion = 0x4
417 SizeofBpfProgram = 0x8
422 type BpfVersion struct {
427 type BpfStat struct {
432 type BpfProgram struct {
437 type BpfInsn struct {
452 type Termios struct {
462 type Winsize struct {
472 AT_SYMLINK_FOLLOW = 0x40
473 AT_SYMLINK_NOFOLLOW = 0x20
495 type Utsname struct {
503 const SizeofClockinfo = 0x14
505 type Clockinfo struct {
513 type CtlInfo struct {