aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go104
1 files changed, 57 insertions, 47 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
index 3e20cdf..510efc3 100644
--- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
@@ -1,4 +1,4 @@
1// cgo -godefs types_openbsd.go | go run mkpost.go 1// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go
2// Code generated by the command above; see README.md. DO NOT EDIT. 2// Code generated by the command above; see README.md. DO NOT EDIT.
3 3
4// +build arm,openbsd 4// +build arm,openbsd
@@ -23,11 +23,13 @@ type (
23type Timespec struct { 23type Timespec struct {
24 Sec int64 24 Sec int64
25 Nsec int32 25 Nsec int32
26 _ [4]byte
26} 27}
27 28
28type Timeval struct { 29type Timeval struct {
29 Sec int64 30 Sec int64
30 Usec int32 31 Usec int32
32 _ [4]byte
31} 33}
32 34
33type Rusage struct { 35type Rusage struct {
@@ -57,28 +59,30 @@ type Rlimit struct {
57type _Gid_t uint32 59type _Gid_t uint32
58 60
59type Stat_t struct { 61type Stat_t struct {
60 Mode uint32 62 Mode uint32
61 Dev int32 63 Dev int32
62 Ino uint64 64 Ino uint64
63 Nlink uint32 65 Nlink uint32
64 Uid uint32 66 Uid uint32
65 Gid uint32 67 Gid uint32
66 Rdev int32 68 Rdev int32
67 Atim Timespec 69 Atim Timespec
68 Mtim Timespec 70 Mtim Timespec
69 Ctim Timespec 71 Ctim Timespec
70 Size int64 72 Size int64
71 Blocks int64 73 Blocks int64
72 Blksize int32 74 Blksize int32
73 Flags uint32 75 Flags uint32
74 Gen uint32 76 Gen uint32
75 X__st_birthtim Timespec 77 _ [4]byte
78 _ Timespec
76} 79}
77 80
78type Statfs_t struct { 81type Statfs_t struct {
79 F_flags uint32 82 F_flags uint32
80 F_bsize uint32 83 F_bsize uint32
81 F_iosize uint32 84 F_iosize uint32
85 _ [4]byte
82 F_blocks uint64 86 F_blocks uint64
83 F_bfree uint64 87 F_bfree uint64
84 F_bavail int64 88 F_bavail int64
@@ -93,11 +97,11 @@ type Statfs_t struct {
93 F_namemax uint32 97 F_namemax uint32
94 F_owner uint32 98 F_owner uint32
95 F_ctime uint64 99 F_ctime uint64
96 F_fstypename [16]uint8 100 F_fstypename [16]int8
97 F_mntonname [90]uint8 101 F_mntonname [90]int8
98 F_mntfromname [90]uint8 102 F_mntfromname [90]int8
99 F_mntfromspec [90]uint8 103 F_mntfromspec [90]int8
100 Pad_cgo_0 [2]byte 104 _ [2]byte
101 Mount_info [160]byte 105 Mount_info [160]byte
102} 106}
103 107
@@ -110,13 +114,13 @@ type Flock_t struct {
110} 114}
111 115
112type Dirent struct { 116type Dirent struct {
113 Fileno uint64 117 Fileno uint64
114 Off int64 118 Off int64
115 Reclen uint16 119 Reclen uint16
116 Type uint8 120 Type uint8
117 Namlen uint8 121 Namlen uint8
118 X__d_padding [4]uint8 122 _ [4]uint8
119 Name [256]uint8 123 Name [256]int8
120} 124}
121 125
122type Fsid struct { 126type Fsid struct {
@@ -251,8 +255,10 @@ type Kevent_t struct {
251 Filter int16 255 Filter int16
252 Flags uint16 256 Flags uint16
253 Fflags uint32 257 Fflags uint32
258 _ [4]byte
254 Data int64 259 Data int64
255 Udata *byte 260 Udata *byte
261 _ [4]byte
256} 262}
257 263
258type FdSet struct { 264type FdSet struct {
@@ -260,8 +266,8 @@ type FdSet struct {
260} 266}
261 267
262const ( 268const (
263 SizeofIfMsghdr = 0x98 269 SizeofIfMsghdr = 0xa8
264 SizeofIfData = 0x80 270 SizeofIfData = 0x90
265 SizeofIfaMsghdr = 0x18 271 SizeofIfaMsghdr = 0x18
266 SizeofIfAnnounceMsghdr = 0x1a 272 SizeofIfAnnounceMsghdr = 0x1a
267 SizeofRtMsghdr = 0x60 273 SizeofRtMsghdr = 0x60
@@ -290,7 +296,7 @@ type IfData struct {
290 Link_state uint8 296 Link_state uint8
291 Mtu uint32 297 Mtu uint32
292 Metric uint32 298 Metric uint32
293 Pad uint32 299 Rdomain uint32
294 Baudrate uint64 300 Baudrate uint64
295 Ipackets uint64 301 Ipackets uint64
296 Ierrors uint64 302 Ierrors uint64
@@ -302,8 +308,10 @@ type IfData struct {
302 Imcasts uint64 308 Imcasts uint64
303 Omcasts uint64 309 Omcasts uint64
304 Iqdrops uint64 310 Iqdrops uint64
311 Oqdrops uint64
305 Noproto uint64 312 Noproto uint64
306 Capabilities uint32 313 Capabilities uint32
314 _ [4]byte
307 Lastchange Timeval 315 Lastchange Timeval
308} 316}
309 317
@@ -328,7 +336,7 @@ type IfAnnounceMsghdr struct {
328 Hdrlen uint16 336 Hdrlen uint16
329 Index uint16 337 Index uint16
330 What uint16 338 What uint16
331 Name [16]uint8 339 Name [16]int8
332} 340}
333 341
334type RtMsghdr struct { 342type RtMsghdr struct {
@@ -398,11 +406,11 @@ type BpfInsn struct {
398} 406}
399 407
400type BpfHdr struct { 408type BpfHdr struct {
401 Tstamp BpfTimeval 409 Tstamp BpfTimeval
402 Caplen uint32 410 Caplen uint32
403 Datalen uint32 411 Datalen uint32
404 Hdrlen uint16 412 Hdrlen uint16
405 Pad_cgo_0 [2]byte 413 _ [2]byte
406} 414}
407 415
408type BpfTimeval struct { 416type BpfTimeval struct {
@@ -451,6 +459,8 @@ const (
451 POLLWRNORM = 0x4 459 POLLWRNORM = 0x4
452) 460)
453 461
462type Sigset_t uint32
463
454type Utsname struct { 464type Utsname struct {
455 Sysname [256]byte 465 Sysname [256]byte
456 Nodename [256]byte 466 Nodename [256]byte
@@ -474,7 +484,7 @@ type Uvmexp struct {
474 Zeropages int32 484 Zeropages int32
475 Reserve_pagedaemon int32 485 Reserve_pagedaemon int32
476 Reserve_kernel int32 486 Reserve_kernel int32
477 Anonpages int32 487 Unused01 int32
478 Vnodepages int32 488 Vnodepages int32
479 Vtextpages int32 489 Vtextpages int32
480 Freemin int32 490 Freemin int32
@@ -493,8 +503,8 @@ type Uvmexp struct {
493 Swpgonly int32 503 Swpgonly int32
494 Nswget int32 504 Nswget int32
495 Nanon int32 505 Nanon int32
496 Nanonneeded int32 506 Unused05 int32
497 Nfreeanon int32 507 Unused06 int32
498 Faults int32 508 Faults int32
499 Traps int32 509 Traps int32
500 Intrs int32 510 Intrs int32
@@ -502,8 +512,8 @@ type Uvmexp struct {
502 Softs int32 512 Softs int32
503 Syscalls int32 513 Syscalls int32
504 Pageins int32 514 Pageins int32
505 Obsolete_swapins int32 515 Unused07 int32
506 Obsolete_swapouts int32 516 Unused08 int32
507 Pgswapin int32 517 Pgswapin int32
508 Pgswapout int32 518 Pgswapout int32
509 Forks int32 519 Forks int32
@@ -511,7 +521,7 @@ type Uvmexp struct {
511 Forks_sharevm int32 521 Forks_sharevm int32
512 Pga_zerohit int32 522 Pga_zerohit int32
513 Pga_zeromiss int32 523 Pga_zeromiss int32
514 Zeroaborts int32 524 Unused09 int32
515 Fltnoram int32 525 Fltnoram int32
516 Fltnoanon int32 526 Fltnoanon int32
517 Fltnoamap int32 527 Fltnoamap int32
@@ -543,9 +553,9 @@ type Uvmexp struct {
543 Pdpageouts int32 553 Pdpageouts int32
544 Pdpending int32 554 Pdpending int32
545 Pddeact int32 555 Pddeact int32
546 Pdreanon int32 556 Unused11 int32
547 Pdrevnode int32 557 Unused12 int32
548 Pdrevtext int32 558 Unused13 int32
549 Fpswtch int32 559 Fpswtch int32
550 Kmapent int32 560 Kmapent int32
551} 561}