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