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