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