1#[repr(C)]
7#[derive(Default)]
8pub struct linux___IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
9impl<T> linux___IncompleteArrayField<T> {
10 #[inline]
11 pub const fn new() -> Self {
12 linux___IncompleteArrayField(::core::marker::PhantomData, [])
13 }
14 #[inline]
15 pub fn as_ptr(&self) -> *const T {
16 self as *const _ as *const T
17 }
18 #[inline]
19 pub fn as_mut_ptr(&mut self) -> *mut T {
20 self as *mut _ as *mut T
21 }
22 #[inline]
23 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
24 ::core::slice::from_raw_parts(self.as_ptr(), len)
25 }
26 #[inline]
27 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
28 ::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
29 }
30}
31impl<T> ::core::fmt::Debug for linux___IncompleteArrayField<T> {
32 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
33 fmt.write_str("linux___IncompleteArrayField")
34 }
35}
36pub const LINUX_AT_SYSINFO_EHDR: u32 = 33;
37pub const LINUX_AT_VECTOR_SIZE_ARCH: u32 = 3;
38pub const LINUX_AT_NULL: u32 = 0;
39pub const LINUX_AT_IGNORE: u32 = 1;
40pub const LINUX_AT_EXECFD: u32 = 2;
41pub const LINUX_AT_PHDR: u32 = 3;
42pub const LINUX_AT_PHENT: u32 = 4;
43pub const LINUX_AT_PHNUM: u32 = 5;
44pub const LINUX_AT_PAGESZ: u32 = 6;
45pub const LINUX_AT_BASE: u32 = 7;
46pub const LINUX_AT_FLAGS: u32 = 8;
47pub const LINUX_AT_ENTRY: u32 = 9;
48pub const LINUX_AT_NOTELF: u32 = 10;
49pub const LINUX_AT_UID: u32 = 11;
50pub const LINUX_AT_EUID: u32 = 12;
51pub const LINUX_AT_GID: u32 = 13;
52pub const LINUX_AT_EGID: u32 = 14;
53pub const LINUX_AT_PLATFORM: u32 = 15;
54pub const LINUX_AT_HWCAP: u32 = 16;
55pub const LINUX_AT_CLKTCK: u32 = 17;
56pub const LINUX_AT_SECURE: u32 = 23;
57pub const LINUX_AT_BASE_PLATFORM: u32 = 24;
58pub const LINUX_AT_RANDOM: u32 = 25;
59pub const LINUX_AT_HWCAP2: u32 = 26;
60pub const LINUX_AT_RSEQ_FEATURE_SIZE: u32 = 27;
61pub const LINUX_AT_RSEQ_ALIGN: u32 = 28;
62pub const LINUX_AT_HWCAP3: u32 = 29;
63pub const LINUX_AT_HWCAP4: u32 = 30;
64pub const LINUX_AT_EXECFN: u32 = 31;
65pub const LINUX_AT_MINSIGSTKSZ: u32 = 51;
66pub const LINUX___BITS_PER_LONG: u32 = 64;
67pub const LINUX___BITS_PER_LONG_LONG: u32 = 64;
68pub const LINUX___FD_SETSIZE: u32 = 1024;
69pub const LINUX__LINUX_CAPABILITY_VERSION_1: u32 = 429392688;
70pub const LINUX__LINUX_CAPABILITY_U32S_1: u32 = 1;
71pub const LINUX__LINUX_CAPABILITY_VERSION_2: u32 = 537333798;
72pub const LINUX__LINUX_CAPABILITY_U32S_2: u32 = 2;
73pub const LINUX__LINUX_CAPABILITY_VERSION_3: u32 = 537396514;
74pub const LINUX__LINUX_CAPABILITY_U32S_3: u32 = 2;
75pub const LINUX_VFS_CAP_REVISION_MASK: u32 = 4278190080;
76pub const LINUX_VFS_CAP_REVISION_SHIFT: u32 = 24;
77pub const LINUX_VFS_CAP_FLAGS_MASK: i64 = -4278190081;
78pub const LINUX_VFS_CAP_FLAGS_EFFECTIVE: u32 = 1;
79pub const LINUX_VFS_CAP_REVISION_1: u32 = 16777216;
80pub const LINUX_VFS_CAP_U32_1: u32 = 1;
81pub const LINUX_VFS_CAP_REVISION_2: u32 = 33554432;
82pub const LINUX_VFS_CAP_U32_2: u32 = 2;
83pub const LINUX_VFS_CAP_REVISION_3: u32 = 50331648;
84pub const LINUX_VFS_CAP_U32_3: u32 = 2;
85pub const LINUX_VFS_CAP_U32: u32 = 2;
86pub const LINUX_VFS_CAP_REVISION: u32 = 50331648;
87pub const LINUX__LINUX_CAPABILITY_VERSION: u32 = 429392688;
88pub const LINUX__LINUX_CAPABILITY_U32S: u32 = 1;
89pub const LINUX_CAP_CHOWN: u32 = 0;
90pub const LINUX_CAP_DAC_OVERRIDE: u32 = 1;
91pub const LINUX_CAP_DAC_READ_SEARCH: u32 = 2;
92pub const LINUX_CAP_FOWNER: u32 = 3;
93pub const LINUX_CAP_FSETID: u32 = 4;
94pub const LINUX_CAP_KILL: u32 = 5;
95pub const LINUX_CAP_SETGID: u32 = 6;
96pub const LINUX_CAP_SETUID: u32 = 7;
97pub const LINUX_CAP_SETPCAP: u32 = 8;
98pub const LINUX_CAP_LINUX_IMMUTABLE: u32 = 9;
99pub const LINUX_CAP_NET_BIND_SERVICE: u32 = 10;
100pub const LINUX_CAP_NET_BROADCAST: u32 = 11;
101pub const LINUX_CAP_NET_ADMIN: u32 = 12;
102pub const LINUX_CAP_NET_RAW: u32 = 13;
103pub const LINUX_CAP_IPC_LOCK: u32 = 14;
104pub const LINUX_CAP_IPC_OWNER: u32 = 15;
105pub const LINUX_CAP_SYS_MODULE: u32 = 16;
106pub const LINUX_CAP_SYS_RAWIO: u32 = 17;
107pub const LINUX_CAP_SYS_CHROOT: u32 = 18;
108pub const LINUX_CAP_SYS_PTRACE: u32 = 19;
109pub const LINUX_CAP_SYS_PACCT: u32 = 20;
110pub const LINUX_CAP_SYS_ADMIN: u32 = 21;
111pub const LINUX_CAP_SYS_BOOT: u32 = 22;
112pub const LINUX_CAP_SYS_NICE: u32 = 23;
113pub const LINUX_CAP_SYS_RESOURCE: u32 = 24;
114pub const LINUX_CAP_SYS_TIME: u32 = 25;
115pub const LINUX_CAP_SYS_TTY_CONFIG: u32 = 26;
116pub const LINUX_CAP_MKNOD: u32 = 27;
117pub const LINUX_CAP_LEASE: u32 = 28;
118pub const LINUX_CAP_AUDIT_WRITE: u32 = 29;
119pub const LINUX_CAP_AUDIT_CONTROL: u32 = 30;
120pub const LINUX_CAP_SETFCAP: u32 = 31;
121pub const LINUX_CAP_MAC_OVERRIDE: u32 = 32;
122pub const LINUX_CAP_MAC_ADMIN: u32 = 33;
123pub const LINUX_CAP_SYSLOG: u32 = 34;
124pub const LINUX_CAP_WAKE_ALARM: u32 = 35;
125pub const LINUX_CAP_BLOCK_SUSPEND: u32 = 36;
126pub const LINUX_CAP_AUDIT_READ: u32 = 37;
127pub const LINUX_CAP_PERFMON: u32 = 38;
128pub const LINUX_CAP_BPF: u32 = 39;
129pub const LINUX_CAP_CHECKPOINT_RESTORE: u32 = 40;
130pub const LINUX_CAP_LAST_CAP: u32 = 40;
131pub const LINUX_CLOSE_RANGE_UNSHARE: u32 = 2;
132pub const LINUX_CLOSE_RANGE_CLOEXEC: u32 = 4;
133pub const LINUX_EPERM: u32 = 1;
134pub const LINUX_ENOENT: u32 = 2;
135pub const LINUX_ESRCH: u32 = 3;
136pub const LINUX_EINTR: u32 = 4;
137pub const LINUX_EIO: u32 = 5;
138pub const LINUX_ENXIO: u32 = 6;
139pub const LINUX_E2BIG: u32 = 7;
140pub const LINUX_ENOEXEC: u32 = 8;
141pub const LINUX_EBADF: u32 = 9;
142pub const LINUX_ECHILD: u32 = 10;
143pub const LINUX_EAGAIN: u32 = 11;
144pub const LINUX_ENOMEM: u32 = 12;
145pub const LINUX_EACCES: u32 = 13;
146pub const LINUX_EFAULT: u32 = 14;
147pub const LINUX_ENOTBLK: u32 = 15;
148pub const LINUX_EBUSY: u32 = 16;
149pub const LINUX_EEXIST: u32 = 17;
150pub const LINUX_EXDEV: u32 = 18;
151pub const LINUX_ENODEV: u32 = 19;
152pub const LINUX_ENOTDIR: u32 = 20;
153pub const LINUX_EISDIR: u32 = 21;
154pub const LINUX_EINVAL: u32 = 22;
155pub const LINUX_ENFILE: u32 = 23;
156pub const LINUX_EMFILE: u32 = 24;
157pub const LINUX_ENOTTY: u32 = 25;
158pub const LINUX_ETXTBSY: u32 = 26;
159pub const LINUX_EFBIG: u32 = 27;
160pub const LINUX_ENOSPC: u32 = 28;
161pub const LINUX_ESPIPE: u32 = 29;
162pub const LINUX_EROFS: u32 = 30;
163pub const LINUX_EMLINK: u32 = 31;
164pub const LINUX_EPIPE: u32 = 32;
165pub const LINUX_EDOM: u32 = 33;
166pub const LINUX_ERANGE: u32 = 34;
167pub const LINUX_EDEADLK: u32 = 35;
168pub const LINUX_ENAMETOOLONG: u32 = 36;
169pub const LINUX_ENOLCK: u32 = 37;
170pub const LINUX_ENOSYS: u32 = 38;
171pub const LINUX_ENOTEMPTY: u32 = 39;
172pub const LINUX_ELOOP: u32 = 40;
173pub const LINUX_EWOULDBLOCK: u32 = 11;
174pub const LINUX_ENOMSG: u32 = 42;
175pub const LINUX_EIDRM: u32 = 43;
176pub const LINUX_ECHRNG: u32 = 44;
177pub const LINUX_EL2NSYNC: u32 = 45;
178pub const LINUX_EL3HLT: u32 = 46;
179pub const LINUX_EL3RST: u32 = 47;
180pub const LINUX_ELNRNG: u32 = 48;
181pub const LINUX_EUNATCH: u32 = 49;
182pub const LINUX_ENOCSI: u32 = 50;
183pub const LINUX_EL2HLT: u32 = 51;
184pub const LINUX_EBADE: u32 = 52;
185pub const LINUX_EBADR: u32 = 53;
186pub const LINUX_EXFULL: u32 = 54;
187pub const LINUX_ENOANO: u32 = 55;
188pub const LINUX_EBADRQC: u32 = 56;
189pub const LINUX_EBADSLT: u32 = 57;
190pub const LINUX_EDEADLOCK: u32 = 35;
191pub const LINUX_EBFONT: u32 = 59;
192pub const LINUX_ENOSTR: u32 = 60;
193pub const LINUX_ENODATA: u32 = 61;
194pub const LINUX_ETIME: u32 = 62;
195pub const LINUX_ENOSR: u32 = 63;
196pub const LINUX_ENONET: u32 = 64;
197pub const LINUX_ENOPKG: u32 = 65;
198pub const LINUX_EREMOTE: u32 = 66;
199pub const LINUX_ENOLINK: u32 = 67;
200pub const LINUX_EADV: u32 = 68;
201pub const LINUX_ESRMNT: u32 = 69;
202pub const LINUX_ECOMM: u32 = 70;
203pub const LINUX_EPROTO: u32 = 71;
204pub const LINUX_EMULTIHOP: u32 = 72;
205pub const LINUX_EDOTDOT: u32 = 73;
206pub const LINUX_EBADMSG: u32 = 74;
207pub const LINUX_EOVERFLOW: u32 = 75;
208pub const LINUX_ENOTUNIQ: u32 = 76;
209pub const LINUX_EBADFD: u32 = 77;
210pub const LINUX_EREMCHG: u32 = 78;
211pub const LINUX_ELIBACC: u32 = 79;
212pub const LINUX_ELIBBAD: u32 = 80;
213pub const LINUX_ELIBSCN: u32 = 81;
214pub const LINUX_ELIBMAX: u32 = 82;
215pub const LINUX_ELIBEXEC: u32 = 83;
216pub const LINUX_EILSEQ: u32 = 84;
217pub const LINUX_ERESTART: u32 = 85;
218pub const LINUX_ESTRPIPE: u32 = 86;
219pub const LINUX_EUSERS: u32 = 87;
220pub const LINUX_ENOTSOCK: u32 = 88;
221pub const LINUX_EDESTADDRREQ: u32 = 89;
222pub const LINUX_EMSGSIZE: u32 = 90;
223pub const LINUX_EPROTOTYPE: u32 = 91;
224pub const LINUX_ENOPROTOOPT: u32 = 92;
225pub const LINUX_EPROTONOSUPPORT: u32 = 93;
226pub const LINUX_ESOCKTNOSUPPORT: u32 = 94;
227pub const LINUX_EOPNOTSUPP: u32 = 95;
228pub const LINUX_EPFNOSUPPORT: u32 = 96;
229pub const LINUX_EAFNOSUPPORT: u32 = 97;
230pub const LINUX_EADDRINUSE: u32 = 98;
231pub const LINUX_EADDRNOTAVAIL: u32 = 99;
232pub const LINUX_ENETDOWN: u32 = 100;
233pub const LINUX_ENETUNREACH: u32 = 101;
234pub const LINUX_ENETRESET: u32 = 102;
235pub const LINUX_ECONNABORTED: u32 = 103;
236pub const LINUX_ECONNRESET: u32 = 104;
237pub const LINUX_ENOBUFS: u32 = 105;
238pub const LINUX_EISCONN: u32 = 106;
239pub const LINUX_ENOTCONN: u32 = 107;
240pub const LINUX_ESHUTDOWN: u32 = 108;
241pub const LINUX_ETOOMANYREFS: u32 = 109;
242pub const LINUX_ETIMEDOUT: u32 = 110;
243pub const LINUX_ECONNREFUSED: u32 = 111;
244pub const LINUX_EHOSTDOWN: u32 = 112;
245pub const LINUX_EHOSTUNREACH: u32 = 113;
246pub const LINUX_EALREADY: u32 = 114;
247pub const LINUX_EINPROGRESS: u32 = 115;
248pub const LINUX_ESTALE: u32 = 116;
249pub const LINUX_EUCLEAN: u32 = 117;
250pub const LINUX_ENOTNAM: u32 = 118;
251pub const LINUX_ENAVAIL: u32 = 119;
252pub const LINUX_EISNAM: u32 = 120;
253pub const LINUX_EREMOTEIO: u32 = 121;
254pub const LINUX_EDQUOT: u32 = 122;
255pub const LINUX_ENOMEDIUM: u32 = 123;
256pub const LINUX_EMEDIUMTYPE: u32 = 124;
257pub const LINUX_ECANCELED: u32 = 125;
258pub const LINUX_ENOKEY: u32 = 126;
259pub const LINUX_EKEYEXPIRED: u32 = 127;
260pub const LINUX_EKEYREVOKED: u32 = 128;
261pub const LINUX_EKEYREJECTED: u32 = 129;
262pub const LINUX_EOWNERDEAD: u32 = 130;
263pub const LINUX_ENOTRECOVERABLE: u32 = 131;
264pub const LINUX_ERFKILL: u32 = 132;
265pub const LINUX_EHWPOISON: u32 = 133;
266pub const LINUX_O_ACCMODE: u32 = 3;
267pub const LINUX_O_RDONLY: u32 = 0;
268pub const LINUX_O_WRONLY: u32 = 1;
269pub const LINUX_O_RDWR: u32 = 2;
270pub const LINUX_O_CREAT: u32 = 64;
271pub const LINUX_O_EXCL: u32 = 128;
272pub const LINUX_O_NOCTTY: u32 = 256;
273pub const LINUX_O_TRUNC: u32 = 512;
274pub const LINUX_O_APPEND: u32 = 1024;
275pub const LINUX_O_NONBLOCK: u32 = 2048;
276pub const LINUX_O_DSYNC: u32 = 4096;
277pub const LINUX_FASYNC: u32 = 8192;
278pub const LINUX_O_DIRECT: u32 = 16384;
279pub const LINUX_O_LARGEFILE: u32 = 32768;
280pub const LINUX_O_DIRECTORY: u32 = 65536;
281pub const LINUX_O_NOFOLLOW: u32 = 131072;
282pub const LINUX_O_NOATIME: u32 = 262144;
283pub const LINUX_O_CLOEXEC: u32 = 524288;
284pub const LINUX___O_SYNC: u32 = 1048576;
285pub const LINUX_O_SYNC: u32 = 1052672;
286pub const LINUX_O_PATH: u32 = 2097152;
287pub const LINUX___O_TMPFILE: u32 = 4194304;
288pub const LINUX_O_TMPFILE: u32 = 4259840;
289pub const LINUX_O_NDELAY: u32 = 2048;
290pub const LINUX_F_DUPFD: u32 = 0;
291pub const LINUX_F_GETFD: u32 = 1;
292pub const LINUX_F_SETFD: u32 = 2;
293pub const LINUX_F_GETFL: u32 = 3;
294pub const LINUX_F_SETFL: u32 = 4;
295pub const LINUX_F_GETLK: u32 = 5;
296pub const LINUX_F_SETLK: u32 = 6;
297pub const LINUX_F_SETLKW: u32 = 7;
298pub const LINUX_F_SETOWN: u32 = 8;
299pub const LINUX_F_GETOWN: u32 = 9;
300pub const LINUX_F_SETSIG: u32 = 10;
301pub const LINUX_F_GETSIG: u32 = 11;
302pub const LINUX_F_SETOWN_EX: u32 = 15;
303pub const LINUX_F_GETOWN_EX: u32 = 16;
304pub const LINUX_F_GETOWNER_UIDS: u32 = 17;
305pub const LINUX_F_OFD_GETLK: u32 = 36;
306pub const LINUX_F_OFD_SETLK: u32 = 37;
307pub const LINUX_F_OFD_SETLKW: u32 = 38;
308pub const LINUX_F_OWNER_TID: u32 = 0;
309pub const LINUX_F_OWNER_PID: u32 = 1;
310pub const LINUX_F_OWNER_PGRP: u32 = 2;
311pub const LINUX_FD_CLOEXEC: u32 = 1;
312pub const LINUX_F_RDLCK: u32 = 0;
313pub const LINUX_F_WRLCK: u32 = 1;
314pub const LINUX_F_UNLCK: u32 = 2;
315pub const LINUX_F_EXLCK: u32 = 4;
316pub const LINUX_F_SHLCK: u32 = 8;
317pub const LINUX_LOCK_SH: u32 = 1;
318pub const LINUX_LOCK_EX: u32 = 2;
319pub const LINUX_LOCK_NB: u32 = 4;
320pub const LINUX_LOCK_UN: u32 = 8;
321pub const LINUX_LOCK_MAND: u32 = 32;
322pub const LINUX_LOCK_READ: u32 = 64;
323pub const LINUX_LOCK_WRITE: u32 = 128;
324pub const LINUX_LOCK_RW: u32 = 192;
325pub const LINUX_F_LINUX_SPECIFIC_BASE: u32 = 1024;
326pub const LINUX_RESOLVE_NO_XDEV: u32 = 1;
327pub const LINUX_RESOLVE_NO_MAGICLINKS: u32 = 2;
328pub const LINUX_RESOLVE_NO_SYMLINKS: u32 = 4;
329pub const LINUX_RESOLVE_BENEATH: u32 = 8;
330pub const LINUX_RESOLVE_IN_ROOT: u32 = 16;
331pub const LINUX_RESOLVE_CACHED: u32 = 32;
332pub const LINUX_F_SETLEASE: u32 = 1024;
333pub const LINUX_F_GETLEASE: u32 = 1025;
334pub const LINUX_F_NOTIFY: u32 = 1026;
335pub const LINUX_F_DUPFD_QUERY: u32 = 1027;
336pub const LINUX_F_CREATED_QUERY: u32 = 1028;
337pub const LINUX_F_CANCELLK: u32 = 1029;
338pub const LINUX_F_DUPFD_CLOEXEC: u32 = 1030;
339pub const LINUX_F_SETPIPE_SZ: u32 = 1031;
340pub const LINUX_F_GETPIPE_SZ: u32 = 1032;
341pub const LINUX_F_ADD_SEALS: u32 = 1033;
342pub const LINUX_F_GET_SEALS: u32 = 1034;
343pub const LINUX_F_SEAL_SEAL: u32 = 1;
344pub const LINUX_F_SEAL_SHRINK: u32 = 2;
345pub const LINUX_F_SEAL_GROW: u32 = 4;
346pub const LINUX_F_SEAL_WRITE: u32 = 8;
347pub const LINUX_F_SEAL_FUTURE_WRITE: u32 = 16;
348pub const LINUX_F_SEAL_EXEC: u32 = 32;
349pub const LINUX_F_GET_RW_HINT: u32 = 1035;
350pub const LINUX_F_SET_RW_HINT: u32 = 1036;
351pub const LINUX_F_GET_FILE_RW_HINT: u32 = 1037;
352pub const LINUX_F_SET_FILE_RW_HINT: u32 = 1038;
353pub const LINUX_RWH_WRITE_LIFE_NOT_SET: u32 = 0;
354pub const LINUX_RWH_WRITE_LIFE_NONE: u32 = 1;
355pub const LINUX_RWH_WRITE_LIFE_SHORT: u32 = 2;
356pub const LINUX_RWH_WRITE_LIFE_MEDIUM: u32 = 3;
357pub const LINUX_RWH_WRITE_LIFE_LONG: u32 = 4;
358pub const LINUX_RWH_WRITE_LIFE_EXTREME: u32 = 5;
359pub const LINUX_RWF_WRITE_LIFE_NOT_SET: u32 = 0;
360pub const LINUX_DN_ACCESS: u32 = 1;
361pub const LINUX_DN_MODIFY: u32 = 2;
362pub const LINUX_DN_CREATE: u32 = 4;
363pub const LINUX_DN_DELETE: u32 = 8;
364pub const LINUX_DN_RENAME: u32 = 16;
365pub const LINUX_DN_ATTRIB: u32 = 32;
366pub const LINUX_DN_MULTISHOT: u32 = 2147483648;
367pub const LINUX_AT_FDCWD: i32 = -100;
368pub const LINUX_AT_SYMLINK_NOFOLLOW: u32 = 256;
369pub const LINUX_AT_SYMLINK_FOLLOW: u32 = 1024;
370pub const LINUX_AT_NO_AUTOMOUNT: u32 = 2048;
371pub const LINUX_AT_EMPTY_PATH: u32 = 4096;
372pub const LINUX_AT_STATX_SYNC_TYPE: u32 = 24576;
373pub const LINUX_AT_STATX_SYNC_AS_STAT: u32 = 0;
374pub const LINUX_AT_STATX_FORCE_SYNC: u32 = 8192;
375pub const LINUX_AT_STATX_DONT_SYNC: u32 = 16384;
376pub const LINUX_AT_RECURSIVE: u32 = 32768;
377pub const LINUX_AT_RENAME_NOREPLACE: u32 = 1;
378pub const LINUX_AT_RENAME_EXCHANGE: u32 = 2;
379pub const LINUX_AT_RENAME_WHITEOUT: u32 = 4;
380pub const LINUX_AT_EACCESS: u32 = 512;
381pub const LINUX_AT_REMOVEDIR: u32 = 512;
382pub const LINUX_AT_HANDLE_FID: u32 = 512;
383pub const LINUX_AT_HANDLE_MNT_ID_UNIQUE: u32 = 1;
384pub const LINUX_EPOLL_CLOEXEC: u32 = 524288;
385pub const LINUX_EPOLL_CTL_ADD: u32 = 1;
386pub const LINUX_EPOLL_CTL_DEL: u32 = 2;
387pub const LINUX_EPOLL_CTL_MOD: u32 = 3;
388pub const LINUX_EPOLL_IOC_TYPE: u32 = 138;
389pub const LINUX_FUTEX_WAIT: u32 = 0;
390pub const LINUX_FUTEX_WAKE: u32 = 1;
391pub const LINUX_FUTEX_FD: u32 = 2;
392pub const LINUX_FUTEX_REQUEUE: u32 = 3;
393pub const LINUX_FUTEX_CMP_REQUEUE: u32 = 4;
394pub const LINUX_FUTEX_WAKE_OP: u32 = 5;
395pub const LINUX_FUTEX_LOCK_PI: u32 = 6;
396pub const LINUX_FUTEX_UNLOCK_PI: u32 = 7;
397pub const LINUX_FUTEX_TRYLOCK_PI: u32 = 8;
398pub const LINUX_FUTEX_WAIT_BITSET: u32 = 9;
399pub const LINUX_FUTEX_WAKE_BITSET: u32 = 10;
400pub const LINUX_FUTEX_WAIT_REQUEUE_PI: u32 = 11;
401pub const LINUX_FUTEX_CMP_REQUEUE_PI: u32 = 12;
402pub const LINUX_FUTEX_LOCK_PI2: u32 = 13;
403pub const LINUX_FUTEX_PRIVATE_FLAG: u32 = 128;
404pub const LINUX_FUTEX_CLOCK_REALTIME: u32 = 256;
405pub const LINUX_FUTEX_CMD_MASK: i32 = -385;
406pub const LINUX_FUTEX_WAIT_PRIVATE: u32 = 128;
407pub const LINUX_FUTEX_WAKE_PRIVATE: u32 = 129;
408pub const LINUX_FUTEX_REQUEUE_PRIVATE: u32 = 131;
409pub const LINUX_FUTEX_CMP_REQUEUE_PRIVATE: u32 = 132;
410pub const LINUX_FUTEX_WAKE_OP_PRIVATE: u32 = 133;
411pub const LINUX_FUTEX_LOCK_PI_PRIVATE: u32 = 134;
412pub const LINUX_FUTEX_LOCK_PI2_PRIVATE: u32 = 141;
413pub const LINUX_FUTEX_UNLOCK_PI_PRIVATE: u32 = 135;
414pub const LINUX_FUTEX_TRYLOCK_PI_PRIVATE: u32 = 136;
415pub const LINUX_FUTEX_WAIT_BITSET_PRIVATE: u32 = 137;
416pub const LINUX_FUTEX_WAKE_BITSET_PRIVATE: u32 = 138;
417pub const LINUX_FUTEX_WAIT_REQUEUE_PI_PRIVATE: u32 = 139;
418pub const LINUX_FUTEX_CMP_REQUEUE_PI_PRIVATE: u32 = 140;
419pub const LINUX_FUTEX2_SIZE_U8: u32 = 0;
420pub const LINUX_FUTEX2_SIZE_U16: u32 = 1;
421pub const LINUX_FUTEX2_SIZE_U32: u32 = 2;
422pub const LINUX_FUTEX2_SIZE_U64: u32 = 3;
423pub const LINUX_FUTEX2_NUMA: u32 = 4;
424pub const LINUX_FUTEX2_PRIVATE: u32 = 128;
425pub const LINUX_FUTEX2_SIZE_MASK: u32 = 3;
426pub const LINUX_FUTEX_32: u32 = 2;
427pub const LINUX_FUTEX_WAITV_MAX: u32 = 128;
428pub const LINUX_FUTEX_WAITERS: u32 = 2147483648;
429pub const LINUX_FUTEX_OWNER_DIED: u32 = 1073741824;
430pub const LINUX_FUTEX_TID_MASK: u32 = 1073741823;
431pub const LINUX_ROBUST_LIST_LIMIT: u32 = 2048;
432pub const LINUX_FUTEX_BITSET_MATCH_ANY: u32 = 4294967295;
433pub const LINUX_FUTEX_OP_SET: u32 = 0;
434pub const LINUX_FUTEX_OP_ADD: u32 = 1;
435pub const LINUX_FUTEX_OP_OR: u32 = 2;
436pub const LINUX_FUTEX_OP_ANDN: u32 = 3;
437pub const LINUX_FUTEX_OP_XOR: u32 = 4;
438pub const LINUX_FUTEX_OP_OPARG_SHIFT: u32 = 8;
439pub const LINUX_FUTEX_OP_CMP_EQ: u32 = 0;
440pub const LINUX_FUTEX_OP_CMP_NE: u32 = 1;
441pub const LINUX_FUTEX_OP_CMP_LT: u32 = 2;
442pub const LINUX_FUTEX_OP_CMP_LE: u32 = 3;
443pub const LINUX_FUTEX_OP_CMP_GT: u32 = 4;
444pub const LINUX_FUTEX_OP_CMP_GE: u32 = 5;
445pub const LINUX___UAPI_DEF_IF_IFCONF: u32 = 1;
446pub const LINUX___UAPI_DEF_IF_IFMAP: u32 = 1;
447pub const LINUX___UAPI_DEF_IF_IFNAMSIZ: u32 = 1;
448pub const LINUX___UAPI_DEF_IF_IFREQ: u32 = 1;
449pub const LINUX___UAPI_DEF_IF_NET_DEVICE_FLAGS: u32 = 1;
450pub const LINUX___UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO: u32 = 1;
451pub const LINUX___UAPI_DEF_IN_ADDR: u32 = 1;
452pub const LINUX___UAPI_DEF_IN_IPPROTO: u32 = 1;
453pub const LINUX___UAPI_DEF_IN_PKTINFO: u32 = 1;
454pub const LINUX___UAPI_DEF_IP_MREQ: u32 = 1;
455pub const LINUX___UAPI_DEF_SOCKADDR_IN: u32 = 1;
456pub const LINUX___UAPI_DEF_IN_CLASS: u32 = 1;
457pub const LINUX___UAPI_DEF_IN6_ADDR: u32 = 1;
458pub const LINUX___UAPI_DEF_IN6_ADDR_ALT: u32 = 1;
459pub const LINUX___UAPI_DEF_SOCKADDR_IN6: u32 = 1;
460pub const LINUX___UAPI_DEF_IPV6_MREQ: u32 = 1;
461pub const LINUX___UAPI_DEF_IPPROTO_V6: u32 = 1;
462pub const LINUX___UAPI_DEF_IPV6_OPTIONS: u32 = 1;
463pub const LINUX___UAPI_DEF_IN6_PKTINFO: u32 = 1;
464pub const LINUX___UAPI_DEF_IP6_MTUINFO: u32 = 1;
465pub const LINUX___UAPI_DEF_XATTR: u32 = 1;
466pub const LINUX__K_SS_MAXSIZE: u32 = 128;
467pub const LINUX_SOCK_SNDBUF_LOCK: u32 = 1;
468pub const LINUX_SOCK_RCVBUF_LOCK: u32 = 2;
469pub const LINUX_SOCK_BUF_LOCK_MASK: u32 = 3;
470pub const LINUX_SOCK_TXREHASH_DEFAULT: u32 = 255;
471pub const LINUX_SOCK_TXREHASH_DISABLED: u32 = 0;
472pub const LINUX_SOCK_TXREHASH_ENABLED: u32 = 1;
473pub const LINUX_IP_TOS: u32 = 1;
474pub const LINUX_IP_TTL: u32 = 2;
475pub const LINUX_IP_HDRINCL: u32 = 3;
476pub const LINUX_IP_OPTIONS: u32 = 4;
477pub const LINUX_IP_ROUTER_ALERT: u32 = 5;
478pub const LINUX_IP_RECVOPTS: u32 = 6;
479pub const LINUX_IP_RETOPTS: u32 = 7;
480pub const LINUX_IP_PKTINFO: u32 = 8;
481pub const LINUX_IP_PKTOPTIONS: u32 = 9;
482pub const LINUX_IP_MTU_DISCOVER: u32 = 10;
483pub const LINUX_IP_RECVERR: u32 = 11;
484pub const LINUX_IP_RECVTTL: u32 = 12;
485pub const LINUX_IP_RECVTOS: u32 = 13;
486pub const LINUX_IP_MTU: u32 = 14;
487pub const LINUX_IP_FREEBIND: u32 = 15;
488pub const LINUX_IP_IPSEC_POLICY: u32 = 16;
489pub const LINUX_IP_XFRM_POLICY: u32 = 17;
490pub const LINUX_IP_PASSSEC: u32 = 18;
491pub const LINUX_IP_TRANSPARENT: u32 = 19;
492pub const LINUX_IP_RECVRETOPTS: u32 = 7;
493pub const LINUX_IP_ORIGDSTADDR: u32 = 20;
494pub const LINUX_IP_RECVORIGDSTADDR: u32 = 20;
495pub const LINUX_IP_MINTTL: u32 = 21;
496pub const LINUX_IP_NODEFRAG: u32 = 22;
497pub const LINUX_IP_CHECKSUM: u32 = 23;
498pub const LINUX_IP_BIND_ADDRESS_NO_PORT: u32 = 24;
499pub const LINUX_IP_RECVFRAGSIZE: u32 = 25;
500pub const LINUX_IP_RECVERR_RFC4884: u32 = 26;
501pub const LINUX_IP_PMTUDISC_DONT: u32 = 0;
502pub const LINUX_IP_PMTUDISC_WANT: u32 = 1;
503pub const LINUX_IP_PMTUDISC_DO: u32 = 2;
504pub const LINUX_IP_PMTUDISC_PROBE: u32 = 3;
505pub const LINUX_IP_PMTUDISC_INTERFACE: u32 = 4;
506pub const LINUX_IP_PMTUDISC_OMIT: u32 = 5;
507pub const LINUX_IP_MULTICAST_IF: u32 = 32;
508pub const LINUX_IP_MULTICAST_TTL: u32 = 33;
509pub const LINUX_IP_MULTICAST_LOOP: u32 = 34;
510pub const LINUX_IP_ADD_MEMBERSHIP: u32 = 35;
511pub const LINUX_IP_DROP_MEMBERSHIP: u32 = 36;
512pub const LINUX_IP_UNBLOCK_SOURCE: u32 = 37;
513pub const LINUX_IP_BLOCK_SOURCE: u32 = 38;
514pub const LINUX_IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
515pub const LINUX_IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
516pub const LINUX_IP_MSFILTER: u32 = 41;
517pub const LINUX_MCAST_JOIN_GROUP: u32 = 42;
518pub const LINUX_MCAST_BLOCK_SOURCE: u32 = 43;
519pub const LINUX_MCAST_UNBLOCK_SOURCE: u32 = 44;
520pub const LINUX_MCAST_LEAVE_GROUP: u32 = 45;
521pub const LINUX_MCAST_JOIN_SOURCE_GROUP: u32 = 46;
522pub const LINUX_MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
523pub const LINUX_MCAST_MSFILTER: u32 = 48;
524pub const LINUX_IP_MULTICAST_ALL: u32 = 49;
525pub const LINUX_IP_UNICAST_IF: u32 = 50;
526pub const LINUX_IP_LOCAL_PORT_RANGE: u32 = 51;
527pub const LINUX_IP_PROTOCOL: u32 = 52;
528pub const LINUX_MCAST_EXCLUDE: u32 = 0;
529pub const LINUX_MCAST_INCLUDE: u32 = 1;
530pub const LINUX_IP_DEFAULT_MULTICAST_TTL: u32 = 1;
531pub const LINUX_IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
532pub const LINUX___SOCK_SIZE__: u32 = 16;
533pub const LINUX_IN_CLASSA_NET: u32 = 4278190080;
534pub const LINUX_IN_CLASSA_NSHIFT: u32 = 24;
535pub const LINUX_IN_CLASSA_HOST: u32 = 16777215;
536pub const LINUX_IN_CLASSA_MAX: u32 = 128;
537pub const LINUX_IN_CLASSB_NET: u32 = 4294901760;
538pub const LINUX_IN_CLASSB_NSHIFT: u32 = 16;
539pub const LINUX_IN_CLASSB_HOST: u32 = 65535;
540pub const LINUX_IN_CLASSB_MAX: u32 = 65536;
541pub const LINUX_IN_CLASSC_NET: u32 = 4294967040;
542pub const LINUX_IN_CLASSC_NSHIFT: u32 = 8;
543pub const LINUX_IN_CLASSC_HOST: u32 = 255;
544pub const LINUX_IN_MULTICAST_NET: u32 = 3758096384;
545pub const LINUX_IN_CLASSE_NET: u32 = 4294967295;
546pub const LINUX_IN_CLASSE_NSHIFT: u32 = 0;
547pub const LINUX_IN_LOOPBACKNET: u32 = 127;
548pub const LINUX_INADDR_LOOPBACK: u32 = 2130706433;
549pub const LINUX_INADDR_UNSPEC_GROUP: u32 = 3758096384;
550pub const LINUX_INADDR_ALLHOSTS_GROUP: u32 = 3758096385;
551pub const LINUX_INADDR_ALLRTRS_GROUP: u32 = 3758096386;
552pub const LINUX_INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490;
553pub const LINUX_INADDR_MAX_LOCAL_GROUP: u32 = 3758096639;
554pub const LINUX___LITTLE_ENDIAN: u32 = 1234;
555pub const LINUX_NR_OPEN: u32 = 1024;
556pub const LINUX_NGROUPS_MAX: u32 = 65536;
557pub const LINUX_ARG_MAX: u32 = 131072;
558pub const LINUX_LINK_MAX: u32 = 127;
559pub const LINUX_MAX_CANON: u32 = 255;
560pub const LINUX_MAX_INPUT: u32 = 255;
561pub const LINUX_NAME_MAX: u32 = 255;
562pub const LINUX_PATH_MAX: u32 = 4096;
563pub const LINUX_PIPE_BUF: u32 = 4096;
564pub const LINUX_XATTR_NAME_MAX: u32 = 255;
565pub const LINUX_XATTR_SIZE_MAX: u32 = 65536;
566pub const LINUX_XATTR_LIST_MAX: u32 = 65536;
567pub const LINUX_RTSIG_MAX: u32 = 32;
568pub const LINUX_MAP_32BIT: u32 = 64;
569pub const LINUX_MAP_ABOVE4G: u32 = 128;
570pub const LINUX_SHADOW_STACK_SET_TOKEN: u32 = 1;
571pub const LINUX_PROT_READ: u32 = 1;
572pub const LINUX_PROT_WRITE: u32 = 2;
573pub const LINUX_PROT_EXEC: u32 = 4;
574pub const LINUX_PROT_SEM: u32 = 8;
575pub const LINUX_PROT_NONE: u32 = 0;
576pub const LINUX_PROT_GROWSDOWN: u32 = 16777216;
577pub const LINUX_PROT_GROWSUP: u32 = 33554432;
578pub const LINUX_MAP_TYPE: u32 = 15;
579pub const LINUX_MAP_FIXED: u32 = 16;
580pub const LINUX_MAP_ANONYMOUS: u32 = 32;
581pub const LINUX_MAP_POPULATE: u32 = 32768;
582pub const LINUX_MAP_NONBLOCK: u32 = 65536;
583pub const LINUX_MAP_STACK: u32 = 131072;
584pub const LINUX_MAP_HUGETLB: u32 = 262144;
585pub const LINUX_MAP_SYNC: u32 = 524288;
586pub const LINUX_MAP_FIXED_NOREPLACE: u32 = 1048576;
587pub const LINUX_MAP_UNINITIALIZED: u32 = 67108864;
588pub const LINUX_MLOCK_ONFAULT: u32 = 1;
589pub const LINUX_MS_ASYNC: u32 = 1;
590pub const LINUX_MS_INVALIDATE: u32 = 2;
591pub const LINUX_MS_SYNC: u32 = 4;
592pub const LINUX_MADV_NORMAL: u32 = 0;
593pub const LINUX_MADV_RANDOM: u32 = 1;
594pub const LINUX_MADV_SEQUENTIAL: u32 = 2;
595pub const LINUX_MADV_WILLNEED: u32 = 3;
596pub const LINUX_MADV_DONTNEED: u32 = 4;
597pub const LINUX_MADV_FREE: u32 = 8;
598pub const LINUX_MADV_REMOVE: u32 = 9;
599pub const LINUX_MADV_DONTFORK: u32 = 10;
600pub const LINUX_MADV_DOFORK: u32 = 11;
601pub const LINUX_MADV_HWPOISON: u32 = 100;
602pub const LINUX_MADV_SOFT_OFFLINE: u32 = 101;
603pub const LINUX_MADV_MERGEABLE: u32 = 12;
604pub const LINUX_MADV_UNMERGEABLE: u32 = 13;
605pub const LINUX_MADV_HUGEPAGE: u32 = 14;
606pub const LINUX_MADV_NOHUGEPAGE: u32 = 15;
607pub const LINUX_MADV_DONTDUMP: u32 = 16;
608pub const LINUX_MADV_DODUMP: u32 = 17;
609pub const LINUX_MADV_WIPEONFORK: u32 = 18;
610pub const LINUX_MADV_KEEPONFORK: u32 = 19;
611pub const LINUX_MADV_COLD: u32 = 20;
612pub const LINUX_MADV_PAGEOUT: u32 = 21;
613pub const LINUX_MADV_POPULATE_READ: u32 = 22;
614pub const LINUX_MADV_POPULATE_WRITE: u32 = 23;
615pub const LINUX_MADV_DONTNEED_LOCKED: u32 = 24;
616pub const LINUX_MADV_COLLAPSE: u32 = 25;
617pub const LINUX_MAP_FILE: u32 = 0;
618pub const LINUX_PKEY_DISABLE_ACCESS: u32 = 1;
619pub const LINUX_PKEY_DISABLE_WRITE: u32 = 2;
620pub const LINUX_PKEY_ACCESS_MASK: u32 = 3;
621pub const LINUX_MAP_GROWSDOWN: u32 = 256;
622pub const LINUX_MAP_DENYWRITE: u32 = 2048;
623pub const LINUX_MAP_EXECUTABLE: u32 = 4096;
624pub const LINUX_MAP_LOCKED: u32 = 8192;
625pub const LINUX_MAP_NORESERVE: u32 = 16384;
626pub const LINUX_MCL_CURRENT: u32 = 1;
627pub const LINUX_MCL_FUTURE: u32 = 2;
628pub const LINUX_MCL_ONFAULT: u32 = 4;
629pub const LINUX_HUGETLB_FLAG_ENCODE_SHIFT: u32 = 26;
630pub const LINUX_HUGETLB_FLAG_ENCODE_MASK: u32 = 63;
631pub const LINUX_HUGETLB_FLAG_ENCODE_16KB: u32 = 939524096;
632pub const LINUX_HUGETLB_FLAG_ENCODE_64KB: u32 = 1073741824;
633pub const LINUX_HUGETLB_FLAG_ENCODE_512KB: u32 = 1275068416;
634pub const LINUX_HUGETLB_FLAG_ENCODE_1MB: u32 = 1342177280;
635pub const LINUX_HUGETLB_FLAG_ENCODE_2MB: u32 = 1409286144;
636pub const LINUX_HUGETLB_FLAG_ENCODE_8MB: u32 = 1543503872;
637pub const LINUX_HUGETLB_FLAG_ENCODE_16MB: u32 = 1610612736;
638pub const LINUX_HUGETLB_FLAG_ENCODE_32MB: u32 = 1677721600;
639pub const LINUX_HUGETLB_FLAG_ENCODE_256MB: u32 = 1879048192;
640pub const LINUX_HUGETLB_FLAG_ENCODE_512MB: u32 = 1946157056;
641pub const LINUX_HUGETLB_FLAG_ENCODE_1GB: u32 = 2013265920;
642pub const LINUX_HUGETLB_FLAG_ENCODE_2GB: u32 = 2080374784;
643pub const LINUX_HUGETLB_FLAG_ENCODE_16GB: u32 = 2281701376;
644pub const LINUX_MREMAP_MAYMOVE: u32 = 1;
645pub const LINUX_MREMAP_FIXED: u32 = 2;
646pub const LINUX_MREMAP_DONTUNMAP: u32 = 4;
647pub const LINUX_OVERCOMMIT_GUESS: u32 = 0;
648pub const LINUX_OVERCOMMIT_ALWAYS: u32 = 1;
649pub const LINUX_OVERCOMMIT_NEVER: u32 = 2;
650pub const LINUX_MAP_SHARED: u32 = 1;
651pub const LINUX_MAP_PRIVATE: u32 = 2;
652pub const LINUX_MAP_SHARED_VALIDATE: u32 = 3;
653pub const LINUX_MAP_DROPPABLE: u32 = 8;
654pub const LINUX_MAP_HUGE_SHIFT: u32 = 26;
655pub const LINUX_MAP_HUGE_MASK: u32 = 63;
656pub const LINUX_MAP_HUGE_16KB: u32 = 939524096;
657pub const LINUX_MAP_HUGE_64KB: u32 = 1073741824;
658pub const LINUX_MAP_HUGE_512KB: u32 = 1275068416;
659pub const LINUX_MAP_HUGE_1MB: u32 = 1342177280;
660pub const LINUX_MAP_HUGE_2MB: u32 = 1409286144;
661pub const LINUX_MAP_HUGE_8MB: u32 = 1543503872;
662pub const LINUX_MAP_HUGE_16MB: u32 = 1610612736;
663pub const LINUX_MAP_HUGE_32MB: u32 = 1677721600;
664pub const LINUX_MAP_HUGE_256MB: u32 = 1879048192;
665pub const LINUX_MAP_HUGE_512MB: u32 = 1946157056;
666pub const LINUX_MAP_HUGE_1GB: u32 = 2013265920;
667pub const LINUX_MAP_HUGE_2GB: u32 = 2080374784;
668pub const LINUX_MAP_HUGE_16GB: u32 = 2281701376;
669pub const LINUX_NETLINK_ROUTE: u32 = 0;
670pub const LINUX_NETLINK_UNUSED: u32 = 1;
671pub const LINUX_NETLINK_USERSOCK: u32 = 2;
672pub const LINUX_NETLINK_FIREWALL: u32 = 3;
673pub const LINUX_NETLINK_SOCK_DIAG: u32 = 4;
674pub const LINUX_NETLINK_NFLOG: u32 = 5;
675pub const LINUX_NETLINK_XFRM: u32 = 6;
676pub const LINUX_NETLINK_SELINUX: u32 = 7;
677pub const LINUX_NETLINK_ISCSI: u32 = 8;
678pub const LINUX_NETLINK_AUDIT: u32 = 9;
679pub const LINUX_NETLINK_FIB_LOOKUP: u32 = 10;
680pub const LINUX_NETLINK_CONNECTOR: u32 = 11;
681pub const LINUX_NETLINK_NETFILTER: u32 = 12;
682pub const LINUX_NETLINK_IP6_FW: u32 = 13;
683pub const LINUX_NETLINK_DNRTMSG: u32 = 14;
684pub const LINUX_NETLINK_KOBJECT_UEVENT: u32 = 15;
685pub const LINUX_NETLINK_GENERIC: u32 = 16;
686pub const LINUX_NETLINK_SCSITRANSPORT: u32 = 18;
687pub const LINUX_NETLINK_ECRYPTFS: u32 = 19;
688pub const LINUX_NETLINK_RDMA: u32 = 20;
689pub const LINUX_NETLINK_CRYPTO: u32 = 21;
690pub const LINUX_NETLINK_SMC: u32 = 22;
691pub const LINUX_NETLINK_INET_DIAG: u32 = 4;
692pub const LINUX_MAX_LINKS: u32 = 32;
693pub const LINUX_NLM_F_REQUEST: u32 = 1;
694pub const LINUX_NLM_F_MULTI: u32 = 2;
695pub const LINUX_NLM_F_ACK: u32 = 4;
696pub const LINUX_NLM_F_ECHO: u32 = 8;
697pub const LINUX_NLM_F_DUMP_INTR: u32 = 16;
698pub const LINUX_NLM_F_DUMP_FILTERED: u32 = 32;
699pub const LINUX_NLM_F_ROOT: u32 = 256;
700pub const LINUX_NLM_F_MATCH: u32 = 512;
701pub const LINUX_NLM_F_ATOMIC: u32 = 1024;
702pub const LINUX_NLM_F_DUMP: u32 = 768;
703pub const LINUX_NLM_F_REPLACE: u32 = 256;
704pub const LINUX_NLM_F_EXCL: u32 = 512;
705pub const LINUX_NLM_F_CREATE: u32 = 1024;
706pub const LINUX_NLM_F_APPEND: u32 = 2048;
707pub const LINUX_NLM_F_NONREC: u32 = 256;
708pub const LINUX_NLM_F_BULK: u32 = 512;
709pub const LINUX_NLM_F_CAPPED: u32 = 256;
710pub const LINUX_NLM_F_ACK_TLVS: u32 = 512;
711pub const LINUX_NLMSG_ALIGNTO: u32 = 4;
712pub const LINUX_NLMSG_NOOP: u32 = 1;
713pub const LINUX_NLMSG_ERROR: u32 = 2;
714pub const LINUX_NLMSG_DONE: u32 = 3;
715pub const LINUX_NLMSG_OVERRUN: u32 = 4;
716pub const LINUX_NLMSG_MIN_TYPE: u32 = 16;
717pub const LINUX_NETLINK_ADD_MEMBERSHIP: u32 = 1;
718pub const LINUX_NETLINK_DROP_MEMBERSHIP: u32 = 2;
719pub const LINUX_NETLINK_PKTINFO: u32 = 3;
720pub const LINUX_NETLINK_BROADCAST_ERROR: u32 = 4;
721pub const LINUX_NETLINK_NO_ENOBUFS: u32 = 5;
722pub const LINUX_NETLINK_RX_RING: u32 = 6;
723pub const LINUX_NETLINK_TX_RING: u32 = 7;
724pub const LINUX_NETLINK_LISTEN_ALL_NSID: u32 = 8;
725pub const LINUX_NETLINK_LIST_MEMBERSHIPS: u32 = 9;
726pub const LINUX_NETLINK_CAP_ACK: u32 = 10;
727pub const LINUX_NETLINK_EXT_ACK: u32 = 11;
728pub const LINUX_NETLINK_GET_STRICT_CHK: u32 = 12;
729pub const LINUX_NL_MMAP_MSG_ALIGNMENT: u32 = 4;
730pub const LINUX_NET_MAJOR: u32 = 36;
731pub const LINUX_NLA_F_NESTED: u32 = 32768;
732pub const LINUX_NLA_F_NET_BYTEORDER: u32 = 16384;
733pub const LINUX_NLA_TYPE_MASK: i32 = -49153;
734pub const LINUX_NLA_ALIGNTO: u32 = 4;
735pub const LINUX_PR_SET_PDEATHSIG: u32 = 1;
736pub const LINUX_PR_GET_PDEATHSIG: u32 = 2;
737pub const LINUX_PR_GET_DUMPABLE: u32 = 3;
738pub const LINUX_PR_SET_DUMPABLE: u32 = 4;
739pub const LINUX_PR_GET_UNALIGN: u32 = 5;
740pub const LINUX_PR_SET_UNALIGN: u32 = 6;
741pub const LINUX_PR_UNALIGN_NOPRINT: u32 = 1;
742pub const LINUX_PR_UNALIGN_SIGBUS: u32 = 2;
743pub const LINUX_PR_GET_KEEPCAPS: u32 = 7;
744pub const LINUX_PR_SET_KEEPCAPS: u32 = 8;
745pub const LINUX_PR_GET_FPEMU: u32 = 9;
746pub const LINUX_PR_SET_FPEMU: u32 = 10;
747pub const LINUX_PR_FPEMU_NOPRINT: u32 = 1;
748pub const LINUX_PR_FPEMU_SIGFPE: u32 = 2;
749pub const LINUX_PR_GET_FPEXC: u32 = 11;
750pub const LINUX_PR_SET_FPEXC: u32 = 12;
751pub const LINUX_PR_FP_EXC_SW_ENABLE: u32 = 128;
752pub const LINUX_PR_FP_EXC_DIV: u32 = 65536;
753pub const LINUX_PR_FP_EXC_OVF: u32 = 131072;
754pub const LINUX_PR_FP_EXC_UND: u32 = 262144;
755pub const LINUX_PR_FP_EXC_RES: u32 = 524288;
756pub const LINUX_PR_FP_EXC_INV: u32 = 1048576;
757pub const LINUX_PR_FP_EXC_DISABLED: u32 = 0;
758pub const LINUX_PR_FP_EXC_NONRECOV: u32 = 1;
759pub const LINUX_PR_FP_EXC_ASYNC: u32 = 2;
760pub const LINUX_PR_FP_EXC_PRECISE: u32 = 3;
761pub const LINUX_PR_GET_TIMING: u32 = 13;
762pub const LINUX_PR_SET_TIMING: u32 = 14;
763pub const LINUX_PR_TIMING_STATISTICAL: u32 = 0;
764pub const LINUX_PR_TIMING_TIMESTAMP: u32 = 1;
765pub const LINUX_PR_SET_NAME: u32 = 15;
766pub const LINUX_PR_GET_NAME: u32 = 16;
767pub const LINUX_PR_GET_ENDIAN: u32 = 19;
768pub const LINUX_PR_SET_ENDIAN: u32 = 20;
769pub const LINUX_PR_ENDIAN_BIG: u32 = 0;
770pub const LINUX_PR_ENDIAN_LITTLE: u32 = 1;
771pub const LINUX_PR_ENDIAN_PPC_LITTLE: u32 = 2;
772pub const LINUX_PR_GET_SECCOMP: u32 = 21;
773pub const LINUX_PR_SET_SECCOMP: u32 = 22;
774pub const LINUX_PR_CAPBSET_READ: u32 = 23;
775pub const LINUX_PR_CAPBSET_DROP: u32 = 24;
776pub const LINUX_PR_GET_TSC: u32 = 25;
777pub const LINUX_PR_SET_TSC: u32 = 26;
778pub const LINUX_PR_TSC_ENABLE: u32 = 1;
779pub const LINUX_PR_TSC_SIGSEGV: u32 = 2;
780pub const LINUX_PR_GET_SECUREBITS: u32 = 27;
781pub const LINUX_PR_SET_SECUREBITS: u32 = 28;
782pub const LINUX_PR_SET_TIMERSLACK: u32 = 29;
783pub const LINUX_PR_GET_TIMERSLACK: u32 = 30;
784pub const LINUX_PR_TASK_PERF_EVENTS_DISABLE: u32 = 31;
785pub const LINUX_PR_TASK_PERF_EVENTS_ENABLE: u32 = 32;
786pub const LINUX_PR_MCE_KILL: u32 = 33;
787pub const LINUX_PR_MCE_KILL_CLEAR: u32 = 0;
788pub const LINUX_PR_MCE_KILL_SET: u32 = 1;
789pub const LINUX_PR_MCE_KILL_LATE: u32 = 0;
790pub const LINUX_PR_MCE_KILL_EARLY: u32 = 1;
791pub const LINUX_PR_MCE_KILL_DEFAULT: u32 = 2;
792pub const LINUX_PR_MCE_KILL_GET: u32 = 34;
793pub const LINUX_PR_SET_MM: u32 = 35;
794pub const LINUX_PR_SET_MM_START_CODE: u32 = 1;
795pub const LINUX_PR_SET_MM_END_CODE: u32 = 2;
796pub const LINUX_PR_SET_MM_START_DATA: u32 = 3;
797pub const LINUX_PR_SET_MM_END_DATA: u32 = 4;
798pub const LINUX_PR_SET_MM_START_STACK: u32 = 5;
799pub const LINUX_PR_SET_MM_START_BRK: u32 = 6;
800pub const LINUX_PR_SET_MM_BRK: u32 = 7;
801pub const LINUX_PR_SET_MM_ARG_START: u32 = 8;
802pub const LINUX_PR_SET_MM_ARG_END: u32 = 9;
803pub const LINUX_PR_SET_MM_ENV_START: u32 = 10;
804pub const LINUX_PR_SET_MM_ENV_END: u32 = 11;
805pub const LINUX_PR_SET_MM_AUXV: u32 = 12;
806pub const LINUX_PR_SET_MM_EXE_FILE: u32 = 13;
807pub const LINUX_PR_SET_MM_MAP: u32 = 14;
808pub const LINUX_PR_SET_MM_MAP_SIZE: u32 = 15;
809pub const LINUX_PR_SET_PTRACER: u32 = 1499557217;
810pub const LINUX_PR_SET_CHILD_SUBREAPER: u32 = 36;
811pub const LINUX_PR_GET_CHILD_SUBREAPER: u32 = 37;
812pub const LINUX_PR_SET_NO_NEW_PRIVS: u32 = 38;
813pub const LINUX_PR_GET_NO_NEW_PRIVS: u32 = 39;
814pub const LINUX_PR_GET_TID_ADDRESS: u32 = 40;
815pub const LINUX_PR_SET_THP_DISABLE: u32 = 41;
816pub const LINUX_PR_GET_THP_DISABLE: u32 = 42;
817pub const LINUX_PR_MPX_ENABLE_MANAGEMENT: u32 = 43;
818pub const LINUX_PR_MPX_DISABLE_MANAGEMENT: u32 = 44;
819pub const LINUX_PR_SET_FP_MODE: u32 = 45;
820pub const LINUX_PR_GET_FP_MODE: u32 = 46;
821pub const LINUX_PR_FP_MODE_FR: u32 = 1;
822pub const LINUX_PR_FP_MODE_FRE: u32 = 2;
823pub const LINUX_PR_CAP_AMBIENT: u32 = 47;
824pub const LINUX_PR_CAP_AMBIENT_IS_SET: u32 = 1;
825pub const LINUX_PR_CAP_AMBIENT_RAISE: u32 = 2;
826pub const LINUX_PR_CAP_AMBIENT_LOWER: u32 = 3;
827pub const LINUX_PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4;
828pub const LINUX_PR_SVE_SET_VL: u32 = 50;
829pub const LINUX_PR_SVE_SET_VL_ONEXEC: u32 = 262144;
830pub const LINUX_PR_SVE_GET_VL: u32 = 51;
831pub const LINUX_PR_SVE_VL_LEN_MASK: u32 = 65535;
832pub const LINUX_PR_SVE_VL_INHERIT: u32 = 131072;
833pub const LINUX_PR_GET_SPECULATION_CTRL: u32 = 52;
834pub const LINUX_PR_SET_SPECULATION_CTRL: u32 = 53;
835pub const LINUX_PR_SPEC_STORE_BYPASS: u32 = 0;
836pub const LINUX_PR_SPEC_INDIRECT_BRANCH: u32 = 1;
837pub const LINUX_PR_SPEC_L1D_FLUSH: u32 = 2;
838pub const LINUX_PR_SPEC_NOT_AFFECTED: u32 = 0;
839pub const LINUX_PR_SPEC_PRCTL: u32 = 1;
840pub const LINUX_PR_SPEC_ENABLE: u32 = 2;
841pub const LINUX_PR_SPEC_DISABLE: u32 = 4;
842pub const LINUX_PR_SPEC_FORCE_DISABLE: u32 = 8;
843pub const LINUX_PR_SPEC_DISABLE_NOEXEC: u32 = 16;
844pub const LINUX_PR_PAC_RESET_KEYS: u32 = 54;
845pub const LINUX_PR_PAC_APIAKEY: u32 = 1;
846pub const LINUX_PR_PAC_APIBKEY: u32 = 2;
847pub const LINUX_PR_PAC_APDAKEY: u32 = 4;
848pub const LINUX_PR_PAC_APDBKEY: u32 = 8;
849pub const LINUX_PR_PAC_APGAKEY: u32 = 16;
850pub const LINUX_PR_SET_TAGGED_ADDR_CTRL: u32 = 55;
851pub const LINUX_PR_GET_TAGGED_ADDR_CTRL: u32 = 56;
852pub const LINUX_PR_TAGGED_ADDR_ENABLE: u32 = 1;
853pub const LINUX_PR_MTE_TCF_NONE: u32 = 0;
854pub const LINUX_PR_MTE_TCF_SYNC: u32 = 2;
855pub const LINUX_PR_MTE_TCF_ASYNC: u32 = 4;
856pub const LINUX_PR_MTE_TCF_MASK: u32 = 6;
857pub const LINUX_PR_MTE_TAG_SHIFT: u32 = 3;
858pub const LINUX_PR_MTE_TAG_MASK: u32 = 524280;
859pub const LINUX_PR_MTE_TCF_SHIFT: u32 = 1;
860pub const LINUX_PR_SET_IO_FLUSHER: u32 = 57;
861pub const LINUX_PR_GET_IO_FLUSHER: u32 = 58;
862pub const LINUX_PR_SET_SYSCALL_USER_DISPATCH: u32 = 59;
863pub const LINUX_PR_SYS_DISPATCH_OFF: u32 = 0;
864pub const LINUX_PR_SYS_DISPATCH_ON: u32 = 1;
865pub const LINUX_SYSCALL_DISPATCH_FILTER_ALLOW: u32 = 0;
866pub const LINUX_SYSCALL_DISPATCH_FILTER_BLOCK: u32 = 1;
867pub const LINUX_PR_PAC_SET_ENABLED_KEYS: u32 = 60;
868pub const LINUX_PR_PAC_GET_ENABLED_KEYS: u32 = 61;
869pub const LINUX_PR_SCHED_CORE: u32 = 62;
870pub const LINUX_PR_SCHED_CORE_GET: u32 = 0;
871pub const LINUX_PR_SCHED_CORE_CREATE: u32 = 1;
872pub const LINUX_PR_SCHED_CORE_SHARE_TO: u32 = 2;
873pub const LINUX_PR_SCHED_CORE_SHARE_FROM: u32 = 3;
874pub const LINUX_PR_SCHED_CORE_MAX: u32 = 4;
875pub const LINUX_PR_SCHED_CORE_SCOPE_THREAD: u32 = 0;
876pub const LINUX_PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1;
877pub const LINUX_PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2;
878pub const LINUX_PR_SME_SET_VL: u32 = 63;
879pub const LINUX_PR_SME_SET_VL_ONEXEC: u32 = 262144;
880pub const LINUX_PR_SME_GET_VL: u32 = 64;
881pub const LINUX_PR_SME_VL_LEN_MASK: u32 = 65535;
882pub const LINUX_PR_SME_VL_INHERIT: u32 = 131072;
883pub const LINUX_PR_SET_MDWE: u32 = 65;
884pub const LINUX_PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1;
885pub const LINUX_PR_MDWE_NO_INHERIT: u32 = 2;
886pub const LINUX_PR_GET_MDWE: u32 = 66;
887pub const LINUX_PR_SET_VMA: u32 = 1398164801;
888pub const LINUX_PR_SET_VMA_ANON_NAME: u32 = 0;
889pub const LINUX_PR_GET_AUXV: u32 = 1096112214;
890pub const LINUX_PR_SET_MEMORY_MERGE: u32 = 67;
891pub const LINUX_PR_GET_MEMORY_MERGE: u32 = 68;
892pub const LINUX_PR_RISCV_V_SET_CONTROL: u32 = 69;
893pub const LINUX_PR_RISCV_V_GET_CONTROL: u32 = 70;
894pub const LINUX_PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0;
895pub const LINUX_PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1;
896pub const LINUX_PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2;
897pub const LINUX_PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16;
898pub const LINUX_PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3;
899pub const LINUX_PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12;
900pub const LINUX_PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31;
901pub const LINUX_PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71;
902pub const LINUX_PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0;
903pub const LINUX_PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1;
904pub const LINUX_PR_RISCV_SCOPE_PER_PROCESS: u32 = 0;
905pub const LINUX_PR_RISCV_SCOPE_PER_THREAD: u32 = 1;
906pub const LINUX_PR_PPC_GET_DEXCR: u32 = 72;
907pub const LINUX_PR_PPC_SET_DEXCR: u32 = 73;
908pub const LINUX_PR_PPC_DEXCR_SBHE: u32 = 0;
909pub const LINUX_PR_PPC_DEXCR_IBRTPD: u32 = 1;
910pub const LINUX_PR_PPC_DEXCR_SRAPD: u32 = 2;
911pub const LINUX_PR_PPC_DEXCR_NPHIE: u32 = 3;
912pub const LINUX_PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1;
913pub const LINUX_PR_PPC_DEXCR_CTRL_SET: u32 = 2;
914pub const LINUX_PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4;
915pub const LINUX_PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8;
916pub const LINUX_PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16;
917pub const LINUX_PR_PPC_DEXCR_CTRL_MASK: u32 = 31;
918pub const LINUX_RUSAGE_SELF: u32 = 0;
919pub const LINUX_RUSAGE_CHILDREN: i32 = -1;
920pub const LINUX_RUSAGE_BOTH: i32 = -2;
921pub const LINUX_RUSAGE_THREAD: u32 = 1;
922pub const LINUX_RLIM64_INFINITY: i32 = -1;
923pub const LINUX_PRIO_MIN: i32 = -20;
924pub const LINUX_PRIO_MAX: u32 = 20;
925pub const LINUX_PRIO_PROCESS: u32 = 0;
926pub const LINUX_PRIO_PGRP: u32 = 1;
927pub const LINUX_PRIO_USER: u32 = 2;
928pub const LINUX__STK_LIM: u32 = 8388608;
929pub const LINUX_MLOCK_LIMIT: u32 = 8388608;
930pub const LINUX_RLIMIT_CPU: u32 = 0;
931pub const LINUX_RLIMIT_FSIZE: u32 = 1;
932pub const LINUX_RLIMIT_DATA: u32 = 2;
933pub const LINUX_RLIMIT_STACK: u32 = 3;
934pub const LINUX_RLIMIT_CORE: u32 = 4;
935pub const LINUX_RLIMIT_RSS: u32 = 5;
936pub const LINUX_RLIMIT_NPROC: u32 = 6;
937pub const LINUX_RLIMIT_NOFILE: u32 = 7;
938pub const LINUX_RLIMIT_MEMLOCK: u32 = 8;
939pub const LINUX_RLIMIT_AS: u32 = 9;
940pub const LINUX_RLIMIT_LOCKS: u32 = 10;
941pub const LINUX_RLIMIT_SIGPENDING: u32 = 11;
942pub const LINUX_RLIMIT_MSGQUEUE: u32 = 12;
943pub const LINUX_RLIMIT_NICE: u32 = 13;
944pub const LINUX_RLIMIT_RTPRIO: u32 = 14;
945pub const LINUX_RLIMIT_RTTIME: u32 = 15;
946pub const LINUX_RLIM_NLIMITS: u32 = 16;
947pub const LINUX_RLIM_INFINITY: i32 = -1;
948pub const LINUX_MACVLAN_FLAG_NOPROMISC: u32 = 1;
949pub const LINUX_MACVLAN_FLAG_NODST: u32 = 2;
950pub const LINUX_IPVLAN_F_PRIVATE: u32 = 1;
951pub const LINUX_IPVLAN_F_VEPA: u32 = 2;
952pub const LINUX_TUNNEL_MSG_FLAG_STATS: u32 = 1;
953pub const LINUX_TUNNEL_MSG_VALID_USER_FLAGS: u32 = 1;
954pub const LINUX_MAX_VLAN_LIST_LEN: u32 = 1;
955pub const LINUX_PORT_PROFILE_MAX: u32 = 40;
956pub const LINUX_PORT_UUID_MAX: u32 = 16;
957pub const LINUX_PORT_SELF_VF: i32 = -1;
958pub const LINUX_XDP_FLAGS_UPDATE_IF_NOEXIST: u32 = 1;
959pub const LINUX_XDP_FLAGS_SKB_MODE: u32 = 2;
960pub const LINUX_XDP_FLAGS_DRV_MODE: u32 = 4;
961pub const LINUX_XDP_FLAGS_HW_MODE: u32 = 8;
962pub const LINUX_XDP_FLAGS_REPLACE: u32 = 16;
963pub const LINUX_XDP_FLAGS_MODES: u32 = 14;
964pub const LINUX_XDP_FLAGS_MASK: u32 = 31;
965pub const LINUX_RMNET_FLAGS_INGRESS_DEAGGREGATION: u32 = 1;
966pub const LINUX_RMNET_FLAGS_INGRESS_MAP_COMMANDS: u32 = 2;
967pub const LINUX_RMNET_FLAGS_INGRESS_MAP_CKSUMV4: u32 = 4;
968pub const LINUX_RMNET_FLAGS_EGRESS_MAP_CKSUMV4: u32 = 8;
969pub const LINUX_RMNET_FLAGS_INGRESS_MAP_CKSUMV5: u32 = 16;
970pub const LINUX_RMNET_FLAGS_EGRESS_MAP_CKSUMV5: u32 = 32;
971pub const LINUX_IFA_F_SECONDARY: u32 = 1;
972pub const LINUX_IFA_F_TEMPORARY: u32 = 1;
973pub const LINUX_IFA_F_NODAD: u32 = 2;
974pub const LINUX_IFA_F_OPTIMISTIC: u32 = 4;
975pub const LINUX_IFA_F_DADFAILED: u32 = 8;
976pub const LINUX_IFA_F_HOMEADDRESS: u32 = 16;
977pub const LINUX_IFA_F_DEPRECATED: u32 = 32;
978pub const LINUX_IFA_F_TENTATIVE: u32 = 64;
979pub const LINUX_IFA_F_PERMANENT: u32 = 128;
980pub const LINUX_IFA_F_MANAGETEMPADDR: u32 = 256;
981pub const LINUX_IFA_F_NOPREFIXROUTE: u32 = 512;
982pub const LINUX_IFA_F_MCAUTOJOIN: u32 = 1024;
983pub const LINUX_IFA_F_STABLE_PRIVACY: u32 = 2048;
984pub const LINUX_IFAPROT_UNSPEC: u32 = 0;
985pub const LINUX_IFAPROT_KERNEL_LO: u32 = 1;
986pub const LINUX_IFAPROT_KERNEL_RA: u32 = 2;
987pub const LINUX_IFAPROT_KERNEL_LL: u32 = 3;
988pub const LINUX_NTF_USE: u32 = 1;
989pub const LINUX_NTF_SELF: u32 = 2;
990pub const LINUX_NTF_MASTER: u32 = 4;
991pub const LINUX_NTF_PROXY: u32 = 8;
992pub const LINUX_NTF_EXT_LEARNED: u32 = 16;
993pub const LINUX_NTF_OFFLOADED: u32 = 32;
994pub const LINUX_NTF_STICKY: u32 = 64;
995pub const LINUX_NTF_ROUTER: u32 = 128;
996pub const LINUX_NTF_EXT_MANAGED: u32 = 1;
997pub const LINUX_NTF_EXT_LOCKED: u32 = 2;
998pub const LINUX_NUD_INCOMPLETE: u32 = 1;
999pub const LINUX_NUD_REACHABLE: u32 = 2;
1000pub const LINUX_NUD_STALE: u32 = 4;
1001pub const LINUX_NUD_DELAY: u32 = 8;
1002pub const LINUX_NUD_PROBE: u32 = 16;
1003pub const LINUX_NUD_FAILED: u32 = 32;
1004pub const LINUX_NUD_NOARP: u32 = 64;
1005pub const LINUX_NUD_PERMANENT: u32 = 128;
1006pub const LINUX_NUD_NONE: u32 = 0;
1007pub const LINUX_RTNL_FAMILY_IPMR: u32 = 128;
1008pub const LINUX_RTNL_FAMILY_IP6MR: u32 = 129;
1009pub const LINUX_RTNL_FAMILY_MAX: u32 = 129;
1010pub const LINUX_RTA_ALIGNTO: u32 = 4;
1011pub const LINUX_RTPROT_UNSPEC: u32 = 0;
1012pub const LINUX_RTPROT_REDIRECT: u32 = 1;
1013pub const LINUX_RTPROT_KERNEL: u32 = 2;
1014pub const LINUX_RTPROT_BOOT: u32 = 3;
1015pub const LINUX_RTPROT_STATIC: u32 = 4;
1016pub const LINUX_RTPROT_GATED: u32 = 8;
1017pub const LINUX_RTPROT_RA: u32 = 9;
1018pub const LINUX_RTPROT_MRT: u32 = 10;
1019pub const LINUX_RTPROT_ZEBRA: u32 = 11;
1020pub const LINUX_RTPROT_BIRD: u32 = 12;
1021pub const LINUX_RTPROT_DNROUTED: u32 = 13;
1022pub const LINUX_RTPROT_XORP: u32 = 14;
1023pub const LINUX_RTPROT_NTK: u32 = 15;
1024pub const LINUX_RTPROT_DHCP: u32 = 16;
1025pub const LINUX_RTPROT_MROUTED: u32 = 17;
1026pub const LINUX_RTPROT_KEEPALIVED: u32 = 18;
1027pub const LINUX_RTPROT_BABEL: u32 = 42;
1028pub const LINUX_RTPROT_OPENR: u32 = 99;
1029pub const LINUX_RTPROT_BGP: u32 = 186;
1030pub const LINUX_RTPROT_ISIS: u32 = 187;
1031pub const LINUX_RTPROT_OSPF: u32 = 188;
1032pub const LINUX_RTPROT_RIP: u32 = 189;
1033pub const LINUX_RTPROT_EIGRP: u32 = 192;
1034pub const LINUX_RTM_F_NOTIFY: u32 = 256;
1035pub const LINUX_RTM_F_CLONED: u32 = 512;
1036pub const LINUX_RTM_F_EQUALIZE: u32 = 1024;
1037pub const LINUX_RTM_F_PREFIX: u32 = 2048;
1038pub const LINUX_RTM_F_LOOKUP_TABLE: u32 = 4096;
1039pub const LINUX_RTM_F_FIB_MATCH: u32 = 8192;
1040pub const LINUX_RTM_F_OFFLOAD: u32 = 16384;
1041pub const LINUX_RTM_F_TRAP: u32 = 32768;
1042pub const LINUX_RTM_F_OFFLOAD_FAILED: u32 = 536870912;
1043pub const LINUX_RTNH_F_DEAD: u32 = 1;
1044pub const LINUX_RTNH_F_PERVASIVE: u32 = 2;
1045pub const LINUX_RTNH_F_ONLINK: u32 = 4;
1046pub const LINUX_RTNH_F_OFFLOAD: u32 = 8;
1047pub const LINUX_RTNH_F_LINKDOWN: u32 = 16;
1048pub const LINUX_RTNH_F_UNRESOLVED: u32 = 32;
1049pub const LINUX_RTNH_F_TRAP: u32 = 64;
1050pub const LINUX_RTNH_COMPARE_MASK: u32 = 89;
1051pub const LINUX_RTNH_ALIGNTO: u32 = 4;
1052pub const LINUX_RTNETLINK_HAVE_PEERINFO: u32 = 1;
1053pub const LINUX_RTAX_FEATURE_ECN: u32 = 1;
1054pub const LINUX_RTAX_FEATURE_SACK: u32 = 2;
1055pub const LINUX_RTAX_FEATURE_TIMESTAMP: u32 = 4;
1056pub const LINUX_RTAX_FEATURE_ALLFRAG: u32 = 8;
1057pub const LINUX_RTAX_FEATURE_TCP_USEC_TS: u32 = 16;
1058pub const LINUX_RTAX_FEATURE_MASK: u32 = 31;
1059pub const LINUX_TCM_IFINDEX_MAGIC_BLOCK: u32 = 4294967295;
1060pub const LINUX_TCA_DUMP_FLAGS_TERSE: u32 = 1;
1061pub const LINUX_RTMGRP_LINK: u32 = 1;
1062pub const LINUX_RTMGRP_NOTIFY: u32 = 2;
1063pub const LINUX_RTMGRP_NEIGH: u32 = 4;
1064pub const LINUX_RTMGRP_TC: u32 = 8;
1065pub const LINUX_RTMGRP_IPV4_IFADDR: u32 = 16;
1066pub const LINUX_RTMGRP_IPV4_MROUTE: u32 = 32;
1067pub const LINUX_RTMGRP_IPV4_ROUTE: u32 = 64;
1068pub const LINUX_RTMGRP_IPV4_RULE: u32 = 128;
1069pub const LINUX_RTMGRP_IPV6_IFADDR: u32 = 256;
1070pub const LINUX_RTMGRP_IPV6_MROUTE: u32 = 512;
1071pub const LINUX_RTMGRP_IPV6_ROUTE: u32 = 1024;
1072pub const LINUX_RTMGRP_IPV6_IFINFO: u32 = 2048;
1073pub const LINUX_RTMGRP_DECnet_IFADDR: u32 = 4096;
1074pub const LINUX_RTMGRP_DECnet_ROUTE: u32 = 16384;
1075pub const LINUX_RTMGRP_IPV6_PREFIX: u32 = 131072;
1076pub const LINUX_TCA_FLAG_LARGE_DUMP_ON: u32 = 1;
1077pub const LINUX_TCA_ACT_FLAG_LARGE_DUMP_ON: u32 = 1;
1078pub const LINUX_TCA_ACT_FLAG_TERSE_DUMP: u32 = 2;
1079pub const LINUX_RTEXT_FILTER_VF: u32 = 1;
1080pub const LINUX_RTEXT_FILTER_BRVLAN: u32 = 2;
1081pub const LINUX_RTEXT_FILTER_BRVLAN_COMPRESSED: u32 = 4;
1082pub const LINUX_RTEXT_FILTER_SKIP_STATS: u32 = 8;
1083pub const LINUX_RTEXT_FILTER_MRP: u32 = 16;
1084pub const LINUX_RTEXT_FILTER_CFM_CONFIG: u32 = 32;
1085pub const LINUX_RTEXT_FILTER_CFM_STATUS: u32 = 64;
1086pub const LINUX_RTEXT_FILTER_MST: u32 = 128;
1087pub const LINUX_CSIGNAL: u32 = 255;
1088pub const LINUX_CLONE_VM: u32 = 256;
1089pub const LINUX_CLONE_FS: u32 = 512;
1090pub const LINUX_CLONE_FILES: u32 = 1024;
1091pub const LINUX_CLONE_SIGHAND: u32 = 2048;
1092pub const LINUX_CLONE_PIDFD: u32 = 4096;
1093pub const LINUX_CLONE_PTRACE: u32 = 8192;
1094pub const LINUX_CLONE_VFORK: u32 = 16384;
1095pub const LINUX_CLONE_PARENT: u32 = 32768;
1096pub const LINUX_CLONE_THREAD: u32 = 65536;
1097pub const LINUX_CLONE_NEWNS: u32 = 131072;
1098pub const LINUX_CLONE_SYSVSEM: u32 = 262144;
1099pub const LINUX_CLONE_SETTLS: u32 = 524288;
1100pub const LINUX_CLONE_PARENT_SETTID: u32 = 1048576;
1101pub const LINUX_CLONE_CHILD_CLEARTID: u32 = 2097152;
1102pub const LINUX_CLONE_DETACHED: u32 = 4194304;
1103pub const LINUX_CLONE_UNTRACED: u32 = 8388608;
1104pub const LINUX_CLONE_CHILD_SETTID: u32 = 16777216;
1105pub const LINUX_CLONE_NEWCGROUP: u32 = 33554432;
1106pub const LINUX_CLONE_NEWUTS: u32 = 67108864;
1107pub const LINUX_CLONE_NEWIPC: u32 = 134217728;
1108pub const LINUX_CLONE_NEWUSER: u32 = 268435456;
1109pub const LINUX_CLONE_NEWPID: u32 = 536870912;
1110pub const LINUX_CLONE_NEWNET: u32 = 1073741824;
1111pub const LINUX_CLONE_IO: u32 = 2147483648;
1112pub const LINUX_CLONE_CLEAR_SIGHAND: u64 = 4294967296;
1113pub const LINUX_CLONE_INTO_CGROUP: u64 = 8589934592;
1114pub const LINUX_CLONE_NEWTIME: u32 = 128;
1115pub const LINUX_CLONE_ARGS_SIZE_VER0: u32 = 64;
1116pub const LINUX_CLONE_ARGS_SIZE_VER1: u32 = 80;
1117pub const LINUX_CLONE_ARGS_SIZE_VER2: u32 = 88;
1118pub const LINUX_SCHED_NORMAL: u32 = 0;
1119pub const LINUX_SCHED_FIFO: u32 = 1;
1120pub const LINUX_SCHED_RR: u32 = 2;
1121pub const LINUX_SCHED_BATCH: u32 = 3;
1122pub const LINUX_SCHED_IDLE: u32 = 5;
1123pub const LINUX_SCHED_DEADLINE: u32 = 6;
1124pub const LINUX_SCHED_EXT: u32 = 7;
1125pub const LINUX_SCHED_RESET_ON_FORK: u32 = 1073741824;
1126pub const LINUX_SCHED_FLAG_RESET_ON_FORK: u32 = 1;
1127pub const LINUX_SCHED_FLAG_RECLAIM: u32 = 2;
1128pub const LINUX_SCHED_FLAG_DL_OVERRUN: u32 = 4;
1129pub const LINUX_SCHED_FLAG_KEEP_POLICY: u32 = 8;
1130pub const LINUX_SCHED_FLAG_KEEP_PARAMS: u32 = 16;
1131pub const LINUX_SCHED_FLAG_UTIL_CLAMP_MIN: u32 = 32;
1132pub const LINUX_SCHED_FLAG_UTIL_CLAMP_MAX: u32 = 64;
1133pub const LINUX_SCHED_FLAG_KEEP_ALL: u32 = 24;
1134pub const LINUX_SCHED_FLAG_UTIL_CLAMP: u32 = 96;
1135pub const LINUX_SCHED_FLAG_ALL: u32 = 127;
1136pub const LINUX_NSIG: u32 = 32;
1137pub const LINUX_SIGHUP: u32 = 1;
1138pub const LINUX_SIGINT: u32 = 2;
1139pub const LINUX_SIGQUIT: u32 = 3;
1140pub const LINUX_SIGILL: u32 = 4;
1141pub const LINUX_SIGTRAP: u32 = 5;
1142pub const LINUX_SIGABRT: u32 = 6;
1143pub const LINUX_SIGIOT: u32 = 6;
1144pub const LINUX_SIGBUS: u32 = 7;
1145pub const LINUX_SIGFPE: u32 = 8;
1146pub const LINUX_SIGKILL: u32 = 9;
1147pub const LINUX_SIGUSR1: u32 = 10;
1148pub const LINUX_SIGSEGV: u32 = 11;
1149pub const LINUX_SIGUSR2: u32 = 12;
1150pub const LINUX_SIGPIPE: u32 = 13;
1151pub const LINUX_SIGALRM: u32 = 14;
1152pub const LINUX_SIGTERM: u32 = 15;
1153pub const LINUX_SIGSTKFLT: u32 = 16;
1154pub const LINUX_SIGCHLD: u32 = 17;
1155pub const LINUX_SIGCONT: u32 = 18;
1156pub const LINUX_SIGSTOP: u32 = 19;
1157pub const LINUX_SIGTSTP: u32 = 20;
1158pub const LINUX_SIGTTIN: u32 = 21;
1159pub const LINUX_SIGTTOU: u32 = 22;
1160pub const LINUX_SIGURG: u32 = 23;
1161pub const LINUX_SIGXCPU: u32 = 24;
1162pub const LINUX_SIGXFSZ: u32 = 25;
1163pub const LINUX_SIGVTALRM: u32 = 26;
1164pub const LINUX_SIGPROF: u32 = 27;
1165pub const LINUX_SIGWINCH: u32 = 28;
1166pub const LINUX_SIGIO: u32 = 29;
1167pub const LINUX_SIGPOLL: u32 = 29;
1168pub const LINUX_SIGPWR: u32 = 30;
1169pub const LINUX_SIGSYS: u32 = 31;
1170pub const LINUX_SIGUNUSED: u32 = 31;
1171pub const LINUX_SIGRTMIN: u32 = 32;
1172pub const LINUX_SA_RESTORER: u32 = 67108864;
1173pub const LINUX_MINSIGSTKSZ: u32 = 2048;
1174pub const LINUX_SIGSTKSZ: u32 = 8192;
1175pub const LINUX_SA_NOCLDSTOP: u32 = 1;
1176pub const LINUX_SA_NOCLDWAIT: u32 = 2;
1177pub const LINUX_SA_SIGINFO: u32 = 4;
1178pub const LINUX_SA_UNSUPPORTED: u32 = 1024;
1179pub const LINUX_SA_EXPOSE_TAGBITS: u32 = 2048;
1180pub const LINUX_SA_ONSTACK: u32 = 134217728;
1181pub const LINUX_SA_RESTART: u32 = 268435456;
1182pub const LINUX_SA_NODEFER: u32 = 1073741824;
1183pub const LINUX_SA_RESETHAND: u32 = 2147483648;
1184pub const LINUX_SA_NOMASK: u32 = 1073741824;
1185pub const LINUX_SA_ONESHOT: u32 = 2147483648;
1186pub const LINUX_SIG_BLOCK: u32 = 0;
1187pub const LINUX_SIG_UNBLOCK: u32 = 1;
1188pub const LINUX_SIG_SETMASK: u32 = 2;
1189pub const LINUX_SI_MAX_SIZE: u32 = 128;
1190pub const LINUX_SI_USER: u32 = 0;
1191pub const LINUX_SI_KERNEL: u32 = 128;
1192pub const LINUX_SI_QUEUE: i32 = -1;
1193pub const LINUX_SI_TIMER: i32 = -2;
1194pub const LINUX_SI_MESGQ: i32 = -3;
1195pub const LINUX_SI_ASYNCIO: i32 = -4;
1196pub const LINUX_SI_SIGIO: i32 = -5;
1197pub const LINUX_SI_TKILL: i32 = -6;
1198pub const LINUX_SI_DETHREAD: i32 = -7;
1199pub const LINUX_SI_ASYNCNL: i32 = -60;
1200pub const LINUX_ILL_ILLOPC: u32 = 1;
1201pub const LINUX_ILL_ILLOPN: u32 = 2;
1202pub const LINUX_ILL_ILLADR: u32 = 3;
1203pub const LINUX_ILL_ILLTRP: u32 = 4;
1204pub const LINUX_ILL_PRVOPC: u32 = 5;
1205pub const LINUX_ILL_PRVREG: u32 = 6;
1206pub const LINUX_ILL_COPROC: u32 = 7;
1207pub const LINUX_ILL_BADSTK: u32 = 8;
1208pub const LINUX_ILL_BADIADDR: u32 = 9;
1209pub const LINUX___ILL_BREAK: u32 = 10;
1210pub const LINUX___ILL_BNDMOD: u32 = 11;
1211pub const LINUX_NSIGILL: u32 = 11;
1212pub const LINUX_FPE_INTDIV: u32 = 1;
1213pub const LINUX_FPE_INTOVF: u32 = 2;
1214pub const LINUX_FPE_FLTDIV: u32 = 3;
1215pub const LINUX_FPE_FLTOVF: u32 = 4;
1216pub const LINUX_FPE_FLTUND: u32 = 5;
1217pub const LINUX_FPE_FLTRES: u32 = 6;
1218pub const LINUX_FPE_FLTINV: u32 = 7;
1219pub const LINUX_FPE_FLTSUB: u32 = 8;
1220pub const LINUX___FPE_DECOVF: u32 = 9;
1221pub const LINUX___FPE_DECDIV: u32 = 10;
1222pub const LINUX___FPE_DECERR: u32 = 11;
1223pub const LINUX___FPE_INVASC: u32 = 12;
1224pub const LINUX___FPE_INVDEC: u32 = 13;
1225pub const LINUX_FPE_FLTUNK: u32 = 14;
1226pub const LINUX_FPE_CONDTRAP: u32 = 15;
1227pub const LINUX_NSIGFPE: u32 = 15;
1228pub const LINUX_SEGV_MAPERR: u32 = 1;
1229pub const LINUX_SEGV_ACCERR: u32 = 2;
1230pub const LINUX_SEGV_BNDERR: u32 = 3;
1231pub const LINUX_SEGV_PKUERR: u32 = 4;
1232pub const LINUX_SEGV_ACCADI: u32 = 5;
1233pub const LINUX_SEGV_ADIDERR: u32 = 6;
1234pub const LINUX_SEGV_ADIPERR: u32 = 7;
1235pub const LINUX_SEGV_MTEAERR: u32 = 8;
1236pub const LINUX_SEGV_MTESERR: u32 = 9;
1237pub const LINUX_SEGV_CPERR: u32 = 10;
1238pub const LINUX_NSIGSEGV: u32 = 10;
1239pub const LINUX_BUS_ADRALN: u32 = 1;
1240pub const LINUX_BUS_ADRERR: u32 = 2;
1241pub const LINUX_BUS_OBJERR: u32 = 3;
1242pub const LINUX_BUS_MCEERR_AR: u32 = 4;
1243pub const LINUX_BUS_MCEERR_AO: u32 = 5;
1244pub const LINUX_NSIGBUS: u32 = 5;
1245pub const LINUX_TRAP_BRKPT: u32 = 1;
1246pub const LINUX_TRAP_TRACE: u32 = 2;
1247pub const LINUX_TRAP_BRANCH: u32 = 3;
1248pub const LINUX_TRAP_HWBKPT: u32 = 4;
1249pub const LINUX_TRAP_UNK: u32 = 5;
1250pub const LINUX_TRAP_PERF: u32 = 6;
1251pub const LINUX_NSIGTRAP: u32 = 6;
1252pub const LINUX_TRAP_PERF_FLAG_ASYNC: u32 = 1;
1253pub const LINUX_CLD_EXITED: u32 = 1;
1254pub const LINUX_CLD_KILLED: u32 = 2;
1255pub const LINUX_CLD_DUMPED: u32 = 3;
1256pub const LINUX_CLD_TRAPPED: u32 = 4;
1257pub const LINUX_CLD_STOPPED: u32 = 5;
1258pub const LINUX_CLD_CONTINUED: u32 = 6;
1259pub const LINUX_NSIGCHLD: u32 = 6;
1260pub const LINUX_POLL_IN: u32 = 1;
1261pub const LINUX_POLL_OUT: u32 = 2;
1262pub const LINUX_POLL_MSG: u32 = 3;
1263pub const LINUX_POLL_ERR: u32 = 4;
1264pub const LINUX_POLL_PRI: u32 = 5;
1265pub const LINUX_POLL_HUP: u32 = 6;
1266pub const LINUX_NSIGPOLL: u32 = 6;
1267pub const LINUX_SYS_SECCOMP: u32 = 1;
1268pub const LINUX_SYS_USER_DISPATCH: u32 = 2;
1269pub const LINUX_NSIGSYS: u32 = 2;
1270pub const LINUX_EMT_TAGOVF: u32 = 1;
1271pub const LINUX_NSIGEMT: u32 = 1;
1272pub const LINUX_SIGEV_SIGNAL: u32 = 0;
1273pub const LINUX_SIGEV_NONE: u32 = 1;
1274pub const LINUX_SIGEV_THREAD: u32 = 2;
1275pub const LINUX_SIGEV_THREAD_ID: u32 = 4;
1276pub const LINUX_SIGEV_MAX_SIZE: u32 = 64;
1277pub const LINUX_SS_ONSTACK: u32 = 1;
1278pub const LINUX_SS_DISABLE: u32 = 2;
1279pub const LINUX_SS_FLAG_BITS: u32 = 2147483648;
1280pub const LINUX_FIOSETOWN: u32 = 35073;
1281pub const LINUX_SIOCSPGRP: u32 = 35074;
1282pub const LINUX_FIOGETOWN: u32 = 35075;
1283pub const LINUX_SIOCGPGRP: u32 = 35076;
1284pub const LINUX_SIOCATMARK: u32 = 35077;
1285pub const LINUX_SIOCGSTAMP_OLD: u32 = 35078;
1286pub const LINUX_SIOCGSTAMPNS_OLD: u32 = 35079;
1287pub const LINUX_SOCK_IOC_TYPE: u32 = 137;
1288pub const LINUX_SIOCGSTAMP: u32 = 35078;
1289pub const LINUX_SIOCGSTAMPNS: u32 = 35079;
1290pub const LINUX_SIOCADDRT: u32 = 35083;
1291pub const LINUX_SIOCDELRT: u32 = 35084;
1292pub const LINUX_SIOCRTMSG: u32 = 35085;
1293pub const LINUX_SIOCGIFNAME: u32 = 35088;
1294pub const LINUX_SIOCSIFLINK: u32 = 35089;
1295pub const LINUX_SIOCGIFCONF: u32 = 35090;
1296pub const LINUX_SIOCGIFFLAGS: u32 = 35091;
1297pub const LINUX_SIOCSIFFLAGS: u32 = 35092;
1298pub const LINUX_SIOCGIFADDR: u32 = 35093;
1299pub const LINUX_SIOCSIFADDR: u32 = 35094;
1300pub const LINUX_SIOCGIFDSTADDR: u32 = 35095;
1301pub const LINUX_SIOCSIFDSTADDR: u32 = 35096;
1302pub const LINUX_SIOCGIFBRDADDR: u32 = 35097;
1303pub const LINUX_SIOCSIFBRDADDR: u32 = 35098;
1304pub const LINUX_SIOCGIFNETMASK: u32 = 35099;
1305pub const LINUX_SIOCSIFNETMASK: u32 = 35100;
1306pub const LINUX_SIOCGIFMETRIC: u32 = 35101;
1307pub const LINUX_SIOCSIFMETRIC: u32 = 35102;
1308pub const LINUX_SIOCGIFMEM: u32 = 35103;
1309pub const LINUX_SIOCSIFMEM: u32 = 35104;
1310pub const LINUX_SIOCGIFMTU: u32 = 35105;
1311pub const LINUX_SIOCSIFMTU: u32 = 35106;
1312pub const LINUX_SIOCSIFNAME: u32 = 35107;
1313pub const LINUX_SIOCSIFHWADDR: u32 = 35108;
1314pub const LINUX_SIOCGIFENCAP: u32 = 35109;
1315pub const LINUX_SIOCSIFENCAP: u32 = 35110;
1316pub const LINUX_SIOCGIFHWADDR: u32 = 35111;
1317pub const LINUX_SIOCGIFSLAVE: u32 = 35113;
1318pub const LINUX_SIOCSIFSLAVE: u32 = 35120;
1319pub const LINUX_SIOCADDMULTI: u32 = 35121;
1320pub const LINUX_SIOCDELMULTI: u32 = 35122;
1321pub const LINUX_SIOCGIFINDEX: u32 = 35123;
1322pub const LINUX_SIOGIFINDEX: u32 = 35123;
1323pub const LINUX_SIOCSIFPFLAGS: u32 = 35124;
1324pub const LINUX_SIOCGIFPFLAGS: u32 = 35125;
1325pub const LINUX_SIOCDIFADDR: u32 = 35126;
1326pub const LINUX_SIOCSIFHWBROADCAST: u32 = 35127;
1327pub const LINUX_SIOCGIFCOUNT: u32 = 35128;
1328pub const LINUX_SIOCGIFBR: u32 = 35136;
1329pub const LINUX_SIOCSIFBR: u32 = 35137;
1330pub const LINUX_SIOCGIFTXQLEN: u32 = 35138;
1331pub const LINUX_SIOCSIFTXQLEN: u32 = 35139;
1332pub const LINUX_SIOCETHTOOL: u32 = 35142;
1333pub const LINUX_SIOCGMIIPHY: u32 = 35143;
1334pub const LINUX_SIOCGMIIREG: u32 = 35144;
1335pub const LINUX_SIOCSMIIREG: u32 = 35145;
1336pub const LINUX_SIOCWANDEV: u32 = 35146;
1337pub const LINUX_SIOCOUTQNSD: u32 = 35147;
1338pub const LINUX_SIOCGSKNS: u32 = 35148;
1339pub const LINUX_SIOCDARP: u32 = 35155;
1340pub const LINUX_SIOCGARP: u32 = 35156;
1341pub const LINUX_SIOCSARP: u32 = 35157;
1342pub const LINUX_SIOCDRARP: u32 = 35168;
1343pub const LINUX_SIOCGRARP: u32 = 35169;
1344pub const LINUX_SIOCSRARP: u32 = 35170;
1345pub const LINUX_SIOCGIFMAP: u32 = 35184;
1346pub const LINUX_SIOCSIFMAP: u32 = 35185;
1347pub const LINUX_SIOCADDDLCI: u32 = 35200;
1348pub const LINUX_SIOCDELDLCI: u32 = 35201;
1349pub const LINUX_SIOCGIFVLAN: u32 = 35202;
1350pub const LINUX_SIOCSIFVLAN: u32 = 35203;
1351pub const LINUX_SIOCBONDENSLAVE: u32 = 35216;
1352pub const LINUX_SIOCBONDRELEASE: u32 = 35217;
1353pub const LINUX_SIOCBONDSETHWADDR: u32 = 35218;
1354pub const LINUX_SIOCBONDSLAVEINFOQUERY: u32 = 35219;
1355pub const LINUX_SIOCBONDINFOQUERY: u32 = 35220;
1356pub const LINUX_SIOCBONDCHANGEACTIVE: u32 = 35221;
1357pub const LINUX_SIOCBRADDBR: u32 = 35232;
1358pub const LINUX_SIOCBRDELBR: u32 = 35233;
1359pub const LINUX_SIOCBRADDIF: u32 = 35234;
1360pub const LINUX_SIOCBRDELIF: u32 = 35235;
1361pub const LINUX_SIOCSHWTSTAMP: u32 = 35248;
1362pub const LINUX_SIOCGHWTSTAMP: u32 = 35249;
1363pub const LINUX_SIOCDEVPRIVATE: u32 = 35312;
1364pub const LINUX_SIOCPROTOPRIVATE: u32 = 35296;
1365pub const LINUX_S_IFMT: u32 = 61440;
1366pub const LINUX_S_IFSOCK: u32 = 49152;
1367pub const LINUX_S_IFLNK: u32 = 40960;
1368pub const LINUX_S_IFREG: u32 = 32768;
1369pub const LINUX_S_IFBLK: u32 = 24576;
1370pub const LINUX_S_IFDIR: u32 = 16384;
1371pub const LINUX_S_IFCHR: u32 = 8192;
1372pub const LINUX_S_IFIFO: u32 = 4096;
1373pub const LINUX_S_ISUID: u32 = 2048;
1374pub const LINUX_S_ISGID: u32 = 1024;
1375pub const LINUX_S_ISVTX: u32 = 512;
1376pub const LINUX_S_IRWXU: u32 = 448;
1377pub const LINUX_S_IRUSR: u32 = 256;
1378pub const LINUX_S_IWUSR: u32 = 128;
1379pub const LINUX_S_IXUSR: u32 = 64;
1380pub const LINUX_S_IRWXG: u32 = 56;
1381pub const LINUX_S_IRGRP: u32 = 32;
1382pub const LINUX_S_IWGRP: u32 = 16;
1383pub const LINUX_S_IXGRP: u32 = 8;
1384pub const LINUX_S_IRWXO: u32 = 7;
1385pub const LINUX_S_IROTH: u32 = 4;
1386pub const LINUX_S_IWOTH: u32 = 2;
1387pub const LINUX_S_IXOTH: u32 = 1;
1388pub const LINUX_STATX_TYPE: u32 = 1;
1389pub const LINUX_STATX_MODE: u32 = 2;
1390pub const LINUX_STATX_NLINK: u32 = 4;
1391pub const LINUX_STATX_UID: u32 = 8;
1392pub const LINUX_STATX_GID: u32 = 16;
1393pub const LINUX_STATX_ATIME: u32 = 32;
1394pub const LINUX_STATX_MTIME: u32 = 64;
1395pub const LINUX_STATX_CTIME: u32 = 128;
1396pub const LINUX_STATX_INO: u32 = 256;
1397pub const LINUX_STATX_SIZE: u32 = 512;
1398pub const LINUX_STATX_BLOCKS: u32 = 1024;
1399pub const LINUX_STATX_BASIC_STATS: u32 = 2047;
1400pub const LINUX_STATX_BTIME: u32 = 2048;
1401pub const LINUX_STATX_MNT_ID: u32 = 4096;
1402pub const LINUX_STATX_DIOALIGN: u32 = 8192;
1403pub const LINUX_STATX_MNT_ID_UNIQUE: u32 = 16384;
1404pub const LINUX_STATX_SUBVOL: u32 = 32768;
1405pub const LINUX_STATX_WRITE_ATOMIC: u32 = 65536;
1406pub const LINUX_STATX__RESERVED: u32 = 2147483648;
1407pub const LINUX_STATX_ALL: u32 = 4095;
1408pub const LINUX_STATX_ATTR_COMPRESSED: u32 = 4;
1409pub const LINUX_STATX_ATTR_IMMUTABLE: u32 = 16;
1410pub const LINUX_STATX_ATTR_APPEND: u32 = 32;
1411pub const LINUX_STATX_ATTR_NODUMP: u32 = 64;
1412pub const LINUX_STATX_ATTR_ENCRYPTED: u32 = 2048;
1413pub const LINUX_STATX_ATTR_AUTOMOUNT: u32 = 4096;
1414pub const LINUX_STATX_ATTR_MOUNT_ROOT: u32 = 8192;
1415pub const LINUX_STATX_ATTR_VERITY: u32 = 1048576;
1416pub const LINUX_STATX_ATTR_DAX: u32 = 2097152;
1417pub const LINUX_STATX_ATTR_WRITE_ATOMIC: u32 = 4194304;
1418pub const LINUX_ITIMER_REAL: u32 = 0;
1419pub const LINUX_ITIMER_VIRTUAL: u32 = 1;
1420pub const LINUX_ITIMER_PROF: u32 = 2;
1421pub const LINUX_CLOCK_REALTIME: u32 = 0;
1422pub const LINUX_CLOCK_MONOTONIC: u32 = 1;
1423pub const LINUX_CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
1424pub const LINUX_CLOCK_THREAD_CPUTIME_ID: u32 = 3;
1425pub const LINUX_CLOCK_MONOTONIC_RAW: u32 = 4;
1426pub const LINUX_CLOCK_REALTIME_COARSE: u32 = 5;
1427pub const LINUX_CLOCK_MONOTONIC_COARSE: u32 = 6;
1428pub const LINUX_CLOCK_BOOTTIME: u32 = 7;
1429pub const LINUX_CLOCK_REALTIME_ALARM: u32 = 8;
1430pub const LINUX_CLOCK_BOOTTIME_ALARM: u32 = 9;
1431pub const LINUX_CLOCK_SGI_CYCLE: u32 = 10;
1432pub const LINUX_CLOCK_TAI: u32 = 11;
1433pub const LINUX_MAX_CLOCKS: u32 = 16;
1434pub const LINUX_CLOCKS_MASK: u32 = 1;
1435pub const LINUX_CLOCKS_MONO: u32 = 1;
1436pub const LINUX_TIMER_ABSTIME: u32 = 1;
1437pub const LINUX___X32_SYSCALL_BIT: u32 = 1073741824;
1438pub const LINUX___NR_read: u32 = 0;
1439pub const LINUX___NR_write: u32 = 1;
1440pub const LINUX___NR_open: u32 = 2;
1441pub const LINUX___NR_close: u32 = 3;
1442pub const LINUX___NR_stat: u32 = 4;
1443pub const LINUX___NR_fstat: u32 = 5;
1444pub const LINUX___NR_lstat: u32 = 6;
1445pub const LINUX___NR_poll: u32 = 7;
1446pub const LINUX___NR_lseek: u32 = 8;
1447pub const LINUX___NR_mmap: u32 = 9;
1448pub const LINUX___NR_mprotect: u32 = 10;
1449pub const LINUX___NR_munmap: u32 = 11;
1450pub const LINUX___NR_brk: u32 = 12;
1451pub const LINUX___NR_rt_sigaction: u32 = 13;
1452pub const LINUX___NR_rt_sigprocmask: u32 = 14;
1453pub const LINUX___NR_rt_sigreturn: u32 = 15;
1454pub const LINUX___NR_ioctl: u32 = 16;
1455pub const LINUX___NR_pread64: u32 = 17;
1456pub const LINUX___NR_pwrite64: u32 = 18;
1457pub const LINUX___NR_readv: u32 = 19;
1458pub const LINUX___NR_writev: u32 = 20;
1459pub const LINUX___NR_access: u32 = 21;
1460pub const LINUX___NR_pipe: u32 = 22;
1461pub const LINUX___NR_select: u32 = 23;
1462pub const LINUX___NR_sched_yield: u32 = 24;
1463pub const LINUX___NR_mremap: u32 = 25;
1464pub const LINUX___NR_msync: u32 = 26;
1465pub const LINUX___NR_mincore: u32 = 27;
1466pub const LINUX___NR_madvise: u32 = 28;
1467pub const LINUX___NR_shmget: u32 = 29;
1468pub const LINUX___NR_shmat: u32 = 30;
1469pub const LINUX___NR_shmctl: u32 = 31;
1470pub const LINUX___NR_dup: u32 = 32;
1471pub const LINUX___NR_dup2: u32 = 33;
1472pub const LINUX___NR_pause: u32 = 34;
1473pub const LINUX___NR_nanosleep: u32 = 35;
1474pub const LINUX___NR_getitimer: u32 = 36;
1475pub const LINUX___NR_alarm: u32 = 37;
1476pub const LINUX___NR_setitimer: u32 = 38;
1477pub const LINUX___NR_getpid: u32 = 39;
1478pub const LINUX___NR_sendfile: u32 = 40;
1479pub const LINUX___NR_socket: u32 = 41;
1480pub const LINUX___NR_connect: u32 = 42;
1481pub const LINUX___NR_accept: u32 = 43;
1482pub const LINUX___NR_sendto: u32 = 44;
1483pub const LINUX___NR_recvfrom: u32 = 45;
1484pub const LINUX___NR_sendmsg: u32 = 46;
1485pub const LINUX___NR_recvmsg: u32 = 47;
1486pub const LINUX___NR_shutdown: u32 = 48;
1487pub const LINUX___NR_bind: u32 = 49;
1488pub const LINUX___NR_listen: u32 = 50;
1489pub const LINUX___NR_getsockname: u32 = 51;
1490pub const LINUX___NR_getpeername: u32 = 52;
1491pub const LINUX___NR_socketpair: u32 = 53;
1492pub const LINUX___NR_setsockopt: u32 = 54;
1493pub const LINUX___NR_getsockopt: u32 = 55;
1494pub const LINUX___NR_clone: u32 = 56;
1495pub const LINUX___NR_fork: u32 = 57;
1496pub const LINUX___NR_vfork: u32 = 58;
1497pub const LINUX___NR_execve: u32 = 59;
1498pub const LINUX___NR_exit: u32 = 60;
1499pub const LINUX___NR_wait4: u32 = 61;
1500pub const LINUX___NR_kill: u32 = 62;
1501pub const LINUX___NR_uname: u32 = 63;
1502pub const LINUX___NR_semget: u32 = 64;
1503pub const LINUX___NR_semop: u32 = 65;
1504pub const LINUX___NR_semctl: u32 = 66;
1505pub const LINUX___NR_shmdt: u32 = 67;
1506pub const LINUX___NR_msgget: u32 = 68;
1507pub const LINUX___NR_msgsnd: u32 = 69;
1508pub const LINUX___NR_msgrcv: u32 = 70;
1509pub const LINUX___NR_msgctl: u32 = 71;
1510pub const LINUX___NR_fcntl: u32 = 72;
1511pub const LINUX___NR_flock: u32 = 73;
1512pub const LINUX___NR_fsync: u32 = 74;
1513pub const LINUX___NR_fdatasync: u32 = 75;
1514pub const LINUX___NR_truncate: u32 = 76;
1515pub const LINUX___NR_ftruncate: u32 = 77;
1516pub const LINUX___NR_getdents: u32 = 78;
1517pub const LINUX___NR_getcwd: u32 = 79;
1518pub const LINUX___NR_chdir: u32 = 80;
1519pub const LINUX___NR_fchdir: u32 = 81;
1520pub const LINUX___NR_rename: u32 = 82;
1521pub const LINUX___NR_mkdir: u32 = 83;
1522pub const LINUX___NR_rmdir: u32 = 84;
1523pub const LINUX___NR_creat: u32 = 85;
1524pub const LINUX___NR_link: u32 = 86;
1525pub const LINUX___NR_unlink: u32 = 87;
1526pub const LINUX___NR_symlink: u32 = 88;
1527pub const LINUX___NR_readlink: u32 = 89;
1528pub const LINUX___NR_chmod: u32 = 90;
1529pub const LINUX___NR_fchmod: u32 = 91;
1530pub const LINUX___NR_chown: u32 = 92;
1531pub const LINUX___NR_fchown: u32 = 93;
1532pub const LINUX___NR_lchown: u32 = 94;
1533pub const LINUX___NR_umask: u32 = 95;
1534pub const LINUX___NR_gettimeofday: u32 = 96;
1535pub const LINUX___NR_getrlimit: u32 = 97;
1536pub const LINUX___NR_getrusage: u32 = 98;
1537pub const LINUX___NR_sysinfo: u32 = 99;
1538pub const LINUX___NR_times: u32 = 100;
1539pub const LINUX___NR_ptrace: u32 = 101;
1540pub const LINUX___NR_getuid: u32 = 102;
1541pub const LINUX___NR_syslog: u32 = 103;
1542pub const LINUX___NR_getgid: u32 = 104;
1543pub const LINUX___NR_setuid: u32 = 105;
1544pub const LINUX___NR_setgid: u32 = 106;
1545pub const LINUX___NR_geteuid: u32 = 107;
1546pub const LINUX___NR_getegid: u32 = 108;
1547pub const LINUX___NR_setpgid: u32 = 109;
1548pub const LINUX___NR_getppid: u32 = 110;
1549pub const LINUX___NR_getpgrp: u32 = 111;
1550pub const LINUX___NR_setsid: u32 = 112;
1551pub const LINUX___NR_setreuid: u32 = 113;
1552pub const LINUX___NR_setregid: u32 = 114;
1553pub const LINUX___NR_getgroups: u32 = 115;
1554pub const LINUX___NR_setgroups: u32 = 116;
1555pub const LINUX___NR_setresuid: u32 = 117;
1556pub const LINUX___NR_getresuid: u32 = 118;
1557pub const LINUX___NR_setresgid: u32 = 119;
1558pub const LINUX___NR_getresgid: u32 = 120;
1559pub const LINUX___NR_getpgid: u32 = 121;
1560pub const LINUX___NR_setfsuid: u32 = 122;
1561pub const LINUX___NR_setfsgid: u32 = 123;
1562pub const LINUX___NR_getsid: u32 = 124;
1563pub const LINUX___NR_capget: u32 = 125;
1564pub const LINUX___NR_capset: u32 = 126;
1565pub const LINUX___NR_rt_sigpending: u32 = 127;
1566pub const LINUX___NR_rt_sigtimedwait: u32 = 128;
1567pub const LINUX___NR_rt_sigqueueinfo: u32 = 129;
1568pub const LINUX___NR_rt_sigsuspend: u32 = 130;
1569pub const LINUX___NR_sigaltstack: u32 = 131;
1570pub const LINUX___NR_utime: u32 = 132;
1571pub const LINUX___NR_mknod: u32 = 133;
1572pub const LINUX___NR_uselib: u32 = 134;
1573pub const LINUX___NR_personality: u32 = 135;
1574pub const LINUX___NR_ustat: u32 = 136;
1575pub const LINUX___NR_statfs: u32 = 137;
1576pub const LINUX___NR_fstatfs: u32 = 138;
1577pub const LINUX___NR_sysfs: u32 = 139;
1578pub const LINUX___NR_getpriority: u32 = 140;
1579pub const LINUX___NR_setpriority: u32 = 141;
1580pub const LINUX___NR_sched_setparam: u32 = 142;
1581pub const LINUX___NR_sched_getparam: u32 = 143;
1582pub const LINUX___NR_sched_setscheduler: u32 = 144;
1583pub const LINUX___NR_sched_getscheduler: u32 = 145;
1584pub const LINUX___NR_sched_get_priority_max: u32 = 146;
1585pub const LINUX___NR_sched_get_priority_min: u32 = 147;
1586pub const LINUX___NR_sched_rr_get_interval: u32 = 148;
1587pub const LINUX___NR_mlock: u32 = 149;
1588pub const LINUX___NR_munlock: u32 = 150;
1589pub const LINUX___NR_mlockall: u32 = 151;
1590pub const LINUX___NR_munlockall: u32 = 152;
1591pub const LINUX___NR_vhangup: u32 = 153;
1592pub const LINUX___NR_modify_ldt: u32 = 154;
1593pub const LINUX___NR_pivot_root: u32 = 155;
1594pub const LINUX___NR__sysctl: u32 = 156;
1595pub const LINUX___NR_prctl: u32 = 157;
1596pub const LINUX___NR_arch_prctl: u32 = 158;
1597pub const LINUX___NR_adjtimex: u32 = 159;
1598pub const LINUX___NR_setrlimit: u32 = 160;
1599pub const LINUX___NR_chroot: u32 = 161;
1600pub const LINUX___NR_sync: u32 = 162;
1601pub const LINUX___NR_acct: u32 = 163;
1602pub const LINUX___NR_settimeofday: u32 = 164;
1603pub const LINUX___NR_mount: u32 = 165;
1604pub const LINUX___NR_umount2: u32 = 166;
1605pub const LINUX___NR_swapon: u32 = 167;
1606pub const LINUX___NR_swapoff: u32 = 168;
1607pub const LINUX___NR_reboot: u32 = 169;
1608pub const LINUX___NR_sethostname: u32 = 170;
1609pub const LINUX___NR_setdomainname: u32 = 171;
1610pub const LINUX___NR_iopl: u32 = 172;
1611pub const LINUX___NR_ioperm: u32 = 173;
1612pub const LINUX___NR_create_module: u32 = 174;
1613pub const LINUX___NR_init_module: u32 = 175;
1614pub const LINUX___NR_delete_module: u32 = 176;
1615pub const LINUX___NR_get_kernel_syms: u32 = 177;
1616pub const LINUX___NR_query_module: u32 = 178;
1617pub const LINUX___NR_quotactl: u32 = 179;
1618pub const LINUX___NR_nfsservctl: u32 = 180;
1619pub const LINUX___NR_getpmsg: u32 = 181;
1620pub const LINUX___NR_putpmsg: u32 = 182;
1621pub const LINUX___NR_afs_syscall: u32 = 183;
1622pub const LINUX___NR_tuxcall: u32 = 184;
1623pub const LINUX___NR_security: u32 = 185;
1624pub const LINUX___NR_gettid: u32 = 186;
1625pub const LINUX___NR_readahead: u32 = 187;
1626pub const LINUX___NR_setxattr: u32 = 188;
1627pub const LINUX___NR_lsetxattr: u32 = 189;
1628pub const LINUX___NR_fsetxattr: u32 = 190;
1629pub const LINUX___NR_getxattr: u32 = 191;
1630pub const LINUX___NR_lgetxattr: u32 = 192;
1631pub const LINUX___NR_fgetxattr: u32 = 193;
1632pub const LINUX___NR_listxattr: u32 = 194;
1633pub const LINUX___NR_llistxattr: u32 = 195;
1634pub const LINUX___NR_flistxattr: u32 = 196;
1635pub const LINUX___NR_removexattr: u32 = 197;
1636pub const LINUX___NR_lremovexattr: u32 = 198;
1637pub const LINUX___NR_fremovexattr: u32 = 199;
1638pub const LINUX___NR_tkill: u32 = 200;
1639pub const LINUX___NR_time: u32 = 201;
1640pub const LINUX___NR_futex: u32 = 202;
1641pub const LINUX___NR_sched_setaffinity: u32 = 203;
1642pub const LINUX___NR_sched_getaffinity: u32 = 204;
1643pub const LINUX___NR_set_thread_area: u32 = 205;
1644pub const LINUX___NR_io_setup: u32 = 206;
1645pub const LINUX___NR_io_destroy: u32 = 207;
1646pub const LINUX___NR_io_getevents: u32 = 208;
1647pub const LINUX___NR_io_submit: u32 = 209;
1648pub const LINUX___NR_io_cancel: u32 = 210;
1649pub const LINUX___NR_get_thread_area: u32 = 211;
1650pub const LINUX___NR_lookup_dcookie: u32 = 212;
1651pub const LINUX___NR_epoll_create: u32 = 213;
1652pub const LINUX___NR_epoll_ctl_old: u32 = 214;
1653pub const LINUX___NR_epoll_wait_old: u32 = 215;
1654pub const LINUX___NR_remap_file_pages: u32 = 216;
1655pub const LINUX___NR_getdents64: u32 = 217;
1656pub const LINUX___NR_set_tid_address: u32 = 218;
1657pub const LINUX___NR_restart_syscall: u32 = 219;
1658pub const LINUX___NR_semtimedop: u32 = 220;
1659pub const LINUX___NR_fadvise64: u32 = 221;
1660pub const LINUX___NR_timer_create: u32 = 222;
1661pub const LINUX___NR_timer_settime: u32 = 223;
1662pub const LINUX___NR_timer_gettime: u32 = 224;
1663pub const LINUX___NR_timer_getoverrun: u32 = 225;
1664pub const LINUX___NR_timer_delete: u32 = 226;
1665pub const LINUX___NR_clock_settime: u32 = 227;
1666pub const LINUX___NR_clock_gettime: u32 = 228;
1667pub const LINUX___NR_clock_getres: u32 = 229;
1668pub const LINUX___NR_clock_nanosleep: u32 = 230;
1669pub const LINUX___NR_exit_group: u32 = 231;
1670pub const LINUX___NR_epoll_wait: u32 = 232;
1671pub const LINUX___NR_epoll_ctl: u32 = 233;
1672pub const LINUX___NR_tgkill: u32 = 234;
1673pub const LINUX___NR_utimes: u32 = 235;
1674pub const LINUX___NR_vserver: u32 = 236;
1675pub const LINUX___NR_mbind: u32 = 237;
1676pub const LINUX___NR_set_mempolicy: u32 = 238;
1677pub const LINUX___NR_get_mempolicy: u32 = 239;
1678pub const LINUX___NR_mq_open: u32 = 240;
1679pub const LINUX___NR_mq_unlink: u32 = 241;
1680pub const LINUX___NR_mq_timedsend: u32 = 242;
1681pub const LINUX___NR_mq_timedreceive: u32 = 243;
1682pub const LINUX___NR_mq_notify: u32 = 244;
1683pub const LINUX___NR_mq_getsetattr: u32 = 245;
1684pub const LINUX___NR_kexec_load: u32 = 246;
1685pub const LINUX___NR_waitid: u32 = 247;
1686pub const LINUX___NR_add_key: u32 = 248;
1687pub const LINUX___NR_request_key: u32 = 249;
1688pub const LINUX___NR_keyctl: u32 = 250;
1689pub const LINUX___NR_ioprio_set: u32 = 251;
1690pub const LINUX___NR_ioprio_get: u32 = 252;
1691pub const LINUX___NR_inotify_init: u32 = 253;
1692pub const LINUX___NR_inotify_add_watch: u32 = 254;
1693pub const LINUX___NR_inotify_rm_watch: u32 = 255;
1694pub const LINUX___NR_migrate_pages: u32 = 256;
1695pub const LINUX___NR_openat: u32 = 257;
1696pub const LINUX___NR_mkdirat: u32 = 258;
1697pub const LINUX___NR_mknodat: u32 = 259;
1698pub const LINUX___NR_fchownat: u32 = 260;
1699pub const LINUX___NR_futimesat: u32 = 261;
1700pub const LINUX___NR_newfstatat: u32 = 262;
1701pub const LINUX___NR_unlinkat: u32 = 263;
1702pub const LINUX___NR_renameat: u32 = 264;
1703pub const LINUX___NR_linkat: u32 = 265;
1704pub const LINUX___NR_symlinkat: u32 = 266;
1705pub const LINUX___NR_readlinkat: u32 = 267;
1706pub const LINUX___NR_fchmodat: u32 = 268;
1707pub const LINUX___NR_faccessat: u32 = 269;
1708pub const LINUX___NR_pselect6: u32 = 270;
1709pub const LINUX___NR_ppoll: u32 = 271;
1710pub const LINUX___NR_unshare: u32 = 272;
1711pub const LINUX___NR_set_robust_list: u32 = 273;
1712pub const LINUX___NR_get_robust_list: u32 = 274;
1713pub const LINUX___NR_splice: u32 = 275;
1714pub const LINUX___NR_tee: u32 = 276;
1715pub const LINUX___NR_sync_file_range: u32 = 277;
1716pub const LINUX___NR_vmsplice: u32 = 278;
1717pub const LINUX___NR_move_pages: u32 = 279;
1718pub const LINUX___NR_utimensat: u32 = 280;
1719pub const LINUX___NR_epoll_pwait: u32 = 281;
1720pub const LINUX___NR_signalfd: u32 = 282;
1721pub const LINUX___NR_timerfd_create: u32 = 283;
1722pub const LINUX___NR_eventfd: u32 = 284;
1723pub const LINUX___NR_fallocate: u32 = 285;
1724pub const LINUX___NR_timerfd_settime: u32 = 286;
1725pub const LINUX___NR_timerfd_gettime: u32 = 287;
1726pub const LINUX___NR_accept4: u32 = 288;
1727pub const LINUX___NR_signalfd4: u32 = 289;
1728pub const LINUX___NR_eventfd2: u32 = 290;
1729pub const LINUX___NR_epoll_create1: u32 = 291;
1730pub const LINUX___NR_dup3: u32 = 292;
1731pub const LINUX___NR_pipe2: u32 = 293;
1732pub const LINUX___NR_inotify_init1: u32 = 294;
1733pub const LINUX___NR_preadv: u32 = 295;
1734pub const LINUX___NR_pwritev: u32 = 296;
1735pub const LINUX___NR_rt_tgsigqueueinfo: u32 = 297;
1736pub const LINUX___NR_perf_event_open: u32 = 298;
1737pub const LINUX___NR_recvmmsg: u32 = 299;
1738pub const LINUX___NR_fanotify_init: u32 = 300;
1739pub const LINUX___NR_fanotify_mark: u32 = 301;
1740pub const LINUX___NR_prlimit64: u32 = 302;
1741pub const LINUX___NR_name_to_handle_at: u32 = 303;
1742pub const LINUX___NR_open_by_handle_at: u32 = 304;
1743pub const LINUX___NR_clock_adjtime: u32 = 305;
1744pub const LINUX___NR_syncfs: u32 = 306;
1745pub const LINUX___NR_sendmmsg: u32 = 307;
1746pub const LINUX___NR_setns: u32 = 308;
1747pub const LINUX___NR_getcpu: u32 = 309;
1748pub const LINUX___NR_process_vm_readv: u32 = 310;
1749pub const LINUX___NR_process_vm_writev: u32 = 311;
1750pub const LINUX___NR_kcmp: u32 = 312;
1751pub const LINUX___NR_finit_module: u32 = 313;
1752pub const LINUX___NR_sched_setattr: u32 = 314;
1753pub const LINUX___NR_sched_getattr: u32 = 315;
1754pub const LINUX___NR_renameat2: u32 = 316;
1755pub const LINUX___NR_seccomp: u32 = 317;
1756pub const LINUX___NR_getrandom: u32 = 318;
1757pub const LINUX___NR_memfd_create: u32 = 319;
1758pub const LINUX___NR_kexec_file_load: u32 = 320;
1759pub const LINUX___NR_bpf: u32 = 321;
1760pub const LINUX___NR_execveat: u32 = 322;
1761pub const LINUX___NR_userfaultfd: u32 = 323;
1762pub const LINUX___NR_membarrier: u32 = 324;
1763pub const LINUX___NR_mlock2: u32 = 325;
1764pub const LINUX___NR_copy_file_range: u32 = 326;
1765pub const LINUX___NR_preadv2: u32 = 327;
1766pub const LINUX___NR_pwritev2: u32 = 328;
1767pub const LINUX___NR_pkey_mprotect: u32 = 329;
1768pub const LINUX___NR_pkey_alloc: u32 = 330;
1769pub const LINUX___NR_pkey_free: u32 = 331;
1770pub const LINUX___NR_statx: u32 = 332;
1771pub const LINUX___NR_io_pgetevents: u32 = 333;
1772pub const LINUX___NR_rseq: u32 = 334;
1773pub const LINUX___NR_uretprobe: u32 = 335;
1774pub const LINUX___NR_pidfd_send_signal: u32 = 424;
1775pub const LINUX___NR_io_uring_setup: u32 = 425;
1776pub const LINUX___NR_io_uring_enter: u32 = 426;
1777pub const LINUX___NR_io_uring_register: u32 = 427;
1778pub const LINUX___NR_open_tree: u32 = 428;
1779pub const LINUX___NR_move_mount: u32 = 429;
1780pub const LINUX___NR_fsopen: u32 = 430;
1781pub const LINUX___NR_fsconfig: u32 = 431;
1782pub const LINUX___NR_fsmount: u32 = 432;
1783pub const LINUX___NR_fspick: u32 = 433;
1784pub const LINUX___NR_pidfd_open: u32 = 434;
1785pub const LINUX___NR_clone3: u32 = 435;
1786pub const LINUX___NR_close_range: u32 = 436;
1787pub const LINUX___NR_openat2: u32 = 437;
1788pub const LINUX___NR_pidfd_getfd: u32 = 438;
1789pub const LINUX___NR_faccessat2: u32 = 439;
1790pub const LINUX___NR_process_madvise: u32 = 440;
1791pub const LINUX___NR_epoll_pwait2: u32 = 441;
1792pub const LINUX___NR_mount_setattr: u32 = 442;
1793pub const LINUX___NR_quotactl_fd: u32 = 443;
1794pub const LINUX___NR_landlock_create_ruleset: u32 = 444;
1795pub const LINUX___NR_landlock_add_rule: u32 = 445;
1796pub const LINUX___NR_landlock_restrict_self: u32 = 446;
1797pub const LINUX___NR_memfd_secret: u32 = 447;
1798pub const LINUX___NR_process_mrelease: u32 = 448;
1799pub const LINUX___NR_futex_waitv: u32 = 449;
1800pub const LINUX___NR_set_mempolicy_home_node: u32 = 450;
1801pub const LINUX___NR_cachestat: u32 = 451;
1802pub const LINUX___NR_fchmodat2: u32 = 452;
1803pub const LINUX___NR_map_shadow_stack: u32 = 453;
1804pub const LINUX___NR_futex_wake: u32 = 454;
1805pub const LINUX___NR_futex_wait: u32 = 455;
1806pub const LINUX___NR_futex_requeue: u32 = 456;
1807pub const LINUX___NR_statmount: u32 = 457;
1808pub const LINUX___NR_listmount: u32 = 458;
1809pub const LINUX___NR_lsm_get_self_attr: u32 = 459;
1810pub const LINUX___NR_lsm_set_self_attr: u32 = 460;
1811pub const LINUX___NR_lsm_list_modules: u32 = 461;
1812pub const LINUX___NR_mseal: u32 = 462;
1813pub const LINUX___OLD_UTS_LEN: u32 = 8;
1814pub const LINUX___NEW_UTS_LEN: u32 = 64;
1815pub const LINUX_WNOHANG: u32 = 1;
1816pub const LINUX_WUNTRACED: u32 = 2;
1817pub const LINUX_WSTOPPED: u32 = 2;
1818pub const LINUX_WEXITED: u32 = 4;
1819pub const LINUX_WCONTINUED: u32 = 8;
1820pub const LINUX_WNOWAIT: u32 = 16777216;
1821pub const LINUX___WNOTHREAD: u32 = 536870912;
1822pub const LINUX___WALL: u32 = 1073741824;
1823pub const LINUX___WCLONE: u32 = 2147483648;
1824pub const LINUX_P_ALL: u32 = 0;
1825pub const LINUX_P_PID: u32 = 1;
1826pub const LINUX_P_PGID: u32 = 2;
1827pub const LINUX_P_PIDFD: u32 = 3;
1828pub const LINUX__IOC_NRBITS: u32 = 8;
1829pub const LINUX__IOC_TYPEBITS: u32 = 8;
1830pub const LINUX__IOC_SIZEBITS: u32 = 14;
1831pub const LINUX__IOC_DIRBITS: u32 = 2;
1832pub const LINUX__IOC_NRMASK: u32 = 255;
1833pub const LINUX__IOC_TYPEMASK: u32 = 255;
1834pub const LINUX__IOC_SIZEMASK: u32 = 16383;
1835pub const LINUX__IOC_DIRMASK: u32 = 3;
1836pub const LINUX__IOC_NRSHIFT: u32 = 0;
1837pub const LINUX__IOC_TYPESHIFT: u32 = 8;
1838pub const LINUX__IOC_SIZESHIFT: u32 = 16;
1839pub const LINUX__IOC_DIRSHIFT: u32 = 30;
1840pub const LINUX__IOC_NONE: u32 = 0;
1841pub const LINUX__IOC_WRITE: u32 = 1;
1842pub const LINUX__IOC_READ: u32 = 2;
1843pub const LINUX_IOC_IN: u32 = 1073741824;
1844pub const LINUX_IOC_OUT: u32 = 2147483648;
1845pub const LINUX_IOC_INOUT: u32 = 3221225472;
1846pub const LINUX_IOCSIZE_MASK: u32 = 1073676288;
1847pub const LINUX_IOCSIZE_SHIFT: u32 = 16;
1848pub const LINUX_TCGETS: u32 = 21505;
1849pub const LINUX_TCSETS: u32 = 21506;
1850pub const LINUX_TCSETSW: u32 = 21507;
1851pub const LINUX_TCSETSF: u32 = 21508;
1852pub const LINUX_TCGETA: u32 = 21509;
1853pub const LINUX_TCSETA: u32 = 21510;
1854pub const LINUX_TCSETAW: u32 = 21511;
1855pub const LINUX_TCSETAF: u32 = 21512;
1856pub const LINUX_TCSBRK: u32 = 21513;
1857pub const LINUX_TCXONC: u32 = 21514;
1858pub const LINUX_TCFLSH: u32 = 21515;
1859pub const LINUX_TIOCEXCL: u32 = 21516;
1860pub const LINUX_TIOCNXCL: u32 = 21517;
1861pub const LINUX_TIOCSCTTY: u32 = 21518;
1862pub const LINUX_TIOCGPGRP: u32 = 21519;
1863pub const LINUX_TIOCSPGRP: u32 = 21520;
1864pub const LINUX_TIOCOUTQ: u32 = 21521;
1865pub const LINUX_TIOCSTI: u32 = 21522;
1866pub const LINUX_TIOCGWINSZ: u32 = 21523;
1867pub const LINUX_TIOCSWINSZ: u32 = 21524;
1868pub const LINUX_TIOCMGET: u32 = 21525;
1869pub const LINUX_TIOCMBIS: u32 = 21526;
1870pub const LINUX_TIOCMBIC: u32 = 21527;
1871pub const LINUX_TIOCMSET: u32 = 21528;
1872pub const LINUX_TIOCGSOFTCAR: u32 = 21529;
1873pub const LINUX_TIOCSSOFTCAR: u32 = 21530;
1874pub const LINUX_FIONREAD: u32 = 21531;
1875pub const LINUX_TIOCINQ: u32 = 21531;
1876pub const LINUX_TIOCLINUX: u32 = 21532;
1877pub const LINUX_TIOCCONS: u32 = 21533;
1878pub const LINUX_TIOCGSERIAL: u32 = 21534;
1879pub const LINUX_TIOCSSERIAL: u32 = 21535;
1880pub const LINUX_TIOCPKT: u32 = 21536;
1881pub const LINUX_FIONBIO: u32 = 21537;
1882pub const LINUX_TIOCNOTTY: u32 = 21538;
1883pub const LINUX_TIOCSETD: u32 = 21539;
1884pub const LINUX_TIOCGETD: u32 = 21540;
1885pub const LINUX_TCSBRKP: u32 = 21541;
1886pub const LINUX_TIOCSBRK: u32 = 21543;
1887pub const LINUX_TIOCCBRK: u32 = 21544;
1888pub const LINUX_TIOCGSID: u32 = 21545;
1889pub const LINUX_TIOCGRS485: u32 = 21550;
1890pub const LINUX_TIOCSRS485: u32 = 21551;
1891pub const LINUX_TCGETX: u32 = 21554;
1892pub const LINUX_TCSETX: u32 = 21555;
1893pub const LINUX_TCSETXF: u32 = 21556;
1894pub const LINUX_TCSETXW: u32 = 21557;
1895pub const LINUX_TIOCVHANGUP: u32 = 21559;
1896pub const LINUX_FIONCLEX: u32 = 21584;
1897pub const LINUX_FIOCLEX: u32 = 21585;
1898pub const LINUX_FIOASYNC: u32 = 21586;
1899pub const LINUX_TIOCSERCONFIG: u32 = 21587;
1900pub const LINUX_TIOCSERGWILD: u32 = 21588;
1901pub const LINUX_TIOCSERSWILD: u32 = 21589;
1902pub const LINUX_TIOCGLCKTRMIOS: u32 = 21590;
1903pub const LINUX_TIOCSLCKTRMIOS: u32 = 21591;
1904pub const LINUX_TIOCSERGSTRUCT: u32 = 21592;
1905pub const LINUX_TIOCSERGETLSR: u32 = 21593;
1906pub const LINUX_TIOCSERGETMULTI: u32 = 21594;
1907pub const LINUX_TIOCSERSETMULTI: u32 = 21595;
1908pub const LINUX_TIOCMIWAIT: u32 = 21596;
1909pub const LINUX_TIOCGICOUNT: u32 = 21597;
1910pub const LINUX_FIOQSIZE: u32 = 21600;
1911pub const LINUX_TIOCPKT_DATA: u32 = 0;
1912pub const LINUX_TIOCPKT_FLUSHREAD: u32 = 1;
1913pub const LINUX_TIOCPKT_FLUSHWRITE: u32 = 2;
1914pub const LINUX_TIOCPKT_STOP: u32 = 4;
1915pub const LINUX_TIOCPKT_START: u32 = 8;
1916pub const LINUX_TIOCPKT_NOSTOP: u32 = 16;
1917pub const LINUX_TIOCPKT_DOSTOP: u32 = 32;
1918pub const LINUX_TIOCPKT_IOCTL: u32 = 64;
1919pub const LINUX_TIOCSER_TEMT: u32 = 1;
1920pub const LINUX_ARCH_SET_GS: u32 = 4097;
1921pub const LINUX_ARCH_SET_FS: u32 = 4098;
1922pub const LINUX_ARCH_GET_FS: u32 = 4099;
1923pub const LINUX_ARCH_GET_GS: u32 = 4100;
1924pub const LINUX_ARCH_GET_CPUID: u32 = 4113;
1925pub const LINUX_ARCH_SET_CPUID: u32 = 4114;
1926pub const LINUX_ARCH_GET_XCOMP_SUPP: u32 = 4129;
1927pub const LINUX_ARCH_GET_XCOMP_PERM: u32 = 4130;
1928pub const LINUX_ARCH_REQ_XCOMP_PERM: u32 = 4131;
1929pub const LINUX_ARCH_GET_XCOMP_GUEST_PERM: u32 = 4132;
1930pub const LINUX_ARCH_REQ_XCOMP_GUEST_PERM: u32 = 4133;
1931pub const LINUX_ARCH_XCOMP_TILECFG: u32 = 17;
1932pub const LINUX_ARCH_XCOMP_TILEDATA: u32 = 18;
1933pub const LINUX_ARCH_MAP_VDSO_X32: u32 = 8193;
1934pub const LINUX_ARCH_MAP_VDSO_32: u32 = 8194;
1935pub const LINUX_ARCH_MAP_VDSO_64: u32 = 8195;
1936pub const LINUX_ARCH_GET_UNTAG_MASK: u32 = 16385;
1937pub const LINUX_ARCH_ENABLE_TAGGED_ADDR: u32 = 16386;
1938pub const LINUX_ARCH_GET_MAX_TAG_BITS: u32 = 16387;
1939pub const LINUX_ARCH_FORCE_TAGGED_SVA: u32 = 16388;
1940pub const LINUX_ARCH_SHSTK_ENABLE: u32 = 20481;
1941pub const LINUX_ARCH_SHSTK_DISABLE: u32 = 20482;
1942pub const LINUX_ARCH_SHSTK_LOCK: u32 = 20483;
1943pub const LINUX_ARCH_SHSTK_UNLOCK: u32 = 20484;
1944pub const LINUX_ARCH_SHSTK_STATUS: u32 = 20485;
1945pub const LINUX_ARCH_SHSTK_SHSTK: u32 = 1;
1946pub const LINUX_ARCH_SHSTK_WRSS: u32 = 2;
1947pub const LINUX_FP_XSTATE_MAGIC1: u32 = 1179670611;
1948pub const LINUX_FP_XSTATE_MAGIC2: u32 = 1179670597;
1949pub const LINUX_X86_FXSR_MAGIC: u32 = 0;
1950pub const LINUX_STAT_HAVE_NSEC: u32 = 1;
1951pub const LINUX_UC_FP_XSTATE: u32 = 1;
1952pub const LINUX_UC_SIGCONTEXT_SS: u32 = 2;
1953pub const LINUX_UC_STRICT_RESTORE_SS: u32 = 4;
1954pub const LINUX_POLLIN: u32 = 1;
1955pub const LINUX_POLLPRI: u32 = 2;
1956pub const LINUX_POLLOUT: u32 = 4;
1957pub const LINUX_POLLERR: u32 = 8;
1958pub const LINUX_POLLHUP: u32 = 16;
1959pub const LINUX_POLLNVAL: u32 = 32;
1960pub const LINUX_POLLRDNORM: u32 = 64;
1961pub const LINUX_POLLRDBAND: u32 = 128;
1962pub const LINUX_POLLWRNORM: u32 = 256;
1963pub const LINUX_POLLWRBAND: u32 = 512;
1964pub const LINUX_POLLMSG: u32 = 1024;
1965pub const LINUX_POLLREMOVE: u32 = 4096;
1966pub const LINUX_POLLRDHUP: u32 = 8192;
1967pub const LINUX_EPOLLIN: u32 = 1;
1968pub const LINUX_EPOLLPRI: u32 = 2;
1969pub const LINUX_EPOLLOUT: u32 = 4;
1970pub const LINUX_EPOLLERR: u32 = 8;
1971pub const LINUX_EPOLLHUP: u32 = 16;
1972pub const LINUX_EPOLLNVAL: u32 = 32;
1973pub const LINUX_EPOLLRDNORM: u32 = 64;
1974pub const LINUX_EPOLLRDBAND: u32 = 128;
1975pub const LINUX_EPOLLWRNORM: u32 = 256;
1976pub const LINUX_EPOLLWRBAND: u32 = 512;
1977pub const LINUX_EPOLLMSG: u32 = 1024;
1978pub const LINUX_EPOLLRDHUP: u32 = 8192;
1979pub const LINUX_EPOLLEXCLUSIVE: u32 = 268435456;
1980pub const LINUX_EPOLLWAKEUP: u32 = 536870912;
1981pub const LINUX_EPOLLONESHOT: u32 = 1073741824;
1982pub const LINUX_EPOLLET: u32 = 2147483648;
1983pub const LINUX_SUID_DUMP_DISABLE: u32 = 0;
1984pub const LINUX_SUID_DUMP_USER: u32 = 1;
1985pub const LINUX_SUID_DUMP_ROOT: u32 = 2;
1986pub const LINUX_AF_UNSPEC: u32 = 0;
1987pub const LINUX_AF_UNIX: u32 = 1;
1988pub const LINUX_AF_LOCAL: u32 = 1;
1989pub const LINUX_AF_INET: u32 = 2;
1990pub const LINUX_AF_AX25: u32 = 3;
1991pub const LINUX_AF_IPX: u32 = 4;
1992pub const LINUX_AF_APPLETALK: u32 = 5;
1993pub const LINUX_AF_NETROM: u32 = 6;
1994pub const LINUX_AF_BRIDGE: u32 = 7;
1995pub const LINUX_AF_ATMPVC: u32 = 8;
1996pub const LINUX_AF_X25: u32 = 9;
1997pub const LINUX_AF_INET6: u32 = 10;
1998pub const LINUX_AF_ROSE: u32 = 11;
1999pub const LINUX_AF_DECnet: u32 = 12;
2000pub const LINUX_AF_NETBEUI: u32 = 13;
2001pub const LINUX_AF_SECURITY: u32 = 14;
2002pub const LINUX_AF_KEY: u32 = 15;
2003pub const LINUX_AF_NETLINK: u32 = 16;
2004pub const LINUX_AF_ROUTE: u32 = 16;
2005pub const LINUX_AF_PACKET: u32 = 17;
2006pub const LINUX_AF_ASH: u32 = 18;
2007pub const LINUX_AF_ECONET: u32 = 19;
2008pub const LINUX_AF_ATMSVC: u32 = 20;
2009pub const LINUX_AF_RDS: u32 = 21;
2010pub const LINUX_AF_SNA: u32 = 22;
2011pub const LINUX_AF_IRDA: u32 = 23;
2012pub const LINUX_AF_PPPOX: u32 = 24;
2013pub const LINUX_AF_WANPIPE: u32 = 25;
2014pub const LINUX_AF_LLC: u32 = 26;
2015pub const LINUX_AF_IB: u32 = 27;
2016pub const LINUX_AF_MPLS: u32 = 28;
2017pub const LINUX_AF_CAN: u32 = 29;
2018pub const LINUX_AF_TIPC: u32 = 30;
2019pub const LINUX_AF_BLUETOOTH: u32 = 31;
2020pub const LINUX_AF_IUCV: u32 = 32;
2021pub const LINUX_AF_RXRPC: u32 = 33;
2022pub const LINUX_AF_ISDN: u32 = 34;
2023pub const LINUX_AF_PHONET: u32 = 35;
2024pub const LINUX_AF_IEEE802154: u32 = 36;
2025pub const LINUX_AF_CAIF: u32 = 37;
2026pub const LINUX_AF_ALG: u32 = 38;
2027pub const LINUX_AF_NFC: u32 = 39;
2028pub const LINUX_AF_VSOCK: u32 = 40;
2029pub const LINUX_AF_KCM: u32 = 41;
2030pub const LINUX_AF_QIPCRTR: u32 = 42;
2031pub const LINUX_AF_SMC: u32 = 43;
2032pub const LINUX_AF_XDP: u32 = 44;
2033pub const LINUX_AF_MCTP: u32 = 45;
2034pub type linux___u8 = ::core::ffi::c_uchar;
2035pub type linux___u16 = ::core::ffi::c_ushort;
2036pub type linux___u32 = ::core::ffi::c_uint;
2037pub type linux___u64 = ::core::ffi::c_ulonglong;
2038#[repr(C)]
2039#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2040pub struct linux___kernel_fd_set {
2041 pub fds_bits: [::core::ffi::c_ulong; 16usize],
2042}
2043#[test]
2044fn bindgen_test_layout___kernel_fd_set() {
2045 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_fd_set> =
2046 ::core::mem::MaybeUninit::uninit();
2047 let ptr = UNINIT.as_ptr();
2048 assert_eq!(
2049 ::core::mem::size_of::<linux___kernel_fd_set>(),
2050 128usize,
2051 concat!("Size of: ", stringify!(linux___kernel_fd_set))
2052 );
2053 assert_eq!(
2054 ::core::mem::align_of::<linux___kernel_fd_set>(),
2055 8usize,
2056 concat!("Alignment of ", stringify!(linux___kernel_fd_set))
2057 );
2058 assert_eq!(
2059 unsafe { ::core::ptr::addr_of!((*ptr).fds_bits) as usize - ptr as usize },
2060 0usize,
2061 concat!(
2062 "Offset of field: ",
2063 stringify!(linux___kernel_fd_set),
2064 "::",
2065 stringify!(fds_bits)
2066 )
2067 );
2068}
2069pub type linux___kernel_sighandler_t =
2070 ::core::option::Option<unsafe extern "C" fn(arg1: ::core::ffi::c_int)>;
2071pub type linux___kernel_key_t = ::core::ffi::c_int;
2072pub type linux___kernel_mqd_t = ::core::ffi::c_int;
2073pub type linux___kernel_old_uid_t = ::core::ffi::c_ushort;
2074pub type linux___kernel_old_gid_t = ::core::ffi::c_ushort;
2075pub type linux___kernel_old_dev_t = ::core::ffi::c_ulong;
2076pub type linux___kernel_long_t = ::core::ffi::c_long;
2077pub type linux___kernel_ulong_t = ::core::ffi::c_ulong;
2078pub type linux___kernel_ino_t = linux___kernel_ulong_t;
2079pub type linux___kernel_mode_t = ::core::ffi::c_uint;
2080pub type linux___kernel_pid_t = ::core::ffi::c_int;
2081pub type linux___kernel_ipc_pid_t = ::core::ffi::c_int;
2082pub type linux___kernel_uid_t = ::core::ffi::c_uint;
2083pub type linux___kernel_gid_t = ::core::ffi::c_uint;
2084pub type linux___kernel_suseconds_t = linux___kernel_long_t;
2085pub type linux___kernel_daddr_t = ::core::ffi::c_int;
2086pub type linux___kernel_uid32_t = ::core::ffi::c_uint;
2087pub type linux___kernel_gid32_t = ::core::ffi::c_uint;
2088pub type linux___kernel_size_t = linux___kernel_ulong_t;
2089pub type linux___kernel_ssize_t = linux___kernel_long_t;
2090pub type linux___kernel_ptrdiff_t = linux___kernel_long_t;
2091#[repr(C)]
2092#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2093pub struct linux___kernel_fsid_t {
2094 pub val: [::core::ffi::c_int; 2usize],
2095}
2096#[test]
2097fn bindgen_test_layout___kernel_fsid_t() {
2098 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_fsid_t> =
2099 ::core::mem::MaybeUninit::uninit();
2100 let ptr = UNINIT.as_ptr();
2101 assert_eq!(
2102 ::core::mem::size_of::<linux___kernel_fsid_t>(),
2103 8usize,
2104 concat!("Size of: ", stringify!(linux___kernel_fsid_t))
2105 );
2106 assert_eq!(
2107 ::core::mem::align_of::<linux___kernel_fsid_t>(),
2108 4usize,
2109 concat!("Alignment of ", stringify!(linux___kernel_fsid_t))
2110 );
2111 assert_eq!(
2112 unsafe { ::core::ptr::addr_of!((*ptr).val) as usize - ptr as usize },
2113 0usize,
2114 concat!(
2115 "Offset of field: ",
2116 stringify!(linux___kernel_fsid_t),
2117 "::",
2118 stringify!(val)
2119 )
2120 );
2121}
2122pub type linux___kernel_off_t = linux___kernel_long_t;
2123pub type linux___kernel_loff_t = ::core::ffi::c_longlong;
2124pub type linux___kernel_old_time_t = linux___kernel_long_t;
2125pub type linux___kernel_time_t = linux___kernel_long_t;
2126pub type linux___kernel_time64_t = ::core::ffi::c_longlong;
2127pub type linux___kernel_clock_t = linux___kernel_long_t;
2128pub type linux___kernel_timer_t = ::core::ffi::c_int;
2129pub type linux___kernel_clockid_t = ::core::ffi::c_int;
2130pub type linux___kernel_caddr_t = *mut ::core::ffi::c_char;
2131pub type linux___kernel_uid16_t = ::core::ffi::c_ushort;
2132pub type linux___kernel_gid16_t = ::core::ffi::c_ushort;
2133pub type linux___be16 = linux___u16;
2134pub type linux___be32 = linux___u32;
2135pub type linux___poll_t = ::core::ffi::c_uint;
2136#[repr(C)]
2137#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2138pub struct linux_flock {
2139 pub l_type: ::core::ffi::c_short,
2140 pub l_whence: ::core::ffi::c_short,
2141 pub l_start: linux___kernel_off_t,
2142 pub l_len: linux___kernel_off_t,
2143 pub l_pid: linux___kernel_pid_t,
2144}
2145#[test]
2146fn bindgen_test_layout_flock() {
2147 const UNINIT: ::core::mem::MaybeUninit<linux_flock> = ::core::mem::MaybeUninit::uninit();
2148 let ptr = UNINIT.as_ptr();
2149 assert_eq!(
2150 ::core::mem::size_of::<linux_flock>(),
2151 32usize,
2152 concat!("Size of: ", stringify!(linux_flock))
2153 );
2154 assert_eq!(
2155 ::core::mem::align_of::<linux_flock>(),
2156 8usize,
2157 concat!("Alignment of ", stringify!(linux_flock))
2158 );
2159 assert_eq!(
2160 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
2161 0usize,
2162 concat!(
2163 "Offset of field: ",
2164 stringify!(linux_flock),
2165 "::",
2166 stringify!(l_type)
2167 )
2168 );
2169 assert_eq!(
2170 unsafe { ::core::ptr::addr_of!((*ptr).l_whence) as usize - ptr as usize },
2171 2usize,
2172 concat!(
2173 "Offset of field: ",
2174 stringify!(linux_flock),
2175 "::",
2176 stringify!(l_whence)
2177 )
2178 );
2179 assert_eq!(
2180 unsafe { ::core::ptr::addr_of!((*ptr).l_start) as usize - ptr as usize },
2181 8usize,
2182 concat!(
2183 "Offset of field: ",
2184 stringify!(linux_flock),
2185 "::",
2186 stringify!(l_start)
2187 )
2188 );
2189 assert_eq!(
2190 unsafe { ::core::ptr::addr_of!((*ptr).l_len) as usize - ptr as usize },
2191 16usize,
2192 concat!(
2193 "Offset of field: ",
2194 stringify!(linux_flock),
2195 "::",
2196 stringify!(l_len)
2197 )
2198 );
2199 assert_eq!(
2200 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
2201 24usize,
2202 concat!(
2203 "Offset of field: ",
2204 stringify!(linux_flock),
2205 "::",
2206 stringify!(l_pid)
2207 )
2208 );
2209}
2210#[repr(C)]
2211#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2212pub struct linux_flock64 {
2213 pub l_type: ::core::ffi::c_short,
2214 pub l_whence: ::core::ffi::c_short,
2215 pub l_start: linux___kernel_loff_t,
2216 pub l_len: linux___kernel_loff_t,
2217 pub l_pid: linux___kernel_pid_t,
2218}
2219#[test]
2220fn bindgen_test_layout_flock64() {
2221 const UNINIT: ::core::mem::MaybeUninit<linux_flock64> = ::core::mem::MaybeUninit::uninit();
2222 let ptr = UNINIT.as_ptr();
2223 assert_eq!(
2224 ::core::mem::size_of::<linux_flock64>(),
2225 32usize,
2226 concat!("Size of: ", stringify!(linux_flock64))
2227 );
2228 assert_eq!(
2229 ::core::mem::align_of::<linux_flock64>(),
2230 8usize,
2231 concat!("Alignment of ", stringify!(linux_flock64))
2232 );
2233 assert_eq!(
2234 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
2235 0usize,
2236 concat!(
2237 "Offset of field: ",
2238 stringify!(linux_flock64),
2239 "::",
2240 stringify!(l_type)
2241 )
2242 );
2243 assert_eq!(
2244 unsafe { ::core::ptr::addr_of!((*ptr).l_whence) as usize - ptr as usize },
2245 2usize,
2246 concat!(
2247 "Offset of field: ",
2248 stringify!(linux_flock64),
2249 "::",
2250 stringify!(l_whence)
2251 )
2252 );
2253 assert_eq!(
2254 unsafe { ::core::ptr::addr_of!((*ptr).l_start) as usize - ptr as usize },
2255 8usize,
2256 concat!(
2257 "Offset of field: ",
2258 stringify!(linux_flock64),
2259 "::",
2260 stringify!(l_start)
2261 )
2262 );
2263 assert_eq!(
2264 unsafe { ::core::ptr::addr_of!((*ptr).l_len) as usize - ptr as usize },
2265 16usize,
2266 concat!(
2267 "Offset of field: ",
2268 stringify!(linux_flock64),
2269 "::",
2270 stringify!(l_len)
2271 )
2272 );
2273 assert_eq!(
2274 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
2275 24usize,
2276 concat!(
2277 "Offset of field: ",
2278 stringify!(linux_flock64),
2279 "::",
2280 stringify!(l_pid)
2281 )
2282 );
2283}
2284#[repr(C, packed)]
2285#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2286pub struct linux_epoll_event {
2287 pub events: linux___poll_t,
2288 pub data: linux___u64,
2289}
2290#[test]
2291fn bindgen_test_layout_epoll_event() {
2292 const UNINIT: ::core::mem::MaybeUninit<linux_epoll_event> = ::core::mem::MaybeUninit::uninit();
2293 let ptr = UNINIT.as_ptr();
2294 assert_eq!(
2295 ::core::mem::size_of::<linux_epoll_event>(),
2296 12usize,
2297 concat!("Size of: ", stringify!(linux_epoll_event))
2298 );
2299 assert_eq!(
2300 ::core::mem::align_of::<linux_epoll_event>(),
2301 1usize,
2302 concat!("Alignment of ", stringify!(linux_epoll_event))
2303 );
2304 assert_eq!(
2305 unsafe { ::core::ptr::addr_of!((*ptr).events) as usize - ptr as usize },
2306 0usize,
2307 concat!(
2308 "Offset of field: ",
2309 stringify!(linux_epoll_event),
2310 "::",
2311 stringify!(events)
2312 )
2313 );
2314 assert_eq!(
2315 unsafe { ::core::ptr::addr_of!((*ptr).data) as usize - ptr as usize },
2316 4usize,
2317 concat!(
2318 "Offset of field: ",
2319 stringify!(linux_epoll_event),
2320 "::",
2321 stringify!(data)
2322 )
2323 );
2324}
2325#[repr(C)]
2326#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2327pub struct linux_robust_list {
2328 pub next: *mut linux_robust_list,
2329}
2330#[test]
2331fn bindgen_test_layout_robust_list() {
2332 const UNINIT: ::core::mem::MaybeUninit<linux_robust_list> = ::core::mem::MaybeUninit::uninit();
2333 let ptr = UNINIT.as_ptr();
2334 assert_eq!(
2335 ::core::mem::size_of::<linux_robust_list>(),
2336 8usize,
2337 concat!("Size of: ", stringify!(linux_robust_list))
2338 );
2339 assert_eq!(
2340 ::core::mem::align_of::<linux_robust_list>(),
2341 8usize,
2342 concat!("Alignment of ", stringify!(linux_robust_list))
2343 );
2344 assert_eq!(
2345 unsafe { ::core::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
2346 0usize,
2347 concat!(
2348 "Offset of field: ",
2349 stringify!(linux_robust_list),
2350 "::",
2351 stringify!(next)
2352 )
2353 );
2354}
2355#[repr(C)]
2356#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2357pub struct linux_robust_list_head {
2358 pub list: linux_robust_list,
2359 pub futex_offset: ::core::ffi::c_long,
2360 pub list_op_pending: *mut linux_robust_list,
2361}
2362#[test]
2363fn bindgen_test_layout_robust_list_head() {
2364 const UNINIT: ::core::mem::MaybeUninit<linux_robust_list_head> =
2365 ::core::mem::MaybeUninit::uninit();
2366 let ptr = UNINIT.as_ptr();
2367 assert_eq!(
2368 ::core::mem::size_of::<linux_robust_list_head>(),
2369 24usize,
2370 concat!("Size of: ", stringify!(linux_robust_list_head))
2371 );
2372 assert_eq!(
2373 ::core::mem::align_of::<linux_robust_list_head>(),
2374 8usize,
2375 concat!("Alignment of ", stringify!(linux_robust_list_head))
2376 );
2377 assert_eq!(
2378 unsafe { ::core::ptr::addr_of!((*ptr).list) as usize - ptr as usize },
2379 0usize,
2380 concat!(
2381 "Offset of field: ",
2382 stringify!(linux_robust_list_head),
2383 "::",
2384 stringify!(list)
2385 )
2386 );
2387 assert_eq!(
2388 unsafe { ::core::ptr::addr_of!((*ptr).futex_offset) as usize - ptr as usize },
2389 8usize,
2390 concat!(
2391 "Offset of field: ",
2392 stringify!(linux_robust_list_head),
2393 "::",
2394 stringify!(futex_offset)
2395 )
2396 );
2397 assert_eq!(
2398 unsafe { ::core::ptr::addr_of!((*ptr).list_op_pending) as usize - ptr as usize },
2399 16usize,
2400 concat!(
2401 "Offset of field: ",
2402 stringify!(linux_robust_list_head),
2403 "::",
2404 stringify!(list_op_pending)
2405 )
2406 );
2407}
2408pub type linux___kernel_sa_family_t = ::core::ffi::c_ushort;
2409pub const LINUX_IPPROTO_IP: linux__bindgen_ty_1 = 0;
2410pub const LINUX_IPPROTO_ICMP: linux__bindgen_ty_1 = 1;
2411pub const LINUX_IPPROTO_IGMP: linux__bindgen_ty_1 = 2;
2412pub const LINUX_IPPROTO_IPIP: linux__bindgen_ty_1 = 4;
2413pub const LINUX_IPPROTO_TCP: linux__bindgen_ty_1 = 6;
2414pub const LINUX_IPPROTO_EGP: linux__bindgen_ty_1 = 8;
2415pub const LINUX_IPPROTO_PUP: linux__bindgen_ty_1 = 12;
2416pub const LINUX_IPPROTO_UDP: linux__bindgen_ty_1 = 17;
2417pub const LINUX_IPPROTO_IDP: linux__bindgen_ty_1 = 22;
2418pub const LINUX_IPPROTO_TP: linux__bindgen_ty_1 = 29;
2419pub const LINUX_IPPROTO_DCCP: linux__bindgen_ty_1 = 33;
2420pub const LINUX_IPPROTO_IPV6: linux__bindgen_ty_1 = 41;
2421pub const LINUX_IPPROTO_RSVP: linux__bindgen_ty_1 = 46;
2422pub const LINUX_IPPROTO_GRE: linux__bindgen_ty_1 = 47;
2423pub const LINUX_IPPROTO_ESP: linux__bindgen_ty_1 = 50;
2424pub const LINUX_IPPROTO_AH: linux__bindgen_ty_1 = 51;
2425pub const LINUX_IPPROTO_MTP: linux__bindgen_ty_1 = 92;
2426pub const LINUX_IPPROTO_BEETPH: linux__bindgen_ty_1 = 94;
2427pub const LINUX_IPPROTO_ENCAP: linux__bindgen_ty_1 = 98;
2428pub const LINUX_IPPROTO_PIM: linux__bindgen_ty_1 = 103;
2429pub const LINUX_IPPROTO_COMP: linux__bindgen_ty_1 = 108;
2430pub const LINUX_IPPROTO_L2TP: linux__bindgen_ty_1 = 115;
2431pub const LINUX_IPPROTO_SCTP: linux__bindgen_ty_1 = 132;
2432pub const LINUX_IPPROTO_UDPLITE: linux__bindgen_ty_1 = 136;
2433pub const LINUX_IPPROTO_MPLS: linux__bindgen_ty_1 = 137;
2434pub const LINUX_IPPROTO_ETHERNET: linux__bindgen_ty_1 = 143;
2435pub const LINUX_IPPROTO_RAW: linux__bindgen_ty_1 = 255;
2436pub const LINUX_IPPROTO_SMC: linux__bindgen_ty_1 = 256;
2437pub const LINUX_IPPROTO_MPTCP: linux__bindgen_ty_1 = 262;
2438pub const LINUX_IPPROTO_MAX: linux__bindgen_ty_1 = 263;
2439pub type linux__bindgen_ty_1 = ::core::ffi::c_uint;
2440#[repr(C)]
2441#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2442pub struct linux_in_addr {
2443 pub s_addr: linux___be32,
2444}
2445#[test]
2446fn bindgen_test_layout_in_addr() {
2447 const UNINIT: ::core::mem::MaybeUninit<linux_in_addr> = ::core::mem::MaybeUninit::uninit();
2448 let ptr = UNINIT.as_ptr();
2449 assert_eq!(
2450 ::core::mem::size_of::<linux_in_addr>(),
2451 4usize,
2452 concat!("Size of: ", stringify!(linux_in_addr))
2453 );
2454 assert_eq!(
2455 ::core::mem::align_of::<linux_in_addr>(),
2456 4usize,
2457 concat!("Alignment of ", stringify!(linux_in_addr))
2458 );
2459 assert_eq!(
2460 unsafe { ::core::ptr::addr_of!((*ptr).s_addr) as usize - ptr as usize },
2461 0usize,
2462 concat!(
2463 "Offset of field: ",
2464 stringify!(linux_in_addr),
2465 "::",
2466 stringify!(s_addr)
2467 )
2468 );
2469}
2470#[repr(C)]
2471#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2472pub struct linux_sockaddr_in {
2473 pub sin_family: linux___kernel_sa_family_t,
2474 pub sin_port: linux___be16,
2475 pub sin_addr: linux_in_addr,
2476 pub l__pad: [::core::ffi::c_uchar; 8usize],
2477}
2478#[test]
2479fn bindgen_test_layout_sockaddr_in() {
2480 const UNINIT: ::core::mem::MaybeUninit<linux_sockaddr_in> = ::core::mem::MaybeUninit::uninit();
2481 let ptr = UNINIT.as_ptr();
2482 assert_eq!(
2483 ::core::mem::size_of::<linux_sockaddr_in>(),
2484 16usize,
2485 concat!("Size of: ", stringify!(linux_sockaddr_in))
2486 );
2487 assert_eq!(
2488 ::core::mem::align_of::<linux_sockaddr_in>(),
2489 4usize,
2490 concat!("Alignment of ", stringify!(linux_sockaddr_in))
2491 );
2492 assert_eq!(
2493 unsafe { ::core::ptr::addr_of!((*ptr).sin_family) as usize - ptr as usize },
2494 0usize,
2495 concat!(
2496 "Offset of field: ",
2497 stringify!(linux_sockaddr_in),
2498 "::",
2499 stringify!(sin_family)
2500 )
2501 );
2502 assert_eq!(
2503 unsafe { ::core::ptr::addr_of!((*ptr).sin_port) as usize - ptr as usize },
2504 2usize,
2505 concat!(
2506 "Offset of field: ",
2507 stringify!(linux_sockaddr_in),
2508 "::",
2509 stringify!(sin_port)
2510 )
2511 );
2512 assert_eq!(
2513 unsafe { ::core::ptr::addr_of!((*ptr).sin_addr) as usize - ptr as usize },
2514 4usize,
2515 concat!(
2516 "Offset of field: ",
2517 stringify!(linux_sockaddr_in),
2518 "::",
2519 stringify!(sin_addr)
2520 )
2521 );
2522 assert_eq!(
2523 unsafe { ::core::ptr::addr_of!((*ptr).l__pad) as usize - ptr as usize },
2524 8usize,
2525 concat!(
2526 "Offset of field: ",
2527 stringify!(linux_sockaddr_in),
2528 "::",
2529 stringify!(l__pad)
2530 )
2531 );
2532}
2533#[repr(C)]
2534#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2535pub struct linux_nlmsghdr {
2536 pub nlmsg_len: linux___u32,
2537 pub nlmsg_type: linux___u16,
2538 pub nlmsg_flags: linux___u16,
2539 pub nlmsg_seq: linux___u32,
2540 pub nlmsg_pid: linux___u32,
2541}
2542#[test]
2543fn bindgen_test_layout_nlmsghdr() {
2544 const UNINIT: ::core::mem::MaybeUninit<linux_nlmsghdr> = ::core::mem::MaybeUninit::uninit();
2545 let ptr = UNINIT.as_ptr();
2546 assert_eq!(
2547 ::core::mem::size_of::<linux_nlmsghdr>(),
2548 16usize,
2549 concat!("Size of: ", stringify!(linux_nlmsghdr))
2550 );
2551 assert_eq!(
2552 ::core::mem::align_of::<linux_nlmsghdr>(),
2553 4usize,
2554 concat!("Alignment of ", stringify!(linux_nlmsghdr))
2555 );
2556 assert_eq!(
2557 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_len) as usize - ptr as usize },
2558 0usize,
2559 concat!(
2560 "Offset of field: ",
2561 stringify!(linux_nlmsghdr),
2562 "::",
2563 stringify!(nlmsg_len)
2564 )
2565 );
2566 assert_eq!(
2567 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_type) as usize - ptr as usize },
2568 4usize,
2569 concat!(
2570 "Offset of field: ",
2571 stringify!(linux_nlmsghdr),
2572 "::",
2573 stringify!(nlmsg_type)
2574 )
2575 );
2576 assert_eq!(
2577 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_flags) as usize - ptr as usize },
2578 6usize,
2579 concat!(
2580 "Offset of field: ",
2581 stringify!(linux_nlmsghdr),
2582 "::",
2583 stringify!(nlmsg_flags)
2584 )
2585 );
2586 assert_eq!(
2587 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_seq) as usize - ptr as usize },
2588 8usize,
2589 concat!(
2590 "Offset of field: ",
2591 stringify!(linux_nlmsghdr),
2592 "::",
2593 stringify!(nlmsg_seq)
2594 )
2595 );
2596 assert_eq!(
2597 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_pid) as usize - ptr as usize },
2598 12usize,
2599 concat!(
2600 "Offset of field: ",
2601 stringify!(linux_nlmsghdr),
2602 "::",
2603 stringify!(nlmsg_pid)
2604 )
2605 );
2606}
2607pub const LINUX_NETLINK_UNCONNECTED: linux__bindgen_ty_2 = 0;
2608pub const LINUX_NETLINK_CONNECTED: linux__bindgen_ty_2 = 1;
2609pub type linux__bindgen_ty_2 = ::core::ffi::c_uint;
2610#[repr(C)]
2611#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2612pub struct linux___kernel_timespec {
2613 pub tv_sec: linux___kernel_time64_t,
2614 pub tv_nsec: ::core::ffi::c_longlong,
2615}
2616#[test]
2617fn bindgen_test_layout___kernel_timespec() {
2618 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_timespec> =
2619 ::core::mem::MaybeUninit::uninit();
2620 let ptr = UNINIT.as_ptr();
2621 assert_eq!(
2622 ::core::mem::size_of::<linux___kernel_timespec>(),
2623 16usize,
2624 concat!("Size of: ", stringify!(linux___kernel_timespec))
2625 );
2626 assert_eq!(
2627 ::core::mem::align_of::<linux___kernel_timespec>(),
2628 8usize,
2629 concat!("Alignment of ", stringify!(linux___kernel_timespec))
2630 );
2631 assert_eq!(
2632 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
2633 0usize,
2634 concat!(
2635 "Offset of field: ",
2636 stringify!(linux___kernel_timespec),
2637 "::",
2638 stringify!(tv_sec)
2639 )
2640 );
2641 assert_eq!(
2642 unsafe { ::core::ptr::addr_of!((*ptr).tv_nsec) as usize - ptr as usize },
2643 8usize,
2644 concat!(
2645 "Offset of field: ",
2646 stringify!(linux___kernel_timespec),
2647 "::",
2648 stringify!(tv_nsec)
2649 )
2650 );
2651}
2652#[repr(C)]
2653#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2654pub struct linux___kernel_old_timeval {
2655 pub tv_sec: linux___kernel_long_t,
2656 pub tv_usec: linux___kernel_long_t,
2657}
2658#[test]
2659fn bindgen_test_layout___kernel_old_timeval() {
2660 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_old_timeval> =
2661 ::core::mem::MaybeUninit::uninit();
2662 let ptr = UNINIT.as_ptr();
2663 assert_eq!(
2664 ::core::mem::size_of::<linux___kernel_old_timeval>(),
2665 16usize,
2666 concat!("Size of: ", stringify!(linux___kernel_old_timeval))
2667 );
2668 assert_eq!(
2669 ::core::mem::align_of::<linux___kernel_old_timeval>(),
2670 8usize,
2671 concat!("Alignment of ", stringify!(linux___kernel_old_timeval))
2672 );
2673 assert_eq!(
2674 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
2675 0usize,
2676 concat!(
2677 "Offset of field: ",
2678 stringify!(linux___kernel_old_timeval),
2679 "::",
2680 stringify!(tv_sec)
2681 )
2682 );
2683 assert_eq!(
2684 unsafe { ::core::ptr::addr_of!((*ptr).tv_usec) as usize - ptr as usize },
2685 8usize,
2686 concat!(
2687 "Offset of field: ",
2688 stringify!(linux___kernel_old_timeval),
2689 "::",
2690 stringify!(tv_usec)
2691 )
2692 );
2693}
2694#[repr(C)]
2695#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2696pub struct linux___kernel_old_itimerval {
2697 pub it_interval: linux___kernel_old_timeval,
2698 pub it_value: linux___kernel_old_timeval,
2699}
2700#[test]
2701fn bindgen_test_layout___kernel_old_itimerval() {
2702 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_old_itimerval> =
2703 ::core::mem::MaybeUninit::uninit();
2704 let ptr = UNINIT.as_ptr();
2705 assert_eq!(
2706 ::core::mem::size_of::<linux___kernel_old_itimerval>(),
2707 32usize,
2708 concat!("Size of: ", stringify!(linux___kernel_old_itimerval))
2709 );
2710 assert_eq!(
2711 ::core::mem::align_of::<linux___kernel_old_itimerval>(),
2712 8usize,
2713 concat!("Alignment of ", stringify!(linux___kernel_old_itimerval))
2714 );
2715 assert_eq!(
2716 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
2717 0usize,
2718 concat!(
2719 "Offset of field: ",
2720 stringify!(linux___kernel_old_itimerval),
2721 "::",
2722 stringify!(it_interval)
2723 )
2724 );
2725 assert_eq!(
2726 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
2727 16usize,
2728 concat!(
2729 "Offset of field: ",
2730 stringify!(linux___kernel_old_itimerval),
2731 "::",
2732 stringify!(it_value)
2733 )
2734 );
2735}
2736#[repr(C)]
2737#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2738pub struct linux_rusage {
2739 pub ru_utime: linux___kernel_old_timeval,
2740 pub ru_stime: linux___kernel_old_timeval,
2741 pub ru_maxrss: linux___kernel_long_t,
2742 pub ru_ixrss: linux___kernel_long_t,
2743 pub ru_idrss: linux___kernel_long_t,
2744 pub ru_isrss: linux___kernel_long_t,
2745 pub ru_minflt: linux___kernel_long_t,
2746 pub ru_majflt: linux___kernel_long_t,
2747 pub ru_nswap: linux___kernel_long_t,
2748 pub ru_inblock: linux___kernel_long_t,
2749 pub ru_oublock: linux___kernel_long_t,
2750 pub ru_msgsnd: linux___kernel_long_t,
2751 pub ru_msgrcv: linux___kernel_long_t,
2752 pub ru_nsignals: linux___kernel_long_t,
2753 pub ru_nvcsw: linux___kernel_long_t,
2754 pub ru_nivcsw: linux___kernel_long_t,
2755}
2756#[test]
2757fn bindgen_test_layout_rusage() {
2758 const UNINIT: ::core::mem::MaybeUninit<linux_rusage> = ::core::mem::MaybeUninit::uninit();
2759 let ptr = UNINIT.as_ptr();
2760 assert_eq!(
2761 ::core::mem::size_of::<linux_rusage>(),
2762 144usize,
2763 concat!("Size of: ", stringify!(linux_rusage))
2764 );
2765 assert_eq!(
2766 ::core::mem::align_of::<linux_rusage>(),
2767 8usize,
2768 concat!("Alignment of ", stringify!(linux_rusage))
2769 );
2770 assert_eq!(
2771 unsafe { ::core::ptr::addr_of!((*ptr).ru_utime) as usize - ptr as usize },
2772 0usize,
2773 concat!(
2774 "Offset of field: ",
2775 stringify!(linux_rusage),
2776 "::",
2777 stringify!(ru_utime)
2778 )
2779 );
2780 assert_eq!(
2781 unsafe { ::core::ptr::addr_of!((*ptr).ru_stime) as usize - ptr as usize },
2782 16usize,
2783 concat!(
2784 "Offset of field: ",
2785 stringify!(linux_rusage),
2786 "::",
2787 stringify!(ru_stime)
2788 )
2789 );
2790 assert_eq!(
2791 unsafe { ::core::ptr::addr_of!((*ptr).ru_maxrss) as usize - ptr as usize },
2792 32usize,
2793 concat!(
2794 "Offset of field: ",
2795 stringify!(linux_rusage),
2796 "::",
2797 stringify!(ru_maxrss)
2798 )
2799 );
2800 assert_eq!(
2801 unsafe { ::core::ptr::addr_of!((*ptr).ru_ixrss) as usize - ptr as usize },
2802 40usize,
2803 concat!(
2804 "Offset of field: ",
2805 stringify!(linux_rusage),
2806 "::",
2807 stringify!(ru_ixrss)
2808 )
2809 );
2810 assert_eq!(
2811 unsafe { ::core::ptr::addr_of!((*ptr).ru_idrss) as usize - ptr as usize },
2812 48usize,
2813 concat!(
2814 "Offset of field: ",
2815 stringify!(linux_rusage),
2816 "::",
2817 stringify!(ru_idrss)
2818 )
2819 );
2820 assert_eq!(
2821 unsafe { ::core::ptr::addr_of!((*ptr).ru_isrss) as usize - ptr as usize },
2822 56usize,
2823 concat!(
2824 "Offset of field: ",
2825 stringify!(linux_rusage),
2826 "::",
2827 stringify!(ru_isrss)
2828 )
2829 );
2830 assert_eq!(
2831 unsafe { ::core::ptr::addr_of!((*ptr).ru_minflt) as usize - ptr as usize },
2832 64usize,
2833 concat!(
2834 "Offset of field: ",
2835 stringify!(linux_rusage),
2836 "::",
2837 stringify!(ru_minflt)
2838 )
2839 );
2840 assert_eq!(
2841 unsafe { ::core::ptr::addr_of!((*ptr).ru_majflt) as usize - ptr as usize },
2842 72usize,
2843 concat!(
2844 "Offset of field: ",
2845 stringify!(linux_rusage),
2846 "::",
2847 stringify!(ru_majflt)
2848 )
2849 );
2850 assert_eq!(
2851 unsafe { ::core::ptr::addr_of!((*ptr).ru_nswap) as usize - ptr as usize },
2852 80usize,
2853 concat!(
2854 "Offset of field: ",
2855 stringify!(linux_rusage),
2856 "::",
2857 stringify!(ru_nswap)
2858 )
2859 );
2860 assert_eq!(
2861 unsafe { ::core::ptr::addr_of!((*ptr).ru_inblock) as usize - ptr as usize },
2862 88usize,
2863 concat!(
2864 "Offset of field: ",
2865 stringify!(linux_rusage),
2866 "::",
2867 stringify!(ru_inblock)
2868 )
2869 );
2870 assert_eq!(
2871 unsafe { ::core::ptr::addr_of!((*ptr).ru_oublock) as usize - ptr as usize },
2872 96usize,
2873 concat!(
2874 "Offset of field: ",
2875 stringify!(linux_rusage),
2876 "::",
2877 stringify!(ru_oublock)
2878 )
2879 );
2880 assert_eq!(
2881 unsafe { ::core::ptr::addr_of!((*ptr).ru_msgsnd) as usize - ptr as usize },
2882 104usize,
2883 concat!(
2884 "Offset of field: ",
2885 stringify!(linux_rusage),
2886 "::",
2887 stringify!(ru_msgsnd)
2888 )
2889 );
2890 assert_eq!(
2891 unsafe { ::core::ptr::addr_of!((*ptr).ru_msgrcv) as usize - ptr as usize },
2892 112usize,
2893 concat!(
2894 "Offset of field: ",
2895 stringify!(linux_rusage),
2896 "::",
2897 stringify!(ru_msgrcv)
2898 )
2899 );
2900 assert_eq!(
2901 unsafe { ::core::ptr::addr_of!((*ptr).ru_nsignals) as usize - ptr as usize },
2902 120usize,
2903 concat!(
2904 "Offset of field: ",
2905 stringify!(linux_rusage),
2906 "::",
2907 stringify!(ru_nsignals)
2908 )
2909 );
2910 assert_eq!(
2911 unsafe { ::core::ptr::addr_of!((*ptr).ru_nvcsw) as usize - ptr as usize },
2912 128usize,
2913 concat!(
2914 "Offset of field: ",
2915 stringify!(linux_rusage),
2916 "::",
2917 stringify!(ru_nvcsw)
2918 )
2919 );
2920 assert_eq!(
2921 unsafe { ::core::ptr::addr_of!((*ptr).ru_nivcsw) as usize - ptr as usize },
2922 136usize,
2923 concat!(
2924 "Offset of field: ",
2925 stringify!(linux_rusage),
2926 "::",
2927 stringify!(ru_nivcsw)
2928 )
2929 );
2930}
2931#[repr(C)]
2932#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2933pub struct linux_rlimit {
2934 pub rlim_cur: linux___kernel_ulong_t,
2935 pub rlim_max: linux___kernel_ulong_t,
2936}
2937#[test]
2938fn bindgen_test_layout_rlimit() {
2939 const UNINIT: ::core::mem::MaybeUninit<linux_rlimit> = ::core::mem::MaybeUninit::uninit();
2940 let ptr = UNINIT.as_ptr();
2941 assert_eq!(
2942 ::core::mem::size_of::<linux_rlimit>(),
2943 16usize,
2944 concat!("Size of: ", stringify!(linux_rlimit))
2945 );
2946 assert_eq!(
2947 ::core::mem::align_of::<linux_rlimit>(),
2948 8usize,
2949 concat!("Alignment of ", stringify!(linux_rlimit))
2950 );
2951 assert_eq!(
2952 unsafe { ::core::ptr::addr_of!((*ptr).rlim_cur) as usize - ptr as usize },
2953 0usize,
2954 concat!(
2955 "Offset of field: ",
2956 stringify!(linux_rlimit),
2957 "::",
2958 stringify!(rlim_cur)
2959 )
2960 );
2961 assert_eq!(
2962 unsafe { ::core::ptr::addr_of!((*ptr).rlim_max) as usize - ptr as usize },
2963 8usize,
2964 concat!(
2965 "Offset of field: ",
2966 stringify!(linux_rlimit),
2967 "::",
2968 stringify!(rlim_max)
2969 )
2970 );
2971}
2972#[repr(C)]
2973#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2974pub struct linux_rlimit64 {
2975 pub rlim_cur: linux___u64,
2976 pub rlim_max: linux___u64,
2977}
2978#[test]
2979fn bindgen_test_layout_rlimit64() {
2980 const UNINIT: ::core::mem::MaybeUninit<linux_rlimit64> = ::core::mem::MaybeUninit::uninit();
2981 let ptr = UNINIT.as_ptr();
2982 assert_eq!(
2983 ::core::mem::size_of::<linux_rlimit64>(),
2984 16usize,
2985 concat!("Size of: ", stringify!(linux_rlimit64))
2986 );
2987 assert_eq!(
2988 ::core::mem::align_of::<linux_rlimit64>(),
2989 8usize,
2990 concat!("Alignment of ", stringify!(linux_rlimit64))
2991 );
2992 assert_eq!(
2993 unsafe { ::core::ptr::addr_of!((*ptr).rlim_cur) as usize - ptr as usize },
2994 0usize,
2995 concat!(
2996 "Offset of field: ",
2997 stringify!(linux_rlimit64),
2998 "::",
2999 stringify!(rlim_cur)
3000 )
3001 );
3002 assert_eq!(
3003 unsafe { ::core::ptr::addr_of!((*ptr).rlim_max) as usize - ptr as usize },
3004 8usize,
3005 concat!(
3006 "Offset of field: ",
3007 stringify!(linux_rlimit64),
3008 "::",
3009 stringify!(rlim_max)
3010 )
3011 );
3012}
3013#[repr(C)]
3014#[repr(align(32))]
3015#[derive(Debug)]
3016pub struct linux_rseq {
3017 pub cpu_id_start: linux___u32,
3018 pub cpu_id: linux___u32,
3019 pub rseq_cs: linux___u64,
3020 pub flags: linux___u32,
3021 pub node_id: linux___u32,
3022 pub mm_cid: linux___u32,
3023 pub end: linux___IncompleteArrayField<::core::ffi::c_char>,
3024}
3025#[test]
3026fn bindgen_test_layout_rseq() {
3027 const UNINIT: ::core::mem::MaybeUninit<linux_rseq> = ::core::mem::MaybeUninit::uninit();
3028 let ptr = UNINIT.as_ptr();
3029 assert_eq!(
3030 ::core::mem::size_of::<linux_rseq>(),
3031 32usize,
3032 concat!("Size of: ", stringify!(linux_rseq))
3033 );
3034 assert_eq!(
3035 ::core::mem::align_of::<linux_rseq>(),
3036 32usize,
3037 concat!("Alignment of ", stringify!(linux_rseq))
3038 );
3039 assert_eq!(
3040 unsafe { ::core::ptr::addr_of!((*ptr).cpu_id_start) as usize - ptr as usize },
3041 0usize,
3042 concat!(
3043 "Offset of field: ",
3044 stringify!(linux_rseq),
3045 "::",
3046 stringify!(cpu_id_start)
3047 )
3048 );
3049 assert_eq!(
3050 unsafe { ::core::ptr::addr_of!((*ptr).cpu_id) as usize - ptr as usize },
3051 4usize,
3052 concat!(
3053 "Offset of field: ",
3054 stringify!(linux_rseq),
3055 "::",
3056 stringify!(cpu_id)
3057 )
3058 );
3059 assert_eq!(
3060 unsafe { ::core::ptr::addr_of!((*ptr).rseq_cs) as usize - ptr as usize },
3061 8usize,
3062 concat!(
3063 "Offset of field: ",
3064 stringify!(linux_rseq),
3065 "::",
3066 stringify!(rseq_cs)
3067 )
3068 );
3069 assert_eq!(
3070 unsafe { ::core::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
3071 16usize,
3072 concat!(
3073 "Offset of field: ",
3074 stringify!(linux_rseq),
3075 "::",
3076 stringify!(flags)
3077 )
3078 );
3079 assert_eq!(
3080 unsafe { ::core::ptr::addr_of!((*ptr).node_id) as usize - ptr as usize },
3081 20usize,
3082 concat!(
3083 "Offset of field: ",
3084 stringify!(linux_rseq),
3085 "::",
3086 stringify!(node_id)
3087 )
3088 );
3089 assert_eq!(
3090 unsafe { ::core::ptr::addr_of!((*ptr).mm_cid) as usize - ptr as usize },
3091 24usize,
3092 concat!(
3093 "Offset of field: ",
3094 stringify!(linux_rseq),
3095 "::",
3096 stringify!(mm_cid)
3097 )
3098 );
3099 assert_eq!(
3100 unsafe { ::core::ptr::addr_of!((*ptr).end) as usize - ptr as usize },
3101 28usize,
3102 concat!(
3103 "Offset of field: ",
3104 stringify!(linux_rseq),
3105 "::",
3106 stringify!(end)
3107 )
3108 );
3109}
3110pub const LINUX_IFLA_UNSPEC: linux__bindgen_ty_3 = 0;
3111pub const LINUX_IFLA_ADDRESS: linux__bindgen_ty_3 = 1;
3112pub const LINUX_IFLA_BROADCAST: linux__bindgen_ty_3 = 2;
3113pub const LINUX_IFLA_IFNAME: linux__bindgen_ty_3 = 3;
3114pub const LINUX_IFLA_MTU: linux__bindgen_ty_3 = 4;
3115pub const LINUX_IFLA_LINK: linux__bindgen_ty_3 = 5;
3116pub const LINUX_IFLA_QDISC: linux__bindgen_ty_3 = 6;
3117pub const LINUX_IFLA_STATS: linux__bindgen_ty_3 = 7;
3118pub const LINUX_IFLA_COST: linux__bindgen_ty_3 = 8;
3119pub const LINUX_IFLA_PRIORITY: linux__bindgen_ty_3 = 9;
3120pub const LINUX_IFLA_MASTER: linux__bindgen_ty_3 = 10;
3121pub const LINUX_IFLA_WIRELESS: linux__bindgen_ty_3 = 11;
3122pub const LINUX_IFLA_PROTINFO: linux__bindgen_ty_3 = 12;
3123pub const LINUX_IFLA_TXQLEN: linux__bindgen_ty_3 = 13;
3124pub const LINUX_IFLA_MAP: linux__bindgen_ty_3 = 14;
3125pub const LINUX_IFLA_WEIGHT: linux__bindgen_ty_3 = 15;
3126pub const LINUX_IFLA_OPERSTATE: linux__bindgen_ty_3 = 16;
3127pub const LINUX_IFLA_LINKMODE: linux__bindgen_ty_3 = 17;
3128pub const LINUX_IFLA_LINKINFO: linux__bindgen_ty_3 = 18;
3129pub const LINUX_IFLA_NET_NS_PID: linux__bindgen_ty_3 = 19;
3130pub const LINUX_IFLA_IFALIAS: linux__bindgen_ty_3 = 20;
3131pub const LINUX_IFLA_NUM_VF: linux__bindgen_ty_3 = 21;
3132pub const LINUX_IFLA_VFINFO_LIST: linux__bindgen_ty_3 = 22;
3133pub const LINUX_IFLA_STATS64: linux__bindgen_ty_3 = 23;
3134pub const LINUX_IFLA_VF_PORTS: linux__bindgen_ty_3 = 24;
3135pub const LINUX_IFLA_PORT_SELF: linux__bindgen_ty_3 = 25;
3136pub const LINUX_IFLA_AF_SPEC: linux__bindgen_ty_3 = 26;
3137pub const LINUX_IFLA_GROUP: linux__bindgen_ty_3 = 27;
3138pub const LINUX_IFLA_NET_NS_FD: linux__bindgen_ty_3 = 28;
3139pub const LINUX_IFLA_EXT_MASK: linux__bindgen_ty_3 = 29;
3140pub const LINUX_IFLA_PROMISCUITY: linux__bindgen_ty_3 = 30;
3141pub const LINUX_IFLA_NUM_TX_QUEUES: linux__bindgen_ty_3 = 31;
3142pub const LINUX_IFLA_NUM_RX_QUEUES: linux__bindgen_ty_3 = 32;
3143pub const LINUX_IFLA_CARRIER: linux__bindgen_ty_3 = 33;
3144pub const LINUX_IFLA_PHYS_PORT_ID: linux__bindgen_ty_3 = 34;
3145pub const LINUX_IFLA_CARRIER_CHANGES: linux__bindgen_ty_3 = 35;
3146pub const LINUX_IFLA_PHYS_SWITCH_ID: linux__bindgen_ty_3 = 36;
3147pub const LINUX_IFLA_LINK_NETNSID: linux__bindgen_ty_3 = 37;
3148pub const LINUX_IFLA_PHYS_PORT_NAME: linux__bindgen_ty_3 = 38;
3149pub const LINUX_IFLA_PROTO_DOWN: linux__bindgen_ty_3 = 39;
3150pub const LINUX_IFLA_GSO_MAX_SEGS: linux__bindgen_ty_3 = 40;
3151pub const LINUX_IFLA_GSO_MAX_SIZE: linux__bindgen_ty_3 = 41;
3152pub const LINUX_IFLA_PAD: linux__bindgen_ty_3 = 42;
3153pub const LINUX_IFLA_XDP: linux__bindgen_ty_3 = 43;
3154pub const LINUX_IFLA_EVENT: linux__bindgen_ty_3 = 44;
3155pub const LINUX_IFLA_NEW_NETNSID: linux__bindgen_ty_3 = 45;
3156pub const LINUX_IFLA_IF_NETNSID: linux__bindgen_ty_3 = 46;
3157pub const LINUX_IFLA_TARGET_NETNSID: linux__bindgen_ty_3 = 46;
3158pub const LINUX_IFLA_CARRIER_UP_COUNT: linux__bindgen_ty_3 = 47;
3159pub const LINUX_IFLA_CARRIER_DOWN_COUNT: linux__bindgen_ty_3 = 48;
3160pub const LINUX_IFLA_NEW_IFINDEX: linux__bindgen_ty_3 = 49;
3161pub const LINUX_IFLA_MIN_MTU: linux__bindgen_ty_3 = 50;
3162pub const LINUX_IFLA_MAX_MTU: linux__bindgen_ty_3 = 51;
3163pub const LINUX_IFLA_PROP_LIST: linux__bindgen_ty_3 = 52;
3164pub const LINUX_IFLA_ALT_IFNAME: linux__bindgen_ty_3 = 53;
3165pub const LINUX_IFLA_PERM_ADDRESS: linux__bindgen_ty_3 = 54;
3166pub const LINUX_IFLA_PROTO_DOWN_REASON: linux__bindgen_ty_3 = 55;
3167pub const LINUX_IFLA_PARENT_DEV_NAME: linux__bindgen_ty_3 = 56;
3168pub const LINUX_IFLA_PARENT_DEV_BUS_NAME: linux__bindgen_ty_3 = 57;
3169pub const LINUX_IFLA_GRO_MAX_SIZE: linux__bindgen_ty_3 = 58;
3170pub const LINUX_IFLA_TSO_MAX_SIZE: linux__bindgen_ty_3 = 59;
3171pub const LINUX_IFLA_TSO_MAX_SEGS: linux__bindgen_ty_3 = 60;
3172pub const LINUX_IFLA_ALLMULTI: linux__bindgen_ty_3 = 61;
3173pub const LINUX_IFLA_DEVLINK_PORT: linux__bindgen_ty_3 = 62;
3174pub const LINUX_IFLA_GSO_IPV4_MAX_SIZE: linux__bindgen_ty_3 = 63;
3175pub const LINUX_IFLA_GRO_IPV4_MAX_SIZE: linux__bindgen_ty_3 = 64;
3176pub const LINUX_IFLA_DPLL_PIN: linux__bindgen_ty_3 = 65;
3177pub const LINUX___IFLA_MAX: linux__bindgen_ty_3 = 66;
3178pub type linux__bindgen_ty_3 = ::core::ffi::c_uint;
3179pub const LINUX_IFLA_PROTO_DOWN_REASON_UNSPEC: linux__bindgen_ty_4 = 0;
3180pub const LINUX_IFLA_PROTO_DOWN_REASON_MASK: linux__bindgen_ty_4 = 1;
3181pub const LINUX_IFLA_PROTO_DOWN_REASON_VALUE: linux__bindgen_ty_4 = 2;
3182pub const LINUX___IFLA_PROTO_DOWN_REASON_CNT: linux__bindgen_ty_4 = 3;
3183pub const LINUX_IFLA_PROTO_DOWN_REASON_MAX: linux__bindgen_ty_4 = 2;
3184pub type linux__bindgen_ty_4 = ::core::ffi::c_uint;
3185pub const LINUX_IFLA_INET_UNSPEC: linux__bindgen_ty_5 = 0;
3186pub const LINUX_IFLA_INET_CONF: linux__bindgen_ty_5 = 1;
3187pub const LINUX___IFLA_INET_MAX: linux__bindgen_ty_5 = 2;
3188pub type linux__bindgen_ty_5 = ::core::ffi::c_uint;
3189pub const LINUX_IFLA_INET6_UNSPEC: linux__bindgen_ty_6 = 0;
3190pub const LINUX_IFLA_INET6_FLAGS: linux__bindgen_ty_6 = 1;
3191pub const LINUX_IFLA_INET6_CONF: linux__bindgen_ty_6 = 2;
3192pub const LINUX_IFLA_INET6_STATS: linux__bindgen_ty_6 = 3;
3193pub const LINUX_IFLA_INET6_MCAST: linux__bindgen_ty_6 = 4;
3194pub const LINUX_IFLA_INET6_CACHEINFO: linux__bindgen_ty_6 = 5;
3195pub const LINUX_IFLA_INET6_ICMP6STATS: linux__bindgen_ty_6 = 6;
3196pub const LINUX_IFLA_INET6_TOKEN: linux__bindgen_ty_6 = 7;
3197pub const LINUX_IFLA_INET6_ADDR_GEN_MODE: linux__bindgen_ty_6 = 8;
3198pub const LINUX_IFLA_INET6_RA_MTU: linux__bindgen_ty_6 = 9;
3199pub const LINUX___IFLA_INET6_MAX: linux__bindgen_ty_6 = 10;
3200pub type linux__bindgen_ty_6 = ::core::ffi::c_uint;
3201pub const LINUX_IFLA_BR_UNSPEC: linux__bindgen_ty_7 = 0;
3202pub const LINUX_IFLA_BR_FORWARD_DELAY: linux__bindgen_ty_7 = 1;
3203pub const LINUX_IFLA_BR_HELLO_TIME: linux__bindgen_ty_7 = 2;
3204pub const LINUX_IFLA_BR_MAX_AGE: linux__bindgen_ty_7 = 3;
3205pub const LINUX_IFLA_BR_AGEING_TIME: linux__bindgen_ty_7 = 4;
3206pub const LINUX_IFLA_BR_STP_STATE: linux__bindgen_ty_7 = 5;
3207pub const LINUX_IFLA_BR_PRIORITY: linux__bindgen_ty_7 = 6;
3208pub const LINUX_IFLA_BR_VLAN_FILTERING: linux__bindgen_ty_7 = 7;
3209pub const LINUX_IFLA_BR_VLAN_PROTOCOL: linux__bindgen_ty_7 = 8;
3210pub const LINUX_IFLA_BR_GROUP_FWD_MASK: linux__bindgen_ty_7 = 9;
3211pub const LINUX_IFLA_BR_ROOT_ID: linux__bindgen_ty_7 = 10;
3212pub const LINUX_IFLA_BR_BRIDGE_ID: linux__bindgen_ty_7 = 11;
3213pub const LINUX_IFLA_BR_ROOT_PORT: linux__bindgen_ty_7 = 12;
3214pub const LINUX_IFLA_BR_ROOT_PATH_COST: linux__bindgen_ty_7 = 13;
3215pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE: linux__bindgen_ty_7 = 14;
3216pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE_DETECTED: linux__bindgen_ty_7 = 15;
3217pub const LINUX_IFLA_BR_HELLO_TIMER: linux__bindgen_ty_7 = 16;
3218pub const LINUX_IFLA_BR_TCN_TIMER: linux__bindgen_ty_7 = 17;
3219pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE_TIMER: linux__bindgen_ty_7 = 18;
3220pub const LINUX_IFLA_BR_GC_TIMER: linux__bindgen_ty_7 = 19;
3221pub const LINUX_IFLA_BR_GROUP_ADDR: linux__bindgen_ty_7 = 20;
3222pub const LINUX_IFLA_BR_FDB_FLUSH: linux__bindgen_ty_7 = 21;
3223pub const LINUX_IFLA_BR_MCAST_ROUTER: linux__bindgen_ty_7 = 22;
3224pub const LINUX_IFLA_BR_MCAST_SNOOPING: linux__bindgen_ty_7 = 23;
3225pub const LINUX_IFLA_BR_MCAST_QUERY_USE_IFADDR: linux__bindgen_ty_7 = 24;
3226pub const LINUX_IFLA_BR_MCAST_QUERIER: linux__bindgen_ty_7 = 25;
3227pub const LINUX_IFLA_BR_MCAST_HASH_ELASTICITY: linux__bindgen_ty_7 = 26;
3228pub const LINUX_IFLA_BR_MCAST_HASH_MAX: linux__bindgen_ty_7 = 27;
3229pub const LINUX_IFLA_BR_MCAST_LAST_MEMBER_CNT: linux__bindgen_ty_7 = 28;
3230pub const LINUX_IFLA_BR_MCAST_STARTUP_QUERY_CNT: linux__bindgen_ty_7 = 29;
3231pub const LINUX_IFLA_BR_MCAST_LAST_MEMBER_INTVL: linux__bindgen_ty_7 = 30;
3232pub const LINUX_IFLA_BR_MCAST_MEMBERSHIP_INTVL: linux__bindgen_ty_7 = 31;
3233pub const LINUX_IFLA_BR_MCAST_QUERIER_INTVL: linux__bindgen_ty_7 = 32;
3234pub const LINUX_IFLA_BR_MCAST_QUERY_INTVL: linux__bindgen_ty_7 = 33;
3235pub const LINUX_IFLA_BR_MCAST_QUERY_RESPONSE_INTVL: linux__bindgen_ty_7 = 34;
3236pub const LINUX_IFLA_BR_MCAST_STARTUP_QUERY_INTVL: linux__bindgen_ty_7 = 35;
3237pub const LINUX_IFLA_BR_NF_CALL_IPTABLES: linux__bindgen_ty_7 = 36;
3238pub const LINUX_IFLA_BR_NF_CALL_IP6TABLES: linux__bindgen_ty_7 = 37;
3239pub const LINUX_IFLA_BR_NF_CALL_ARPTABLES: linux__bindgen_ty_7 = 38;
3240pub const LINUX_IFLA_BR_VLAN_DEFAULT_PVID: linux__bindgen_ty_7 = 39;
3241pub const LINUX_IFLA_BR_PAD: linux__bindgen_ty_7 = 40;
3242pub const LINUX_IFLA_BR_VLAN_STATS_ENABLED: linux__bindgen_ty_7 = 41;
3243pub const LINUX_IFLA_BR_MCAST_STATS_ENABLED: linux__bindgen_ty_7 = 42;
3244pub const LINUX_IFLA_BR_MCAST_IGMP_VERSION: linux__bindgen_ty_7 = 43;
3245pub const LINUX_IFLA_BR_MCAST_MLD_VERSION: linux__bindgen_ty_7 = 44;
3246pub const LINUX_IFLA_BR_VLAN_STATS_PER_PORT: linux__bindgen_ty_7 = 45;
3247pub const LINUX_IFLA_BR_MULTI_BOOLOPT: linux__bindgen_ty_7 = 46;
3248pub const LINUX_IFLA_BR_MCAST_QUERIER_STATE: linux__bindgen_ty_7 = 47;
3249pub const LINUX_IFLA_BR_FDB_N_LEARNED: linux__bindgen_ty_7 = 48;
3250pub const LINUX_IFLA_BR_FDB_MAX_LEARNED: linux__bindgen_ty_7 = 49;
3251pub const LINUX___IFLA_BR_MAX: linux__bindgen_ty_7 = 50;
3252pub type linux__bindgen_ty_7 = ::core::ffi::c_uint;
3253pub const LINUX_BRIDGE_MODE_UNSPEC: linux__bindgen_ty_8 = 0;
3254pub const LINUX_BRIDGE_MODE_HAIRPIN: linux__bindgen_ty_8 = 1;
3255pub type linux__bindgen_ty_8 = ::core::ffi::c_uint;
3256pub const LINUX_IFLA_BRPORT_UNSPEC: linux__bindgen_ty_9 = 0;
3257pub const LINUX_IFLA_BRPORT_STATE: linux__bindgen_ty_9 = 1;
3258pub const LINUX_IFLA_BRPORT_PRIORITY: linux__bindgen_ty_9 = 2;
3259pub const LINUX_IFLA_BRPORT_COST: linux__bindgen_ty_9 = 3;
3260pub const LINUX_IFLA_BRPORT_MODE: linux__bindgen_ty_9 = 4;
3261pub const LINUX_IFLA_BRPORT_GUARD: linux__bindgen_ty_9 = 5;
3262pub const LINUX_IFLA_BRPORT_PROTECT: linux__bindgen_ty_9 = 6;
3263pub const LINUX_IFLA_BRPORT_FAST_LEAVE: linux__bindgen_ty_9 = 7;
3264pub const LINUX_IFLA_BRPORT_LEARNING: linux__bindgen_ty_9 = 8;
3265pub const LINUX_IFLA_BRPORT_UNICAST_FLOOD: linux__bindgen_ty_9 = 9;
3266pub const LINUX_IFLA_BRPORT_PROXYARP: linux__bindgen_ty_9 = 10;
3267pub const LINUX_IFLA_BRPORT_LEARNING_SYNC: linux__bindgen_ty_9 = 11;
3268pub const LINUX_IFLA_BRPORT_PROXYARP_WIFI: linux__bindgen_ty_9 = 12;
3269pub const LINUX_IFLA_BRPORT_ROOT_ID: linux__bindgen_ty_9 = 13;
3270pub const LINUX_IFLA_BRPORT_BRIDGE_ID: linux__bindgen_ty_9 = 14;
3271pub const LINUX_IFLA_BRPORT_DESIGNATED_PORT: linux__bindgen_ty_9 = 15;
3272pub const LINUX_IFLA_BRPORT_DESIGNATED_COST: linux__bindgen_ty_9 = 16;
3273pub const LINUX_IFLA_BRPORT_ID: linux__bindgen_ty_9 = 17;
3274pub const LINUX_IFLA_BRPORT_NO: linux__bindgen_ty_9 = 18;
3275pub const LINUX_IFLA_BRPORT_TOPOLOGY_CHANGE_ACK: linux__bindgen_ty_9 = 19;
3276pub const LINUX_IFLA_BRPORT_CONFIG_PENDING: linux__bindgen_ty_9 = 20;
3277pub const LINUX_IFLA_BRPORT_MESSAGE_AGE_TIMER: linux__bindgen_ty_9 = 21;
3278pub const LINUX_IFLA_BRPORT_FORWARD_DELAY_TIMER: linux__bindgen_ty_9 = 22;
3279pub const LINUX_IFLA_BRPORT_HOLD_TIMER: linux__bindgen_ty_9 = 23;
3280pub const LINUX_IFLA_BRPORT_FLUSH: linux__bindgen_ty_9 = 24;
3281pub const LINUX_IFLA_BRPORT_MULTICAST_ROUTER: linux__bindgen_ty_9 = 25;
3282pub const LINUX_IFLA_BRPORT_PAD: linux__bindgen_ty_9 = 26;
3283pub const LINUX_IFLA_BRPORT_MCAST_FLOOD: linux__bindgen_ty_9 = 27;
3284pub const LINUX_IFLA_BRPORT_MCAST_TO_UCAST: linux__bindgen_ty_9 = 28;
3285pub const LINUX_IFLA_BRPORT_VLAN_TUNNEL: linux__bindgen_ty_9 = 29;
3286pub const LINUX_IFLA_BRPORT_BCAST_FLOOD: linux__bindgen_ty_9 = 30;
3287pub const LINUX_IFLA_BRPORT_GROUP_FWD_MASK: linux__bindgen_ty_9 = 31;
3288pub const LINUX_IFLA_BRPORT_NEIGH_SUPPRESS: linux__bindgen_ty_9 = 32;
3289pub const LINUX_IFLA_BRPORT_ISOLATED: linux__bindgen_ty_9 = 33;
3290pub const LINUX_IFLA_BRPORT_BACKUP_PORT: linux__bindgen_ty_9 = 34;
3291pub const LINUX_IFLA_BRPORT_MRP_RING_OPEN: linux__bindgen_ty_9 = 35;
3292pub const LINUX_IFLA_BRPORT_MRP_IN_OPEN: linux__bindgen_ty_9 = 36;
3293pub const LINUX_IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: linux__bindgen_ty_9 = 37;
3294pub const LINUX_IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: linux__bindgen_ty_9 = 38;
3295pub const LINUX_IFLA_BRPORT_LOCKED: linux__bindgen_ty_9 = 39;
3296pub const LINUX_IFLA_BRPORT_MAB: linux__bindgen_ty_9 = 40;
3297pub const LINUX_IFLA_BRPORT_MCAST_N_GROUPS: linux__bindgen_ty_9 = 41;
3298pub const LINUX_IFLA_BRPORT_MCAST_MAX_GROUPS: linux__bindgen_ty_9 = 42;
3299pub const LINUX_IFLA_BRPORT_NEIGH_VLAN_SUPPRESS: linux__bindgen_ty_9 = 43;
3300pub const LINUX_IFLA_BRPORT_BACKUP_NHID: linux__bindgen_ty_9 = 44;
3301pub const LINUX___IFLA_BRPORT_MAX: linux__bindgen_ty_9 = 45;
3302pub type linux__bindgen_ty_9 = ::core::ffi::c_uint;
3303pub const LINUX_IFLA_INFO_UNSPEC: linux__bindgen_ty_10 = 0;
3304pub const LINUX_IFLA_INFO_KIND: linux__bindgen_ty_10 = 1;
3305pub const LINUX_IFLA_INFO_DATA: linux__bindgen_ty_10 = 2;
3306pub const LINUX_IFLA_INFO_XSTATS: linux__bindgen_ty_10 = 3;
3307pub const LINUX_IFLA_INFO_SLAVE_KIND: linux__bindgen_ty_10 = 4;
3308pub const LINUX_IFLA_INFO_SLAVE_DATA: linux__bindgen_ty_10 = 5;
3309pub const LINUX___IFLA_INFO_MAX: linux__bindgen_ty_10 = 6;
3310pub type linux__bindgen_ty_10 = ::core::ffi::c_uint;
3311pub const LINUX_IFLA_VLAN_UNSPEC: linux__bindgen_ty_11 = 0;
3312pub const LINUX_IFLA_VLAN_ID: linux__bindgen_ty_11 = 1;
3313pub const LINUX_IFLA_VLAN_FLAGS: linux__bindgen_ty_11 = 2;
3314pub const LINUX_IFLA_VLAN_EGRESS_QOS: linux__bindgen_ty_11 = 3;
3315pub const LINUX_IFLA_VLAN_INGRESS_QOS: linux__bindgen_ty_11 = 4;
3316pub const LINUX_IFLA_VLAN_PROTOCOL: linux__bindgen_ty_11 = 5;
3317pub const LINUX___IFLA_VLAN_MAX: linux__bindgen_ty_11 = 6;
3318pub type linux__bindgen_ty_11 = ::core::ffi::c_uint;
3319pub const LINUX_IFLA_VLAN_QOS_UNSPEC: linux__bindgen_ty_12 = 0;
3320pub const LINUX_IFLA_VLAN_QOS_MAPPING: linux__bindgen_ty_12 = 1;
3321pub const LINUX___IFLA_VLAN_QOS_MAX: linux__bindgen_ty_12 = 2;
3322pub type linux__bindgen_ty_12 = ::core::ffi::c_uint;
3323pub const LINUX_IFLA_MACVLAN_UNSPEC: linux__bindgen_ty_13 = 0;
3324pub const LINUX_IFLA_MACVLAN_MODE: linux__bindgen_ty_13 = 1;
3325pub const LINUX_IFLA_MACVLAN_FLAGS: linux__bindgen_ty_13 = 2;
3326pub const LINUX_IFLA_MACVLAN_MACADDR_MODE: linux__bindgen_ty_13 = 3;
3327pub const LINUX_IFLA_MACVLAN_MACADDR: linux__bindgen_ty_13 = 4;
3328pub const LINUX_IFLA_MACVLAN_MACADDR_DATA: linux__bindgen_ty_13 = 5;
3329pub const LINUX_IFLA_MACVLAN_MACADDR_COUNT: linux__bindgen_ty_13 = 6;
3330pub const LINUX_IFLA_MACVLAN_BC_QUEUE_LEN: linux__bindgen_ty_13 = 7;
3331pub const LINUX_IFLA_MACVLAN_BC_QUEUE_LEN_USED: linux__bindgen_ty_13 = 8;
3332pub const LINUX_IFLA_MACVLAN_BC_CUTOFF: linux__bindgen_ty_13 = 9;
3333pub const LINUX___IFLA_MACVLAN_MAX: linux__bindgen_ty_13 = 10;
3334pub type linux__bindgen_ty_13 = ::core::ffi::c_uint;
3335pub const LINUX_IFLA_VRF_UNSPEC: linux__bindgen_ty_14 = 0;
3336pub const LINUX_IFLA_VRF_TABLE: linux__bindgen_ty_14 = 1;
3337pub const LINUX___IFLA_VRF_MAX: linux__bindgen_ty_14 = 2;
3338pub type linux__bindgen_ty_14 = ::core::ffi::c_uint;
3339pub const LINUX_IFLA_VRF_PORT_UNSPEC: linux__bindgen_ty_15 = 0;
3340pub const LINUX_IFLA_VRF_PORT_TABLE: linux__bindgen_ty_15 = 1;
3341pub const LINUX___IFLA_VRF_PORT_MAX: linux__bindgen_ty_15 = 2;
3342pub type linux__bindgen_ty_15 = ::core::ffi::c_uint;
3343pub const LINUX_IFLA_MACSEC_UNSPEC: linux__bindgen_ty_16 = 0;
3344pub const LINUX_IFLA_MACSEC_SCI: linux__bindgen_ty_16 = 1;
3345pub const LINUX_IFLA_MACSEC_PORT: linux__bindgen_ty_16 = 2;
3346pub const LINUX_IFLA_MACSEC_ICV_LEN: linux__bindgen_ty_16 = 3;
3347pub const LINUX_IFLA_MACSEC_CIPHER_SUITE: linux__bindgen_ty_16 = 4;
3348pub const LINUX_IFLA_MACSEC_WINDOW: linux__bindgen_ty_16 = 5;
3349pub const LINUX_IFLA_MACSEC_ENCODING_SA: linux__bindgen_ty_16 = 6;
3350pub const LINUX_IFLA_MACSEC_ENCRYPT: linux__bindgen_ty_16 = 7;
3351pub const LINUX_IFLA_MACSEC_PROTECT: linux__bindgen_ty_16 = 8;
3352pub const LINUX_IFLA_MACSEC_INC_SCI: linux__bindgen_ty_16 = 9;
3353pub const LINUX_IFLA_MACSEC_ES: linux__bindgen_ty_16 = 10;
3354pub const LINUX_IFLA_MACSEC_SCB: linux__bindgen_ty_16 = 11;
3355pub const LINUX_IFLA_MACSEC_REPLAY_PROTECT: linux__bindgen_ty_16 = 12;
3356pub const LINUX_IFLA_MACSEC_VALIDATION: linux__bindgen_ty_16 = 13;
3357pub const LINUX_IFLA_MACSEC_PAD: linux__bindgen_ty_16 = 14;
3358pub const LINUX_IFLA_MACSEC_OFFLOAD: linux__bindgen_ty_16 = 15;
3359pub const LINUX___IFLA_MACSEC_MAX: linux__bindgen_ty_16 = 16;
3360pub type linux__bindgen_ty_16 = ::core::ffi::c_uint;
3361pub const LINUX_IFLA_XFRM_UNSPEC: linux__bindgen_ty_17 = 0;
3362pub const LINUX_IFLA_XFRM_LINK: linux__bindgen_ty_17 = 1;
3363pub const LINUX_IFLA_XFRM_IF_ID: linux__bindgen_ty_17 = 2;
3364pub const LINUX_IFLA_XFRM_COLLECT_METADATA: linux__bindgen_ty_17 = 3;
3365pub const LINUX___IFLA_XFRM_MAX: linux__bindgen_ty_17 = 4;
3366pub type linux__bindgen_ty_17 = ::core::ffi::c_uint;
3367pub const LINUX_IFLA_IPVLAN_UNSPEC: linux__bindgen_ty_18 = 0;
3368pub const LINUX_IFLA_IPVLAN_MODE: linux__bindgen_ty_18 = 1;
3369pub const LINUX_IFLA_IPVLAN_FLAGS: linux__bindgen_ty_18 = 2;
3370pub const LINUX___IFLA_IPVLAN_MAX: linux__bindgen_ty_18 = 3;
3371pub type linux__bindgen_ty_18 = ::core::ffi::c_uint;
3372pub const LINUX_IFLA_NETKIT_UNSPEC: linux__bindgen_ty_19 = 0;
3373pub const LINUX_IFLA_NETKIT_PEER_INFO: linux__bindgen_ty_19 = 1;
3374pub const LINUX_IFLA_NETKIT_PRIMARY: linux__bindgen_ty_19 = 2;
3375pub const LINUX_IFLA_NETKIT_POLICY: linux__bindgen_ty_19 = 3;
3376pub const LINUX_IFLA_NETKIT_PEER_POLICY: linux__bindgen_ty_19 = 4;
3377pub const LINUX_IFLA_NETKIT_MODE: linux__bindgen_ty_19 = 5;
3378pub const LINUX___IFLA_NETKIT_MAX: linux__bindgen_ty_19 = 6;
3379pub type linux__bindgen_ty_19 = ::core::ffi::c_uint;
3380pub const LINUX_VNIFILTER_ENTRY_STATS_UNSPEC: linux__bindgen_ty_20 = 0;
3381pub const LINUX_VNIFILTER_ENTRY_STATS_RX_BYTES: linux__bindgen_ty_20 = 1;
3382pub const LINUX_VNIFILTER_ENTRY_STATS_RX_PKTS: linux__bindgen_ty_20 = 2;
3383pub const LINUX_VNIFILTER_ENTRY_STATS_RX_DROPS: linux__bindgen_ty_20 = 3;
3384pub const LINUX_VNIFILTER_ENTRY_STATS_RX_ERRORS: linux__bindgen_ty_20 = 4;
3385pub const LINUX_VNIFILTER_ENTRY_STATS_TX_BYTES: linux__bindgen_ty_20 = 5;
3386pub const LINUX_VNIFILTER_ENTRY_STATS_TX_PKTS: linux__bindgen_ty_20 = 6;
3387pub const LINUX_VNIFILTER_ENTRY_STATS_TX_DROPS: linux__bindgen_ty_20 = 7;
3388pub const LINUX_VNIFILTER_ENTRY_STATS_TX_ERRORS: linux__bindgen_ty_20 = 8;
3389pub const LINUX_VNIFILTER_ENTRY_STATS_PAD: linux__bindgen_ty_20 = 9;
3390pub const LINUX___VNIFILTER_ENTRY_STATS_MAX: linux__bindgen_ty_20 = 10;
3391pub type linux__bindgen_ty_20 = ::core::ffi::c_uint;
3392pub const LINUX_VXLAN_VNIFILTER_ENTRY_UNSPEC: linux__bindgen_ty_21 = 0;
3393pub const LINUX_VXLAN_VNIFILTER_ENTRY_START: linux__bindgen_ty_21 = 1;
3394pub const LINUX_VXLAN_VNIFILTER_ENTRY_END: linux__bindgen_ty_21 = 2;
3395pub const LINUX_VXLAN_VNIFILTER_ENTRY_GROUP: linux__bindgen_ty_21 = 3;
3396pub const LINUX_VXLAN_VNIFILTER_ENTRY_GROUP6: linux__bindgen_ty_21 = 4;
3397pub const LINUX_VXLAN_VNIFILTER_ENTRY_STATS: linux__bindgen_ty_21 = 5;
3398pub const LINUX___VXLAN_VNIFILTER_ENTRY_MAX: linux__bindgen_ty_21 = 6;
3399pub type linux__bindgen_ty_21 = ::core::ffi::c_uint;
3400pub const LINUX_VXLAN_VNIFILTER_UNSPEC: linux__bindgen_ty_22 = 0;
3401pub const LINUX_VXLAN_VNIFILTER_ENTRY: linux__bindgen_ty_22 = 1;
3402pub const LINUX___VXLAN_VNIFILTER_MAX: linux__bindgen_ty_22 = 2;
3403pub type linux__bindgen_ty_22 = ::core::ffi::c_uint;
3404pub const LINUX_IFLA_VXLAN_UNSPEC: linux__bindgen_ty_23 = 0;
3405pub const LINUX_IFLA_VXLAN_ID: linux__bindgen_ty_23 = 1;
3406pub const LINUX_IFLA_VXLAN_GROUP: linux__bindgen_ty_23 = 2;
3407pub const LINUX_IFLA_VXLAN_LINK: linux__bindgen_ty_23 = 3;
3408pub const LINUX_IFLA_VXLAN_LOCAL: linux__bindgen_ty_23 = 4;
3409pub const LINUX_IFLA_VXLAN_TTL: linux__bindgen_ty_23 = 5;
3410pub const LINUX_IFLA_VXLAN_TOS: linux__bindgen_ty_23 = 6;
3411pub const LINUX_IFLA_VXLAN_LEARNING: linux__bindgen_ty_23 = 7;
3412pub const LINUX_IFLA_VXLAN_AGEING: linux__bindgen_ty_23 = 8;
3413pub const LINUX_IFLA_VXLAN_LIMIT: linux__bindgen_ty_23 = 9;
3414pub const LINUX_IFLA_VXLAN_PORT_RANGE: linux__bindgen_ty_23 = 10;
3415pub const LINUX_IFLA_VXLAN_PROXY: linux__bindgen_ty_23 = 11;
3416pub const LINUX_IFLA_VXLAN_RSC: linux__bindgen_ty_23 = 12;
3417pub const LINUX_IFLA_VXLAN_L2MISS: linux__bindgen_ty_23 = 13;
3418pub const LINUX_IFLA_VXLAN_L3MISS: linux__bindgen_ty_23 = 14;
3419pub const LINUX_IFLA_VXLAN_PORT: linux__bindgen_ty_23 = 15;
3420pub const LINUX_IFLA_VXLAN_GROUP6: linux__bindgen_ty_23 = 16;
3421pub const LINUX_IFLA_VXLAN_LOCAL6: linux__bindgen_ty_23 = 17;
3422pub const LINUX_IFLA_VXLAN_UDP_CSUM: linux__bindgen_ty_23 = 18;
3423pub const LINUX_IFLA_VXLAN_UDP_ZERO_CSUM6_TX: linux__bindgen_ty_23 = 19;
3424pub const LINUX_IFLA_VXLAN_UDP_ZERO_CSUM6_RX: linux__bindgen_ty_23 = 20;
3425pub const LINUX_IFLA_VXLAN_REMCSUM_TX: linux__bindgen_ty_23 = 21;
3426pub const LINUX_IFLA_VXLAN_REMCSUM_RX: linux__bindgen_ty_23 = 22;
3427pub const LINUX_IFLA_VXLAN_GBP: linux__bindgen_ty_23 = 23;
3428pub const LINUX_IFLA_VXLAN_REMCSUM_NOPARTIAL: linux__bindgen_ty_23 = 24;
3429pub const LINUX_IFLA_VXLAN_COLLECT_METADATA: linux__bindgen_ty_23 = 25;
3430pub const LINUX_IFLA_VXLAN_LABEL: linux__bindgen_ty_23 = 26;
3431pub const LINUX_IFLA_VXLAN_GPE: linux__bindgen_ty_23 = 27;
3432pub const LINUX_IFLA_VXLAN_TTL_INHERIT: linux__bindgen_ty_23 = 28;
3433pub const LINUX_IFLA_VXLAN_DF: linux__bindgen_ty_23 = 29;
3434pub const LINUX_IFLA_VXLAN_VNIFILTER: linux__bindgen_ty_23 = 30;
3435pub const LINUX_IFLA_VXLAN_LOCALBYPASS: linux__bindgen_ty_23 = 31;
3436pub const LINUX_IFLA_VXLAN_LABEL_POLICY: linux__bindgen_ty_23 = 32;
3437pub const LINUX___IFLA_VXLAN_MAX: linux__bindgen_ty_23 = 33;
3438pub type linux__bindgen_ty_23 = ::core::ffi::c_uint;
3439pub const LINUX_IFLA_GENEVE_UNSPEC: linux__bindgen_ty_24 = 0;
3440pub const LINUX_IFLA_GENEVE_ID: linux__bindgen_ty_24 = 1;
3441pub const LINUX_IFLA_GENEVE_REMOTE: linux__bindgen_ty_24 = 2;
3442pub const LINUX_IFLA_GENEVE_TTL: linux__bindgen_ty_24 = 3;
3443pub const LINUX_IFLA_GENEVE_TOS: linux__bindgen_ty_24 = 4;
3444pub const LINUX_IFLA_GENEVE_PORT: linux__bindgen_ty_24 = 5;
3445pub const LINUX_IFLA_GENEVE_COLLECT_METADATA: linux__bindgen_ty_24 = 6;
3446pub const LINUX_IFLA_GENEVE_REMOTE6: linux__bindgen_ty_24 = 7;
3447pub const LINUX_IFLA_GENEVE_UDP_CSUM: linux__bindgen_ty_24 = 8;
3448pub const LINUX_IFLA_GENEVE_UDP_ZERO_CSUM6_TX: linux__bindgen_ty_24 = 9;
3449pub const LINUX_IFLA_GENEVE_UDP_ZERO_CSUM6_RX: linux__bindgen_ty_24 = 10;
3450pub const LINUX_IFLA_GENEVE_LABEL: linux__bindgen_ty_24 = 11;
3451pub const LINUX_IFLA_GENEVE_TTL_INHERIT: linux__bindgen_ty_24 = 12;
3452pub const LINUX_IFLA_GENEVE_DF: linux__bindgen_ty_24 = 13;
3453pub const LINUX_IFLA_GENEVE_INNER_PROTO_INHERIT: linux__bindgen_ty_24 = 14;
3454pub const LINUX___IFLA_GENEVE_MAX: linux__bindgen_ty_24 = 15;
3455pub type linux__bindgen_ty_24 = ::core::ffi::c_uint;
3456pub const LINUX_IFLA_BAREUDP_UNSPEC: linux__bindgen_ty_25 = 0;
3457pub const LINUX_IFLA_BAREUDP_PORT: linux__bindgen_ty_25 = 1;
3458pub const LINUX_IFLA_BAREUDP_ETHERTYPE: linux__bindgen_ty_25 = 2;
3459pub const LINUX_IFLA_BAREUDP_SRCPORT_MIN: linux__bindgen_ty_25 = 3;
3460pub const LINUX_IFLA_BAREUDP_MULTIPROTO_MODE: linux__bindgen_ty_25 = 4;
3461pub const LINUX___IFLA_BAREUDP_MAX: linux__bindgen_ty_25 = 5;
3462pub type linux__bindgen_ty_25 = ::core::ffi::c_uint;
3463pub const LINUX_IFLA_PPP_UNSPEC: linux__bindgen_ty_26 = 0;
3464pub const LINUX_IFLA_PPP_DEV_FD: linux__bindgen_ty_26 = 1;
3465pub const LINUX___IFLA_PPP_MAX: linux__bindgen_ty_26 = 2;
3466pub type linux__bindgen_ty_26 = ::core::ffi::c_uint;
3467pub const LINUX_IFLA_GTP_UNSPEC: linux__bindgen_ty_27 = 0;
3468pub const LINUX_IFLA_GTP_FD0: linux__bindgen_ty_27 = 1;
3469pub const LINUX_IFLA_GTP_FD1: linux__bindgen_ty_27 = 2;
3470pub const LINUX_IFLA_GTP_PDP_HASHSIZE: linux__bindgen_ty_27 = 3;
3471pub const LINUX_IFLA_GTP_ROLE: linux__bindgen_ty_27 = 4;
3472pub const LINUX_IFLA_GTP_CREATE_SOCKETS: linux__bindgen_ty_27 = 5;
3473pub const LINUX_IFLA_GTP_RESTART_COUNT: linux__bindgen_ty_27 = 6;
3474pub const LINUX_IFLA_GTP_LOCAL: linux__bindgen_ty_27 = 7;
3475pub const LINUX_IFLA_GTP_LOCAL6: linux__bindgen_ty_27 = 8;
3476pub const LINUX___IFLA_GTP_MAX: linux__bindgen_ty_27 = 9;
3477pub type linux__bindgen_ty_27 = ::core::ffi::c_uint;
3478pub const LINUX_IFLA_BOND_UNSPEC: linux__bindgen_ty_28 = 0;
3479pub const LINUX_IFLA_BOND_MODE: linux__bindgen_ty_28 = 1;
3480pub const LINUX_IFLA_BOND_ACTIVE_SLAVE: linux__bindgen_ty_28 = 2;
3481pub const LINUX_IFLA_BOND_MIIMON: linux__bindgen_ty_28 = 3;
3482pub const LINUX_IFLA_BOND_UPDELAY: linux__bindgen_ty_28 = 4;
3483pub const LINUX_IFLA_BOND_DOWNDELAY: linux__bindgen_ty_28 = 5;
3484pub const LINUX_IFLA_BOND_USE_CARRIER: linux__bindgen_ty_28 = 6;
3485pub const LINUX_IFLA_BOND_ARP_INTERVAL: linux__bindgen_ty_28 = 7;
3486pub const LINUX_IFLA_BOND_ARP_IP_TARGET: linux__bindgen_ty_28 = 8;
3487pub const LINUX_IFLA_BOND_ARP_VALIDATE: linux__bindgen_ty_28 = 9;
3488pub const LINUX_IFLA_BOND_ARP_ALL_TARGETS: linux__bindgen_ty_28 = 10;
3489pub const LINUX_IFLA_BOND_PRIMARY: linux__bindgen_ty_28 = 11;
3490pub const LINUX_IFLA_BOND_PRIMARY_RESELECT: linux__bindgen_ty_28 = 12;
3491pub const LINUX_IFLA_BOND_FAIL_OVER_MAC: linux__bindgen_ty_28 = 13;
3492pub const LINUX_IFLA_BOND_XMIT_HASH_POLICY: linux__bindgen_ty_28 = 14;
3493pub const LINUX_IFLA_BOND_RESEND_IGMP: linux__bindgen_ty_28 = 15;
3494pub const LINUX_IFLA_BOND_NUM_PEER_NOTIF: linux__bindgen_ty_28 = 16;
3495pub const LINUX_IFLA_BOND_ALL_SLAVES_ACTIVE: linux__bindgen_ty_28 = 17;
3496pub const LINUX_IFLA_BOND_MIN_LINKS: linux__bindgen_ty_28 = 18;
3497pub const LINUX_IFLA_BOND_LP_INTERVAL: linux__bindgen_ty_28 = 19;
3498pub const LINUX_IFLA_BOND_PACKETS_PER_SLAVE: linux__bindgen_ty_28 = 20;
3499pub const LINUX_IFLA_BOND_AD_LACP_RATE: linux__bindgen_ty_28 = 21;
3500pub const LINUX_IFLA_BOND_AD_SELECT: linux__bindgen_ty_28 = 22;
3501pub const LINUX_IFLA_BOND_AD_INFO: linux__bindgen_ty_28 = 23;
3502pub const LINUX_IFLA_BOND_AD_ACTOR_SYS_PRIO: linux__bindgen_ty_28 = 24;
3503pub const LINUX_IFLA_BOND_AD_USER_PORT_KEY: linux__bindgen_ty_28 = 25;
3504pub const LINUX_IFLA_BOND_AD_ACTOR_SYSTEM: linux__bindgen_ty_28 = 26;
3505pub const LINUX_IFLA_BOND_TLB_DYNAMIC_LB: linux__bindgen_ty_28 = 27;
3506pub const LINUX_IFLA_BOND_PEER_NOTIF_DELAY: linux__bindgen_ty_28 = 28;
3507pub const LINUX_IFLA_BOND_AD_LACP_ACTIVE: linux__bindgen_ty_28 = 29;
3508pub const LINUX_IFLA_BOND_MISSED_MAX: linux__bindgen_ty_28 = 30;
3509pub const LINUX_IFLA_BOND_NS_IP6_TARGET: linux__bindgen_ty_28 = 31;
3510pub const LINUX_IFLA_BOND_COUPLED_CONTROL: linux__bindgen_ty_28 = 32;
3511pub const LINUX___IFLA_BOND_MAX: linux__bindgen_ty_28 = 33;
3512pub type linux__bindgen_ty_28 = ::core::ffi::c_uint;
3513pub const LINUX_IFLA_BOND_AD_INFO_UNSPEC: linux__bindgen_ty_29 = 0;
3514pub const LINUX_IFLA_BOND_AD_INFO_AGGREGATOR: linux__bindgen_ty_29 = 1;
3515pub const LINUX_IFLA_BOND_AD_INFO_NUM_PORTS: linux__bindgen_ty_29 = 2;
3516pub const LINUX_IFLA_BOND_AD_INFO_ACTOR_KEY: linux__bindgen_ty_29 = 3;
3517pub const LINUX_IFLA_BOND_AD_INFO_PARTNER_KEY: linux__bindgen_ty_29 = 4;
3518pub const LINUX_IFLA_BOND_AD_INFO_PARTNER_MAC: linux__bindgen_ty_29 = 5;
3519pub const LINUX___IFLA_BOND_AD_INFO_MAX: linux__bindgen_ty_29 = 6;
3520pub type linux__bindgen_ty_29 = ::core::ffi::c_uint;
3521pub const LINUX_IFLA_BOND_SLAVE_UNSPEC: linux__bindgen_ty_30 = 0;
3522pub const LINUX_IFLA_BOND_SLAVE_STATE: linux__bindgen_ty_30 = 1;
3523pub const LINUX_IFLA_BOND_SLAVE_MII_STATUS: linux__bindgen_ty_30 = 2;
3524pub const LINUX_IFLA_BOND_SLAVE_LINK_FAILURE_COUNT: linux__bindgen_ty_30 = 3;
3525pub const LINUX_IFLA_BOND_SLAVE_PERM_HWADDR: linux__bindgen_ty_30 = 4;
3526pub const LINUX_IFLA_BOND_SLAVE_QUEUE_ID: linux__bindgen_ty_30 = 5;
3527pub const LINUX_IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: linux__bindgen_ty_30 = 6;
3528pub const LINUX_IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: linux__bindgen_ty_30 = 7;
3529pub const LINUX_IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: linux__bindgen_ty_30 = 8;
3530pub const LINUX_IFLA_BOND_SLAVE_PRIO: linux__bindgen_ty_30 = 9;
3531pub const LINUX___IFLA_BOND_SLAVE_MAX: linux__bindgen_ty_30 = 10;
3532pub type linux__bindgen_ty_30 = ::core::ffi::c_uint;
3533pub const LINUX_IFLA_VF_INFO_UNSPEC: linux__bindgen_ty_31 = 0;
3534pub const LINUX_IFLA_VF_INFO: linux__bindgen_ty_31 = 1;
3535pub const LINUX___IFLA_VF_INFO_MAX: linux__bindgen_ty_31 = 2;
3536pub type linux__bindgen_ty_31 = ::core::ffi::c_uint;
3537pub const LINUX_IFLA_VF_UNSPEC: linux__bindgen_ty_32 = 0;
3538pub const LINUX_IFLA_VF_MAC: linux__bindgen_ty_32 = 1;
3539pub const LINUX_IFLA_VF_VLAN: linux__bindgen_ty_32 = 2;
3540pub const LINUX_IFLA_VF_TX_RATE: linux__bindgen_ty_32 = 3;
3541pub const LINUX_IFLA_VF_SPOOFCHK: linux__bindgen_ty_32 = 4;
3542pub const LINUX_IFLA_VF_LINK_STATE: linux__bindgen_ty_32 = 5;
3543pub const LINUX_IFLA_VF_RATE: linux__bindgen_ty_32 = 6;
3544pub const LINUX_IFLA_VF_RSS_QUERY_EN: linux__bindgen_ty_32 = 7;
3545pub const LINUX_IFLA_VF_STATS: linux__bindgen_ty_32 = 8;
3546pub const LINUX_IFLA_VF_TRUST: linux__bindgen_ty_32 = 9;
3547pub const LINUX_IFLA_VF_IB_NODE_GUID: linux__bindgen_ty_32 = 10;
3548pub const LINUX_IFLA_VF_IB_PORT_GUID: linux__bindgen_ty_32 = 11;
3549pub const LINUX_IFLA_VF_VLAN_LIST: linux__bindgen_ty_32 = 12;
3550pub const LINUX_IFLA_VF_BROADCAST: linux__bindgen_ty_32 = 13;
3551pub const LINUX___IFLA_VF_MAX: linux__bindgen_ty_32 = 14;
3552pub type linux__bindgen_ty_32 = ::core::ffi::c_uint;
3553pub const LINUX_IFLA_VF_VLAN_INFO_UNSPEC: linux__bindgen_ty_33 = 0;
3554pub const LINUX_IFLA_VF_VLAN_INFO: linux__bindgen_ty_33 = 1;
3555pub const LINUX___IFLA_VF_VLAN_INFO_MAX: linux__bindgen_ty_33 = 2;
3556pub type linux__bindgen_ty_33 = ::core::ffi::c_uint;
3557pub const LINUX_IFLA_VF_LINK_STATE_AUTO: linux__bindgen_ty_34 = 0;
3558pub const LINUX_IFLA_VF_LINK_STATE_ENABLE: linux__bindgen_ty_34 = 1;
3559pub const LINUX_IFLA_VF_LINK_STATE_DISABLE: linux__bindgen_ty_34 = 2;
3560pub const LINUX___IFLA_VF_LINK_STATE_MAX: linux__bindgen_ty_34 = 3;
3561pub type linux__bindgen_ty_34 = ::core::ffi::c_uint;
3562pub const LINUX_IFLA_VF_STATS_RX_PACKETS: linux__bindgen_ty_35 = 0;
3563pub const LINUX_IFLA_VF_STATS_TX_PACKETS: linux__bindgen_ty_35 = 1;
3564pub const LINUX_IFLA_VF_STATS_RX_BYTES: linux__bindgen_ty_35 = 2;
3565pub const LINUX_IFLA_VF_STATS_TX_BYTES: linux__bindgen_ty_35 = 3;
3566pub const LINUX_IFLA_VF_STATS_BROADCAST: linux__bindgen_ty_35 = 4;
3567pub const LINUX_IFLA_VF_STATS_MULTICAST: linux__bindgen_ty_35 = 5;
3568pub const LINUX_IFLA_VF_STATS_PAD: linux__bindgen_ty_35 = 6;
3569pub const LINUX_IFLA_VF_STATS_RX_DROPPED: linux__bindgen_ty_35 = 7;
3570pub const LINUX_IFLA_VF_STATS_TX_DROPPED: linux__bindgen_ty_35 = 8;
3571pub const LINUX___IFLA_VF_STATS_MAX: linux__bindgen_ty_35 = 9;
3572pub type linux__bindgen_ty_35 = ::core::ffi::c_uint;
3573pub const LINUX_IFLA_VF_PORT_UNSPEC: linux__bindgen_ty_36 = 0;
3574pub const LINUX_IFLA_VF_PORT: linux__bindgen_ty_36 = 1;
3575pub const LINUX___IFLA_VF_PORT_MAX: linux__bindgen_ty_36 = 2;
3576pub type linux__bindgen_ty_36 = ::core::ffi::c_uint;
3577pub const LINUX_IFLA_PORT_UNSPEC: linux__bindgen_ty_37 = 0;
3578pub const LINUX_IFLA_PORT_VF: linux__bindgen_ty_37 = 1;
3579pub const LINUX_IFLA_PORT_PROFILE: linux__bindgen_ty_37 = 2;
3580pub const LINUX_IFLA_PORT_VSI_TYPE: linux__bindgen_ty_37 = 3;
3581pub const LINUX_IFLA_PORT_INSTANCE_UUID: linux__bindgen_ty_37 = 4;
3582pub const LINUX_IFLA_PORT_HOST_UUID: linux__bindgen_ty_37 = 5;
3583pub const LINUX_IFLA_PORT_REQUEST: linux__bindgen_ty_37 = 6;
3584pub const LINUX_IFLA_PORT_RESPONSE: linux__bindgen_ty_37 = 7;
3585pub const LINUX___IFLA_PORT_MAX: linux__bindgen_ty_37 = 8;
3586pub type linux__bindgen_ty_37 = ::core::ffi::c_uint;
3587pub const LINUX_PORT_REQUEST_PREASSOCIATE: linux__bindgen_ty_38 = 0;
3588pub const LINUX_PORT_REQUEST_PREASSOCIATE_RR: linux__bindgen_ty_38 = 1;
3589pub const LINUX_PORT_REQUEST_ASSOCIATE: linux__bindgen_ty_38 = 2;
3590pub const LINUX_PORT_REQUEST_DISASSOCIATE: linux__bindgen_ty_38 = 3;
3591pub type linux__bindgen_ty_38 = ::core::ffi::c_uint;
3592pub const LINUX_PORT_VDP_RESPONSE_SUCCESS: linux__bindgen_ty_39 = 0;
3593pub const LINUX_PORT_VDP_RESPONSE_INVALID_FORMAT: linux__bindgen_ty_39 = 1;
3594pub const LINUX_PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES: linux__bindgen_ty_39 = 2;
3595pub const LINUX_PORT_VDP_RESPONSE_UNUSED_VTID: linux__bindgen_ty_39 = 3;
3596pub const LINUX_PORT_VDP_RESPONSE_VTID_VIOLATION: linux__bindgen_ty_39 = 4;
3597pub const LINUX_PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION: linux__bindgen_ty_39 = 5;
3598pub const LINUX_PORT_VDP_RESPONSE_OUT_OF_SYNC: linux__bindgen_ty_39 = 6;
3599pub const LINUX_PORT_PROFILE_RESPONSE_SUCCESS: linux__bindgen_ty_39 = 256;
3600pub const LINUX_PORT_PROFILE_RESPONSE_INPROGRESS: linux__bindgen_ty_39 = 257;
3601pub const LINUX_PORT_PROFILE_RESPONSE_INVALID: linux__bindgen_ty_39 = 258;
3602pub const LINUX_PORT_PROFILE_RESPONSE_BADSTATE: linux__bindgen_ty_39 = 259;
3603pub const LINUX_PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES: linux__bindgen_ty_39 = 260;
3604pub const LINUX_PORT_PROFILE_RESPONSE_ERROR: linux__bindgen_ty_39 = 261;
3605pub type linux__bindgen_ty_39 = ::core::ffi::c_uint;
3606pub const LINUX_IFLA_IPOIB_UNSPEC: linux__bindgen_ty_40 = 0;
3607pub const LINUX_IFLA_IPOIB_PKEY: linux__bindgen_ty_40 = 1;
3608pub const LINUX_IFLA_IPOIB_MODE: linux__bindgen_ty_40 = 2;
3609pub const LINUX_IFLA_IPOIB_UMCAST: linux__bindgen_ty_40 = 3;
3610pub const LINUX___IFLA_IPOIB_MAX: linux__bindgen_ty_40 = 4;
3611pub type linux__bindgen_ty_40 = ::core::ffi::c_uint;
3612pub const LINUX_IPOIB_MODE_DATAGRAM: linux__bindgen_ty_41 = 0;
3613pub const LINUX_IPOIB_MODE_CONNECTED: linux__bindgen_ty_41 = 1;
3614pub type linux__bindgen_ty_41 = ::core::ffi::c_uint;
3615pub const LINUX_HSR_PROTOCOL_HSR: linux__bindgen_ty_42 = 0;
3616pub const LINUX_HSR_PROTOCOL_PRP: linux__bindgen_ty_42 = 1;
3617pub const LINUX_HSR_PROTOCOL_MAX: linux__bindgen_ty_42 = 2;
3618pub type linux__bindgen_ty_42 = ::core::ffi::c_uint;
3619pub const LINUX_IFLA_HSR_UNSPEC: linux__bindgen_ty_43 = 0;
3620pub const LINUX_IFLA_HSR_SLAVE1: linux__bindgen_ty_43 = 1;
3621pub const LINUX_IFLA_HSR_SLAVE2: linux__bindgen_ty_43 = 2;
3622pub const LINUX_IFLA_HSR_MULTICAST_SPEC: linux__bindgen_ty_43 = 3;
3623pub const LINUX_IFLA_HSR_SUPERVISION_ADDR: linux__bindgen_ty_43 = 4;
3624pub const LINUX_IFLA_HSR_SEQ_NR: linux__bindgen_ty_43 = 5;
3625pub const LINUX_IFLA_HSR_VERSION: linux__bindgen_ty_43 = 6;
3626pub const LINUX_IFLA_HSR_PROTOCOL: linux__bindgen_ty_43 = 7;
3627pub const LINUX_IFLA_HSR_INTERLINK: linux__bindgen_ty_43 = 8;
3628pub const LINUX___IFLA_HSR_MAX: linux__bindgen_ty_43 = 9;
3629pub type linux__bindgen_ty_43 = ::core::ffi::c_uint;
3630pub const LINUX_IFLA_STATS_UNSPEC: linux__bindgen_ty_44 = 0;
3631pub const LINUX_IFLA_STATS_LINK_64: linux__bindgen_ty_44 = 1;
3632pub const LINUX_IFLA_STATS_LINK_XSTATS: linux__bindgen_ty_44 = 2;
3633pub const LINUX_IFLA_STATS_LINK_XSTATS_SLAVE: linux__bindgen_ty_44 = 3;
3634pub const LINUX_IFLA_STATS_LINK_OFFLOAD_XSTATS: linux__bindgen_ty_44 = 4;
3635pub const LINUX_IFLA_STATS_AF_SPEC: linux__bindgen_ty_44 = 5;
3636pub const LINUX___IFLA_STATS_MAX: linux__bindgen_ty_44 = 6;
3637pub type linux__bindgen_ty_44 = ::core::ffi::c_uint;
3638pub const LINUX_IFLA_STATS_GETSET_UNSPEC: linux__bindgen_ty_45 = 0;
3639pub const LINUX_IFLA_STATS_GET_FILTERS: linux__bindgen_ty_45 = 1;
3640pub const LINUX_IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS: linux__bindgen_ty_45 = 2;
3641pub const LINUX___IFLA_STATS_GETSET_MAX: linux__bindgen_ty_45 = 3;
3642pub type linux__bindgen_ty_45 = ::core::ffi::c_uint;
3643pub const LINUX_LINK_XSTATS_TYPE_UNSPEC: linux__bindgen_ty_46 = 0;
3644pub const LINUX_LINK_XSTATS_TYPE_BRIDGE: linux__bindgen_ty_46 = 1;
3645pub const LINUX_LINK_XSTATS_TYPE_BOND: linux__bindgen_ty_46 = 2;
3646pub const LINUX___LINK_XSTATS_TYPE_MAX: linux__bindgen_ty_46 = 3;
3647pub type linux__bindgen_ty_46 = ::core::ffi::c_uint;
3648pub const LINUX_IFLA_OFFLOAD_XSTATS_UNSPEC: linux__bindgen_ty_47 = 0;
3649pub const LINUX_IFLA_OFFLOAD_XSTATS_CPU_HIT: linux__bindgen_ty_47 = 1;
3650pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO: linux__bindgen_ty_47 = 2;
3651pub const LINUX_IFLA_OFFLOAD_XSTATS_L3_STATS: linux__bindgen_ty_47 = 3;
3652pub const LINUX___IFLA_OFFLOAD_XSTATS_MAX: linux__bindgen_ty_47 = 4;
3653pub type linux__bindgen_ty_47 = ::core::ffi::c_uint;
3654pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC: linux__bindgen_ty_48 = 0;
3655pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST: linux__bindgen_ty_48 = 1;
3656pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED: linux__bindgen_ty_48 = 2;
3657pub const LINUX___IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX: linux__bindgen_ty_48 = 3;
3658pub type linux__bindgen_ty_48 = ::core::ffi::c_uint;
3659pub const LINUX_XDP_ATTACHED_NONE: linux__bindgen_ty_49 = 0;
3660pub const LINUX_XDP_ATTACHED_DRV: linux__bindgen_ty_49 = 1;
3661pub const LINUX_XDP_ATTACHED_SKB: linux__bindgen_ty_49 = 2;
3662pub const LINUX_XDP_ATTACHED_HW: linux__bindgen_ty_49 = 3;
3663pub const LINUX_XDP_ATTACHED_MULTI: linux__bindgen_ty_49 = 4;
3664pub type linux__bindgen_ty_49 = ::core::ffi::c_uint;
3665pub const LINUX_IFLA_XDP_UNSPEC: linux__bindgen_ty_50 = 0;
3666pub const LINUX_IFLA_XDP_FD: linux__bindgen_ty_50 = 1;
3667pub const LINUX_IFLA_XDP_ATTACHED: linux__bindgen_ty_50 = 2;
3668pub const LINUX_IFLA_XDP_FLAGS: linux__bindgen_ty_50 = 3;
3669pub const LINUX_IFLA_XDP_PROG_ID: linux__bindgen_ty_50 = 4;
3670pub const LINUX_IFLA_XDP_DRV_PROG_ID: linux__bindgen_ty_50 = 5;
3671pub const LINUX_IFLA_XDP_SKB_PROG_ID: linux__bindgen_ty_50 = 6;
3672pub const LINUX_IFLA_XDP_HW_PROG_ID: linux__bindgen_ty_50 = 7;
3673pub const LINUX_IFLA_XDP_EXPECTED_FD: linux__bindgen_ty_50 = 8;
3674pub const LINUX___IFLA_XDP_MAX: linux__bindgen_ty_50 = 9;
3675pub type linux__bindgen_ty_50 = ::core::ffi::c_uint;
3676pub const LINUX_IFLA_EVENT_NONE: linux__bindgen_ty_51 = 0;
3677pub const LINUX_IFLA_EVENT_REBOOT: linux__bindgen_ty_51 = 1;
3678pub const LINUX_IFLA_EVENT_FEATURES: linux__bindgen_ty_51 = 2;
3679pub const LINUX_IFLA_EVENT_BONDING_FAILOVER: linux__bindgen_ty_51 = 3;
3680pub const LINUX_IFLA_EVENT_NOTIFY_PEERS: linux__bindgen_ty_51 = 4;
3681pub const LINUX_IFLA_EVENT_IGMP_RESEND: linux__bindgen_ty_51 = 5;
3682pub const LINUX_IFLA_EVENT_BONDING_OPTIONS: linux__bindgen_ty_51 = 6;
3683pub type linux__bindgen_ty_51 = ::core::ffi::c_uint;
3684pub const LINUX_IFLA_TUN_UNSPEC: linux__bindgen_ty_52 = 0;
3685pub const LINUX_IFLA_TUN_OWNER: linux__bindgen_ty_52 = 1;
3686pub const LINUX_IFLA_TUN_GROUP: linux__bindgen_ty_52 = 2;
3687pub const LINUX_IFLA_TUN_TYPE: linux__bindgen_ty_52 = 3;
3688pub const LINUX_IFLA_TUN_PI: linux__bindgen_ty_52 = 4;
3689pub const LINUX_IFLA_TUN_VNET_HDR: linux__bindgen_ty_52 = 5;
3690pub const LINUX_IFLA_TUN_PERSIST: linux__bindgen_ty_52 = 6;
3691pub const LINUX_IFLA_TUN_MULTI_QUEUE: linux__bindgen_ty_52 = 7;
3692pub const LINUX_IFLA_TUN_NUM_QUEUES: linux__bindgen_ty_52 = 8;
3693pub const LINUX_IFLA_TUN_NUM_DISABLED_QUEUES: linux__bindgen_ty_52 = 9;
3694pub const LINUX___IFLA_TUN_MAX: linux__bindgen_ty_52 = 10;
3695pub type linux__bindgen_ty_52 = ::core::ffi::c_uint;
3696pub const LINUX_IFLA_RMNET_UNSPEC: linux__bindgen_ty_53 = 0;
3697pub const LINUX_IFLA_RMNET_MUX_ID: linux__bindgen_ty_53 = 1;
3698pub const LINUX_IFLA_RMNET_FLAGS: linux__bindgen_ty_53 = 2;
3699pub const LINUX___IFLA_RMNET_MAX: linux__bindgen_ty_53 = 3;
3700pub type linux__bindgen_ty_53 = ::core::ffi::c_uint;
3701pub const LINUX_IFLA_MCTP_UNSPEC: linux__bindgen_ty_54 = 0;
3702pub const LINUX_IFLA_MCTP_NET: linux__bindgen_ty_54 = 1;
3703pub const LINUX___IFLA_MCTP_MAX: linux__bindgen_ty_54 = 2;
3704pub type linux__bindgen_ty_54 = ::core::ffi::c_uint;
3705pub const LINUX_IFLA_DSA_UNSPEC: linux__bindgen_ty_55 = 0;
3706pub const LINUX_IFLA_DSA_CONDUIT: linux__bindgen_ty_55 = 1;
3707pub const LINUX_IFLA_DSA_MASTER: linux__bindgen_ty_55 = 1;
3708pub const LINUX___IFLA_DSA_MAX: linux__bindgen_ty_55 = 2;
3709pub type linux__bindgen_ty_55 = ::core::ffi::c_uint;
3710#[repr(C)]
3711#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3712pub struct linux_ifaddrmsg {
3713 pub ifa_family: linux___u8,
3714 pub ifa_prefixlen: linux___u8,
3715 pub ifa_flags: linux___u8,
3716 pub ifa_scope: linux___u8,
3717 pub ifa_index: linux___u32,
3718}
3719#[test]
3720fn bindgen_test_layout_ifaddrmsg() {
3721 const UNINIT: ::core::mem::MaybeUninit<linux_ifaddrmsg> = ::core::mem::MaybeUninit::uninit();
3722 let ptr = UNINIT.as_ptr();
3723 assert_eq!(
3724 ::core::mem::size_of::<linux_ifaddrmsg>(),
3725 8usize,
3726 concat!("Size of: ", stringify!(linux_ifaddrmsg))
3727 );
3728 assert_eq!(
3729 ::core::mem::align_of::<linux_ifaddrmsg>(),
3730 4usize,
3731 concat!("Alignment of ", stringify!(linux_ifaddrmsg))
3732 );
3733 assert_eq!(
3734 unsafe { ::core::ptr::addr_of!((*ptr).ifa_family) as usize - ptr as usize },
3735 0usize,
3736 concat!(
3737 "Offset of field: ",
3738 stringify!(linux_ifaddrmsg),
3739 "::",
3740 stringify!(ifa_family)
3741 )
3742 );
3743 assert_eq!(
3744 unsafe { ::core::ptr::addr_of!((*ptr).ifa_prefixlen) as usize - ptr as usize },
3745 1usize,
3746 concat!(
3747 "Offset of field: ",
3748 stringify!(linux_ifaddrmsg),
3749 "::",
3750 stringify!(ifa_prefixlen)
3751 )
3752 );
3753 assert_eq!(
3754 unsafe { ::core::ptr::addr_of!((*ptr).ifa_flags) as usize - ptr as usize },
3755 2usize,
3756 concat!(
3757 "Offset of field: ",
3758 stringify!(linux_ifaddrmsg),
3759 "::",
3760 stringify!(ifa_flags)
3761 )
3762 );
3763 assert_eq!(
3764 unsafe { ::core::ptr::addr_of!((*ptr).ifa_scope) as usize - ptr as usize },
3765 3usize,
3766 concat!(
3767 "Offset of field: ",
3768 stringify!(linux_ifaddrmsg),
3769 "::",
3770 stringify!(ifa_scope)
3771 )
3772 );
3773 assert_eq!(
3774 unsafe { ::core::ptr::addr_of!((*ptr).ifa_index) as usize - ptr as usize },
3775 4usize,
3776 concat!(
3777 "Offset of field: ",
3778 stringify!(linux_ifaddrmsg),
3779 "::",
3780 stringify!(ifa_index)
3781 )
3782 );
3783}
3784pub const LINUX_IFA_UNSPEC: linux__bindgen_ty_56 = 0;
3785pub const LINUX_IFA_ADDRESS: linux__bindgen_ty_56 = 1;
3786pub const LINUX_IFA_LOCAL: linux__bindgen_ty_56 = 2;
3787pub const LINUX_IFA_LABEL: linux__bindgen_ty_56 = 3;
3788pub const LINUX_IFA_BROADCAST: linux__bindgen_ty_56 = 4;
3789pub const LINUX_IFA_ANYCAST: linux__bindgen_ty_56 = 5;
3790pub const LINUX_IFA_CACHEINFO: linux__bindgen_ty_56 = 6;
3791pub const LINUX_IFA_MULTICAST: linux__bindgen_ty_56 = 7;
3792pub const LINUX_IFA_FLAGS: linux__bindgen_ty_56 = 8;
3793pub const LINUX_IFA_RT_PRIORITY: linux__bindgen_ty_56 = 9;
3794pub const LINUX_IFA_TARGET_NETNSID: linux__bindgen_ty_56 = 10;
3795pub const LINUX_IFA_PROTO: linux__bindgen_ty_56 = 11;
3796pub const LINUX___IFA_MAX: linux__bindgen_ty_56 = 12;
3797pub type linux__bindgen_ty_56 = ::core::ffi::c_uint;
3798pub const LINUX_NDA_UNSPEC: linux__bindgen_ty_57 = 0;
3799pub const LINUX_NDA_DST: linux__bindgen_ty_57 = 1;
3800pub const LINUX_NDA_LLADDR: linux__bindgen_ty_57 = 2;
3801pub const LINUX_NDA_CACHEINFO: linux__bindgen_ty_57 = 3;
3802pub const LINUX_NDA_PROBES: linux__bindgen_ty_57 = 4;
3803pub const LINUX_NDA_VLAN: linux__bindgen_ty_57 = 5;
3804pub const LINUX_NDA_PORT: linux__bindgen_ty_57 = 6;
3805pub const LINUX_NDA_VNI: linux__bindgen_ty_57 = 7;
3806pub const LINUX_NDA_IFINDEX: linux__bindgen_ty_57 = 8;
3807pub const LINUX_NDA_MASTER: linux__bindgen_ty_57 = 9;
3808pub const LINUX_NDA_LINK_NETNSID: linux__bindgen_ty_57 = 10;
3809pub const LINUX_NDA_SRC_VNI: linux__bindgen_ty_57 = 11;
3810pub const LINUX_NDA_PROTOCOL: linux__bindgen_ty_57 = 12;
3811pub const LINUX_NDA_NH_ID: linux__bindgen_ty_57 = 13;
3812pub const LINUX_NDA_FDB_EXT_ATTRS: linux__bindgen_ty_57 = 14;
3813pub const LINUX_NDA_FLAGS_EXT: linux__bindgen_ty_57 = 15;
3814pub const LINUX_NDA_NDM_STATE_MASK: linux__bindgen_ty_57 = 16;
3815pub const LINUX_NDA_NDM_FLAGS_MASK: linux__bindgen_ty_57 = 17;
3816pub const LINUX___NDA_MAX: linux__bindgen_ty_57 = 18;
3817pub type linux__bindgen_ty_57 = ::core::ffi::c_uint;
3818pub const LINUX_NDTPA_UNSPEC: linux__bindgen_ty_58 = 0;
3819pub const LINUX_NDTPA_IFINDEX: linux__bindgen_ty_58 = 1;
3820pub const LINUX_NDTPA_REFCNT: linux__bindgen_ty_58 = 2;
3821pub const LINUX_NDTPA_REACHABLE_TIME: linux__bindgen_ty_58 = 3;
3822pub const LINUX_NDTPA_BASE_REACHABLE_TIME: linux__bindgen_ty_58 = 4;
3823pub const LINUX_NDTPA_RETRANS_TIME: linux__bindgen_ty_58 = 5;
3824pub const LINUX_NDTPA_GC_STALETIME: linux__bindgen_ty_58 = 6;
3825pub const LINUX_NDTPA_DELAY_PROBE_TIME: linux__bindgen_ty_58 = 7;
3826pub const LINUX_NDTPA_QUEUE_LEN: linux__bindgen_ty_58 = 8;
3827pub const LINUX_NDTPA_APP_PROBES: linux__bindgen_ty_58 = 9;
3828pub const LINUX_NDTPA_UCAST_PROBES: linux__bindgen_ty_58 = 10;
3829pub const LINUX_NDTPA_MCAST_PROBES: linux__bindgen_ty_58 = 11;
3830pub const LINUX_NDTPA_ANYCAST_DELAY: linux__bindgen_ty_58 = 12;
3831pub const LINUX_NDTPA_PROXY_DELAY: linux__bindgen_ty_58 = 13;
3832pub const LINUX_NDTPA_PROXY_QLEN: linux__bindgen_ty_58 = 14;
3833pub const LINUX_NDTPA_LOCKTIME: linux__bindgen_ty_58 = 15;
3834pub const LINUX_NDTPA_QUEUE_LENBYTES: linux__bindgen_ty_58 = 16;
3835pub const LINUX_NDTPA_MCAST_REPROBES: linux__bindgen_ty_58 = 17;
3836pub const LINUX_NDTPA_PAD: linux__bindgen_ty_58 = 18;
3837pub const LINUX_NDTPA_INTERVAL_PROBE_TIME_MS: linux__bindgen_ty_58 = 19;
3838pub const LINUX___NDTPA_MAX: linux__bindgen_ty_58 = 20;
3839pub type linux__bindgen_ty_58 = ::core::ffi::c_uint;
3840pub const LINUX_NDTA_UNSPEC: linux__bindgen_ty_59 = 0;
3841pub const LINUX_NDTA_NAME: linux__bindgen_ty_59 = 1;
3842pub const LINUX_NDTA_THRESH1: linux__bindgen_ty_59 = 2;
3843pub const LINUX_NDTA_THRESH2: linux__bindgen_ty_59 = 3;
3844pub const LINUX_NDTA_THRESH3: linux__bindgen_ty_59 = 4;
3845pub const LINUX_NDTA_CONFIG: linux__bindgen_ty_59 = 5;
3846pub const LINUX_NDTA_PARMS: linux__bindgen_ty_59 = 6;
3847pub const LINUX_NDTA_STATS: linux__bindgen_ty_59 = 7;
3848pub const LINUX_NDTA_GC_INTERVAL: linux__bindgen_ty_59 = 8;
3849pub const LINUX_NDTA_PAD: linux__bindgen_ty_59 = 9;
3850pub const LINUX___NDTA_MAX: linux__bindgen_ty_59 = 10;
3851pub type linux__bindgen_ty_59 = ::core::ffi::c_uint;
3852pub const LINUX_FDB_NOTIFY_BIT: linux__bindgen_ty_60 = 1;
3853pub const LINUX_FDB_NOTIFY_INACTIVE_BIT: linux__bindgen_ty_60 = 2;
3854pub type linux__bindgen_ty_60 = ::core::ffi::c_uint;
3855pub const LINUX_NFEA_UNSPEC: linux__bindgen_ty_61 = 0;
3856pub const LINUX_NFEA_ACTIVITY_NOTIFY: linux__bindgen_ty_61 = 1;
3857pub const LINUX_NFEA_DONT_REFRESH: linux__bindgen_ty_61 = 2;
3858pub const LINUX___NFEA_MAX: linux__bindgen_ty_61 = 3;
3859pub type linux__bindgen_ty_61 = ::core::ffi::c_uint;
3860pub const LINUX_RTM_BASE: linux__bindgen_ty_62 = 16;
3861pub const LINUX_RTM_NEWLINK: linux__bindgen_ty_62 = 16;
3862pub const LINUX_RTM_DELLINK: linux__bindgen_ty_62 = 17;
3863pub const LINUX_RTM_GETLINK: linux__bindgen_ty_62 = 18;
3864pub const LINUX_RTM_SETLINK: linux__bindgen_ty_62 = 19;
3865pub const LINUX_RTM_NEWADDR: linux__bindgen_ty_62 = 20;
3866pub const LINUX_RTM_DELADDR: linux__bindgen_ty_62 = 21;
3867pub const LINUX_RTM_GETADDR: linux__bindgen_ty_62 = 22;
3868pub const LINUX_RTM_NEWROUTE: linux__bindgen_ty_62 = 24;
3869pub const LINUX_RTM_DELROUTE: linux__bindgen_ty_62 = 25;
3870pub const LINUX_RTM_GETROUTE: linux__bindgen_ty_62 = 26;
3871pub const LINUX_RTM_NEWNEIGH: linux__bindgen_ty_62 = 28;
3872pub const LINUX_RTM_DELNEIGH: linux__bindgen_ty_62 = 29;
3873pub const LINUX_RTM_GETNEIGH: linux__bindgen_ty_62 = 30;
3874pub const LINUX_RTM_NEWRULE: linux__bindgen_ty_62 = 32;
3875pub const LINUX_RTM_DELRULE: linux__bindgen_ty_62 = 33;
3876pub const LINUX_RTM_GETRULE: linux__bindgen_ty_62 = 34;
3877pub const LINUX_RTM_NEWQDISC: linux__bindgen_ty_62 = 36;
3878pub const LINUX_RTM_DELQDISC: linux__bindgen_ty_62 = 37;
3879pub const LINUX_RTM_GETQDISC: linux__bindgen_ty_62 = 38;
3880pub const LINUX_RTM_NEWTCLASS: linux__bindgen_ty_62 = 40;
3881pub const LINUX_RTM_DELTCLASS: linux__bindgen_ty_62 = 41;
3882pub const LINUX_RTM_GETTCLASS: linux__bindgen_ty_62 = 42;
3883pub const LINUX_RTM_NEWTFILTER: linux__bindgen_ty_62 = 44;
3884pub const LINUX_RTM_DELTFILTER: linux__bindgen_ty_62 = 45;
3885pub const LINUX_RTM_GETTFILTER: linux__bindgen_ty_62 = 46;
3886pub const LINUX_RTM_NEWACTION: linux__bindgen_ty_62 = 48;
3887pub const LINUX_RTM_DELACTION: linux__bindgen_ty_62 = 49;
3888pub const LINUX_RTM_GETACTION: linux__bindgen_ty_62 = 50;
3889pub const LINUX_RTM_NEWPREFIX: linux__bindgen_ty_62 = 52;
3890pub const LINUX_RTM_GETMULTICAST: linux__bindgen_ty_62 = 58;
3891pub const LINUX_RTM_GETANYCAST: linux__bindgen_ty_62 = 62;
3892pub const LINUX_RTM_NEWNEIGHTBL: linux__bindgen_ty_62 = 64;
3893pub const LINUX_RTM_GETNEIGHTBL: linux__bindgen_ty_62 = 66;
3894pub const LINUX_RTM_SETNEIGHTBL: linux__bindgen_ty_62 = 67;
3895pub const LINUX_RTM_NEWNDUSEROPT: linux__bindgen_ty_62 = 68;
3896pub const LINUX_RTM_NEWADDRLABEL: linux__bindgen_ty_62 = 72;
3897pub const LINUX_RTM_DELADDRLABEL: linux__bindgen_ty_62 = 73;
3898pub const LINUX_RTM_GETADDRLABEL: linux__bindgen_ty_62 = 74;
3899pub const LINUX_RTM_GETDCB: linux__bindgen_ty_62 = 78;
3900pub const LINUX_RTM_SETDCB: linux__bindgen_ty_62 = 79;
3901pub const LINUX_RTM_NEWNETCONF: linux__bindgen_ty_62 = 80;
3902pub const LINUX_RTM_DELNETCONF: linux__bindgen_ty_62 = 81;
3903pub const LINUX_RTM_GETNETCONF: linux__bindgen_ty_62 = 82;
3904pub const LINUX_RTM_NEWMDB: linux__bindgen_ty_62 = 84;
3905pub const LINUX_RTM_DELMDB: linux__bindgen_ty_62 = 85;
3906pub const LINUX_RTM_GETMDB: linux__bindgen_ty_62 = 86;
3907pub const LINUX_RTM_NEWNSID: linux__bindgen_ty_62 = 88;
3908pub const LINUX_RTM_DELNSID: linux__bindgen_ty_62 = 89;
3909pub const LINUX_RTM_GETNSID: linux__bindgen_ty_62 = 90;
3910pub const LINUX_RTM_NEWSTATS: linux__bindgen_ty_62 = 92;
3911pub const LINUX_RTM_GETSTATS: linux__bindgen_ty_62 = 94;
3912pub const LINUX_RTM_SETSTATS: linux__bindgen_ty_62 = 95;
3913pub const LINUX_RTM_NEWCACHEREPORT: linux__bindgen_ty_62 = 96;
3914pub const LINUX_RTM_NEWCHAIN: linux__bindgen_ty_62 = 100;
3915pub const LINUX_RTM_DELCHAIN: linux__bindgen_ty_62 = 101;
3916pub const LINUX_RTM_GETCHAIN: linux__bindgen_ty_62 = 102;
3917pub const LINUX_RTM_NEWNEXTHOP: linux__bindgen_ty_62 = 104;
3918pub const LINUX_RTM_DELNEXTHOP: linux__bindgen_ty_62 = 105;
3919pub const LINUX_RTM_GETNEXTHOP: linux__bindgen_ty_62 = 106;
3920pub const LINUX_RTM_NEWLINKPROP: linux__bindgen_ty_62 = 108;
3921pub const LINUX_RTM_DELLINKPROP: linux__bindgen_ty_62 = 109;
3922pub const LINUX_RTM_GETLINKPROP: linux__bindgen_ty_62 = 110;
3923pub const LINUX_RTM_NEWVLAN: linux__bindgen_ty_62 = 112;
3924pub const LINUX_RTM_DELVLAN: linux__bindgen_ty_62 = 113;
3925pub const LINUX_RTM_GETVLAN: linux__bindgen_ty_62 = 114;
3926pub const LINUX_RTM_NEWNEXTHOPBUCKET: linux__bindgen_ty_62 = 116;
3927pub const LINUX_RTM_DELNEXTHOPBUCKET: linux__bindgen_ty_62 = 117;
3928pub const LINUX_RTM_GETNEXTHOPBUCKET: linux__bindgen_ty_62 = 118;
3929pub const LINUX_RTM_NEWTUNNEL: linux__bindgen_ty_62 = 120;
3930pub const LINUX_RTM_DELTUNNEL: linux__bindgen_ty_62 = 121;
3931pub const LINUX_RTM_GETTUNNEL: linux__bindgen_ty_62 = 122;
3932pub const LINUX___RTM_MAX: linux__bindgen_ty_62 = 123;
3933pub type linux__bindgen_ty_62 = ::core::ffi::c_uint;
3934pub const LINUX_RTN_UNSPEC: linux__bindgen_ty_63 = 0;
3935pub const LINUX_RTN_UNICAST: linux__bindgen_ty_63 = 1;
3936pub const LINUX_RTN_LOCAL: linux__bindgen_ty_63 = 2;
3937pub const LINUX_RTN_BROADCAST: linux__bindgen_ty_63 = 3;
3938pub const LINUX_RTN_ANYCAST: linux__bindgen_ty_63 = 4;
3939pub const LINUX_RTN_MULTICAST: linux__bindgen_ty_63 = 5;
3940pub const LINUX_RTN_BLACKHOLE: linux__bindgen_ty_63 = 6;
3941pub const LINUX_RTN_UNREACHABLE: linux__bindgen_ty_63 = 7;
3942pub const LINUX_RTN_PROHIBIT: linux__bindgen_ty_63 = 8;
3943pub const LINUX_RTN_THROW: linux__bindgen_ty_63 = 9;
3944pub const LINUX_RTN_NAT: linux__bindgen_ty_63 = 10;
3945pub const LINUX_RTN_XRESOLVE: linux__bindgen_ty_63 = 11;
3946pub const LINUX___RTN_MAX: linux__bindgen_ty_63 = 12;
3947pub type linux__bindgen_ty_63 = ::core::ffi::c_uint;
3948pub const LINUX_RTAX_UNSPEC: linux__bindgen_ty_64 = 0;
3949pub const LINUX_RTAX_LOCK: linux__bindgen_ty_64 = 1;
3950pub const LINUX_RTAX_MTU: linux__bindgen_ty_64 = 2;
3951pub const LINUX_RTAX_WINDOW: linux__bindgen_ty_64 = 3;
3952pub const LINUX_RTAX_RTT: linux__bindgen_ty_64 = 4;
3953pub const LINUX_RTAX_RTTVAR: linux__bindgen_ty_64 = 5;
3954pub const LINUX_RTAX_SSTHRESH: linux__bindgen_ty_64 = 6;
3955pub const LINUX_RTAX_CWND: linux__bindgen_ty_64 = 7;
3956pub const LINUX_RTAX_ADVMSS: linux__bindgen_ty_64 = 8;
3957pub const LINUX_RTAX_REORDERING: linux__bindgen_ty_64 = 9;
3958pub const LINUX_RTAX_HOPLIMIT: linux__bindgen_ty_64 = 10;
3959pub const LINUX_RTAX_INITCWND: linux__bindgen_ty_64 = 11;
3960pub const LINUX_RTAX_FEATURES: linux__bindgen_ty_64 = 12;
3961pub const LINUX_RTAX_RTO_MIN: linux__bindgen_ty_64 = 13;
3962pub const LINUX_RTAX_INITRWND: linux__bindgen_ty_64 = 14;
3963pub const LINUX_RTAX_QUICKACK: linux__bindgen_ty_64 = 15;
3964pub const LINUX_RTAX_CC_ALGO: linux__bindgen_ty_64 = 16;
3965pub const LINUX_RTAX_FASTOPEN_NO_COOKIE: linux__bindgen_ty_64 = 17;
3966pub const LINUX___RTAX_MAX: linux__bindgen_ty_64 = 18;
3967pub type linux__bindgen_ty_64 = ::core::ffi::c_uint;
3968#[repr(C)]
3969#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3970pub struct linux_ifinfomsg {
3971 pub ifi_family: ::core::ffi::c_uchar,
3972 pub l__ifi_pad: ::core::ffi::c_uchar,
3973 pub ifi_type: ::core::ffi::c_ushort,
3974 pub ifi_index: ::core::ffi::c_int,
3975 pub ifi_flags: ::core::ffi::c_uint,
3976 pub ifi_change: ::core::ffi::c_uint,
3977}
3978#[test]
3979fn bindgen_test_layout_ifinfomsg() {
3980 const UNINIT: ::core::mem::MaybeUninit<linux_ifinfomsg> = ::core::mem::MaybeUninit::uninit();
3981 let ptr = UNINIT.as_ptr();
3982 assert_eq!(
3983 ::core::mem::size_of::<linux_ifinfomsg>(),
3984 16usize,
3985 concat!("Size of: ", stringify!(linux_ifinfomsg))
3986 );
3987 assert_eq!(
3988 ::core::mem::align_of::<linux_ifinfomsg>(),
3989 4usize,
3990 concat!("Alignment of ", stringify!(linux_ifinfomsg))
3991 );
3992 assert_eq!(
3993 unsafe { ::core::ptr::addr_of!((*ptr).ifi_family) as usize - ptr as usize },
3994 0usize,
3995 concat!(
3996 "Offset of field: ",
3997 stringify!(linux_ifinfomsg),
3998 "::",
3999 stringify!(ifi_family)
4000 )
4001 );
4002 assert_eq!(
4003 unsafe { ::core::ptr::addr_of!((*ptr).l__ifi_pad) as usize - ptr as usize },
4004 1usize,
4005 concat!(
4006 "Offset of field: ",
4007 stringify!(linux_ifinfomsg),
4008 "::",
4009 stringify!(l__ifi_pad)
4010 )
4011 );
4012 assert_eq!(
4013 unsafe { ::core::ptr::addr_of!((*ptr).ifi_type) as usize - ptr as usize },
4014 2usize,
4015 concat!(
4016 "Offset of field: ",
4017 stringify!(linux_ifinfomsg),
4018 "::",
4019 stringify!(ifi_type)
4020 )
4021 );
4022 assert_eq!(
4023 unsafe { ::core::ptr::addr_of!((*ptr).ifi_index) as usize - ptr as usize },
4024 4usize,
4025 concat!(
4026 "Offset of field: ",
4027 stringify!(linux_ifinfomsg),
4028 "::",
4029 stringify!(ifi_index)
4030 )
4031 );
4032 assert_eq!(
4033 unsafe { ::core::ptr::addr_of!((*ptr).ifi_flags) as usize - ptr as usize },
4034 8usize,
4035 concat!(
4036 "Offset of field: ",
4037 stringify!(linux_ifinfomsg),
4038 "::",
4039 stringify!(ifi_flags)
4040 )
4041 );
4042 assert_eq!(
4043 unsafe { ::core::ptr::addr_of!((*ptr).ifi_change) as usize - ptr as usize },
4044 12usize,
4045 concat!(
4046 "Offset of field: ",
4047 stringify!(linux_ifinfomsg),
4048 "::",
4049 stringify!(ifi_change)
4050 )
4051 );
4052}
4053pub const LINUX_PREFIX_UNSPEC: linux__bindgen_ty_65 = 0;
4054pub const LINUX_PREFIX_ADDRESS: linux__bindgen_ty_65 = 1;
4055pub const LINUX_PREFIX_CACHEINFO: linux__bindgen_ty_65 = 2;
4056pub const LINUX___PREFIX_MAX: linux__bindgen_ty_65 = 3;
4057pub type linux__bindgen_ty_65 = ::core::ffi::c_uint;
4058pub const LINUX_TCA_UNSPEC: linux__bindgen_ty_66 = 0;
4059pub const LINUX_TCA_KIND: linux__bindgen_ty_66 = 1;
4060pub const LINUX_TCA_OPTIONS: linux__bindgen_ty_66 = 2;
4061pub const LINUX_TCA_STATS: linux__bindgen_ty_66 = 3;
4062pub const LINUX_TCA_XSTATS: linux__bindgen_ty_66 = 4;
4063pub const LINUX_TCA_RATE: linux__bindgen_ty_66 = 5;
4064pub const LINUX_TCA_FCNT: linux__bindgen_ty_66 = 6;
4065pub const LINUX_TCA_STATS2: linux__bindgen_ty_66 = 7;
4066pub const LINUX_TCA_STAB: linux__bindgen_ty_66 = 8;
4067pub const LINUX_TCA_PAD: linux__bindgen_ty_66 = 9;
4068pub const LINUX_TCA_DUMP_INVISIBLE: linux__bindgen_ty_66 = 10;
4069pub const LINUX_TCA_CHAIN: linux__bindgen_ty_66 = 11;
4070pub const LINUX_TCA_HW_OFFLOAD: linux__bindgen_ty_66 = 12;
4071pub const LINUX_TCA_INGRESS_BLOCK: linux__bindgen_ty_66 = 13;
4072pub const LINUX_TCA_EGRESS_BLOCK: linux__bindgen_ty_66 = 14;
4073pub const LINUX_TCA_DUMP_FLAGS: linux__bindgen_ty_66 = 15;
4074pub const LINUX_TCA_EXT_WARN_MSG: linux__bindgen_ty_66 = 16;
4075pub const LINUX___TCA_MAX: linux__bindgen_ty_66 = 17;
4076pub type linux__bindgen_ty_66 = ::core::ffi::c_uint;
4077pub const LINUX_NDUSEROPT_UNSPEC: linux__bindgen_ty_67 = 0;
4078pub const LINUX_NDUSEROPT_SRCADDR: linux__bindgen_ty_67 = 1;
4079pub const LINUX___NDUSEROPT_MAX: linux__bindgen_ty_67 = 2;
4080pub type linux__bindgen_ty_67 = ::core::ffi::c_uint;
4081pub const LINUX_TCA_ROOT_UNSPEC: linux__bindgen_ty_68 = 0;
4082pub const LINUX_TCA_ROOT_TAB: linux__bindgen_ty_68 = 1;
4083pub const LINUX_TCA_ROOT_FLAGS: linux__bindgen_ty_68 = 2;
4084pub const LINUX_TCA_ROOT_COUNT: linux__bindgen_ty_68 = 3;
4085pub const LINUX_TCA_ROOT_TIME_DELTA: linux__bindgen_ty_68 = 4;
4086pub const LINUX_TCA_ROOT_EXT_WARN_MSG: linux__bindgen_ty_68 = 5;
4087pub const LINUX___TCA_ROOT_MAX: linux__bindgen_ty_68 = 6;
4088pub type linux__bindgen_ty_68 = ::core::ffi::c_uint;
4089#[repr(C)]
4090#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4091pub struct linux_clone_args {
4092 pub flags: linux___u64,
4093 pub pidfd: linux___u64,
4094 pub child_tid: linux___u64,
4095 pub parent_tid: linux___u64,
4096 pub exit_signal: linux___u64,
4097 pub stack: linux___u64,
4098 pub stack_size: linux___u64,
4099 pub tls: linux___u64,
4100 pub set_tid: linux___u64,
4101 pub set_tid_size: linux___u64,
4102 pub cgroup: linux___u64,
4103}
4104#[test]
4105fn bindgen_test_layout_clone_args() {
4106 const UNINIT: ::core::mem::MaybeUninit<linux_clone_args> = ::core::mem::MaybeUninit::uninit();
4107 let ptr = UNINIT.as_ptr();
4108 assert_eq!(
4109 ::core::mem::size_of::<linux_clone_args>(),
4110 88usize,
4111 concat!("Size of: ", stringify!(linux_clone_args))
4112 );
4113 assert_eq!(
4114 ::core::mem::align_of::<linux_clone_args>(),
4115 8usize,
4116 concat!("Alignment of ", stringify!(linux_clone_args))
4117 );
4118 assert_eq!(
4119 unsafe { ::core::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
4120 0usize,
4121 concat!(
4122 "Offset of field: ",
4123 stringify!(linux_clone_args),
4124 "::",
4125 stringify!(flags)
4126 )
4127 );
4128 assert_eq!(
4129 unsafe { ::core::ptr::addr_of!((*ptr).pidfd) as usize - ptr as usize },
4130 8usize,
4131 concat!(
4132 "Offset of field: ",
4133 stringify!(linux_clone_args),
4134 "::",
4135 stringify!(pidfd)
4136 )
4137 );
4138 assert_eq!(
4139 unsafe { ::core::ptr::addr_of!((*ptr).child_tid) as usize - ptr as usize },
4140 16usize,
4141 concat!(
4142 "Offset of field: ",
4143 stringify!(linux_clone_args),
4144 "::",
4145 stringify!(child_tid)
4146 )
4147 );
4148 assert_eq!(
4149 unsafe { ::core::ptr::addr_of!((*ptr).parent_tid) as usize - ptr as usize },
4150 24usize,
4151 concat!(
4152 "Offset of field: ",
4153 stringify!(linux_clone_args),
4154 "::",
4155 stringify!(parent_tid)
4156 )
4157 );
4158 assert_eq!(
4159 unsafe { ::core::ptr::addr_of!((*ptr).exit_signal) as usize - ptr as usize },
4160 32usize,
4161 concat!(
4162 "Offset of field: ",
4163 stringify!(linux_clone_args),
4164 "::",
4165 stringify!(exit_signal)
4166 )
4167 );
4168 assert_eq!(
4169 unsafe { ::core::ptr::addr_of!((*ptr).stack) as usize - ptr as usize },
4170 40usize,
4171 concat!(
4172 "Offset of field: ",
4173 stringify!(linux_clone_args),
4174 "::",
4175 stringify!(stack)
4176 )
4177 );
4178 assert_eq!(
4179 unsafe { ::core::ptr::addr_of!((*ptr).stack_size) as usize - ptr as usize },
4180 48usize,
4181 concat!(
4182 "Offset of field: ",
4183 stringify!(linux_clone_args),
4184 "::",
4185 stringify!(stack_size)
4186 )
4187 );
4188 assert_eq!(
4189 unsafe { ::core::ptr::addr_of!((*ptr).tls) as usize - ptr as usize },
4190 56usize,
4191 concat!(
4192 "Offset of field: ",
4193 stringify!(linux_clone_args),
4194 "::",
4195 stringify!(tls)
4196 )
4197 );
4198 assert_eq!(
4199 unsafe { ::core::ptr::addr_of!((*ptr).set_tid) as usize - ptr as usize },
4200 64usize,
4201 concat!(
4202 "Offset of field: ",
4203 stringify!(linux_clone_args),
4204 "::",
4205 stringify!(set_tid)
4206 )
4207 );
4208 assert_eq!(
4209 unsafe { ::core::ptr::addr_of!((*ptr).set_tid_size) as usize - ptr as usize },
4210 72usize,
4211 concat!(
4212 "Offset of field: ",
4213 stringify!(linux_clone_args),
4214 "::",
4215 stringify!(set_tid_size)
4216 )
4217 );
4218 assert_eq!(
4219 unsafe { ::core::ptr::addr_of!((*ptr).cgroup) as usize - ptr as usize },
4220 80usize,
4221 concat!(
4222 "Offset of field: ",
4223 stringify!(linux_clone_args),
4224 "::",
4225 stringify!(cgroup)
4226 )
4227 );
4228}
4229pub type linux_sigset_t = ::core::ffi::c_ulong;
4230pub type linux___signalfn_t =
4231 ::core::option::Option<unsafe extern "C" fn(arg1: ::core::ffi::c_int)>;
4232pub type linux___sighandler_t = linux___signalfn_t;
4233pub type linux___restorefn_t = ::core::option::Option<unsafe extern "C" fn()>;
4234pub type linux___sigrestore_t = linux___restorefn_t;
4235#[repr(C)]
4236#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4237pub struct linux_sigaction {
4238 pub lsa_handler: linux___sighandler_t,
4239 pub lsa_flags: ::core::ffi::c_ulong,
4240 pub lsa_restorer: linux___sigrestore_t,
4241 pub lsa_mask: linux_sigset_t,
4242}
4243#[test]
4244fn bindgen_test_layout_sigaction() {
4245 const UNINIT: ::core::mem::MaybeUninit<linux_sigaction> = ::core::mem::MaybeUninit::uninit();
4246 let ptr = UNINIT.as_ptr();
4247 assert_eq!(
4248 ::core::mem::size_of::<linux_sigaction>(),
4249 32usize,
4250 concat!("Size of: ", stringify!(linux_sigaction))
4251 );
4252 assert_eq!(
4253 ::core::mem::align_of::<linux_sigaction>(),
4254 8usize,
4255 concat!("Alignment of ", stringify!(linux_sigaction))
4256 );
4257 assert_eq!(
4258 unsafe { ::core::ptr::addr_of!((*ptr).lsa_handler) as usize - ptr as usize },
4259 0usize,
4260 concat!(
4261 "Offset of field: ",
4262 stringify!(linux_sigaction),
4263 "::",
4264 stringify!(lsa_handler)
4265 )
4266 );
4267 assert_eq!(
4268 unsafe { ::core::ptr::addr_of!((*ptr).lsa_flags) as usize - ptr as usize },
4269 8usize,
4270 concat!(
4271 "Offset of field: ",
4272 stringify!(linux_sigaction),
4273 "::",
4274 stringify!(lsa_flags)
4275 )
4276 );
4277 assert_eq!(
4278 unsafe { ::core::ptr::addr_of!((*ptr).lsa_restorer) as usize - ptr as usize },
4279 16usize,
4280 concat!(
4281 "Offset of field: ",
4282 stringify!(linux_sigaction),
4283 "::",
4284 stringify!(lsa_restorer)
4285 )
4286 );
4287 assert_eq!(
4288 unsafe { ::core::ptr::addr_of!((*ptr).lsa_mask) as usize - ptr as usize },
4289 24usize,
4290 concat!(
4291 "Offset of field: ",
4292 stringify!(linux_sigaction),
4293 "::",
4294 stringify!(lsa_mask)
4295 )
4296 );
4297}
4298#[repr(C)]
4299#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4300pub struct linux_sigaltstack {
4301 pub ss_sp: *mut ::core::ffi::c_void,
4302 pub ss_flags: ::core::ffi::c_int,
4303 pub ss_size: linux___kernel_size_t,
4304}
4305#[test]
4306fn bindgen_test_layout_sigaltstack() {
4307 const UNINIT: ::core::mem::MaybeUninit<linux_sigaltstack> = ::core::mem::MaybeUninit::uninit();
4308 let ptr = UNINIT.as_ptr();
4309 assert_eq!(
4310 ::core::mem::size_of::<linux_sigaltstack>(),
4311 24usize,
4312 concat!("Size of: ", stringify!(linux_sigaltstack))
4313 );
4314 assert_eq!(
4315 ::core::mem::align_of::<linux_sigaltstack>(),
4316 8usize,
4317 concat!("Alignment of ", stringify!(linux_sigaltstack))
4318 );
4319 assert_eq!(
4320 unsafe { ::core::ptr::addr_of!((*ptr).ss_sp) as usize - ptr as usize },
4321 0usize,
4322 concat!(
4323 "Offset of field: ",
4324 stringify!(linux_sigaltstack),
4325 "::",
4326 stringify!(ss_sp)
4327 )
4328 );
4329 assert_eq!(
4330 unsafe { ::core::ptr::addr_of!((*ptr).ss_flags) as usize - ptr as usize },
4331 8usize,
4332 concat!(
4333 "Offset of field: ",
4334 stringify!(linux_sigaltstack),
4335 "::",
4336 stringify!(ss_flags)
4337 )
4338 );
4339 assert_eq!(
4340 unsafe { ::core::ptr::addr_of!((*ptr).ss_size) as usize - ptr as usize },
4341 16usize,
4342 concat!(
4343 "Offset of field: ",
4344 stringify!(linux_sigaltstack),
4345 "::",
4346 stringify!(ss_size)
4347 )
4348 );
4349}
4350pub type linux_stack_t = linux_sigaltstack;
4351#[repr(C)]
4352#[derive(Copy, Clone)]
4353pub union linux_sigval {
4354 pub sival_int: ::core::ffi::c_int,
4355 pub sival_ptr: *mut ::core::ffi::c_void,
4356}
4357#[test]
4358fn bindgen_test_layout_sigval() {
4359 const UNINIT: ::core::mem::MaybeUninit<linux_sigval> = ::core::mem::MaybeUninit::uninit();
4360 let ptr = UNINIT.as_ptr();
4361 assert_eq!(
4362 ::core::mem::size_of::<linux_sigval>(),
4363 8usize,
4364 concat!("Size of: ", stringify!(linux_sigval))
4365 );
4366 assert_eq!(
4367 ::core::mem::align_of::<linux_sigval>(),
4368 8usize,
4369 concat!("Alignment of ", stringify!(linux_sigval))
4370 );
4371 assert_eq!(
4372 unsafe { ::core::ptr::addr_of!((*ptr).sival_int) as usize - ptr as usize },
4373 0usize,
4374 concat!(
4375 "Offset of field: ",
4376 stringify!(linux_sigval),
4377 "::",
4378 stringify!(sival_int)
4379 )
4380 );
4381 assert_eq!(
4382 unsafe { ::core::ptr::addr_of!((*ptr).sival_ptr) as usize - ptr as usize },
4383 0usize,
4384 concat!(
4385 "Offset of field: ",
4386 stringify!(linux_sigval),
4387 "::",
4388 stringify!(sival_ptr)
4389 )
4390 );
4391}
4392impl ::core::fmt::Debug for linux_sigval {
4393 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4394 write!(f, "linux_sigval {{ union }}")
4395 }
4396}
4397pub type linux_sigval_t = linux_sigval;
4398#[repr(C)]
4399#[derive(Copy, Clone)]
4400pub union linux___sifields {
4401 pub l_kill: linux___sifields__bindgen_ty_1,
4402 pub l_timer: linux___sifields__bindgen_ty_2,
4403 pub l_rt: linux___sifields__bindgen_ty_3,
4404 pub l_sigchld: linux___sifields__bindgen_ty_4,
4405 pub l_sigfault: linux___sifields__bindgen_ty_5,
4406 pub l_sigpoll: linux___sifields__bindgen_ty_6,
4407 pub l_sigsys: linux___sifields__bindgen_ty_7,
4408}
4409#[repr(C)]
4410#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4411pub struct linux___sifields__bindgen_ty_1 {
4412 pub l_pid: linux___kernel_pid_t,
4413 pub l_uid: linux___kernel_uid32_t,
4414}
4415#[test]
4416fn bindgen_test_layout___sifields__bindgen_ty_1() {
4417 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_1> =
4418 ::core::mem::MaybeUninit::uninit();
4419 let ptr = UNINIT.as_ptr();
4420 assert_eq!(
4421 ::core::mem::size_of::<linux___sifields__bindgen_ty_1>(),
4422 8usize,
4423 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_1))
4424 );
4425 assert_eq!(
4426 ::core::mem::align_of::<linux___sifields__bindgen_ty_1>(),
4427 4usize,
4428 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_1))
4429 );
4430 assert_eq!(
4431 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4432 0usize,
4433 concat!(
4434 "Offset of field: ",
4435 stringify!(linux___sifields__bindgen_ty_1),
4436 "::",
4437 stringify!(l_pid)
4438 )
4439 );
4440 assert_eq!(
4441 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4442 4usize,
4443 concat!(
4444 "Offset of field: ",
4445 stringify!(linux___sifields__bindgen_ty_1),
4446 "::",
4447 stringify!(l_uid)
4448 )
4449 );
4450}
4451#[repr(C)]
4452#[derive(Copy, Clone)]
4453pub struct linux___sifields__bindgen_ty_2 {
4454 pub l_tid: linux___kernel_timer_t,
4455 pub l_overrun: ::core::ffi::c_int,
4456 pub l_sigval: linux_sigval_t,
4457 pub l_sys_private: ::core::ffi::c_int,
4458}
4459#[test]
4460fn bindgen_test_layout___sifields__bindgen_ty_2() {
4461 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_2> =
4462 ::core::mem::MaybeUninit::uninit();
4463 let ptr = UNINIT.as_ptr();
4464 assert_eq!(
4465 ::core::mem::size_of::<linux___sifields__bindgen_ty_2>(),
4466 24usize,
4467 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_2))
4468 );
4469 assert_eq!(
4470 ::core::mem::align_of::<linux___sifields__bindgen_ty_2>(),
4471 8usize,
4472 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_2))
4473 );
4474 assert_eq!(
4475 unsafe { ::core::ptr::addr_of!((*ptr).l_tid) as usize - ptr as usize },
4476 0usize,
4477 concat!(
4478 "Offset of field: ",
4479 stringify!(linux___sifields__bindgen_ty_2),
4480 "::",
4481 stringify!(l_tid)
4482 )
4483 );
4484 assert_eq!(
4485 unsafe { ::core::ptr::addr_of!((*ptr).l_overrun) as usize - ptr as usize },
4486 4usize,
4487 concat!(
4488 "Offset of field: ",
4489 stringify!(linux___sifields__bindgen_ty_2),
4490 "::",
4491 stringify!(l_overrun)
4492 )
4493 );
4494 assert_eq!(
4495 unsafe { ::core::ptr::addr_of!((*ptr).l_sigval) as usize - ptr as usize },
4496 8usize,
4497 concat!(
4498 "Offset of field: ",
4499 stringify!(linux___sifields__bindgen_ty_2),
4500 "::",
4501 stringify!(l_sigval)
4502 )
4503 );
4504 assert_eq!(
4505 unsafe { ::core::ptr::addr_of!((*ptr).l_sys_private) as usize - ptr as usize },
4506 16usize,
4507 concat!(
4508 "Offset of field: ",
4509 stringify!(linux___sifields__bindgen_ty_2),
4510 "::",
4511 stringify!(l_sys_private)
4512 )
4513 );
4514}
4515impl ::core::fmt::Debug for linux___sifields__bindgen_ty_2 {
4516 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4517 write!(
4518 f,
4519 "linux___sifields__bindgen_ty_2 {{ l_tid: {:?}, l_overrun: {:?}, l_sigval: {:?}, l_sys_private: {:?} }}",
4520 self.l_tid, self.l_overrun, self.l_sigval, self.l_sys_private
4521 )
4522 }
4523}
4524#[repr(C)]
4525#[derive(Copy, Clone)]
4526pub struct linux___sifields__bindgen_ty_3 {
4527 pub l_pid: linux___kernel_pid_t,
4528 pub l_uid: linux___kernel_uid32_t,
4529 pub l_sigval: linux_sigval_t,
4530}
4531#[test]
4532fn bindgen_test_layout___sifields__bindgen_ty_3() {
4533 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_3> =
4534 ::core::mem::MaybeUninit::uninit();
4535 let ptr = UNINIT.as_ptr();
4536 assert_eq!(
4537 ::core::mem::size_of::<linux___sifields__bindgen_ty_3>(),
4538 16usize,
4539 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_3))
4540 );
4541 assert_eq!(
4542 ::core::mem::align_of::<linux___sifields__bindgen_ty_3>(),
4543 8usize,
4544 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_3))
4545 );
4546 assert_eq!(
4547 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4548 0usize,
4549 concat!(
4550 "Offset of field: ",
4551 stringify!(linux___sifields__bindgen_ty_3),
4552 "::",
4553 stringify!(l_pid)
4554 )
4555 );
4556 assert_eq!(
4557 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4558 4usize,
4559 concat!(
4560 "Offset of field: ",
4561 stringify!(linux___sifields__bindgen_ty_3),
4562 "::",
4563 stringify!(l_uid)
4564 )
4565 );
4566 assert_eq!(
4567 unsafe { ::core::ptr::addr_of!((*ptr).l_sigval) as usize - ptr as usize },
4568 8usize,
4569 concat!(
4570 "Offset of field: ",
4571 stringify!(linux___sifields__bindgen_ty_3),
4572 "::",
4573 stringify!(l_sigval)
4574 )
4575 );
4576}
4577impl ::core::fmt::Debug for linux___sifields__bindgen_ty_3 {
4578 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4579 write!(
4580 f,
4581 "linux___sifields__bindgen_ty_3 {{ l_pid: {:?}, l_uid: {:?}, l_sigval: {:?} }}",
4582 self.l_pid, self.l_uid, self.l_sigval
4583 )
4584 }
4585}
4586#[repr(C)]
4587#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4588pub struct linux___sifields__bindgen_ty_4 {
4589 pub l_pid: linux___kernel_pid_t,
4590 pub l_uid: linux___kernel_uid32_t,
4591 pub l_status: ::core::ffi::c_int,
4592 pub l_utime: linux___kernel_clock_t,
4593 pub l_stime: linux___kernel_clock_t,
4594}
4595#[test]
4596fn bindgen_test_layout___sifields__bindgen_ty_4() {
4597 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_4> =
4598 ::core::mem::MaybeUninit::uninit();
4599 let ptr = UNINIT.as_ptr();
4600 assert_eq!(
4601 ::core::mem::size_of::<linux___sifields__bindgen_ty_4>(),
4602 32usize,
4603 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_4))
4604 );
4605 assert_eq!(
4606 ::core::mem::align_of::<linux___sifields__bindgen_ty_4>(),
4607 8usize,
4608 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_4))
4609 );
4610 assert_eq!(
4611 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4612 0usize,
4613 concat!(
4614 "Offset of field: ",
4615 stringify!(linux___sifields__bindgen_ty_4),
4616 "::",
4617 stringify!(l_pid)
4618 )
4619 );
4620 assert_eq!(
4621 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4622 4usize,
4623 concat!(
4624 "Offset of field: ",
4625 stringify!(linux___sifields__bindgen_ty_4),
4626 "::",
4627 stringify!(l_uid)
4628 )
4629 );
4630 assert_eq!(
4631 unsafe { ::core::ptr::addr_of!((*ptr).l_status) as usize - ptr as usize },
4632 8usize,
4633 concat!(
4634 "Offset of field: ",
4635 stringify!(linux___sifields__bindgen_ty_4),
4636 "::",
4637 stringify!(l_status)
4638 )
4639 );
4640 assert_eq!(
4641 unsafe { ::core::ptr::addr_of!((*ptr).l_utime) as usize - ptr as usize },
4642 16usize,
4643 concat!(
4644 "Offset of field: ",
4645 stringify!(linux___sifields__bindgen_ty_4),
4646 "::",
4647 stringify!(l_utime)
4648 )
4649 );
4650 assert_eq!(
4651 unsafe { ::core::ptr::addr_of!((*ptr).l_stime) as usize - ptr as usize },
4652 24usize,
4653 concat!(
4654 "Offset of field: ",
4655 stringify!(linux___sifields__bindgen_ty_4),
4656 "::",
4657 stringify!(l_stime)
4658 )
4659 );
4660}
4661#[repr(C)]
4662#[derive(Copy, Clone)]
4663pub struct linux___sifields__bindgen_ty_5 {
4664 pub l_addr: *mut ::core::ffi::c_void,
4665 pub l__bindgen_anon_1: linux___sifields__bindgen_ty_5__bindgen_ty_1,
4666}
4667#[repr(C)]
4668#[derive(Copy, Clone)]
4669pub union linux___sifields__bindgen_ty_5__bindgen_ty_1 {
4670 pub l_trapno: ::core::ffi::c_int,
4671 pub l_addr_lsb: ::core::ffi::c_short,
4672 pub l_addr_bnd: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
4673 pub l_addr_pkey: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
4674 pub l_perf: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
4675}
4676#[repr(C)]
4677#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4678pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
4679 pub l_dummy_bnd: [::core::ffi::c_char; 8usize],
4680 pub l_lower: *mut ::core::ffi::c_void,
4681 pub l_upper: *mut ::core::ffi::c_void,
4682}
4683#[test]
4684fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1() {
4685 const UNINIT: ::core::mem::MaybeUninit<
4686 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
4687 > = ::core::mem::MaybeUninit::uninit();
4688 let ptr = UNINIT.as_ptr();
4689 assert_eq!(
4690 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
4691 24usize,
4692 concat!(
4693 "Size of: ",
4694 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
4695 )
4696 );
4697 assert_eq!(
4698 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
4699 8usize,
4700 concat!(
4701 "Alignment of ",
4702 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
4703 )
4704 );
4705 assert_eq!(
4706 unsafe { ::core::ptr::addr_of!((*ptr).l_dummy_bnd) as usize - ptr as usize },
4707 0usize,
4708 concat!(
4709 "Offset of field: ",
4710 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4711 "::",
4712 stringify!(l_dummy_bnd)
4713 )
4714 );
4715 assert_eq!(
4716 unsafe { ::core::ptr::addr_of!((*ptr).l_lower) as usize - ptr as usize },
4717 8usize,
4718 concat!(
4719 "Offset of field: ",
4720 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4721 "::",
4722 stringify!(l_lower)
4723 )
4724 );
4725 assert_eq!(
4726 unsafe { ::core::ptr::addr_of!((*ptr).l_upper) as usize - ptr as usize },
4727 16usize,
4728 concat!(
4729 "Offset of field: ",
4730 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4731 "::",
4732 stringify!(l_upper)
4733 )
4734 );
4735}
4736#[repr(C)]
4737#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4738pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 {
4739 pub l_dummy_pkey: [::core::ffi::c_char; 8usize],
4740 pub l_pkey: linux___u32,
4741}
4742#[test]
4743fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() {
4744 const UNINIT: ::core::mem::MaybeUninit<
4745 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
4746 > = ::core::mem::MaybeUninit::uninit();
4747 let ptr = UNINIT.as_ptr();
4748 assert_eq!(
4749 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2>(),
4750 12usize,
4751 concat!(
4752 "Size of: ",
4753 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2)
4754 )
4755 );
4756 assert_eq!(
4757 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2>(),
4758 4usize,
4759 concat!(
4760 "Alignment of ",
4761 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2)
4762 )
4763 );
4764 assert_eq!(
4765 unsafe { ::core::ptr::addr_of!((*ptr).l_dummy_pkey) as usize - ptr as usize },
4766 0usize,
4767 concat!(
4768 "Offset of field: ",
4769 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2),
4770 "::",
4771 stringify!(l_dummy_pkey)
4772 )
4773 );
4774 assert_eq!(
4775 unsafe { ::core::ptr::addr_of!((*ptr).l_pkey) as usize - ptr as usize },
4776 8usize,
4777 concat!(
4778 "Offset of field: ",
4779 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2),
4780 "::",
4781 stringify!(l_pkey)
4782 )
4783 );
4784}
4785#[repr(C)]
4786#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4787pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 {
4788 pub l_data: ::core::ffi::c_ulong,
4789 pub l_type: linux___u32,
4790 pub l_flags: linux___u32,
4791}
4792#[test]
4793fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() {
4794 const UNINIT: ::core::mem::MaybeUninit<
4795 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
4796 > = ::core::mem::MaybeUninit::uninit();
4797 let ptr = UNINIT.as_ptr();
4798 assert_eq!(
4799 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(),
4800 16usize,
4801 concat!(
4802 "Size of: ",
4803 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3)
4804 )
4805 );
4806 assert_eq!(
4807 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(),
4808 8usize,
4809 concat!(
4810 "Alignment of ",
4811 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3)
4812 )
4813 );
4814 assert_eq!(
4815 unsafe { ::core::ptr::addr_of!((*ptr).l_data) as usize - ptr as usize },
4816 0usize,
4817 concat!(
4818 "Offset of field: ",
4819 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4820 "::",
4821 stringify!(l_data)
4822 )
4823 );
4824 assert_eq!(
4825 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
4826 8usize,
4827 concat!(
4828 "Offset of field: ",
4829 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4830 "::",
4831 stringify!(l_type)
4832 )
4833 );
4834 assert_eq!(
4835 unsafe { ::core::ptr::addr_of!((*ptr).l_flags) as usize - ptr as usize },
4836 12usize,
4837 concat!(
4838 "Offset of field: ",
4839 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4840 "::",
4841 stringify!(l_flags)
4842 )
4843 );
4844}
4845#[test]
4846fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() {
4847 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_5__bindgen_ty_1> =
4848 ::core::mem::MaybeUninit::uninit();
4849 let ptr = UNINIT.as_ptr();
4850 assert_eq!(
4851 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1>(),
4852 24usize,
4853 concat!(
4854 "Size of: ",
4855 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1)
4856 )
4857 );
4858 assert_eq!(
4859 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1>(),
4860 8usize,
4861 concat!(
4862 "Alignment of ",
4863 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1)
4864 )
4865 );
4866 assert_eq!(
4867 unsafe { ::core::ptr::addr_of!((*ptr).l_trapno) as usize - ptr as usize },
4868 0usize,
4869 concat!(
4870 "Offset of field: ",
4871 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4872 "::",
4873 stringify!(l_trapno)
4874 )
4875 );
4876 assert_eq!(
4877 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_lsb) as usize - ptr as usize },
4878 0usize,
4879 concat!(
4880 "Offset of field: ",
4881 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4882 "::",
4883 stringify!(l_addr_lsb)
4884 )
4885 );
4886 assert_eq!(
4887 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_bnd) as usize - ptr as usize },
4888 0usize,
4889 concat!(
4890 "Offset of field: ",
4891 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4892 "::",
4893 stringify!(l_addr_bnd)
4894 )
4895 );
4896 assert_eq!(
4897 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_pkey) as usize - ptr as usize },
4898 0usize,
4899 concat!(
4900 "Offset of field: ",
4901 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4902 "::",
4903 stringify!(l_addr_pkey)
4904 )
4905 );
4906 assert_eq!(
4907 unsafe { ::core::ptr::addr_of!((*ptr).l_perf) as usize - ptr as usize },
4908 0usize,
4909 concat!(
4910 "Offset of field: ",
4911 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4912 "::",
4913 stringify!(l_perf)
4914 )
4915 );
4916}
4917impl ::core::fmt::Debug for linux___sifields__bindgen_ty_5__bindgen_ty_1 {
4918 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4919 write!(
4920 f,
4921 "linux___sifields__bindgen_ty_5__bindgen_ty_1 {{ union }}"
4922 )
4923 }
4924}
4925#[test]
4926fn bindgen_test_layout___sifields__bindgen_ty_5() {
4927 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_5> =
4928 ::core::mem::MaybeUninit::uninit();
4929 let ptr = UNINIT.as_ptr();
4930 assert_eq!(
4931 ::core::mem::size_of::<linux___sifields__bindgen_ty_5>(),
4932 32usize,
4933 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_5))
4934 );
4935 assert_eq!(
4936 ::core::mem::align_of::<linux___sifields__bindgen_ty_5>(),
4937 8usize,
4938 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_5))
4939 );
4940 assert_eq!(
4941 unsafe { ::core::ptr::addr_of!((*ptr).l_addr) as usize - ptr as usize },
4942 0usize,
4943 concat!(
4944 "Offset of field: ",
4945 stringify!(linux___sifields__bindgen_ty_5),
4946 "::",
4947 stringify!(l_addr)
4948 )
4949 );
4950}
4951impl ::core::fmt::Debug for linux___sifields__bindgen_ty_5 {
4952 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4953 write!(
4954 f,
4955 "linux___sifields__bindgen_ty_5 {{ l_addr: {:?}, l__bindgen_anon_1: {:?} }}",
4956 self.l_addr, self.l__bindgen_anon_1
4957 )
4958 }
4959}
4960#[repr(C)]
4961#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4962pub struct linux___sifields__bindgen_ty_6 {
4963 pub l_band: ::core::ffi::c_long,
4964 pub l_fd: ::core::ffi::c_int,
4965}
4966#[test]
4967fn bindgen_test_layout___sifields__bindgen_ty_6() {
4968 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_6> =
4969 ::core::mem::MaybeUninit::uninit();
4970 let ptr = UNINIT.as_ptr();
4971 assert_eq!(
4972 ::core::mem::size_of::<linux___sifields__bindgen_ty_6>(),
4973 16usize,
4974 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_6))
4975 );
4976 assert_eq!(
4977 ::core::mem::align_of::<linux___sifields__bindgen_ty_6>(),
4978 8usize,
4979 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_6))
4980 );
4981 assert_eq!(
4982 unsafe { ::core::ptr::addr_of!((*ptr).l_band) as usize - ptr as usize },
4983 0usize,
4984 concat!(
4985 "Offset of field: ",
4986 stringify!(linux___sifields__bindgen_ty_6),
4987 "::",
4988 stringify!(l_band)
4989 )
4990 );
4991 assert_eq!(
4992 unsafe { ::core::ptr::addr_of!((*ptr).l_fd) as usize - ptr as usize },
4993 8usize,
4994 concat!(
4995 "Offset of field: ",
4996 stringify!(linux___sifields__bindgen_ty_6),
4997 "::",
4998 stringify!(l_fd)
4999 )
5000 );
5001}
5002#[repr(C)]
5003#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5004pub struct linux___sifields__bindgen_ty_7 {
5005 pub l_call_addr: *mut ::core::ffi::c_void,
5006 pub l_syscall: ::core::ffi::c_int,
5007 pub l_arch: ::core::ffi::c_uint,
5008}
5009#[test]
5010fn bindgen_test_layout___sifields__bindgen_ty_7() {
5011 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_7> =
5012 ::core::mem::MaybeUninit::uninit();
5013 let ptr = UNINIT.as_ptr();
5014 assert_eq!(
5015 ::core::mem::size_of::<linux___sifields__bindgen_ty_7>(),
5016 16usize,
5017 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_7))
5018 );
5019 assert_eq!(
5020 ::core::mem::align_of::<linux___sifields__bindgen_ty_7>(),
5021 8usize,
5022 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_7))
5023 );
5024 assert_eq!(
5025 unsafe { ::core::ptr::addr_of!((*ptr).l_call_addr) as usize - ptr as usize },
5026 0usize,
5027 concat!(
5028 "Offset of field: ",
5029 stringify!(linux___sifields__bindgen_ty_7),
5030 "::",
5031 stringify!(l_call_addr)
5032 )
5033 );
5034 assert_eq!(
5035 unsafe { ::core::ptr::addr_of!((*ptr).l_syscall) as usize - ptr as usize },
5036 8usize,
5037 concat!(
5038 "Offset of field: ",
5039 stringify!(linux___sifields__bindgen_ty_7),
5040 "::",
5041 stringify!(l_syscall)
5042 )
5043 );
5044 assert_eq!(
5045 unsafe { ::core::ptr::addr_of!((*ptr).l_arch) as usize - ptr as usize },
5046 12usize,
5047 concat!(
5048 "Offset of field: ",
5049 stringify!(linux___sifields__bindgen_ty_7),
5050 "::",
5051 stringify!(l_arch)
5052 )
5053 );
5054}
5055#[test]
5056fn bindgen_test_layout___sifields() {
5057 const UNINIT: ::core::mem::MaybeUninit<linux___sifields> = ::core::mem::MaybeUninit::uninit();
5058 let ptr = UNINIT.as_ptr();
5059 assert_eq!(
5060 ::core::mem::size_of::<linux___sifields>(),
5061 32usize,
5062 concat!("Size of: ", stringify!(linux___sifields))
5063 );
5064 assert_eq!(
5065 ::core::mem::align_of::<linux___sifields>(),
5066 8usize,
5067 concat!("Alignment of ", stringify!(linux___sifields))
5068 );
5069 assert_eq!(
5070 unsafe { ::core::ptr::addr_of!((*ptr).l_kill) as usize - ptr as usize },
5071 0usize,
5072 concat!(
5073 "Offset of field: ",
5074 stringify!(linux___sifields),
5075 "::",
5076 stringify!(l_kill)
5077 )
5078 );
5079 assert_eq!(
5080 unsafe { ::core::ptr::addr_of!((*ptr).l_timer) as usize - ptr as usize },
5081 0usize,
5082 concat!(
5083 "Offset of field: ",
5084 stringify!(linux___sifields),
5085 "::",
5086 stringify!(l_timer)
5087 )
5088 );
5089 assert_eq!(
5090 unsafe { ::core::ptr::addr_of!((*ptr).l_rt) as usize - ptr as usize },
5091 0usize,
5092 concat!(
5093 "Offset of field: ",
5094 stringify!(linux___sifields),
5095 "::",
5096 stringify!(l_rt)
5097 )
5098 );
5099 assert_eq!(
5100 unsafe { ::core::ptr::addr_of!((*ptr).l_sigchld) as usize - ptr as usize },
5101 0usize,
5102 concat!(
5103 "Offset of field: ",
5104 stringify!(linux___sifields),
5105 "::",
5106 stringify!(l_sigchld)
5107 )
5108 );
5109 assert_eq!(
5110 unsafe { ::core::ptr::addr_of!((*ptr).l_sigfault) as usize - ptr as usize },
5111 0usize,
5112 concat!(
5113 "Offset of field: ",
5114 stringify!(linux___sifields),
5115 "::",
5116 stringify!(l_sigfault)
5117 )
5118 );
5119 assert_eq!(
5120 unsafe { ::core::ptr::addr_of!((*ptr).l_sigpoll) as usize - ptr as usize },
5121 0usize,
5122 concat!(
5123 "Offset of field: ",
5124 stringify!(linux___sifields),
5125 "::",
5126 stringify!(l_sigpoll)
5127 )
5128 );
5129 assert_eq!(
5130 unsafe { ::core::ptr::addr_of!((*ptr).l_sigsys) as usize - ptr as usize },
5131 0usize,
5132 concat!(
5133 "Offset of field: ",
5134 stringify!(linux___sifields),
5135 "::",
5136 stringify!(l_sigsys)
5137 )
5138 );
5139}
5140impl ::core::fmt::Debug for linux___sifields {
5141 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5142 write!(f, "linux___sifields {{ union }}")
5143 }
5144}
5145#[repr(C)]
5146#[derive(Copy, Clone)]
5147pub struct linux_siginfo {
5148 pub l__bindgen_anon_1: linux_siginfo__bindgen_ty_1,
5149}
5150#[repr(C)]
5151#[derive(Copy, Clone)]
5152pub union linux_siginfo__bindgen_ty_1 {
5153 pub l__bindgen_anon_1: linux_siginfo__bindgen_ty_1__bindgen_ty_1,
5154 pub l_si_pad: [::core::ffi::c_int; 32usize],
5155}
5156#[repr(C)]
5157#[derive(Copy, Clone)]
5158pub struct linux_siginfo__bindgen_ty_1__bindgen_ty_1 {
5159 pub lsi_signo: ::core::ffi::c_int,
5160 pub lsi_errno: ::core::ffi::c_int,
5161 pub lsi_code: ::core::ffi::c_int,
5162 pub l_sifields: linux___sifields,
5163}
5164#[test]
5165fn bindgen_test_layout_siginfo__bindgen_ty_1__bindgen_ty_1() {
5166 const UNINIT: ::core::mem::MaybeUninit<linux_siginfo__bindgen_ty_1__bindgen_ty_1> =
5167 ::core::mem::MaybeUninit::uninit();
5168 let ptr = UNINIT.as_ptr();
5169 assert_eq!(
5170 ::core::mem::size_of::<linux_siginfo__bindgen_ty_1__bindgen_ty_1>(),
5171 48usize,
5172 concat!(
5173 "Size of: ",
5174 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1)
5175 )
5176 );
5177 assert_eq!(
5178 ::core::mem::align_of::<linux_siginfo__bindgen_ty_1__bindgen_ty_1>(),
5179 8usize,
5180 concat!(
5181 "Alignment of ",
5182 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1)
5183 )
5184 );
5185 assert_eq!(
5186 unsafe { ::core::ptr::addr_of!((*ptr).lsi_signo) as usize - ptr as usize },
5187 0usize,
5188 concat!(
5189 "Offset of field: ",
5190 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5191 "::",
5192 stringify!(lsi_signo)
5193 )
5194 );
5195 assert_eq!(
5196 unsafe { ::core::ptr::addr_of!((*ptr).lsi_errno) as usize - ptr as usize },
5197 4usize,
5198 concat!(
5199 "Offset of field: ",
5200 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5201 "::",
5202 stringify!(lsi_errno)
5203 )
5204 );
5205 assert_eq!(
5206 unsafe { ::core::ptr::addr_of!((*ptr).lsi_code) as usize - ptr as usize },
5207 8usize,
5208 concat!(
5209 "Offset of field: ",
5210 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5211 "::",
5212 stringify!(lsi_code)
5213 )
5214 );
5215 assert_eq!(
5216 unsafe { ::core::ptr::addr_of!((*ptr).l_sifields) as usize - ptr as usize },
5217 16usize,
5218 concat!(
5219 "Offset of field: ",
5220 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5221 "::",
5222 stringify!(l_sifields)
5223 )
5224 );
5225}
5226impl ::core::fmt::Debug for linux_siginfo__bindgen_ty_1__bindgen_ty_1 {
5227 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5228 write!(
5229 f,
5230 "linux_siginfo__bindgen_ty_1__bindgen_ty_1 {{ lsi_signo: {:?}, lsi_errno: {:?}, lsi_code: {:?}, l_sifields: {:?} }}",
5231 self.lsi_signo, self.lsi_errno, self.lsi_code, self.l_sifields
5232 )
5233 }
5234}
5235#[test]
5236fn bindgen_test_layout_siginfo__bindgen_ty_1() {
5237 const UNINIT: ::core::mem::MaybeUninit<linux_siginfo__bindgen_ty_1> =
5238 ::core::mem::MaybeUninit::uninit();
5239 let ptr = UNINIT.as_ptr();
5240 assert_eq!(
5241 ::core::mem::size_of::<linux_siginfo__bindgen_ty_1>(),
5242 128usize,
5243 concat!("Size of: ", stringify!(linux_siginfo__bindgen_ty_1))
5244 );
5245 assert_eq!(
5246 ::core::mem::align_of::<linux_siginfo__bindgen_ty_1>(),
5247 8usize,
5248 concat!("Alignment of ", stringify!(linux_siginfo__bindgen_ty_1))
5249 );
5250 assert_eq!(
5251 unsafe { ::core::ptr::addr_of!((*ptr).l_si_pad) as usize - ptr as usize },
5252 0usize,
5253 concat!(
5254 "Offset of field: ",
5255 stringify!(linux_siginfo__bindgen_ty_1),
5256 "::",
5257 stringify!(l_si_pad)
5258 )
5259 );
5260}
5261impl ::core::fmt::Debug for linux_siginfo__bindgen_ty_1 {
5262 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5263 write!(f, "linux_siginfo__bindgen_ty_1 {{ union }}")
5264 }
5265}
5266#[test]
5267fn bindgen_test_layout_siginfo() {
5268 assert_eq!(
5269 ::core::mem::size_of::<linux_siginfo>(),
5270 128usize,
5271 concat!("Size of: ", stringify!(linux_siginfo))
5272 );
5273 assert_eq!(
5274 ::core::mem::align_of::<linux_siginfo>(),
5275 8usize,
5276 concat!("Alignment of ", stringify!(linux_siginfo))
5277 );
5278}
5279impl ::core::fmt::Debug for linux_siginfo {
5280 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5281 write!(
5282 f,
5283 "linux_siginfo {{ l__bindgen_anon_1: {:?} }}",
5284 self.l__bindgen_anon_1
5285 )
5286 }
5287}
5288pub type linux_siginfo_t = linux_siginfo;
5289#[repr(C)]
5290#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5291pub struct linux_timespec {
5292 pub tv_sec: linux___kernel_old_time_t,
5293 pub tv_nsec: ::core::ffi::c_long,
5294}
5295#[test]
5296fn bindgen_test_layout_timespec() {
5297 const UNINIT: ::core::mem::MaybeUninit<linux_timespec> = ::core::mem::MaybeUninit::uninit();
5298 let ptr = UNINIT.as_ptr();
5299 assert_eq!(
5300 ::core::mem::size_of::<linux_timespec>(),
5301 16usize,
5302 concat!("Size of: ", stringify!(linux_timespec))
5303 );
5304 assert_eq!(
5305 ::core::mem::align_of::<linux_timespec>(),
5306 8usize,
5307 concat!("Alignment of ", stringify!(linux_timespec))
5308 );
5309 assert_eq!(
5310 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
5311 0usize,
5312 concat!(
5313 "Offset of field: ",
5314 stringify!(linux_timespec),
5315 "::",
5316 stringify!(tv_sec)
5317 )
5318 );
5319 assert_eq!(
5320 unsafe { ::core::ptr::addr_of!((*ptr).tv_nsec) as usize - ptr as usize },
5321 8usize,
5322 concat!(
5323 "Offset of field: ",
5324 stringify!(linux_timespec),
5325 "::",
5326 stringify!(tv_nsec)
5327 )
5328 );
5329}
5330#[repr(C)]
5331#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5332pub struct linux_timeval {
5333 pub tv_sec: linux___kernel_old_time_t,
5334 pub tv_usec: linux___kernel_suseconds_t,
5335}
5336#[test]
5337fn bindgen_test_layout_timeval() {
5338 const UNINIT: ::core::mem::MaybeUninit<linux_timeval> = ::core::mem::MaybeUninit::uninit();
5339 let ptr = UNINIT.as_ptr();
5340 assert_eq!(
5341 ::core::mem::size_of::<linux_timeval>(),
5342 16usize,
5343 concat!("Size of: ", stringify!(linux_timeval))
5344 );
5345 assert_eq!(
5346 ::core::mem::align_of::<linux_timeval>(),
5347 8usize,
5348 concat!("Alignment of ", stringify!(linux_timeval))
5349 );
5350 assert_eq!(
5351 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
5352 0usize,
5353 concat!(
5354 "Offset of field: ",
5355 stringify!(linux_timeval),
5356 "::",
5357 stringify!(tv_sec)
5358 )
5359 );
5360 assert_eq!(
5361 unsafe { ::core::ptr::addr_of!((*ptr).tv_usec) as usize - ptr as usize },
5362 8usize,
5363 concat!(
5364 "Offset of field: ",
5365 stringify!(linux_timeval),
5366 "::",
5367 stringify!(tv_usec)
5368 )
5369 );
5370}
5371#[repr(C)]
5372#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5373pub struct linux_itimerspec {
5374 pub it_interval: linux_timespec,
5375 pub it_value: linux_timespec,
5376}
5377#[test]
5378fn bindgen_test_layout_itimerspec() {
5379 const UNINIT: ::core::mem::MaybeUninit<linux_itimerspec> = ::core::mem::MaybeUninit::uninit();
5380 let ptr = UNINIT.as_ptr();
5381 assert_eq!(
5382 ::core::mem::size_of::<linux_itimerspec>(),
5383 32usize,
5384 concat!("Size of: ", stringify!(linux_itimerspec))
5385 );
5386 assert_eq!(
5387 ::core::mem::align_of::<linux_itimerspec>(),
5388 8usize,
5389 concat!("Alignment of ", stringify!(linux_itimerspec))
5390 );
5391 assert_eq!(
5392 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
5393 0usize,
5394 concat!(
5395 "Offset of field: ",
5396 stringify!(linux_itimerspec),
5397 "::",
5398 stringify!(it_interval)
5399 )
5400 );
5401 assert_eq!(
5402 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
5403 16usize,
5404 concat!(
5405 "Offset of field: ",
5406 stringify!(linux_itimerspec),
5407 "::",
5408 stringify!(it_value)
5409 )
5410 );
5411}
5412#[repr(C)]
5413#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5414pub struct linux_itimerval {
5415 pub it_interval: linux_timeval,
5416 pub it_value: linux_timeval,
5417}
5418#[test]
5419fn bindgen_test_layout_itimerval() {
5420 const UNINIT: ::core::mem::MaybeUninit<linux_itimerval> = ::core::mem::MaybeUninit::uninit();
5421 let ptr = UNINIT.as_ptr();
5422 assert_eq!(
5423 ::core::mem::size_of::<linux_itimerval>(),
5424 32usize,
5425 concat!("Size of: ", stringify!(linux_itimerval))
5426 );
5427 assert_eq!(
5428 ::core::mem::align_of::<linux_itimerval>(),
5429 8usize,
5430 concat!("Alignment of ", stringify!(linux_itimerval))
5431 );
5432 assert_eq!(
5433 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
5434 0usize,
5435 concat!(
5436 "Offset of field: ",
5437 stringify!(linux_itimerval),
5438 "::",
5439 stringify!(it_interval)
5440 )
5441 );
5442 assert_eq!(
5443 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
5444 16usize,
5445 concat!(
5446 "Offset of field: ",
5447 stringify!(linux_itimerval),
5448 "::",
5449 stringify!(it_value)
5450 )
5451 );
5452}
5453#[repr(C)]
5454#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5455pub struct linux_new_utsname {
5456 pub sysname: [::core::ffi::c_char; 65usize],
5457 pub nodename: [::core::ffi::c_char; 65usize],
5458 pub release: [::core::ffi::c_char; 65usize],
5459 pub version: [::core::ffi::c_char; 65usize],
5460 pub machine: [::core::ffi::c_char; 65usize],
5461 pub domainname: [::core::ffi::c_char; 65usize],
5462}
5463#[test]
5464fn bindgen_test_layout_new_utsname() {
5465 const UNINIT: ::core::mem::MaybeUninit<linux_new_utsname> = ::core::mem::MaybeUninit::uninit();
5466 let ptr = UNINIT.as_ptr();
5467 assert_eq!(
5468 ::core::mem::size_of::<linux_new_utsname>(),
5469 390usize,
5470 concat!("Size of: ", stringify!(linux_new_utsname))
5471 );
5472 assert_eq!(
5473 ::core::mem::align_of::<linux_new_utsname>(),
5474 1usize,
5475 concat!("Alignment of ", stringify!(linux_new_utsname))
5476 );
5477 assert_eq!(
5478 unsafe { ::core::ptr::addr_of!((*ptr).sysname) as usize - ptr as usize },
5479 0usize,
5480 concat!(
5481 "Offset of field: ",
5482 stringify!(linux_new_utsname),
5483 "::",
5484 stringify!(sysname)
5485 )
5486 );
5487 assert_eq!(
5488 unsafe { ::core::ptr::addr_of!((*ptr).nodename) as usize - ptr as usize },
5489 65usize,
5490 concat!(
5491 "Offset of field: ",
5492 stringify!(linux_new_utsname),
5493 "::",
5494 stringify!(nodename)
5495 )
5496 );
5497 assert_eq!(
5498 unsafe { ::core::ptr::addr_of!((*ptr).release) as usize - ptr as usize },
5499 130usize,
5500 concat!(
5501 "Offset of field: ",
5502 stringify!(linux_new_utsname),
5503 "::",
5504 stringify!(release)
5505 )
5506 );
5507 assert_eq!(
5508 unsafe { ::core::ptr::addr_of!((*ptr).version) as usize - ptr as usize },
5509 195usize,
5510 concat!(
5511 "Offset of field: ",
5512 stringify!(linux_new_utsname),
5513 "::",
5514 stringify!(version)
5515 )
5516 );
5517 assert_eq!(
5518 unsafe { ::core::ptr::addr_of!((*ptr).machine) as usize - ptr as usize },
5519 260usize,
5520 concat!(
5521 "Offset of field: ",
5522 stringify!(linux_new_utsname),
5523 "::",
5524 stringify!(machine)
5525 )
5526 );
5527 assert_eq!(
5528 unsafe { ::core::ptr::addr_of!((*ptr).domainname) as usize - ptr as usize },
5529 325usize,
5530 concat!(
5531 "Offset of field: ",
5532 stringify!(linux_new_utsname),
5533 "::",
5534 stringify!(domainname)
5535 )
5536 );
5537}
5538#[repr(C)]
5539#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5540pub struct linux__fpx_sw_bytes {
5541 pub magic1: linux___u32,
5542 pub extended_size: linux___u32,
5543 pub xfeatures: linux___u64,
5544 pub xstate_size: linux___u32,
5545 pub padding: [linux___u32; 7usize],
5546}
5547#[test]
5548fn bindgen_test_layout__fpx_sw_bytes() {
5549 const UNINIT: ::core::mem::MaybeUninit<linux__fpx_sw_bytes> =
5550 ::core::mem::MaybeUninit::uninit();
5551 let ptr = UNINIT.as_ptr();
5552 assert_eq!(
5553 ::core::mem::size_of::<linux__fpx_sw_bytes>(),
5554 48usize,
5555 concat!("Size of: ", stringify!(linux__fpx_sw_bytes))
5556 );
5557 assert_eq!(
5558 ::core::mem::align_of::<linux__fpx_sw_bytes>(),
5559 8usize,
5560 concat!("Alignment of ", stringify!(linux__fpx_sw_bytes))
5561 );
5562 assert_eq!(
5563 unsafe { ::core::ptr::addr_of!((*ptr).magic1) as usize - ptr as usize },
5564 0usize,
5565 concat!(
5566 "Offset of field: ",
5567 stringify!(linux__fpx_sw_bytes),
5568 "::",
5569 stringify!(magic1)
5570 )
5571 );
5572 assert_eq!(
5573 unsafe { ::core::ptr::addr_of!((*ptr).extended_size) as usize - ptr as usize },
5574 4usize,
5575 concat!(
5576 "Offset of field: ",
5577 stringify!(linux__fpx_sw_bytes),
5578 "::",
5579 stringify!(extended_size)
5580 )
5581 );
5582 assert_eq!(
5583 unsafe { ::core::ptr::addr_of!((*ptr).xfeatures) as usize - ptr as usize },
5584 8usize,
5585 concat!(
5586 "Offset of field: ",
5587 stringify!(linux__fpx_sw_bytes),
5588 "::",
5589 stringify!(xfeatures)
5590 )
5591 );
5592 assert_eq!(
5593 unsafe { ::core::ptr::addr_of!((*ptr).xstate_size) as usize - ptr as usize },
5594 16usize,
5595 concat!(
5596 "Offset of field: ",
5597 stringify!(linux__fpx_sw_bytes),
5598 "::",
5599 stringify!(xstate_size)
5600 )
5601 );
5602 assert_eq!(
5603 unsafe { ::core::ptr::addr_of!((*ptr).padding) as usize - ptr as usize },
5604 20usize,
5605 concat!(
5606 "Offset of field: ",
5607 stringify!(linux__fpx_sw_bytes),
5608 "::",
5609 stringify!(padding)
5610 )
5611 );
5612}
5613#[repr(C)]
5614#[derive(Copy, Clone)]
5615pub struct linux__fpstate_64 {
5616 pub cwd: linux___u16,
5617 pub swd: linux___u16,
5618 pub twd: linux___u16,
5619 pub fop: linux___u16,
5620 pub rip: linux___u64,
5621 pub rdp: linux___u64,
5622 pub mxcsr: linux___u32,
5623 pub mxcsr_mask: linux___u32,
5624 pub st_space: [linux___u32; 32usize],
5625 pub xmm_space: [linux___u32; 64usize],
5626 pub reserved2: [linux___u32; 12usize],
5627 pub l__bindgen_anon_1: linux__fpstate_64__bindgen_ty_1,
5628}
5629#[repr(C)]
5630#[derive(Copy, Clone)]
5631pub union linux__fpstate_64__bindgen_ty_1 {
5632 pub reserved3: [linux___u32; 12usize],
5633 pub sw_reserved: linux__fpx_sw_bytes,
5634}
5635#[test]
5636fn bindgen_test_layout__fpstate_64__bindgen_ty_1() {
5637 const UNINIT: ::core::mem::MaybeUninit<linux__fpstate_64__bindgen_ty_1> =
5638 ::core::mem::MaybeUninit::uninit();
5639 let ptr = UNINIT.as_ptr();
5640 assert_eq!(
5641 ::core::mem::size_of::<linux__fpstate_64__bindgen_ty_1>(),
5642 48usize,
5643 concat!("Size of: ", stringify!(linux__fpstate_64__bindgen_ty_1))
5644 );
5645 assert_eq!(
5646 ::core::mem::align_of::<linux__fpstate_64__bindgen_ty_1>(),
5647 8usize,
5648 concat!("Alignment of ", stringify!(linux__fpstate_64__bindgen_ty_1))
5649 );
5650 assert_eq!(
5651 unsafe { ::core::ptr::addr_of!((*ptr).reserved3) as usize - ptr as usize },
5652 0usize,
5653 concat!(
5654 "Offset of field: ",
5655 stringify!(linux__fpstate_64__bindgen_ty_1),
5656 "::",
5657 stringify!(reserved3)
5658 )
5659 );
5660 assert_eq!(
5661 unsafe { ::core::ptr::addr_of!((*ptr).sw_reserved) as usize - ptr as usize },
5662 0usize,
5663 concat!(
5664 "Offset of field: ",
5665 stringify!(linux__fpstate_64__bindgen_ty_1),
5666 "::",
5667 stringify!(sw_reserved)
5668 )
5669 );
5670}
5671impl ::core::fmt::Debug for linux__fpstate_64__bindgen_ty_1 {
5672 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5673 write!(f, "linux__fpstate_64__bindgen_ty_1 {{ union }}")
5674 }
5675}
5676#[test]
5677fn bindgen_test_layout__fpstate_64() {
5678 const UNINIT: ::core::mem::MaybeUninit<linux__fpstate_64> = ::core::mem::MaybeUninit::uninit();
5679 let ptr = UNINIT.as_ptr();
5680 assert_eq!(
5681 ::core::mem::size_of::<linux__fpstate_64>(),
5682 512usize,
5683 concat!("Size of: ", stringify!(linux__fpstate_64))
5684 );
5685 assert_eq!(
5686 ::core::mem::align_of::<linux__fpstate_64>(),
5687 8usize,
5688 concat!("Alignment of ", stringify!(linux__fpstate_64))
5689 );
5690 assert_eq!(
5691 unsafe { ::core::ptr::addr_of!((*ptr).cwd) as usize - ptr as usize },
5692 0usize,
5693 concat!(
5694 "Offset of field: ",
5695 stringify!(linux__fpstate_64),
5696 "::",
5697 stringify!(cwd)
5698 )
5699 );
5700 assert_eq!(
5701 unsafe { ::core::ptr::addr_of!((*ptr).swd) as usize - ptr as usize },
5702 2usize,
5703 concat!(
5704 "Offset of field: ",
5705 stringify!(linux__fpstate_64),
5706 "::",
5707 stringify!(swd)
5708 )
5709 );
5710 assert_eq!(
5711 unsafe { ::core::ptr::addr_of!((*ptr).twd) as usize - ptr as usize },
5712 4usize,
5713 concat!(
5714 "Offset of field: ",
5715 stringify!(linux__fpstate_64),
5716 "::",
5717 stringify!(twd)
5718 )
5719 );
5720 assert_eq!(
5721 unsafe { ::core::ptr::addr_of!((*ptr).fop) as usize - ptr as usize },
5722 6usize,
5723 concat!(
5724 "Offset of field: ",
5725 stringify!(linux__fpstate_64),
5726 "::",
5727 stringify!(fop)
5728 )
5729 );
5730 assert_eq!(
5731 unsafe { ::core::ptr::addr_of!((*ptr).rip) as usize - ptr as usize },
5732 8usize,
5733 concat!(
5734 "Offset of field: ",
5735 stringify!(linux__fpstate_64),
5736 "::",
5737 stringify!(rip)
5738 )
5739 );
5740 assert_eq!(
5741 unsafe { ::core::ptr::addr_of!((*ptr).rdp) as usize - ptr as usize },
5742 16usize,
5743 concat!(
5744 "Offset of field: ",
5745 stringify!(linux__fpstate_64),
5746 "::",
5747 stringify!(rdp)
5748 )
5749 );
5750 assert_eq!(
5751 unsafe { ::core::ptr::addr_of!((*ptr).mxcsr) as usize - ptr as usize },
5752 24usize,
5753 concat!(
5754 "Offset of field: ",
5755 stringify!(linux__fpstate_64),
5756 "::",
5757 stringify!(mxcsr)
5758 )
5759 );
5760 assert_eq!(
5761 unsafe { ::core::ptr::addr_of!((*ptr).mxcsr_mask) as usize - ptr as usize },
5762 28usize,
5763 concat!(
5764 "Offset of field: ",
5765 stringify!(linux__fpstate_64),
5766 "::",
5767 stringify!(mxcsr_mask)
5768 )
5769 );
5770 assert_eq!(
5771 unsafe { ::core::ptr::addr_of!((*ptr).st_space) as usize - ptr as usize },
5772 32usize,
5773 concat!(
5774 "Offset of field: ",
5775 stringify!(linux__fpstate_64),
5776 "::",
5777 stringify!(st_space)
5778 )
5779 );
5780 assert_eq!(
5781 unsafe { ::core::ptr::addr_of!((*ptr).xmm_space) as usize - ptr as usize },
5782 160usize,
5783 concat!(
5784 "Offset of field: ",
5785 stringify!(linux__fpstate_64),
5786 "::",
5787 stringify!(xmm_space)
5788 )
5789 );
5790 assert_eq!(
5791 unsafe { ::core::ptr::addr_of!((*ptr).reserved2) as usize - ptr as usize },
5792 416usize,
5793 concat!(
5794 "Offset of field: ",
5795 stringify!(linux__fpstate_64),
5796 "::",
5797 stringify!(reserved2)
5798 )
5799 );
5800}
5801impl ::core::fmt::Debug for linux__fpstate_64 {
5802 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5803 write!(
5804 f,
5805 "linux__fpstate_64 {{ cwd: {:?}, swd: {:?}, twd: {:?}, fop: {:?}, rip: {:?}, rdp: {:?}, mxcsr: {:?}, mxcsr_mask: {:?}, st_space: {:?}, xmm_space: {:?}, reserved2: {:?}, l__bindgen_anon_1: {:?} }}",
5806 self.cwd,
5807 self.swd,
5808 self.twd,
5809 self.fop,
5810 self.rip,
5811 self.rdp,
5812 self.mxcsr,
5813 self.mxcsr_mask,
5814 self.st_space,
5815 self.xmm_space,
5816 self.reserved2,
5817 self.l__bindgen_anon_1
5818 )
5819 }
5820}
5821#[repr(C)]
5822#[derive(Copy, Clone)]
5823pub struct linux_sigcontext {
5824 pub r8: linux___u64,
5825 pub r9: linux___u64,
5826 pub r10: linux___u64,
5827 pub r11: linux___u64,
5828 pub r12: linux___u64,
5829 pub r13: linux___u64,
5830 pub r14: linux___u64,
5831 pub r15: linux___u64,
5832 pub rdi: linux___u64,
5833 pub rsi: linux___u64,
5834 pub rbp: linux___u64,
5835 pub rbx: linux___u64,
5836 pub rdx: linux___u64,
5837 pub rax: linux___u64,
5838 pub rcx: linux___u64,
5839 pub rsp: linux___u64,
5840 pub rip: linux___u64,
5841 pub eflags: linux___u64,
5842 pub cs: linux___u16,
5843 pub gs: linux___u16,
5844 pub fs: linux___u16,
5845 pub l__bindgen_anon_1: linux_sigcontext__bindgen_ty_1,
5846 pub err: linux___u64,
5847 pub trapno: linux___u64,
5848 pub oldmask: linux___u64,
5849 pub cr2: linux___u64,
5850 pub fpstate: *mut linux__fpstate_64,
5851 pub reserved1: [linux___u64; 8usize],
5852}
5853#[repr(C)]
5854#[derive(Copy, Clone)]
5855pub union linux_sigcontext__bindgen_ty_1 {
5856 pub ss: linux___u16,
5857 pub l__pad0: linux___u16,
5858}
5859#[test]
5860fn bindgen_test_layout_sigcontext__bindgen_ty_1() {
5861 const UNINIT: ::core::mem::MaybeUninit<linux_sigcontext__bindgen_ty_1> =
5862 ::core::mem::MaybeUninit::uninit();
5863 let ptr = UNINIT.as_ptr();
5864 assert_eq!(
5865 ::core::mem::size_of::<linux_sigcontext__bindgen_ty_1>(),
5866 2usize,
5867 concat!("Size of: ", stringify!(linux_sigcontext__bindgen_ty_1))
5868 );
5869 assert_eq!(
5870 ::core::mem::align_of::<linux_sigcontext__bindgen_ty_1>(),
5871 2usize,
5872 concat!("Alignment of ", stringify!(linux_sigcontext__bindgen_ty_1))
5873 );
5874 assert_eq!(
5875 unsafe { ::core::ptr::addr_of!((*ptr).ss) as usize - ptr as usize },
5876 0usize,
5877 concat!(
5878 "Offset of field: ",
5879 stringify!(linux_sigcontext__bindgen_ty_1),
5880 "::",
5881 stringify!(ss)
5882 )
5883 );
5884 assert_eq!(
5885 unsafe { ::core::ptr::addr_of!((*ptr).l__pad0) as usize - ptr as usize },
5886 0usize,
5887 concat!(
5888 "Offset of field: ",
5889 stringify!(linux_sigcontext__bindgen_ty_1),
5890 "::",
5891 stringify!(l__pad0)
5892 )
5893 );
5894}
5895impl ::core::fmt::Debug for linux_sigcontext__bindgen_ty_1 {
5896 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5897 write!(f, "linux_sigcontext__bindgen_ty_1 {{ union }}")
5898 }
5899}
5900#[test]
5901fn bindgen_test_layout_sigcontext() {
5902 const UNINIT: ::core::mem::MaybeUninit<linux_sigcontext> = ::core::mem::MaybeUninit::uninit();
5903 let ptr = UNINIT.as_ptr();
5904 assert_eq!(
5905 ::core::mem::size_of::<linux_sigcontext>(),
5906 256usize,
5907 concat!("Size of: ", stringify!(linux_sigcontext))
5908 );
5909 assert_eq!(
5910 ::core::mem::align_of::<linux_sigcontext>(),
5911 8usize,
5912 concat!("Alignment of ", stringify!(linux_sigcontext))
5913 );
5914 assert_eq!(
5915 unsafe { ::core::ptr::addr_of!((*ptr).r8) as usize - ptr as usize },
5916 0usize,
5917 concat!(
5918 "Offset of field: ",
5919 stringify!(linux_sigcontext),
5920 "::",
5921 stringify!(r8)
5922 )
5923 );
5924 assert_eq!(
5925 unsafe { ::core::ptr::addr_of!((*ptr).r9) as usize - ptr as usize },
5926 8usize,
5927 concat!(
5928 "Offset of field: ",
5929 stringify!(linux_sigcontext),
5930 "::",
5931 stringify!(r9)
5932 )
5933 );
5934 assert_eq!(
5935 unsafe { ::core::ptr::addr_of!((*ptr).r10) as usize - ptr as usize },
5936 16usize,
5937 concat!(
5938 "Offset of field: ",
5939 stringify!(linux_sigcontext),
5940 "::",
5941 stringify!(r10)
5942 )
5943 );
5944 assert_eq!(
5945 unsafe { ::core::ptr::addr_of!((*ptr).r11) as usize - ptr as usize },
5946 24usize,
5947 concat!(
5948 "Offset of field: ",
5949 stringify!(linux_sigcontext),
5950 "::",
5951 stringify!(r11)
5952 )
5953 );
5954 assert_eq!(
5955 unsafe { ::core::ptr::addr_of!((*ptr).r12) as usize - ptr as usize },
5956 32usize,
5957 concat!(
5958 "Offset of field: ",
5959 stringify!(linux_sigcontext),
5960 "::",
5961 stringify!(r12)
5962 )
5963 );
5964 assert_eq!(
5965 unsafe { ::core::ptr::addr_of!((*ptr).r13) as usize - ptr as usize },
5966 40usize,
5967 concat!(
5968 "Offset of field: ",
5969 stringify!(linux_sigcontext),
5970 "::",
5971 stringify!(r13)
5972 )
5973 );
5974 assert_eq!(
5975 unsafe { ::core::ptr::addr_of!((*ptr).r14) as usize - ptr as usize },
5976 48usize,
5977 concat!(
5978 "Offset of field: ",
5979 stringify!(linux_sigcontext),
5980 "::",
5981 stringify!(r14)
5982 )
5983 );
5984 assert_eq!(
5985 unsafe { ::core::ptr::addr_of!((*ptr).r15) as usize - ptr as usize },
5986 56usize,
5987 concat!(
5988 "Offset of field: ",
5989 stringify!(linux_sigcontext),
5990 "::",
5991 stringify!(r15)
5992 )
5993 );
5994 assert_eq!(
5995 unsafe { ::core::ptr::addr_of!((*ptr).rdi) as usize - ptr as usize },
5996 64usize,
5997 concat!(
5998 "Offset of field: ",
5999 stringify!(linux_sigcontext),
6000 "::",
6001 stringify!(rdi)
6002 )
6003 );
6004 assert_eq!(
6005 unsafe { ::core::ptr::addr_of!((*ptr).rsi) as usize - ptr as usize },
6006 72usize,
6007 concat!(
6008 "Offset of field: ",
6009 stringify!(linux_sigcontext),
6010 "::",
6011 stringify!(rsi)
6012 )
6013 );
6014 assert_eq!(
6015 unsafe { ::core::ptr::addr_of!((*ptr).rbp) as usize - ptr as usize },
6016 80usize,
6017 concat!(
6018 "Offset of field: ",
6019 stringify!(linux_sigcontext),
6020 "::",
6021 stringify!(rbp)
6022 )
6023 );
6024 assert_eq!(
6025 unsafe { ::core::ptr::addr_of!((*ptr).rbx) as usize - ptr as usize },
6026 88usize,
6027 concat!(
6028 "Offset of field: ",
6029 stringify!(linux_sigcontext),
6030 "::",
6031 stringify!(rbx)
6032 )
6033 );
6034 assert_eq!(
6035 unsafe { ::core::ptr::addr_of!((*ptr).rdx) as usize - ptr as usize },
6036 96usize,
6037 concat!(
6038 "Offset of field: ",
6039 stringify!(linux_sigcontext),
6040 "::",
6041 stringify!(rdx)
6042 )
6043 );
6044 assert_eq!(
6045 unsafe { ::core::ptr::addr_of!((*ptr).rax) as usize - ptr as usize },
6046 104usize,
6047 concat!(
6048 "Offset of field: ",
6049 stringify!(linux_sigcontext),
6050 "::",
6051 stringify!(rax)
6052 )
6053 );
6054 assert_eq!(
6055 unsafe { ::core::ptr::addr_of!((*ptr).rcx) as usize - ptr as usize },
6056 112usize,
6057 concat!(
6058 "Offset of field: ",
6059 stringify!(linux_sigcontext),
6060 "::",
6061 stringify!(rcx)
6062 )
6063 );
6064 assert_eq!(
6065 unsafe { ::core::ptr::addr_of!((*ptr).rsp) as usize - ptr as usize },
6066 120usize,
6067 concat!(
6068 "Offset of field: ",
6069 stringify!(linux_sigcontext),
6070 "::",
6071 stringify!(rsp)
6072 )
6073 );
6074 assert_eq!(
6075 unsafe { ::core::ptr::addr_of!((*ptr).rip) as usize - ptr as usize },
6076 128usize,
6077 concat!(
6078 "Offset of field: ",
6079 stringify!(linux_sigcontext),
6080 "::",
6081 stringify!(rip)
6082 )
6083 );
6084 assert_eq!(
6085 unsafe { ::core::ptr::addr_of!((*ptr).eflags) as usize - ptr as usize },
6086 136usize,
6087 concat!(
6088 "Offset of field: ",
6089 stringify!(linux_sigcontext),
6090 "::",
6091 stringify!(eflags)
6092 )
6093 );
6094 assert_eq!(
6095 unsafe { ::core::ptr::addr_of!((*ptr).cs) as usize - ptr as usize },
6096 144usize,
6097 concat!(
6098 "Offset of field: ",
6099 stringify!(linux_sigcontext),
6100 "::",
6101 stringify!(cs)
6102 )
6103 );
6104 assert_eq!(
6105 unsafe { ::core::ptr::addr_of!((*ptr).gs) as usize - ptr as usize },
6106 146usize,
6107 concat!(
6108 "Offset of field: ",
6109 stringify!(linux_sigcontext),
6110 "::",
6111 stringify!(gs)
6112 )
6113 );
6114 assert_eq!(
6115 unsafe { ::core::ptr::addr_of!((*ptr).fs) as usize - ptr as usize },
6116 148usize,
6117 concat!(
6118 "Offset of field: ",
6119 stringify!(linux_sigcontext),
6120 "::",
6121 stringify!(fs)
6122 )
6123 );
6124 assert_eq!(
6125 unsafe { ::core::ptr::addr_of!((*ptr).err) as usize - ptr as usize },
6126 152usize,
6127 concat!(
6128 "Offset of field: ",
6129 stringify!(linux_sigcontext),
6130 "::",
6131 stringify!(err)
6132 )
6133 );
6134 assert_eq!(
6135 unsafe { ::core::ptr::addr_of!((*ptr).trapno) as usize - ptr as usize },
6136 160usize,
6137 concat!(
6138 "Offset of field: ",
6139 stringify!(linux_sigcontext),
6140 "::",
6141 stringify!(trapno)
6142 )
6143 );
6144 assert_eq!(
6145 unsafe { ::core::ptr::addr_of!((*ptr).oldmask) as usize - ptr as usize },
6146 168usize,
6147 concat!(
6148 "Offset of field: ",
6149 stringify!(linux_sigcontext),
6150 "::",
6151 stringify!(oldmask)
6152 )
6153 );
6154 assert_eq!(
6155 unsafe { ::core::ptr::addr_of!((*ptr).cr2) as usize - ptr as usize },
6156 176usize,
6157 concat!(
6158 "Offset of field: ",
6159 stringify!(linux_sigcontext),
6160 "::",
6161 stringify!(cr2)
6162 )
6163 );
6164 assert_eq!(
6165 unsafe { ::core::ptr::addr_of!((*ptr).fpstate) as usize - ptr as usize },
6166 184usize,
6167 concat!(
6168 "Offset of field: ",
6169 stringify!(linux_sigcontext),
6170 "::",
6171 stringify!(fpstate)
6172 )
6173 );
6174 assert_eq!(
6175 unsafe { ::core::ptr::addr_of!((*ptr).reserved1) as usize - ptr as usize },
6176 192usize,
6177 concat!(
6178 "Offset of field: ",
6179 stringify!(linux_sigcontext),
6180 "::",
6181 stringify!(reserved1)
6182 )
6183 );
6184}
6185impl ::core::fmt::Debug for linux_sigcontext {
6186 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6187 write!(
6188 f,
6189 "linux_sigcontext {{ r8: {:?}, r9: {:?}, r10: {:?}, r11: {:?}, r12: {:?}, r13: {:?}, r14: {:?}, r15: {:?}, rdi: {:?}, rsi: {:?}, rbp: {:?}, rbx: {:?}, rdx: {:?}, rax: {:?}, rcx: {:?}, rsp: {:?}, rip: {:?}, eflags: {:?}, cs: {:?}, gs: {:?}, fs: {:?}, l__bindgen_anon_1: {:?}, err: {:?}, trapno: {:?}, oldmask: {:?}, cr2: {:?}, fpstate: {:?}, reserved1: {:?} }}",
6190 self.r8,
6191 self.r9,
6192 self.r10,
6193 self.r11,
6194 self.r12,
6195 self.r13,
6196 self.r14,
6197 self.r15,
6198 self.rdi,
6199 self.rsi,
6200 self.rbp,
6201 self.rbx,
6202 self.rdx,
6203 self.rax,
6204 self.rcx,
6205 self.rsp,
6206 self.rip,
6207 self.eflags,
6208 self.cs,
6209 self.gs,
6210 self.fs,
6211 self.l__bindgen_anon_1,
6212 self.err,
6213 self.trapno,
6214 self.oldmask,
6215 self.cr2,
6216 self.fpstate,
6217 self.reserved1
6218 )
6219 }
6220}
6221#[repr(C)]
6222#[derive(Debug, Copy, Clone, PartialEq, Eq)]
6223pub struct linux_stat {
6224 pub st_dev: linux___kernel_ulong_t,
6225 pub st_ino: linux___kernel_ulong_t,
6226 pub st_nlink: linux___kernel_ulong_t,
6227 pub st_mode: ::core::ffi::c_uint,
6228 pub st_uid: ::core::ffi::c_uint,
6229 pub st_gid: ::core::ffi::c_uint,
6230 pub l__pad0: ::core::ffi::c_uint,
6231 pub st_rdev: linux___kernel_ulong_t,
6232 pub st_size: linux___kernel_long_t,
6233 pub st_blksize: linux___kernel_long_t,
6234 pub st_blocks: linux___kernel_long_t,
6235 pub st_atime: linux___kernel_ulong_t,
6236 pub st_atime_nsec: linux___kernel_ulong_t,
6237 pub st_mtime: linux___kernel_ulong_t,
6238 pub st_mtime_nsec: linux___kernel_ulong_t,
6239 pub st_ctime: linux___kernel_ulong_t,
6240 pub st_ctime_nsec: linux___kernel_ulong_t,
6241 pub l__unused: [linux___kernel_long_t; 3usize],
6242}
6243#[test]
6244fn bindgen_test_layout_stat() {
6245 const UNINIT: ::core::mem::MaybeUninit<linux_stat> = ::core::mem::MaybeUninit::uninit();
6246 let ptr = UNINIT.as_ptr();
6247 assert_eq!(
6248 ::core::mem::size_of::<linux_stat>(),
6249 144usize,
6250 concat!("Size of: ", stringify!(linux_stat))
6251 );
6252 assert_eq!(
6253 ::core::mem::align_of::<linux_stat>(),
6254 8usize,
6255 concat!("Alignment of ", stringify!(linux_stat))
6256 );
6257 assert_eq!(
6258 unsafe { ::core::ptr::addr_of!((*ptr).st_dev) as usize - ptr as usize },
6259 0usize,
6260 concat!(
6261 "Offset of field: ",
6262 stringify!(linux_stat),
6263 "::",
6264 stringify!(st_dev)
6265 )
6266 );
6267 assert_eq!(
6268 unsafe { ::core::ptr::addr_of!((*ptr).st_ino) as usize - ptr as usize },
6269 8usize,
6270 concat!(
6271 "Offset of field: ",
6272 stringify!(linux_stat),
6273 "::",
6274 stringify!(st_ino)
6275 )
6276 );
6277 assert_eq!(
6278 unsafe { ::core::ptr::addr_of!((*ptr).st_nlink) as usize - ptr as usize },
6279 16usize,
6280 concat!(
6281 "Offset of field: ",
6282 stringify!(linux_stat),
6283 "::",
6284 stringify!(st_nlink)
6285 )
6286 );
6287 assert_eq!(
6288 unsafe { ::core::ptr::addr_of!((*ptr).st_mode) as usize - ptr as usize },
6289 24usize,
6290 concat!(
6291 "Offset of field: ",
6292 stringify!(linux_stat),
6293 "::",
6294 stringify!(st_mode)
6295 )
6296 );
6297 assert_eq!(
6298 unsafe { ::core::ptr::addr_of!((*ptr).st_uid) as usize - ptr as usize },
6299 28usize,
6300 concat!(
6301 "Offset of field: ",
6302 stringify!(linux_stat),
6303 "::",
6304 stringify!(st_uid)
6305 )
6306 );
6307 assert_eq!(
6308 unsafe { ::core::ptr::addr_of!((*ptr).st_gid) as usize - ptr as usize },
6309 32usize,
6310 concat!(
6311 "Offset of field: ",
6312 stringify!(linux_stat),
6313 "::",
6314 stringify!(st_gid)
6315 )
6316 );
6317 assert_eq!(
6318 unsafe { ::core::ptr::addr_of!((*ptr).l__pad0) as usize - ptr as usize },
6319 36usize,
6320 concat!(
6321 "Offset of field: ",
6322 stringify!(linux_stat),
6323 "::",
6324 stringify!(l__pad0)
6325 )
6326 );
6327 assert_eq!(
6328 unsafe { ::core::ptr::addr_of!((*ptr).st_rdev) as usize - ptr as usize },
6329 40usize,
6330 concat!(
6331 "Offset of field: ",
6332 stringify!(linux_stat),
6333 "::",
6334 stringify!(st_rdev)
6335 )
6336 );
6337 assert_eq!(
6338 unsafe { ::core::ptr::addr_of!((*ptr).st_size) as usize - ptr as usize },
6339 48usize,
6340 concat!(
6341 "Offset of field: ",
6342 stringify!(linux_stat),
6343 "::",
6344 stringify!(st_size)
6345 )
6346 );
6347 assert_eq!(
6348 unsafe { ::core::ptr::addr_of!((*ptr).st_blksize) as usize - ptr as usize },
6349 56usize,
6350 concat!(
6351 "Offset of field: ",
6352 stringify!(linux_stat),
6353 "::",
6354 stringify!(st_blksize)
6355 )
6356 );
6357 assert_eq!(
6358 unsafe { ::core::ptr::addr_of!((*ptr).st_blocks) as usize - ptr as usize },
6359 64usize,
6360 concat!(
6361 "Offset of field: ",
6362 stringify!(linux_stat),
6363 "::",
6364 stringify!(st_blocks)
6365 )
6366 );
6367 assert_eq!(
6368 unsafe { ::core::ptr::addr_of!((*ptr).st_atime) as usize - ptr as usize },
6369 72usize,
6370 concat!(
6371 "Offset of field: ",
6372 stringify!(linux_stat),
6373 "::",
6374 stringify!(st_atime)
6375 )
6376 );
6377 assert_eq!(
6378 unsafe { ::core::ptr::addr_of!((*ptr).st_atime_nsec) as usize - ptr as usize },
6379 80usize,
6380 concat!(
6381 "Offset of field: ",
6382 stringify!(linux_stat),
6383 "::",
6384 stringify!(st_atime_nsec)
6385 )
6386 );
6387 assert_eq!(
6388 unsafe { ::core::ptr::addr_of!((*ptr).st_mtime) as usize - ptr as usize },
6389 88usize,
6390 concat!(
6391 "Offset of field: ",
6392 stringify!(linux_stat),
6393 "::",
6394 stringify!(st_mtime)
6395 )
6396 );
6397 assert_eq!(
6398 unsafe { ::core::ptr::addr_of!((*ptr).st_mtime_nsec) as usize - ptr as usize },
6399 96usize,
6400 concat!(
6401 "Offset of field: ",
6402 stringify!(linux_stat),
6403 "::",
6404 stringify!(st_mtime_nsec)
6405 )
6406 );
6407 assert_eq!(
6408 unsafe { ::core::ptr::addr_of!((*ptr).st_ctime) as usize - ptr as usize },
6409 104usize,
6410 concat!(
6411 "Offset of field: ",
6412 stringify!(linux_stat),
6413 "::",
6414 stringify!(st_ctime)
6415 )
6416 );
6417 assert_eq!(
6418 unsafe { ::core::ptr::addr_of!((*ptr).st_ctime_nsec) as usize - ptr as usize },
6419 112usize,
6420 concat!(
6421 "Offset of field: ",
6422 stringify!(linux_stat),
6423 "::",
6424 stringify!(st_ctime_nsec)
6425 )
6426 );
6427 assert_eq!(
6428 unsafe { ::core::ptr::addr_of!((*ptr).l__unused) as usize - ptr as usize },
6429 120usize,
6430 concat!(
6431 "Offset of field: ",
6432 stringify!(linux_stat),
6433 "::",
6434 stringify!(l__unused)
6435 )
6436 );
6437}
6438#[repr(C)]
6439#[derive(Copy, Clone)]
6440pub struct linux_ucontext {
6441 pub uc_flags: ::core::ffi::c_ulong,
6442 pub uc_link: *mut linux_ucontext,
6443 pub uc_stack: linux_stack_t,
6444 pub uc_mcontext: linux_sigcontext,
6445 pub uc_sigmask: linux_sigset_t,
6446}
6447#[test]
6448fn bindgen_test_layout_ucontext() {
6449 const UNINIT: ::core::mem::MaybeUninit<linux_ucontext> = ::core::mem::MaybeUninit::uninit();
6450 let ptr = UNINIT.as_ptr();
6451 assert_eq!(
6452 ::core::mem::size_of::<linux_ucontext>(),
6453 304usize,
6454 concat!("Size of: ", stringify!(linux_ucontext))
6455 );
6456 assert_eq!(
6457 ::core::mem::align_of::<linux_ucontext>(),
6458 8usize,
6459 concat!("Alignment of ", stringify!(linux_ucontext))
6460 );
6461 assert_eq!(
6462 unsafe { ::core::ptr::addr_of!((*ptr).uc_flags) as usize - ptr as usize },
6463 0usize,
6464 concat!(
6465 "Offset of field: ",
6466 stringify!(linux_ucontext),
6467 "::",
6468 stringify!(uc_flags)
6469 )
6470 );
6471 assert_eq!(
6472 unsafe { ::core::ptr::addr_of!((*ptr).uc_link) as usize - ptr as usize },
6473 8usize,
6474 concat!(
6475 "Offset of field: ",
6476 stringify!(linux_ucontext),
6477 "::",
6478 stringify!(uc_link)
6479 )
6480 );
6481 assert_eq!(
6482 unsafe { ::core::ptr::addr_of!((*ptr).uc_stack) as usize - ptr as usize },
6483 16usize,
6484 concat!(
6485 "Offset of field: ",
6486 stringify!(linux_ucontext),
6487 "::",
6488 stringify!(uc_stack)
6489 )
6490 );
6491 assert_eq!(
6492 unsafe { ::core::ptr::addr_of!((*ptr).uc_mcontext) as usize - ptr as usize },
6493 40usize,
6494 concat!(
6495 "Offset of field: ",
6496 stringify!(linux_ucontext),
6497 "::",
6498 stringify!(uc_mcontext)
6499 )
6500 );
6501 assert_eq!(
6502 unsafe { ::core::ptr::addr_of!((*ptr).uc_sigmask) as usize - ptr as usize },
6503 296usize,
6504 concat!(
6505 "Offset of field: ",
6506 stringify!(linux_ucontext),
6507 "::",
6508 stringify!(uc_sigmask)
6509 )
6510 );
6511}
6512impl ::core::fmt::Debug for linux_ucontext {
6513 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6514 write!(
6515 f,
6516 "linux_ucontext {{ uc_flags: {:?}, uc_link: {:?}, uc_stack: {:?}, uc_mcontext: {:?}, uc_sigmask: {:?} }}",
6517 self.uc_flags, self.uc_link, self.uc_stack, self.uc_mcontext, self.uc_sigmask
6518 )
6519 }
6520}
6521#[repr(C)]
6522#[derive(Debug, Copy, Clone, PartialEq, Eq)]
6523pub struct linux_pollfd {
6524 pub fd: ::core::ffi::c_int,
6525 pub events: ::core::ffi::c_short,
6526 pub revents: ::core::ffi::c_short,
6527}
6528#[test]
6529fn bindgen_test_layout_pollfd() {
6530 const UNINIT: ::core::mem::MaybeUninit<linux_pollfd> = ::core::mem::MaybeUninit::uninit();
6531 let ptr = UNINIT.as_ptr();
6532 assert_eq!(
6533 ::core::mem::size_of::<linux_pollfd>(),
6534 8usize,
6535 concat!("Size of: ", stringify!(linux_pollfd))
6536 );
6537 assert_eq!(
6538 ::core::mem::align_of::<linux_pollfd>(),
6539 4usize,
6540 concat!("Alignment of ", stringify!(linux_pollfd))
6541 );
6542 assert_eq!(
6543 unsafe { ::core::ptr::addr_of!((*ptr).fd) as usize - ptr as usize },
6544 0usize,
6545 concat!(
6546 "Offset of field: ",
6547 stringify!(linux_pollfd),
6548 "::",
6549 stringify!(fd)
6550 )
6551 );
6552 assert_eq!(
6553 unsafe { ::core::ptr::addr_of!((*ptr).events) as usize - ptr as usize },
6554 4usize,
6555 concat!(
6556 "Offset of field: ",
6557 stringify!(linux_pollfd),
6558 "::",
6559 stringify!(events)
6560 )
6561 );
6562 assert_eq!(
6563 unsafe { ::core::ptr::addr_of!((*ptr).revents) as usize - ptr as usize },
6564 6usize,
6565 concat!(
6566 "Offset of field: ",
6567 stringify!(linux_pollfd),
6568 "::",
6569 stringify!(revents)
6570 )
6571 );
6572}
6573pub const LINUX_sock_shutdown_cmd_SHUT_RD: linux_sock_shutdown_cmd = 0;
6574pub const LINUX_sock_shutdown_cmd_SHUT_WR: linux_sock_shutdown_cmd = 1;
6575pub const LINUX_sock_shutdown_cmd_SHUT_RDWR: linux_sock_shutdown_cmd = 2;
6576pub type linux_sock_shutdown_cmd = ::core::ffi::c_uint;