]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/ztypes_darwin_386.go
2de1d44e281dd1b8b3822d6c7eac070d0e3e01fc
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / external / golang.org / x / sys / unix / ztypes_darwin_386.go
1 // +build 386,darwin
2 // Created by cgo -godefs - DO NOT EDIT
3 // cgo -godefs types_darwin.go
4
5 package unix
6
7 const (
8 sizeofPtr = 0x4
9 sizeofShort = 0x2
10 sizeofInt = 0x4
11 sizeofLong = 0x4
12 sizeofLongLong = 0x8
13 )
14
15 type (
16 _C_short int16
17 _C_int int32
18 _C_long int32
19 _C_long_long int64
20 )
21
22 type Timespec struct {
23 Sec int32
24 Nsec int32
25 }
26
27 type Timeval struct {
28 Sec int32
29 Usec int32
30 }
31
32 type Timeval32 struct{}
33
34 type Rusage struct {
35 Utime Timeval
36 Stime Timeval
37 Maxrss int32
38 Ixrss int32
39 Idrss int32
40 Isrss int32
41 Minflt int32
42 Majflt int32
43 Nswap int32
44 Inblock int32
45 Oublock int32
46 Msgsnd int32
47 Msgrcv int32
48 Nsignals int32
49 Nvcsw int32
50 Nivcsw int32
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 int32
62 Mode uint16
63 Nlink uint16
64 Ino uint64
65 Uid uint32
66 Gid uint32
67 Rdev int32
68 Atimespec Timespec
69 Mtimespec Timespec
70 Ctimespec Timespec
71 Birthtimespec Timespec
72 Size int64
73 Blocks int64
74 Blksize int32
75 Flags uint32
76 Gen uint32
77 Lspare int32
78 Qspare [2]int64
79 }
80
81 type Statfs_t struct {
82 Bsize uint32
83 Iosize int32
84 Blocks uint64
85 Bfree uint64
86 Bavail uint64
87 Files uint64
88 Ffree uint64
89 Fsid Fsid
90 Owner uint32
91 Type uint32
92 Flags uint32
93 Fssubtype uint32
94 Fstypename [16]int8
95 Mntonname [1024]int8
96 Mntfromname [1024]int8
97 Reserved [8]uint32
98 }
99
100 type Flock_t struct {
101 Start int64
102 Len int64
103 Pid int32
104 Type int16
105 Whence int16
106 }
107
108 type Fstore_t struct {
109 Flags uint32
110 Posmode int32
111 Offset int64
112 Length int64
113 Bytesalloc int64
114 }
115
116 type Radvisory_t struct {
117 Offset int64
118 Count int32
119 }
120
121 type Fbootstraptransfer_t struct {
122 Offset int64
123 Length uint32
124 Buffer *byte
125 }
126
127 type Log2phys_t struct {
128 Flags uint32
129 Contigbytes int64
130 Devoffset int64
131 }
132
133 type Fsid struct {
134 Val [2]int32
135 }
136
137 type Dirent struct {
138 Ino uint64
139 Seekoff uint64
140 Reclen uint16
141 Namlen uint16
142 Type uint8
143 Name [1024]int8
144 Pad_cgo_0 [3]byte
145 }
146
147 type RawSockaddrInet4 struct {
148 Len uint8
149 Family uint8
150 Port uint16
151 Addr [4]byte /* in_addr */
152 Zero [8]int8
153 }
154
155 type RawSockaddrInet6 struct {
156 Len uint8
157 Family uint8
158 Port uint16
159 Flowinfo uint32
160 Addr [16]byte /* in6_addr */
161 Scope_id uint32
162 }
163
164 type RawSockaddrUnix struct {
165 Len uint8
166 Family uint8
167 Path [104]int8
168 }
169
170 type RawSockaddrDatalink struct {
171 Len uint8
172 Family uint8
173 Index uint16
174 Type uint8
175 Nlen uint8
176 Alen uint8
177 Slen uint8
178 Data [12]int8
179 }
180
181 type RawSockaddr struct {
182 Len uint8
183 Family uint8
184 Data [14]int8
185 }
186
187 type RawSockaddrAny struct {
188 Addr RawSockaddr
189 Pad [92]int8
190 }
191
192 type _Socklen uint32
193
194 type Linger struct {
195 Onoff int32
196 Linger int32
197 }
198
199 type Iovec struct {
200 Base *byte
201 Len uint32
202 }
203
204 type IPMreq struct {
205 Multiaddr [4]byte /* in_addr */
206 Interface [4]byte /* in_addr */
207 }
208
209 type IPv6Mreq struct {
210 Multiaddr [16]byte /* in6_addr */
211 Interface uint32
212 }
213
214 type Msghdr struct {
215 Name *byte
216 Namelen uint32
217 Iov *Iovec
218 Iovlen int32
219 Control *byte
220 Controllen uint32
221 Flags int32
222 }
223
224 type Cmsghdr struct {
225 Len uint32
226 Level int32
227 Type int32
228 }
229
230 type Inet4Pktinfo struct {
231 Ifindex uint32
232 Spec_dst [4]byte /* in_addr */
233 Addr [4]byte /* in_addr */
234 }
235
236 type Inet6Pktinfo struct {
237 Addr [16]byte /* in6_addr */
238 Ifindex uint32
239 }
240
241 type IPv6MTUInfo struct {
242 Addr RawSockaddrInet6
243 Mtu uint32
244 }
245
246 type ICMPv6Filter struct {
247 Filt [8]uint32
248 }
249
250 const (
251 SizeofSockaddrInet4 = 0x10
252 SizeofSockaddrInet6 = 0x1c
253 SizeofSockaddrAny = 0x6c
254 SizeofSockaddrUnix = 0x6a
255 SizeofSockaddrDatalink = 0x14
256 SizeofLinger = 0x8
257 SizeofIPMreq = 0x8
258 SizeofIPv6Mreq = 0x14
259 SizeofMsghdr = 0x1c
260 SizeofCmsghdr = 0xc
261 SizeofInet4Pktinfo = 0xc
262 SizeofInet6Pktinfo = 0x14
263 SizeofIPv6MTUInfo = 0x20
264 SizeofICMPv6Filter = 0x20
265 )
266
267 const (
268 PTRACE_TRACEME = 0x0
269 PTRACE_CONT = 0x7
270 PTRACE_KILL = 0x8
271 )
272
273 type Kevent_t struct {
274 Ident uint32
275 Filter int16
276 Flags uint16
277 Fflags uint32
278 Data int32
279 Udata *byte
280 }
281
282 type FdSet struct {
283 Bits [32]int32
284 }
285
286 const (
287 SizeofIfMsghdr = 0x70
288 SizeofIfData = 0x60
289 SizeofIfaMsghdr = 0x14
290 SizeofIfmaMsghdr = 0x10
291 SizeofIfmaMsghdr2 = 0x14
292 SizeofRtMsghdr = 0x5c
293 SizeofRtMetrics = 0x38
294 )
295
296 type IfMsghdr struct {
297 Msglen uint16
298 Version uint8
299 Type uint8
300 Addrs int32
301 Flags int32
302 Index uint16
303 Pad_cgo_0 [2]byte
304 Data IfData
305 }
306
307 type IfData struct {
308 Type uint8
309 Typelen uint8
310 Physical uint8
311 Addrlen uint8
312 Hdrlen uint8
313 Recvquota uint8
314 Xmitquota uint8
315 Unused1 uint8
316 Mtu uint32
317 Metric uint32
318 Baudrate uint32
319 Ipackets uint32
320 Ierrors uint32
321 Opackets uint32
322 Oerrors uint32
323 Collisions uint32
324 Ibytes uint32
325 Obytes uint32
326 Imcasts uint32
327 Omcasts uint32
328 Iqdrops uint32
329 Noproto uint32
330 Recvtiming uint32
331 Xmittiming uint32
332 Lastchange Timeval
333 Unused2 uint32
334 Hwassist uint32
335 Reserved1 uint32
336 Reserved2 uint32
337 }
338
339 type IfaMsghdr struct {
340 Msglen uint16
341 Version uint8
342 Type uint8
343 Addrs int32
344 Flags int32
345 Index uint16
346 Pad_cgo_0 [2]byte
347 Metric int32
348 }
349
350 type IfmaMsghdr struct {
351 Msglen uint16
352 Version uint8
353 Type uint8
354 Addrs int32
355 Flags int32
356 Index uint16
357 Pad_cgo_0 [2]byte
358 }
359
360 type IfmaMsghdr2 struct {
361 Msglen uint16
362 Version uint8
363 Type uint8
364 Addrs int32
365 Flags int32
366 Index uint16
367 Pad_cgo_0 [2]byte
368 Refcount int32
369 }
370
371 type RtMsghdr struct {
372 Msglen uint16
373 Version uint8
374 Type uint8
375 Index uint16
376 Pad_cgo_0 [2]byte
377 Flags int32
378 Addrs int32
379 Pid int32
380 Seq int32
381 Errno int32
382 Use int32
383 Inits uint32
384 Rmx RtMetrics
385 }
386
387 type RtMetrics struct {
388 Locks uint32
389 Mtu uint32
390 Hopcount uint32
391 Expire int32
392 Recvpipe uint32
393 Sendpipe uint32
394 Ssthresh uint32
395 Rtt uint32
396 Rttvar uint32
397 Pksent uint32
398 Filler [4]uint32
399 }
400
401 const (
402 SizeofBpfVersion = 0x4
403 SizeofBpfStat = 0x8
404 SizeofBpfProgram = 0x8
405 SizeofBpfInsn = 0x8
406 SizeofBpfHdr = 0x14
407 )
408
409 type BpfVersion struct {
410 Major uint16
411 Minor uint16
412 }
413
414 type BpfStat struct {
415 Recv uint32
416 Drop uint32
417 }
418
419 type BpfProgram struct {
420 Len uint32
421 Insns *BpfInsn
422 }
423
424 type BpfInsn struct {
425 Code uint16
426 Jt uint8
427 Jf uint8
428 K uint32
429 }
430
431 type BpfHdr struct {
432 Tstamp Timeval
433 Caplen uint32
434 Datalen uint32
435 Hdrlen uint16
436 Pad_cgo_0 [2]byte
437 }
438
439 type Termios struct {
440 Iflag uint32
441 Oflag uint32
442 Cflag uint32
443 Lflag uint32
444 Cc [20]uint8
445 Ispeed uint32
446 Ospeed uint32
447 }