diff options
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go')
-rw-r--r-- | vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go | 605 |
1 files changed, 605 insertions, 0 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go new file mode 100644 index 0000000..22c96a2 --- /dev/null +++ b/vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_linux_ppc64le.go | |||
@@ -0,0 +1,605 @@ | |||
1 | // +build ppc64le,linux | ||
2 | // Created by cgo -godefs - DO NOT EDIT | ||
3 | // cgo -godefs types_linux.go | ||
4 | |||
5 | package unix | ||
6 | |||
7 | const ( | ||
8 | sizeofPtr = 0x8 | ||
9 | sizeofShort = 0x2 | ||
10 | sizeofInt = 0x4 | ||
11 | sizeofLong = 0x8 | ||
12 | sizeofLongLong = 0x8 | ||
13 | PathMax = 0x1000 | ||
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 int64 | ||
31 | } | ||
32 | |||
33 | type Timex struct { | ||
34 | Modes uint32 | ||
35 | Pad_cgo_0 [4]byte | ||
36 | Offset int64 | ||
37 | Freq int64 | ||
38 | Maxerror int64 | ||
39 | Esterror int64 | ||
40 | Status int32 | ||
41 | Pad_cgo_1 [4]byte | ||
42 | Constant int64 | ||
43 | Precision int64 | ||
44 | Tolerance int64 | ||
45 | Time Timeval | ||
46 | Tick int64 | ||
47 | Ppsfreq int64 | ||
48 | Jitter int64 | ||
49 | Shift int32 | ||
50 | Pad_cgo_2 [4]byte | ||
51 | Stabil int64 | ||
52 | Jitcnt int64 | ||
53 | Calcnt int64 | ||
54 | Errcnt int64 | ||
55 | Stbcnt int64 | ||
56 | Tai int32 | ||
57 | Pad_cgo_3 [44]byte | ||
58 | } | ||
59 | |||
60 | type Time_t int64 | ||
61 | |||
62 | type Tms struct { | ||
63 | Utime int64 | ||
64 | Stime int64 | ||
65 | Cutime int64 | ||
66 | Cstime int64 | ||
67 | } | ||
68 | |||
69 | type Utimbuf struct { | ||
70 | Actime int64 | ||
71 | Modtime int64 | ||
72 | } | ||
73 | |||
74 | type Rusage struct { | ||
75 | Utime Timeval | ||
76 | Stime Timeval | ||
77 | Maxrss int64 | ||
78 | Ixrss int64 | ||
79 | Idrss int64 | ||
80 | Isrss int64 | ||
81 | Minflt int64 | ||
82 | Majflt int64 | ||
83 | Nswap int64 | ||
84 | Inblock int64 | ||
85 | Oublock int64 | ||
86 | Msgsnd int64 | ||
87 | Msgrcv int64 | ||
88 | Nsignals int64 | ||
89 | Nvcsw int64 | ||
90 | Nivcsw int64 | ||
91 | } | ||
92 | |||
93 | type Rlimit struct { | ||
94 | Cur uint64 | ||
95 | Max uint64 | ||
96 | } | ||
97 | |||
98 | type _Gid_t uint32 | ||
99 | |||
100 | type Stat_t struct { | ||
101 | Dev uint64 | ||
102 | Ino uint64 | ||
103 | Nlink uint64 | ||
104 | Mode uint32 | ||
105 | Uid uint32 | ||
106 | Gid uint32 | ||
107 | X__pad2 int32 | ||
108 | Rdev uint64 | ||
109 | Size int64 | ||
110 | Blksize int64 | ||
111 | Blocks int64 | ||
112 | Atim Timespec | ||
113 | Mtim Timespec | ||
114 | Ctim Timespec | ||
115 | X__glibc_reserved4 uint64 | ||
116 | X__glibc_reserved5 uint64 | ||
117 | X__glibc_reserved6 uint64 | ||
118 | } | ||
119 | |||
120 | type Statfs_t struct { | ||
121 | Type int64 | ||
122 | Bsize int64 | ||
123 | Blocks uint64 | ||
124 | Bfree uint64 | ||
125 | Bavail uint64 | ||
126 | Files uint64 | ||
127 | Ffree uint64 | ||
128 | Fsid Fsid | ||
129 | Namelen int64 | ||
130 | Frsize int64 | ||
131 | Flags int64 | ||
132 | Spare [4]int64 | ||
133 | } | ||
134 | |||
135 | type Dirent struct { | ||
136 | Ino uint64 | ||
137 | Off int64 | ||
138 | Reclen uint16 | ||
139 | Type uint8 | ||
140 | Name [256]uint8 | ||
141 | Pad_cgo_0 [5]byte | ||
142 | } | ||
143 | |||
144 | type Fsid struct { | ||
145 | X__val [2]int32 | ||
146 | } | ||
147 | |||
148 | type Flock_t struct { | ||
149 | Type int16 | ||
150 | Whence int16 | ||
151 | Pad_cgo_0 [4]byte | ||
152 | Start int64 | ||
153 | Len int64 | ||
154 | Pid int32 | ||
155 | Pad_cgo_1 [4]byte | ||
156 | } | ||
157 | |||
158 | const ( | ||
159 | FADV_NORMAL = 0x0 | ||
160 | FADV_RANDOM = 0x1 | ||
161 | FADV_SEQUENTIAL = 0x2 | ||
162 | FADV_WILLNEED = 0x3 | ||
163 | FADV_DONTNEED = 0x4 | ||
164 | FADV_NOREUSE = 0x5 | ||
165 | ) | ||
166 | |||
167 | type RawSockaddrInet4 struct { | ||
168 | Family uint16 | ||
169 | Port uint16 | ||
170 | Addr [4]byte /* in_addr */ | ||
171 | Zero [8]uint8 | ||
172 | } | ||
173 | |||
174 | type RawSockaddrInet6 struct { | ||
175 | Family uint16 | ||
176 | Port uint16 | ||
177 | Flowinfo uint32 | ||
178 | Addr [16]byte /* in6_addr */ | ||
179 | Scope_id uint32 | ||
180 | } | ||
181 | |||
182 | type RawSockaddrUnix struct { | ||
183 | Family uint16 | ||
184 | Path [108]int8 | ||
185 | } | ||
186 | |||
187 | type RawSockaddrLinklayer struct { | ||
188 | Family uint16 | ||
189 | Protocol uint16 | ||
190 | Ifindex int32 | ||
191 | Hatype uint16 | ||
192 | Pkttype uint8 | ||
193 | Halen uint8 | ||
194 | Addr [8]uint8 | ||
195 | } | ||
196 | |||
197 | type RawSockaddrNetlink struct { | ||
198 | Family uint16 | ||
199 | Pad uint16 | ||
200 | Pid uint32 | ||
201 | Groups uint32 | ||
202 | } | ||
203 | |||
204 | type RawSockaddr struct { | ||
205 | Family uint16 | ||
206 | Data [14]uint8 | ||
207 | } | ||
208 | |||
209 | type RawSockaddrAny struct { | ||
210 | Addr RawSockaddr | ||
211 | Pad [96]uint8 | ||
212 | } | ||
213 | |||
214 | type _Socklen uint32 | ||
215 | |||
216 | type Linger struct { | ||
217 | Onoff int32 | ||
218 | Linger int32 | ||
219 | } | ||
220 | |||
221 | type Iovec struct { | ||
222 | Base *byte | ||
223 | Len uint64 | ||
224 | } | ||
225 | |||
226 | type IPMreq struct { | ||
227 | Multiaddr [4]byte /* in_addr */ | ||
228 | Interface [4]byte /* in_addr */ | ||
229 | } | ||
230 | |||
231 | type IPMreqn struct { | ||
232 | Multiaddr [4]byte /* in_addr */ | ||
233 | Address [4]byte /* in_addr */ | ||
234 | Ifindex int32 | ||
235 | } | ||
236 | |||
237 | type IPv6Mreq struct { | ||
238 | Multiaddr [16]byte /* in6_addr */ | ||
239 | Interface uint32 | ||
240 | } | ||
241 | |||
242 | type Msghdr struct { | ||
243 | Name *byte | ||
244 | Namelen uint32 | ||
245 | Pad_cgo_0 [4]byte | ||
246 | Iov *Iovec | ||
247 | Iovlen uint64 | ||
248 | Control *byte | ||
249 | Controllen uint64 | ||
250 | Flags int32 | ||
251 | Pad_cgo_1 [4]byte | ||
252 | } | ||
253 | |||
254 | type Cmsghdr struct { | ||
255 | Len uint64 | ||
256 | Level int32 | ||
257 | Type int32 | ||
258 | X__cmsg_data [0]uint8 | ||
259 | } | ||
260 | |||
261 | type Inet4Pktinfo struct { | ||
262 | Ifindex int32 | ||
263 | Spec_dst [4]byte /* in_addr */ | ||
264 | Addr [4]byte /* in_addr */ | ||
265 | } | ||
266 | |||
267 | type Inet6Pktinfo struct { | ||
268 | Addr [16]byte /* in6_addr */ | ||
269 | Ifindex uint32 | ||
270 | } | ||
271 | |||
272 | type IPv6MTUInfo struct { | ||
273 | Addr RawSockaddrInet6 | ||
274 | Mtu uint32 | ||
275 | } | ||
276 | |||
277 | type ICMPv6Filter struct { | ||
278 | Data [8]uint32 | ||
279 | } | ||
280 | |||
281 | type Ucred struct { | ||
282 | Pid int32 | ||
283 | Uid uint32 | ||
284 | Gid uint32 | ||
285 | } | ||
286 | |||
287 | type TCPInfo struct { | ||
288 | State uint8 | ||
289 | Ca_state uint8 | ||
290 | Retransmits uint8 | ||
291 | Probes uint8 | ||
292 | Backoff uint8 | ||
293 | Options uint8 | ||
294 | Pad_cgo_0 [2]byte | ||
295 | Rto uint32 | ||
296 | Ato uint32 | ||
297 | Snd_mss uint32 | ||
298 | Rcv_mss uint32 | ||
299 | Unacked uint32 | ||
300 | Sacked uint32 | ||
301 | Lost uint32 | ||
302 | Retrans uint32 | ||
303 | Fackets uint32 | ||
304 | Last_data_sent uint32 | ||
305 | Last_ack_sent uint32 | ||
306 | Last_data_recv uint32 | ||
307 | Last_ack_recv uint32 | ||
308 | Pmtu uint32 | ||
309 | Rcv_ssthresh uint32 | ||
310 | Rtt uint32 | ||
311 | Rttvar uint32 | ||
312 | Snd_ssthresh uint32 | ||
313 | Snd_cwnd uint32 | ||
314 | Advmss uint32 | ||
315 | Reordering uint32 | ||
316 | Rcv_rtt uint32 | ||
317 | Rcv_space uint32 | ||
318 | Total_retrans uint32 | ||
319 | } | ||
320 | |||
321 | const ( | ||
322 | SizeofSockaddrInet4 = 0x10 | ||
323 | SizeofSockaddrInet6 = 0x1c | ||
324 | SizeofSockaddrAny = 0x70 | ||
325 | SizeofSockaddrUnix = 0x6e | ||
326 | SizeofSockaddrLinklayer = 0x14 | ||
327 | SizeofSockaddrNetlink = 0xc | ||
328 | SizeofLinger = 0x8 | ||
329 | SizeofIPMreq = 0x8 | ||
330 | SizeofIPMreqn = 0xc | ||
331 | SizeofIPv6Mreq = 0x14 | ||
332 | SizeofMsghdr = 0x38 | ||
333 | SizeofCmsghdr = 0x10 | ||
334 | SizeofInet4Pktinfo = 0xc | ||
335 | SizeofInet6Pktinfo = 0x14 | ||
336 | SizeofIPv6MTUInfo = 0x20 | ||
337 | SizeofICMPv6Filter = 0x20 | ||
338 | SizeofUcred = 0xc | ||
339 | SizeofTCPInfo = 0x68 | ||
340 | ) | ||
341 | |||
342 | const ( | ||
343 | IFA_UNSPEC = 0x0 | ||
344 | IFA_ADDRESS = 0x1 | ||
345 | IFA_LOCAL = 0x2 | ||
346 | IFA_LABEL = 0x3 | ||
347 | IFA_BROADCAST = 0x4 | ||
348 | IFA_ANYCAST = 0x5 | ||
349 | IFA_CACHEINFO = 0x6 | ||
350 | IFA_MULTICAST = 0x7 | ||
351 | IFLA_UNSPEC = 0x0 | ||
352 | IFLA_ADDRESS = 0x1 | ||
353 | IFLA_BROADCAST = 0x2 | ||
354 | IFLA_IFNAME = 0x3 | ||
355 | IFLA_MTU = 0x4 | ||
356 | IFLA_LINK = 0x5 | ||
357 | IFLA_QDISC = 0x6 | ||
358 | IFLA_STATS = 0x7 | ||
359 | IFLA_COST = 0x8 | ||
360 | IFLA_PRIORITY = 0x9 | ||
361 | IFLA_MASTER = 0xa | ||
362 | IFLA_WIRELESS = 0xb | ||
363 | IFLA_PROTINFO = 0xc | ||
364 | IFLA_TXQLEN = 0xd | ||
365 | IFLA_MAP = 0xe | ||
366 | IFLA_WEIGHT = 0xf | ||
367 | IFLA_OPERSTATE = 0x10 | ||
368 | IFLA_LINKMODE = 0x11 | ||
369 | IFLA_LINKINFO = 0x12 | ||
370 | IFLA_NET_NS_PID = 0x13 | ||
371 | IFLA_IFALIAS = 0x14 | ||
372 | IFLA_MAX = 0x22 | ||
373 | RT_SCOPE_UNIVERSE = 0x0 | ||
374 | RT_SCOPE_SITE = 0xc8 | ||
375 | RT_SCOPE_LINK = 0xfd | ||
376 | RT_SCOPE_HOST = 0xfe | ||
377 | RT_SCOPE_NOWHERE = 0xff | ||
378 | RT_TABLE_UNSPEC = 0x0 | ||
379 | RT_TABLE_COMPAT = 0xfc | ||
380 | RT_TABLE_DEFAULT = 0xfd | ||
381 | RT_TABLE_MAIN = 0xfe | ||
382 | RT_TABLE_LOCAL = 0xff | ||
383 | RT_TABLE_MAX = 0xffffffff | ||
384 | RTA_UNSPEC = 0x0 | ||
385 | RTA_DST = 0x1 | ||
386 | RTA_SRC = 0x2 | ||
387 | RTA_IIF = 0x3 | ||
388 | RTA_OIF = 0x4 | ||
389 | RTA_GATEWAY = 0x5 | ||
390 | RTA_PRIORITY = 0x6 | ||
391 | RTA_PREFSRC = 0x7 | ||
392 | RTA_METRICS = 0x8 | ||
393 | RTA_MULTIPATH = 0x9 | ||
394 | RTA_FLOW = 0xb | ||
395 | RTA_CACHEINFO = 0xc | ||
396 | RTA_TABLE = 0xf | ||
397 | RTN_UNSPEC = 0x0 | ||
398 | RTN_UNICAST = 0x1 | ||
399 | RTN_LOCAL = 0x2 | ||
400 | RTN_BROADCAST = 0x3 | ||
401 | RTN_ANYCAST = 0x4 | ||
402 | RTN_MULTICAST = 0x5 | ||
403 | RTN_BLACKHOLE = 0x6 | ||
404 | RTN_UNREACHABLE = 0x7 | ||
405 | RTN_PROHIBIT = 0x8 | ||
406 | RTN_THROW = 0x9 | ||
407 | RTN_NAT = 0xa | ||
408 | RTN_XRESOLVE = 0xb | ||
409 | RTNLGRP_NONE = 0x0 | ||
410 | RTNLGRP_LINK = 0x1 | ||
411 | RTNLGRP_NOTIFY = 0x2 | ||
412 | RTNLGRP_NEIGH = 0x3 | ||
413 | RTNLGRP_TC = 0x4 | ||
414 | RTNLGRP_IPV4_IFADDR = 0x5 | ||
415 | RTNLGRP_IPV4_MROUTE = 0x6 | ||
416 | RTNLGRP_IPV4_ROUTE = 0x7 | ||
417 | RTNLGRP_IPV4_RULE = 0x8 | ||
418 | RTNLGRP_IPV6_IFADDR = 0x9 | ||
419 | RTNLGRP_IPV6_MROUTE = 0xa | ||
420 | RTNLGRP_IPV6_ROUTE = 0xb | ||
421 | RTNLGRP_IPV6_IFINFO = 0xc | ||
422 | RTNLGRP_IPV6_PREFIX = 0x12 | ||
423 | RTNLGRP_IPV6_RULE = 0x13 | ||
424 | RTNLGRP_ND_USEROPT = 0x14 | ||
425 | SizeofNlMsghdr = 0x10 | ||
426 | SizeofNlMsgerr = 0x14 | ||
427 | SizeofRtGenmsg = 0x1 | ||
428 | SizeofNlAttr = 0x4 | ||
429 | SizeofRtAttr = 0x4 | ||
430 | SizeofIfInfomsg = 0x10 | ||
431 | SizeofIfAddrmsg = 0x8 | ||
432 | SizeofRtMsg = 0xc | ||
433 | SizeofRtNexthop = 0x8 | ||
434 | ) | ||
435 | |||
436 | type NlMsghdr struct { | ||
437 | Len uint32 | ||
438 | Type uint16 | ||
439 | Flags uint16 | ||
440 | Seq uint32 | ||
441 | Pid uint32 | ||
442 | } | ||
443 | |||
444 | type NlMsgerr struct { | ||
445 | Error int32 | ||
446 | Msg NlMsghdr | ||
447 | } | ||
448 | |||
449 | type RtGenmsg struct { | ||
450 | Family uint8 | ||
451 | } | ||
452 | |||
453 | type NlAttr struct { | ||
454 | Len uint16 | ||
455 | Type uint16 | ||
456 | } | ||
457 | |||
458 | type RtAttr struct { | ||
459 | Len uint16 | ||
460 | Type uint16 | ||
461 | } | ||
462 | |||
463 | type IfInfomsg struct { | ||
464 | Family uint8 | ||
465 | X__ifi_pad uint8 | ||
466 | Type uint16 | ||
467 | Index int32 | ||
468 | Flags uint32 | ||
469 | Change uint32 | ||
470 | } | ||
471 | |||
472 | type IfAddrmsg struct { | ||
473 | Family uint8 | ||
474 | Prefixlen uint8 | ||
475 | Flags uint8 | ||
476 | Scope uint8 | ||
477 | Index uint32 | ||
478 | } | ||
479 | |||
480 | type RtMsg struct { | ||
481 | Family uint8 | ||
482 | Dst_len uint8 | ||
483 | Src_len uint8 | ||
484 | Tos uint8 | ||
485 | Table uint8 | ||
486 | Protocol uint8 | ||
487 | Scope uint8 | ||
488 | Type uint8 | ||
489 | Flags uint32 | ||
490 | } | ||
491 | |||
492 | type RtNexthop struct { | ||
493 | Len uint16 | ||
494 | Flags uint8 | ||
495 | Hops uint8 | ||
496 | Ifindex int32 | ||
497 | } | ||
498 | |||
499 | const ( | ||
500 | SizeofSockFilter = 0x8 | ||
501 | SizeofSockFprog = 0x10 | ||
502 | ) | ||
503 | |||
504 | type SockFilter struct { | ||
505 | Code uint16 | ||
506 | Jt uint8 | ||
507 | Jf uint8 | ||
508 | K uint32 | ||
509 | } | ||
510 | |||
511 | type SockFprog struct { | ||
512 | Len uint16 | ||
513 | Pad_cgo_0 [6]byte | ||
514 | Filter *SockFilter | ||
515 | } | ||
516 | |||
517 | type InotifyEvent struct { | ||
518 | Wd int32 | ||
519 | Mask uint32 | ||
520 | Cookie uint32 | ||
521 | Len uint32 | ||
522 | Name [0]uint8 | ||
523 | } | ||
524 | |||
525 | const SizeofInotifyEvent = 0x10 | ||
526 | |||
527 | type PtraceRegs struct { | ||
528 | Gpr [32]uint64 | ||
529 | Nip uint64 | ||
530 | Msr uint64 | ||
531 | Orig_gpr3 uint64 | ||
532 | Ctr uint64 | ||
533 | Link uint64 | ||
534 | Xer uint64 | ||
535 | Ccr uint64 | ||
536 | Softe uint64 | ||
537 | Trap uint64 | ||
538 | Dar uint64 | ||
539 | Dsisr uint64 | ||
540 | Result uint64 | ||
541 | } | ||
542 | |||
543 | type FdSet struct { | ||
544 | Bits [16]int64 | ||
545 | } | ||
546 | |||
547 | type Sysinfo_t struct { | ||
548 | Uptime int64 | ||
549 | Loads [3]uint64 | ||
550 | Totalram uint64 | ||
551 | Freeram uint64 | ||
552 | Sharedram uint64 | ||
553 | Bufferram uint64 | ||
554 | Totalswap uint64 | ||
555 | Freeswap uint64 | ||
556 | Procs uint16 | ||
557 | Pad uint16 | ||
558 | Pad_cgo_0 [4]byte | ||
559 | Totalhigh uint64 | ||
560 | Freehigh uint64 | ||
561 | Unit uint32 | ||
562 | X_f [0]uint8 | ||
563 | Pad_cgo_1 [4]byte | ||
564 | } | ||
565 | |||
566 | type Utsname struct { | ||
567 | Sysname [65]uint8 | ||
568 | Nodename [65]uint8 | ||
569 | Release [65]uint8 | ||
570 | Version [65]uint8 | ||
571 | Machine [65]uint8 | ||
572 | Domainname [65]uint8 | ||
573 | } | ||
574 | |||
575 | type Ustat_t struct { | ||
576 | Tfree int32 | ||
577 | Pad_cgo_0 [4]byte | ||
578 | Tinode uint64 | ||
579 | Fname [6]uint8 | ||
580 | Fpack [6]uint8 | ||
581 | Pad_cgo_1 [4]byte | ||
582 | } | ||
583 | |||
584 | type EpollEvent struct { | ||
585 | Events uint32 | ||
586 | Fd int32 | ||
587 | Pad int32 | ||
588 | } | ||
589 | |||
590 | const ( | ||
591 | AT_FDCWD = -0x64 | ||
592 | AT_REMOVEDIR = 0x200 | ||
593 | AT_SYMLINK_NOFOLLOW = 0x100 | ||
594 | ) | ||
595 | |||
596 | type Termios struct { | ||
597 | Iflag uint32 | ||
598 | Oflag uint32 | ||
599 | Cflag uint32 | ||
600 | Lflag uint32 | ||
601 | Cc [19]uint8 | ||
602 | Line uint8 | ||
603 | Ispeed uint32 | ||
604 | Ospeed uint32 | ||
605 | } | ||