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