1 // cgo -godefs types_netbsd.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
23 type Timespec struct {
81 type Statvfs_t struct {
105 Mntfromname [1024]byte
108 type Flock_t struct {
141 FADV_SEQUENTIAL = 0x2
147 type RawSockaddrInet4 struct {
151 Addr [4]byte /* in_addr */
155 type RawSockaddrInet6 struct {
160 Addr [16]byte /* in6_addr */
164 type RawSockaddrUnix struct {
170 type RawSockaddrDatalink struct {
181 type RawSockaddr struct {
187 type RawSockaddrAny struct {
205 Multiaddr [4]byte /* in_addr */
206 Interface [4]byte /* in_addr */
209 type IPv6Mreq struct {
210 Multiaddr [16]byte /* in6_addr */
224 type Cmsghdr struct {
230 type Inet6Pktinfo struct {
231 Addr [16]byte /* in6_addr */
235 type IPv6MTUInfo struct {
236 Addr RawSockaddrInet6
240 type ICMPv6Filter struct {
245 SizeofSockaddrInet4 = 0x10
246 SizeofSockaddrInet6 = 0x1c
247 SizeofSockaddrAny = 0x6c
248 SizeofSockaddrUnix = 0x6a
249 SizeofSockaddrDatalink = 0x14
253 SizeofIPv6Mreq = 0x14
256 SizeofInet6Pktinfo = 0x14
257 SizeofIPv6MTUInfo = 0x20
258 SizeofICMPv6Filter = 0x20
267 type Kevent_t struct {
281 SizeofIfMsghdr = 0x98
283 SizeofIfaMsghdr = 0x18
284 SizeofIfAnnounceMsghdr = 0x18
285 SizeofRtMsghdr = 0x78
286 SizeofRtMetrics = 0x50
289 type IfMsghdr struct {
324 type IfaMsghdr struct {
335 type IfAnnounceMsghdr struct {
344 type RtMsghdr struct {
361 type RtMetrics struct {
377 SizeofBpfVersion = 0x4
379 SizeofBpfProgram = 0x8
384 type BpfVersion struct {
389 type BpfStat struct {
396 type BpfProgram struct {
401 type BpfInsn struct {
416 type BpfTimeval struct {
421 type Termios struct {
431 type Winsize struct {
447 AT_SYMLINK_FOLLOW = 0x400
448 AT_SYMLINK_NOFOLLOW = 0x200
470 type Sysctlnode struct {
477 X_sysctl_size [8]byte
478 X_sysctl_func [8]byte
479 X_sysctl_parent [8]byte
480 X_sysctl_desc [8]byte
483 type Utsname struct {
491 const SizeofClockinfo = 0x14
493 type Clockinfo struct {