]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / golang.org / x / sys / unix / ztypes_freebsd_arm.go
1 // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
3
4 // +build arm,freebsd
5
6 package unix
7
8 const (
9 SizeofPtr = 0x4
10 SizeofShort = 0x2
11 SizeofInt = 0x4
12 SizeofLong = 0x4
13 SizeofLongLong = 0x8
14 )
15
16 type (
17 _C_short int16
18 _C_int int32
19 _C_long int32
20 _C_long_long int64
21 )
22
23 type Timespec struct {
24 Sec int64
25 Nsec int32
26 _ [4]byte
27 }
28
29 type Timeval struct {
30 Sec int64
31 Usec int32
32 _ [4]byte
33 }
34
35 type Rusage struct {
36 Utime Timeval
37 Stime Timeval
38 Maxrss int32
39 Ixrss int32
40 Idrss int32
41 Isrss int32
42 Minflt int32
43 Majflt int32
44 Nswap int32
45 Inblock int32
46 Oublock int32
47 Msgsnd int32
48 Msgrcv int32
49 Nsignals int32
50 Nvcsw int32
51 Nivcsw int32
52 }
53
54 type Rlimit struct {
55 Cur int64
56 Max int64
57 }
58
59 type _Gid_t uint32
60
61 const (
62 _statfsVersion = 0x20140518
63 _dirblksiz = 0x400
64 )
65
66 type Stat_t struct {
67 Dev uint64
68 Ino uint64
69 Nlink uint64
70 Mode uint16
71 _0 int16
72 Uid uint32
73 Gid uint32
74 _1 int32
75 Rdev uint64
76 Atim Timespec
77 Mtim Timespec
78 Ctim Timespec
79 Birthtim Timespec
80 Size int64
81 Blocks int64
82 Blksize int32
83 Flags uint32
84 Gen uint64
85 Spare [10]uint64
86 }
87
88 type stat_freebsd11_t struct {
89 Dev uint32
90 Ino uint32
91 Mode uint16
92 Nlink uint16
93 Uid uint32
94 Gid uint32
95 Rdev uint32
96 Atim Timespec
97 Mtim Timespec
98 Ctim Timespec
99 Size int64
100 Blocks int64
101 Blksize int32
102 Flags uint32
103 Gen uint32
104 Lspare int32
105 Birthtim Timespec
106 }
107
108 type Statfs_t struct {
109 Version uint32
110 Type uint32
111 Flags uint64
112 Bsize uint64
113 Iosize uint64
114 Blocks uint64
115 Bfree uint64
116 Bavail int64
117 Files uint64
118 Ffree int64
119 Syncwrites uint64
120 Asyncwrites uint64
121 Syncreads uint64
122 Asyncreads uint64
123 Spare [10]uint64
124 Namemax uint32
125 Owner uint32
126 Fsid Fsid
127 Charspare [80]int8
128 Fstypename [16]int8
129 Mntfromname [1024]int8
130 Mntonname [1024]int8
131 }
132
133 type statfs_freebsd11_t struct {
134 Version uint32
135 Type uint32
136 Flags uint64
137 Bsize uint64
138 Iosize uint64
139 Blocks uint64
140 Bfree uint64
141 Bavail int64
142 Files uint64
143 Ffree int64
144 Syncwrites uint64
145 Asyncwrites uint64
146 Syncreads uint64
147 Asyncreads uint64
148 Spare [10]uint64
149 Namemax uint32
150 Owner uint32
151 Fsid Fsid
152 Charspare [80]int8
153 Fstypename [16]int8
154 Mntfromname [88]int8
155 Mntonname [88]int8
156 }
157
158 type Flock_t struct {
159 Start int64
160 Len int64
161 Pid int32
162 Type int16
163 Whence int16
164 Sysid int32
165 _ [4]byte
166 }
167
168 type Dirent struct {
169 Fileno uint64
170 Off int64
171 Reclen uint16
172 Type uint8
173 Pad0 uint8
174 Namlen uint16
175 Pad1 uint16
176 Name [256]int8
177 }
178
179 type dirent_freebsd11 struct {
180 Fileno uint32
181 Reclen uint16
182 Type uint8
183 Namlen uint8
184 Name [256]int8
185 }
186
187 type Fsid struct {
188 Val [2]int32
189 }
190
191 const (
192 PathMax = 0x400
193 )
194
195 const (
196 FADV_NORMAL = 0x0
197 FADV_RANDOM = 0x1
198 FADV_SEQUENTIAL = 0x2
199 FADV_WILLNEED = 0x3
200 FADV_DONTNEED = 0x4
201 FADV_NOREUSE = 0x5
202 )
203
204 type RawSockaddrInet4 struct {
205 Len uint8
206 Family uint8
207 Port uint16
208 Addr [4]byte /* in_addr */
209 Zero [8]int8
210 }
211
212 type RawSockaddrInet6 struct {
213 Len uint8
214 Family uint8
215 Port uint16
216 Flowinfo uint32
217 Addr [16]byte /* in6_addr */
218 Scope_id uint32
219 }
220
221 type RawSockaddrUnix struct {
222 Len uint8
223 Family uint8
224 Path [104]int8
225 }
226
227 type RawSockaddrDatalink struct {
228 Len uint8
229 Family uint8
230 Index uint16
231 Type uint8
232 Nlen uint8
233 Alen uint8
234 Slen uint8
235 Data [46]int8
236 }
237
238 type RawSockaddr struct {
239 Len uint8
240 Family uint8
241 Data [14]int8
242 }
243
244 type RawSockaddrAny struct {
245 Addr RawSockaddr
246 Pad [92]int8
247 }
248
249 type _Socklen uint32
250
251 type Linger struct {
252 Onoff int32
253 Linger int32
254 }
255
256 type Iovec struct {
257 Base *byte
258 Len uint32
259 }
260
261 type IPMreq struct {
262 Multiaddr [4]byte /* in_addr */
263 Interface [4]byte /* in_addr */
264 }
265
266 type IPMreqn struct {
267 Multiaddr [4]byte /* in_addr */
268 Address [4]byte /* in_addr */
269 Ifindex int32
270 }
271
272 type IPv6Mreq struct {
273 Multiaddr [16]byte /* in6_addr */
274 Interface uint32
275 }
276
277 type Msghdr struct {
278 Name *byte
279 Namelen uint32
280 Iov *Iovec
281 Iovlen int32
282 Control *byte
283 Controllen uint32
284 Flags int32
285 }
286
287 type Cmsghdr struct {
288 Len uint32
289 Level int32
290 Type int32
291 }
292
293 type Inet6Pktinfo struct {
294 Addr [16]byte /* in6_addr */
295 Ifindex uint32
296 }
297
298 type IPv6MTUInfo struct {
299 Addr RawSockaddrInet6
300 Mtu uint32
301 }
302
303 type ICMPv6Filter struct {
304 Filt [8]uint32
305 }
306
307 const (
308 SizeofSockaddrInet4 = 0x10
309 SizeofSockaddrInet6 = 0x1c
310 SizeofSockaddrAny = 0x6c
311 SizeofSockaddrUnix = 0x6a
312 SizeofSockaddrDatalink = 0x36
313 SizeofLinger = 0x8
314 SizeofIPMreq = 0x8
315 SizeofIPMreqn = 0xc
316 SizeofIPv6Mreq = 0x14
317 SizeofMsghdr = 0x1c
318 SizeofCmsghdr = 0xc
319 SizeofInet6Pktinfo = 0x14
320 SizeofIPv6MTUInfo = 0x20
321 SizeofICMPv6Filter = 0x20
322 )
323
324 const (
325 PTRACE_TRACEME = 0x0
326 PTRACE_CONT = 0x7
327 PTRACE_KILL = 0x8
328 )
329
330 type Kevent_t struct {
331 Ident uint32
332 Filter int16
333 Flags uint16
334 Fflags uint32
335 Data int32
336 Udata *byte
337 }
338
339 type FdSet struct {
340 Bits [32]uint32
341 }
342
343 const (
344 sizeofIfMsghdr = 0xa8
345 SizeofIfMsghdr = 0x70
346 sizeofIfData = 0x98
347 SizeofIfData = 0x60
348 SizeofIfaMsghdr = 0x14
349 SizeofIfmaMsghdr = 0x10
350 SizeofIfAnnounceMsghdr = 0x18
351 SizeofRtMsghdr = 0x5c
352 SizeofRtMetrics = 0x38
353 )
354
355 type ifMsghdr struct {
356 Msglen uint16
357 Version uint8
358 Type uint8
359 Addrs int32
360 Flags int32
361 Index uint16
362 _ [2]byte
363 Data ifData
364 }
365
366 type IfMsghdr struct {
367 Msglen uint16
368 Version uint8
369 Type uint8
370 Addrs int32
371 Flags int32
372 Index uint16
373 _ [2]byte
374 Data IfData
375 }
376
377 type ifData struct {
378 Type uint8
379 Physical uint8
380 Addrlen uint8
381 Hdrlen uint8
382 Link_state uint8
383 Vhid uint8
384 Datalen uint16
385 Mtu uint32
386 Metric uint32
387 Baudrate uint64
388 Ipackets uint64
389 Ierrors uint64
390 Opackets uint64
391 Oerrors uint64
392 Collisions uint64
393 Ibytes uint64
394 Obytes uint64
395 Imcasts uint64
396 Omcasts uint64
397 Iqdrops uint64
398 Oqdrops uint64
399 Noproto uint64
400 Hwassist uint64
401 _ [8]byte
402 _ [16]byte
403 }
404
405 type IfData struct {
406 Type uint8
407 Physical uint8
408 Addrlen uint8
409 Hdrlen uint8
410 Link_state uint8
411 Spare_char1 uint8
412 Spare_char2 uint8
413 Datalen uint8
414 Mtu uint32
415 Metric uint32
416 Baudrate uint32
417 Ipackets uint32
418 Ierrors uint32
419 Opackets uint32
420 Oerrors uint32
421 Collisions uint32
422 Ibytes uint32
423 Obytes uint32
424 Imcasts uint32
425 Omcasts uint32
426 Iqdrops uint32
427 Noproto uint32
428 Hwassist uint32
429 _ [4]byte
430 Epoch int64
431 Lastchange Timeval
432 }
433
434 type IfaMsghdr struct {
435 Msglen uint16
436 Version uint8
437 Type uint8
438 Addrs int32
439 Flags int32
440 Index uint16
441 _ [2]byte
442 Metric int32
443 }
444
445 type IfmaMsghdr struct {
446 Msglen uint16
447 Version uint8
448 Type uint8
449 Addrs int32
450 Flags int32
451 Index uint16
452 _ [2]byte
453 }
454
455 type IfAnnounceMsghdr struct {
456 Msglen uint16
457 Version uint8
458 Type uint8
459 Index uint16
460 Name [16]int8
461 What uint16
462 }
463
464 type RtMsghdr struct {
465 Msglen uint16
466 Version uint8
467 Type uint8
468 Index uint16
469 _ [2]byte
470 Flags int32
471 Addrs int32
472 Pid int32
473 Seq int32
474 Errno int32
475 Fmask int32
476 Inits uint32
477 Rmx RtMetrics
478 }
479
480 type RtMetrics struct {
481 Locks uint32
482 Mtu uint32
483 Hopcount uint32
484 Expire uint32
485 Recvpipe uint32
486 Sendpipe uint32
487 Ssthresh uint32
488 Rtt uint32
489 Rttvar uint32
490 Pksent uint32
491 Weight uint32
492 Filler [3]uint32
493 }
494
495 const (
496 SizeofBpfVersion = 0x4
497 SizeofBpfStat = 0x8
498 SizeofBpfZbuf = 0xc
499 SizeofBpfProgram = 0x8
500 SizeofBpfInsn = 0x8
501 SizeofBpfHdr = 0x20
502 SizeofBpfZbufHeader = 0x20
503 )
504
505 type BpfVersion struct {
506 Major uint16
507 Minor uint16
508 }
509
510 type BpfStat struct {
511 Recv uint32
512 Drop uint32
513 }
514
515 type BpfZbuf struct {
516 Bufa *byte
517 Bufb *byte
518 Buflen uint32
519 }
520
521 type BpfProgram struct {
522 Len uint32
523 Insns *BpfInsn
524 }
525
526 type BpfInsn struct {
527 Code uint16
528 Jt uint8
529 Jf uint8
530 K uint32
531 }
532
533 type BpfHdr struct {
534 Tstamp Timeval
535 Caplen uint32
536 Datalen uint32
537 Hdrlen uint16
538 _ [6]byte
539 }
540
541 type BpfZbufHeader struct {
542 Kernel_gen uint32
543 Kernel_len uint32
544 User_gen uint32
545 _ [5]uint32
546 }
547
548 type Termios struct {
549 Iflag uint32
550 Oflag uint32
551 Cflag uint32
552 Lflag uint32
553 Cc [20]uint8
554 Ispeed uint32
555 Ospeed uint32
556 }
557
558 type Winsize struct {
559 Row uint16
560 Col uint16
561 Xpixel uint16
562 Ypixel uint16
563 }
564
565 const (
566 AT_FDCWD = -0x64
567 AT_REMOVEDIR = 0x800
568 AT_SYMLINK_FOLLOW = 0x400
569 AT_SYMLINK_NOFOLLOW = 0x200
570 )
571
572 type PollFd struct {
573 Fd int32
574 Events int16
575 Revents int16
576 }
577
578 const (
579 POLLERR = 0x8
580 POLLHUP = 0x10
581 POLLIN = 0x1
582 POLLINIGNEOF = 0x2000
583 POLLNVAL = 0x20
584 POLLOUT = 0x4
585 POLLPRI = 0x2
586 POLLRDBAND = 0x80
587 POLLRDNORM = 0x40
588 POLLWRBAND = 0x100
589 POLLWRNORM = 0x4
590 )
591
592 type CapRights struct {
593 Rights [2]uint64
594 }
595
596 type Utsname struct {
597 Sysname [256]byte
598 Nodename [256]byte
599 Release [256]byte
600 Version [256]byte
601 Machine [256]byte
602 }