diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go | 472 |
1 files changed, 472 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go new file mode 100644 index 0000000..43da2c4 --- /dev/null +++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go | |||
@@ -0,0 +1,472 @@ | |||
1 | // cgo -godefs types_netbsd.go | go run mkpost.go | ||
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | ||
3 | |||
4 | // +build arm64,netbsd | ||
5 | |||
6 | package unix | ||
7 | |||
8 | const ( | ||
9 | SizeofPtr = 0x8 | ||
10 | SizeofShort = 0x2 | ||
11 | SizeofInt = 0x4 | ||
12 | SizeofLong = 0x8 | ||
13 | SizeofLongLong = 0x8 | ||
14 | ) | ||
15 | |||
16 | type ( | ||
17 | _C_short int16 | ||
18 | _C_int int32 | ||
19 | _C_long int64 | ||
20 | _C_long_long int64 | ||
21 | ) | ||
22 | |||
23 | type Timespec struct { | ||
24 | Sec int64 | ||
25 | Nsec int64 | ||
26 | } | ||
27 | |||
28 | type Timeval struct { | ||
29 | Sec int64 | ||
30 | Usec int32 | ||
31 | Pad_cgo_0 [4]byte | ||
32 | } | ||
33 | |||
34 | type Rusage struct { | ||
35 | Utime Timeval | ||
36 | Stime Timeval | ||
37 | Maxrss int64 | ||
38 | Ixrss int64 | ||
39 | Idrss int64 | ||
40 | Isrss int64 | ||
41 | Minflt int64 | ||
42 | Majflt int64 | ||
43 | Nswap int64 | ||
44 | Inblock int64 | ||
45 | Oublock int64 | ||
46 | Msgsnd int64 | ||
47 | Msgrcv int64 | ||
48 | Nsignals int64 | ||
49 | Nvcsw int64 | ||
50 | Nivcsw int64 | ||
51 | } | ||
52 | |||
53 | type Rlimit struct { | ||
54 | Cur uint64 | ||
55 | Max uint64 | ||
56 | } | ||
57 | |||
58 | type _Gid_t uint32 | ||
59 | |||
60 | type Stat_t struct { | ||
61 | Dev uint64 | ||
62 | Mode uint32 | ||
63 | Pad_cgo_0 [4]byte | ||
64 | Ino uint64 | ||
65 | Nlink uint32 | ||
66 | Uid uint32 | ||
67 | Gid uint32 | ||
68 | Pad_cgo_1 [4]byte | ||
69 | Rdev uint64 | ||
70 | Atimespec Timespec | ||
71 | Mtimespec Timespec | ||
72 | Ctimespec Timespec | ||
73 | Birthtimespec Timespec | ||
74 | Size int64 | ||
75 | Blocks int64 | ||
76 | Blksize uint32 | ||
77 | Flags uint32 | ||
78 | Gen uint32 | ||
79 | Spare [2]uint32 | ||
80 | Pad_cgo_2 [4]byte | ||
81 | } | ||
82 | |||
83 | type Statfs_t [0]byte | ||
84 | |||
85 | type Flock_t struct { | ||
86 | Start int64 | ||
87 | Len int64 | ||
88 | Pid int32 | ||
89 | Type int16 | ||
90 | Whence int16 | ||
91 | } | ||
92 | |||
93 | type Dirent struct { | ||
94 | Fileno uint64 | ||
95 | Reclen uint16 | ||
96 | Namlen uint16 | ||
97 | Type uint8 | ||
98 | Name [512]int8 | ||
99 | Pad_cgo_0 [3]byte | ||
100 | } | ||
101 | |||
102 | type Fsid struct { | ||
103 | X__fsid_val [2]int32 | ||
104 | } | ||
105 | |||
106 | const ( | ||
107 | PathMax = 0x400 | ||
108 | ) | ||
109 | |||
110 | const ( | ||
111 | FADV_NORMAL = 0x0 | ||
112 | FADV_RANDOM = 0x1 | ||
113 | FADV_SEQUENTIAL = 0x2 | ||
114 | FADV_WILLNEED = 0x3 | ||
115 | FADV_DONTNEED = 0x4 | ||
116 | FADV_NOREUSE = 0x5 | ||
117 | ) | ||
118 | |||
119 | type RawSockaddrInet4 struct { | ||
120 | Len uint8 | ||
121 | Family uint8 | ||
122 | Port uint16 | ||
123 | Addr [4]byte /* in_addr */ | ||
124 | Zero [8]int8 | ||
125 | } | ||
126 | |||
127 | type RawSockaddrInet6 struct { | ||
128 | Len uint8 | ||
129 | Family uint8 | ||
130 | Port uint16 | ||
131 | Flowinfo uint32 | ||
132 | Addr [16]byte /* in6_addr */ | ||
133 | Scope_id uint32 | ||
134 | } | ||
135 | |||
136 | type RawSockaddrUnix struct { | ||
137 | Len uint8 | ||
138 | Family uint8 | ||
139 | Path [104]int8 | ||
140 | } | ||
141 | |||
142 | type RawSockaddrDatalink struct { | ||
143 | Len uint8 | ||
144 | Family uint8 | ||
145 | Index uint16 | ||
146 | Type uint8 | ||
147 | Nlen uint8 | ||
148 | Alen uint8 | ||
149 | Slen uint8 | ||
150 | Data [12]int8 | ||
151 | } | ||
152 | |||
153 | type RawSockaddr struct { | ||
154 | Len uint8 | ||
155 | Family uint8 | ||
156 | Data [14]int8 | ||
157 | } | ||
158 | |||
159 | type RawSockaddrAny struct { | ||
160 | Addr RawSockaddr | ||
161 | Pad [92]int8 | ||
162 | } | ||
163 | |||
164 | type _Socklen uint32 | ||
165 | |||
166 | type Linger struct { | ||
167 | Onoff int32 | ||
168 | Linger int32 | ||
169 | } | ||
170 | |||
171 | type Iovec struct { | ||
172 | Base *byte | ||
173 | Len uint64 | ||
174 | } | ||
175 | |||
176 | type IPMreq struct { | ||
177 | Multiaddr [4]byte /* in_addr */ | ||
178 | Interface [4]byte /* in_addr */ | ||
179 | } | ||
180 | |||
181 | type IPv6Mreq struct { | ||
182 | Multiaddr [16]byte /* in6_addr */ | ||
183 | Interface uint32 | ||
184 | } | ||
185 | |||
186 | type Msghdr struct { | ||
187 | Name *byte | ||
188 | Namelen uint32 | ||
189 | Pad_cgo_0 [4]byte | ||
190 | Iov *Iovec | ||
191 | Iovlen int32 | ||
192 | Pad_cgo_1 [4]byte | ||
193 | Control *byte | ||
194 | Controllen uint32 | ||
195 | Flags int32 | ||
196 | } | ||
197 | |||
198 | type Cmsghdr struct { | ||
199 | Len uint32 | ||
200 | Level int32 | ||
201 | Type int32 | ||
202 | } | ||
203 | |||
204 | type Inet6Pktinfo struct { | ||
205 | Addr [16]byte /* in6_addr */ | ||
206 | Ifindex uint32 | ||
207 | } | ||
208 | |||
209 | type IPv6MTUInfo struct { | ||
210 | Addr RawSockaddrInet6 | ||
211 | Mtu uint32 | ||
212 | } | ||
213 | |||
214 | type ICMPv6Filter struct { | ||
215 | Filt [8]uint32 | ||
216 | } | ||
217 | |||
218 | const ( | ||
219 | SizeofSockaddrInet4 = 0x10 | ||
220 | SizeofSockaddrInet6 = 0x1c | ||
221 | SizeofSockaddrAny = 0x6c | ||
222 | SizeofSockaddrUnix = 0x6a | ||
223 | SizeofSockaddrDatalink = 0x14 | ||
224 | SizeofLinger = 0x8 | ||
225 | SizeofIPMreq = 0x8 | ||
226 | SizeofIPv6Mreq = 0x14 | ||
227 | SizeofMsghdr = 0x30 | ||
228 | SizeofCmsghdr = 0xc | ||
229 | SizeofInet6Pktinfo = 0x14 | ||
230 | SizeofIPv6MTUInfo = 0x20 | ||
231 | SizeofICMPv6Filter = 0x20 | ||
232 | ) | ||
233 | |||
234 | const ( | ||
235 | PTRACE_TRACEME = 0x0 | ||
236 | PTRACE_CONT = 0x7 | ||
237 | PTRACE_KILL = 0x8 | ||
238 | ) | ||
239 | |||
240 | type Kevent_t struct { | ||
241 | Ident uint64 | ||
242 | Filter uint32 | ||
243 | Flags uint32 | ||
244 | Fflags uint32 | ||
245 | Pad_cgo_0 [4]byte | ||
246 | Data int64 | ||
247 | Udata int64 | ||
248 | } | ||
249 | |||
250 | type FdSet struct { | ||
251 | Bits [8]uint32 | ||
252 | } | ||
253 | |||
254 | const ( | ||
255 | SizeofIfMsghdr = 0x98 | ||
256 | SizeofIfData = 0x88 | ||
257 | SizeofIfaMsghdr = 0x18 | ||
258 | SizeofIfAnnounceMsghdr = 0x18 | ||
259 | SizeofRtMsghdr = 0x78 | ||
260 | SizeofRtMetrics = 0x50 | ||
261 | ) | ||
262 | |||
263 | type IfMsghdr struct { | ||
264 | Msglen uint16 | ||
265 | Version uint8 | ||
266 | Type uint8 | ||
267 | Addrs int32 | ||
268 | Flags int32 | ||
269 | Index uint16 | ||
270 | Pad_cgo_0 [2]byte | ||
271 | Data IfData | ||
272 | } | ||
273 | |||
274 | type IfData struct { | ||
275 | Type uint8 | ||
276 | Addrlen uint8 | ||
277 | Hdrlen uint8 | ||
278 | Pad_cgo_0 [1]byte | ||
279 | Link_state int32 | ||
280 | Mtu uint64 | ||
281 | Metric uint64 | ||
282 | Baudrate uint64 | ||
283 | Ipackets uint64 | ||
284 | Ierrors uint64 | ||
285 | Opackets uint64 | ||
286 | Oerrors uint64 | ||
287 | Collisions uint64 | ||
288 | Ibytes uint64 | ||
289 | Obytes uint64 | ||
290 | Imcasts uint64 | ||
291 | Omcasts uint64 | ||
292 | Iqdrops uint64 | ||
293 | Noproto uint64 | ||
294 | Lastchange Timespec | ||
295 | } | ||
296 | |||
297 | type IfaMsghdr struct { | ||
298 | Msglen uint16 | ||
299 | Version uint8 | ||
300 | Type uint8 | ||
301 | Addrs int32 | ||
302 | Flags int32 | ||
303 | Metric int32 | ||
304 | Index uint16 | ||
305 | Pad_cgo_0 [6]byte | ||
306 | } | ||
307 | |||
308 | type IfAnnounceMsghdr struct { | ||
309 | Msglen uint16 | ||
310 | Version uint8 | ||
311 | Type uint8 | ||
312 | Index uint16 | ||
313 | Name [16]int8 | ||
314 | What uint16 | ||
315 | } | ||
316 | |||
317 | type RtMsghdr struct { | ||
318 | Msglen uint16 | ||
319 | Version uint8 | ||
320 | Type uint8 | ||
321 | Index uint16 | ||
322 | Pad_cgo_0 [2]byte | ||
323 | Flags int32 | ||
324 | Addrs int32 | ||
325 | Pid int32 | ||
326 | Seq int32 | ||
327 | Errno int32 | ||
328 | Use int32 | ||
329 | Inits int32 | ||
330 | Pad_cgo_1 [4]byte | ||
331 | Rmx RtMetrics | ||
332 | } | ||
333 | |||
334 | type RtMetrics struct { | ||
335 | Locks uint64 | ||
336 | Mtu uint64 | ||
337 | Hopcount uint64 | ||
338 | Recvpipe uint64 | ||
339 | Sendpipe uint64 | ||
340 | Ssthresh uint64 | ||
341 | Rtt uint64 | ||
342 | Rttvar uint64 | ||
343 | Expire int64 | ||
344 | Pksent int64 | ||
345 | } | ||
346 | |||
347 | type Mclpool [0]byte | ||
348 | |||
349 | const ( | ||
350 | SizeofBpfVersion = 0x4 | ||
351 | SizeofBpfStat = 0x80 | ||
352 | SizeofBpfProgram = 0x10 | ||
353 | SizeofBpfInsn = 0x8 | ||
354 | SizeofBpfHdr = 0x20 | ||
355 | ) | ||
356 | |||
357 | type BpfVersion struct { | ||
358 | Major uint16 | ||
359 | Minor uint16 | ||
360 | } | ||
361 | |||
362 | type BpfStat struct { | ||
363 | Recv uint64 | ||
364 | Drop uint64 | ||
365 | Capt uint64 | ||
366 | Padding [13]uint64 | ||
367 | } | ||
368 | |||
369 | type BpfProgram struct { | ||
370 | Len uint32 | ||
371 | Pad_cgo_0 [4]byte | ||
372 | Insns *BpfInsn | ||
373 | } | ||
374 | |||
375 | type BpfInsn struct { | ||
376 | Code uint16 | ||
377 | Jt uint8 | ||
378 | Jf uint8 | ||
379 | K uint32 | ||
380 | } | ||
381 | |||
382 | type BpfHdr struct { | ||
383 | Tstamp BpfTimeval | ||
384 | Caplen uint32 | ||
385 | Datalen uint32 | ||
386 | Hdrlen uint16 | ||
387 | Pad_cgo_0 [6]byte | ||
388 | } | ||
389 | |||
390 | type BpfTimeval struct { | ||
391 | Sec int64 | ||
392 | Usec int64 | ||
393 | } | ||
394 | |||
395 | type Termios struct { | ||
396 | Iflag uint32 | ||
397 | Oflag uint32 | ||
398 | Cflag uint32 | ||
399 | Lflag uint32 | ||
400 | Cc [20]uint8 | ||
401 | Ispeed int32 | ||
402 | Ospeed int32 | ||
403 | } | ||
404 | |||
405 | type Winsize struct { | ||
406 | Row uint16 | ||
407 | Col uint16 | ||
408 | Xpixel uint16 | ||
409 | Ypixel uint16 | ||
410 | } | ||
411 | |||
412 | type Ptmget struct { | ||
413 | Cfd int32 | ||
414 | Sfd int32 | ||
415 | Cn [1024]byte | ||
416 | Sn [1024]byte | ||
417 | } | ||
418 | |||
419 | const ( | ||
420 | AT_FDCWD = -0x64 | ||
421 | AT_SYMLINK_NOFOLLOW = 0x200 | ||
422 | ) | ||
423 | |||
424 | type PollFd struct { | ||
425 | Fd int32 | ||
426 | Events int16 | ||
427 | Revents int16 | ||
428 | } | ||
429 | |||
430 | const ( | ||
431 | POLLERR = 0x8 | ||
432 | POLLHUP = 0x10 | ||
433 | POLLIN = 0x1 | ||
434 | POLLNVAL = 0x20 | ||
435 | POLLOUT = 0x4 | ||
436 | POLLPRI = 0x2 | ||
437 | POLLRDBAND = 0x80 | ||
438 | POLLRDNORM = 0x40 | ||
439 | POLLWRBAND = 0x100 | ||
440 | POLLWRNORM = 0x4 | ||
441 | ) | ||
442 | |||
443 | type Sysctlnode struct { | ||
444 | Flags uint32 | ||
445 | Num int32 | ||
446 | Name [32]int8 | ||
447 | Ver uint32 | ||
448 | X__rsvd uint32 | ||
449 | Un [16]byte | ||
450 | X_sysctl_size [8]byte | ||
451 | X_sysctl_func [8]byte | ||
452 | X_sysctl_parent [8]byte | ||
453 | X_sysctl_desc [8]byte | ||
454 | } | ||
455 | |||
456 | type Utsname struct { | ||
457 | Sysname [256]byte | ||
458 | Nodename [256]byte | ||
459 | Release [256]byte | ||
460 | Version [256]byte | ||
461 | Machine [256]byte | ||
462 | } | ||
463 | |||
464 | const SizeofClockinfo = 0x14 | ||
465 | |||
466 | type Clockinfo struct { | ||
467 | Hz int32 | ||
468 | Tick int32 | ||
469 | Tickadj int32 | ||
470 | Stathz int32 | ||
471 | Profhz int32 | ||
472 | } | ||