Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / golang.org / x / sys / unix / ztypes_aix_ppc64.go
1 // cgo -godefs types_aix.go | go run mkpost.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
3
4 // +build ppc64,aix
5
6 package unix
7
8 const (
9         SizeofPtr      = 0x8
10         SizeofShort    = 0x2
11         SizeofInt      = 0x4
12         SizeofLong     = 0x8
13         SizeofLongLong = 0x8
14         PathMax        = 0x3ff
15 )
16
17 type (
18         _C_short     int16
19         _C_int       int32
20         _C_long      int64
21         _C_long_long int64
22 )
23
24 type off64 int64
25 type off int64
26 type Mode_t uint32
27
28 type Timespec struct {
29         Sec  int64
30         Nsec int64
31 }
32
33 type StTimespec struct {
34         Sec  int64
35         Nsec int32
36         _    [4]byte
37 }
38
39 type Timeval struct {
40         Sec  int64
41         Usec int32
42         _    [4]byte
43 }
44
45 type Timeval32 struct {
46         Sec  int32
47         Usec int32
48 }
49
50 type Timex struct{}
51
52 type Time_t int64
53
54 type Tms struct{}
55
56 type Utimbuf struct {
57         Actime  int64
58         Modtime int64
59 }
60
61 type Timezone struct {
62         Minuteswest int32
63         Dsttime     int32
64 }
65
66 type Rusage struct {
67         Utime    Timeval
68         Stime    Timeval
69         Maxrss   int64
70         Ixrss    int64
71         Idrss    int64
72         Isrss    int64
73         Minflt   int64
74         Majflt   int64
75         Nswap    int64
76         Inblock  int64
77         Oublock  int64
78         Msgsnd   int64
79         Msgrcv   int64
80         Nsignals int64
81         Nvcsw    int64
82         Nivcsw   int64
83 }
84
85 type Rlimit struct {
86         Cur uint64
87         Max uint64
88 }
89
90 type Pid_t int32
91
92 type _Gid_t uint32
93
94 type dev_t uint64
95
96 type Stat_t struct {
97         Dev      uint64
98         Ino      uint64
99         Mode     uint32
100         Nlink    int16
101         Flag     uint16
102         Uid      uint32
103         Gid      uint32
104         Rdev     uint64
105         Ssize    int32
106         _        [4]byte
107         Atim     StTimespec
108         Mtim     StTimespec
109         Ctim     StTimespec
110         Blksize  int64
111         Blocks   int64
112         Vfstype  int32
113         Vfs      uint32
114         Type     uint32
115         Gen      uint32
116         Reserved [9]uint32
117         Padto_ll uint32
118         Size     int64
119 }
120
121 type StatxTimestamp struct{}
122
123 type Statx_t struct{}
124
125 type Dirent struct {
126         Offset uint64
127         Ino    uint64
128         Reclen uint16
129         Namlen uint16
130         Name   [256]uint8
131         _      [4]byte
132 }
133
134 type RawSockaddrInet4 struct {
135         Len    uint8
136         Family uint8
137         Port   uint16
138         Addr   [4]byte /* in_addr */
139         Zero   [8]uint8
140 }
141
142 type RawSockaddrInet6 struct {
143         Len      uint8
144         Family   uint8
145         Port     uint16
146         Flowinfo uint32
147         Addr     [16]byte /* in6_addr */
148         Scope_id uint32
149 }
150
151 type RawSockaddrUnix struct {
152         Len    uint8
153         Family uint8
154         Path   [1023]uint8
155 }
156
157 type RawSockaddr struct {
158         Len    uint8
159         Family uint8
160         Data   [14]uint8
161 }
162
163 type RawSockaddrAny struct {
164         Addr RawSockaddr
165         Pad  [1012]uint8
166 }
167
168 type _Socklen uint32
169
170 type Cmsghdr struct {
171         Len   uint32
172         Level int32
173         Type  int32
174 }
175
176 type ICMPv6Filter struct {
177         Filt [8]uint32
178 }
179
180 type Iovec struct {
181         Base *byte
182         Len  uint64
183 }
184
185 type IPMreq struct {
186         Multiaddr [4]byte /* in_addr */
187         Interface [4]byte /* in_addr */
188 }
189
190 type IPv6Mreq struct {
191         Multiaddr [16]byte /* in6_addr */
192         Interface uint32
193 }
194
195 type IPv6MTUInfo struct {
196         Addr RawSockaddrInet6
197         Mtu  uint32
198 }
199
200 type Linger struct {
201         Onoff  int32
202         Linger int32
203 }
204
205 type Msghdr struct {
206         Name       *byte
207         Namelen    uint32
208         _          [4]byte
209         Iov        *Iovec
210         Iovlen     int32
211         _          [4]byte
212         Control    *byte
213         Controllen uint32
214         Flags      int32
215 }
216
217 const (
218         SizeofSockaddrInet4 = 0x10
219         SizeofSockaddrInet6 = 0x1c
220         SizeofSockaddrAny   = 0x404
221         SizeofSockaddrUnix  = 0x401
222         SizeofLinger        = 0x8
223         SizeofIPMreq        = 0x8
224         SizeofIPv6Mreq      = 0x14
225         SizeofIPv6MTUInfo   = 0x20
226         SizeofMsghdr        = 0x30
227         SizeofCmsghdr       = 0xc
228         SizeofICMPv6Filter  = 0x20
229 )
230
231 const (
232         SizeofIfMsghdr = 0x10
233 )
234
235 type IfMsgHdr struct {
236         Msglen  uint16
237         Version uint8
238         Type    uint8
239         Addrs   int32
240         Flags   int32
241         Index   uint16
242         Addrlen uint8
243         _       [1]byte
244 }
245
246 type FdSet struct {
247         Bits [1024]int64
248 }
249
250 type Utsname struct {
251         Sysname  [32]byte
252         Nodename [32]byte
253         Release  [32]byte
254         Version  [32]byte
255         Machine  [32]byte
256 }
257
258 type Ustat_t struct{}
259
260 type Sigset_t struct {
261         Set [4]uint64
262 }
263
264 const (
265         AT_FDCWD            = -0x2
266         AT_REMOVEDIR        = 0x1
267         AT_SYMLINK_NOFOLLOW = 0x1
268 )
269
270 type Termios struct {
271         Iflag uint32
272         Oflag uint32
273         Cflag uint32
274         Lflag uint32
275         Cc    [16]uint8
276 }
277
278 type Termio struct {
279         Iflag uint16
280         Oflag uint16
281         Cflag uint16
282         Lflag uint16
283         Line  uint8
284         Cc    [8]uint8
285         _     [1]byte
286 }
287
288 type Winsize struct {
289         Row    uint16
290         Col    uint16
291         Xpixel uint16
292         Ypixel uint16
293 }
294
295 type PollFd struct {
296         Fd      int32
297         Events  uint16
298         Revents uint16
299 }
300
301 const (
302         POLLERR    = 0x4000
303         POLLHUP    = 0x2000
304         POLLIN     = 0x1
305         POLLNVAL   = 0x8000
306         POLLOUT    = 0x2
307         POLLPRI    = 0x4
308         POLLRDBAND = 0x20
309         POLLRDNORM = 0x10
310         POLLWRBAND = 0x40
311         POLLWRNORM = 0x2
312 )
313
314 type Flock_t struct {
315         Type   int16
316         Whence int16
317         Sysid  uint32
318         Pid    int32
319         Vfs    int32
320         Start  int64
321         Len    int64
322 }
323
324 type Fsid_t struct {
325         Val [2]uint32
326 }
327 type Fsid64_t struct {
328         Val [2]uint64
329 }
330
331 type Statfs_t struct {
332         Version   int32
333         Type      int32
334         Bsize     uint64
335         Blocks    uint64
336         Bfree     uint64
337         Bavail    uint64
338         Files     uint64
339         Ffree     uint64
340         Fsid      Fsid64_t
341         Vfstype   int32
342         _         [4]byte
343         Fsize     uint64
344         Vfsnumber int32
345         Vfsoff    int32
346         Vfslen    int32
347         Vfsvers   int32
348         Fname     [32]uint8
349         Fpack     [32]uint8
350         Name_max  int32
351         _         [4]byte
352 }
353
354 const RNDGETENTCNT = 0x80045200