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 {
85 type Statvfs_t struct {
109 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 */
231 type Cmsghdr struct {
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
260 SizeofIPv6Mreq = 0x14
263 SizeofInet6Pktinfo = 0x14
264 SizeofIPv6MTUInfo = 0x20
265 SizeofICMPv6Filter = 0x20
274 type Kevent_t struct {
289 SizeofIfMsghdr = 0x98
291 SizeofIfaMsghdr = 0x18
292 SizeofIfAnnounceMsghdr = 0x18
293 SizeofRtMsghdr = 0x78
294 SizeofRtMetrics = 0x50
297 type IfMsghdr struct {
331 type IfaMsghdr struct {
342 type IfAnnounceMsghdr struct {
351 type RtMsghdr struct {
368 type RtMetrics struct {
384 SizeofBpfVersion = 0x4
386 SizeofBpfProgram = 0x10
391 type BpfVersion struct {
396 type BpfStat struct {
403 type BpfProgram struct {
409 type BpfInsn struct {
424 type BpfTimeval struct {
429 type Termios struct {
439 type Winsize struct {
455 AT_SYMLINK_FOLLOW = 0x400
456 AT_SYMLINK_NOFOLLOW = 0x200
478 type Sysctlnode struct {
485 X_sysctl_size [8]byte
486 X_sysctl_func [8]byte
487 X_sysctl_parent [8]byte
488 X_sysctl_desc [8]byte
491 type Utsname struct {
499 const SizeofClockinfo = 0x14
501 type Clockinfo struct {