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 {
86 type Statvfs_t struct {
110 Mntfromname [1024]byte
113 type Flock_t struct {
146 FADV_SEQUENTIAL = 0x2
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 {
210 Multiaddr [4]byte /* in_addr */
211 Interface [4]byte /* in_addr */
214 type IPv6Mreq struct {
215 Multiaddr [16]byte /* in6_addr */
229 type Cmsghdr struct {
235 type Inet6Pktinfo struct {
236 Addr [16]byte /* in6_addr */
240 type IPv6MTUInfo struct {
241 Addr RawSockaddrInet6
245 type ICMPv6Filter struct {
250 SizeofSockaddrInet4 = 0x10
251 SizeofSockaddrInet6 = 0x1c
252 SizeofSockaddrAny = 0x6c
253 SizeofSockaddrUnix = 0x6a
254 SizeofSockaddrDatalink = 0x14
258 SizeofIPv6Mreq = 0x14
261 SizeofInet6Pktinfo = 0x14
262 SizeofIPv6MTUInfo = 0x20
263 SizeofICMPv6Filter = 0x20
272 type Kevent_t struct {
287 SizeofIfMsghdr = 0x98
289 SizeofIfaMsghdr = 0x18
290 SizeofIfAnnounceMsghdr = 0x18
291 SizeofRtMsghdr = 0x78
292 SizeofRtMetrics = 0x50
295 type IfMsghdr struct {
329 type IfaMsghdr struct {
340 type IfAnnounceMsghdr struct {
349 type RtMsghdr struct {
366 type RtMetrics struct {
382 SizeofBpfVersion = 0x4
384 SizeofBpfProgram = 0x8
389 type BpfVersion struct {
394 type BpfStat struct {
401 type BpfProgram struct {
406 type BpfInsn struct {
421 type BpfTimeval struct {
426 type Termios struct {
436 type Winsize struct {
452 AT_SYMLINK_FOLLOW = 0x400
453 AT_SYMLINK_NOFOLLOW = 0x200
475 type Sysctlnode struct {
482 X_sysctl_size [8]byte
483 X_sysctl_func [8]byte
484 X_sysctl_parent [8]byte
485 X_sysctl_desc [8]byte
488 type Utsname struct {
496 const SizeofClockinfo = 0x14
498 type Clockinfo struct {