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{}
72 Birthtimespec Timespec
82 type Statfs_t struct {
97 Mntfromname [1024]int8
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 {
148 type RawSockaddrInet4 struct {
152 Addr [4]byte /* in_addr */
156 type RawSockaddrInet6 struct {
161 Addr [16]byte /* in6_addr */
165 type RawSockaddrUnix struct {
171 type RawSockaddrDatalink struct {
182 type RawSockaddr struct {
188 type RawSockaddrAny struct {
206 Multiaddr [4]byte /* in_addr */
207 Interface [4]byte /* in_addr */
210 type IPv6Mreq struct {
211 Multiaddr [16]byte /* in6_addr */
225 type Cmsghdr struct {
231 type Inet4Pktinfo struct {
233 Spec_dst [4]byte /* in_addr */
234 Addr [4]byte /* in_addr */
237 type Inet6Pktinfo struct {
238 Addr [16]byte /* in6_addr */
242 type IPv6MTUInfo struct {
243 Addr RawSockaddrInet6
247 type ICMPv6Filter struct {
252 SizeofSockaddrInet4 = 0x10
253 SizeofSockaddrInet6 = 0x1c
254 SizeofSockaddrAny = 0x6c
255 SizeofSockaddrUnix = 0x6a
256 SizeofSockaddrDatalink = 0x14
259 SizeofIPv6Mreq = 0x14
262 SizeofInet4Pktinfo = 0xc
263 SizeofInet6Pktinfo = 0x14
264 SizeofIPv6MTUInfo = 0x20
265 SizeofICMPv6Filter = 0x20
274 type Kevent_t struct {
288 SizeofIfMsghdr = 0x70
290 SizeofIfaMsghdr = 0x14
291 SizeofIfmaMsghdr = 0x10
292 SizeofIfmaMsghdr2 = 0x14
293 SizeofRtMsghdr = 0x5c
294 SizeofRtMetrics = 0x38
297 type IfMsghdr struct {
340 type IfaMsghdr struct {
351 type IfmaMsghdr struct {
361 type IfmaMsghdr2 struct {
372 type RtMsghdr struct {
388 type RtMetrics struct {
403 SizeofBpfVersion = 0x4
405 SizeofBpfProgram = 0x8
410 type BpfVersion struct {
415 type BpfStat struct {
420 type BpfProgram struct {
425 type BpfInsn struct {
440 type Termios struct {
450 type Winsize struct {
460 AT_SYMLINK_FOLLOW = 0x40
461 AT_SYMLINK_NOFOLLOW = 0x20