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 {
34 type Timeval32 struct {
86 type Statfs_t struct {
101 Mntfromname [1024]byte
106 type Flock_t struct {
114 type Fstore_t struct {
122 type Radvisory_t struct {
128 type Fbootstraptransfer_t struct {
134 type Log2phys_t struct {
157 type RawSockaddrInet4 struct {
161 Addr [4]byte /* in_addr */
165 type RawSockaddrInet6 struct {
170 Addr [16]byte /* in6_addr */
174 type RawSockaddrUnix struct {
180 type RawSockaddrDatalink struct {
191 type RawSockaddr struct {
197 type RawSockaddrAny struct {
202 type RawSockaddrCtl struct {
208 Sc_reserved [5]uint32
224 Multiaddr [4]byte /* in_addr */
225 Interface [4]byte /* in_addr */
228 type IPv6Mreq struct {
229 Multiaddr [16]byte /* in6_addr */
243 type Cmsghdr struct {
249 type Inet4Pktinfo struct {
251 Spec_dst [4]byte /* in_addr */
252 Addr [4]byte /* in_addr */
255 type Inet6Pktinfo struct {
256 Addr [16]byte /* in6_addr */
260 type IPv6MTUInfo struct {
261 Addr RawSockaddrInet6
265 type ICMPv6Filter struct {
270 SizeofSockaddrInet4 = 0x10
271 SizeofSockaddrInet6 = 0x1c
272 SizeofSockaddrAny = 0x6c
273 SizeofSockaddrUnix = 0x6a
274 SizeofSockaddrDatalink = 0x14
275 SizeofSockaddrCtl = 0x20
279 SizeofIPv6Mreq = 0x14
282 SizeofInet4Pktinfo = 0xc
283 SizeofInet6Pktinfo = 0x14
284 SizeofIPv6MTUInfo = 0x20
285 SizeofICMPv6Filter = 0x20
294 type Kevent_t struct {
308 SizeofIfMsghdr = 0x70
310 SizeofIfaMsghdr = 0x14
311 SizeofIfmaMsghdr = 0x10
312 SizeofIfmaMsghdr2 = 0x14
313 SizeofRtMsghdr = 0x5c
314 SizeofRtMetrics = 0x38
317 type IfMsghdr struct {
359 type IfaMsghdr struct {
369 type IfmaMsghdr struct {
379 type IfmaMsghdr2 struct {
389 type RtMsghdr struct {
404 type RtMetrics struct {
420 SizeofBpfVersion = 0x4
422 SizeofBpfProgram = 0x10
427 type BpfVersion struct {
432 type BpfStat struct {
437 type BpfProgram struct {
442 type BpfInsn struct {
457 type Termios struct {
467 type Winsize struct {
477 AT_SYMLINK_FOLLOW = 0x40
478 AT_SYMLINK_NOFOLLOW = 0x20
500 type Utsname struct {
508 const SizeofClockinfo = 0x14
510 type Clockinfo struct {
518 type CtlInfo struct {