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