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_FP_XSTATE_MAGIC1: u32 = 1179670611;
1921pub const LINUX_FP_XSTATE_MAGIC2: u32 = 1179670597;
1922pub const LINUX_X86_FXSR_MAGIC: u32 = 0;
1923pub const LINUX_STAT_HAVE_NSEC: u32 = 1;
1924pub const LINUX_UC_FP_XSTATE: u32 = 1;
1925pub const LINUX_UC_SIGCONTEXT_SS: u32 = 2;
1926pub const LINUX_UC_STRICT_RESTORE_SS: u32 = 4;
1927pub const LINUX_POLLIN: u32 = 1;
1928pub const LINUX_POLLPRI: u32 = 2;
1929pub const LINUX_POLLOUT: u32 = 4;
1930pub const LINUX_POLLERR: u32 = 8;
1931pub const LINUX_POLLHUP: u32 = 16;
1932pub const LINUX_POLLNVAL: u32 = 32;
1933pub const LINUX_POLLRDNORM: u32 = 64;
1934pub const LINUX_POLLRDBAND: u32 = 128;
1935pub const LINUX_POLLWRNORM: u32 = 256;
1936pub const LINUX_POLLWRBAND: u32 = 512;
1937pub const LINUX_POLLMSG: u32 = 1024;
1938pub const LINUX_POLLREMOVE: u32 = 4096;
1939pub const LINUX_POLLRDHUP: u32 = 8192;
1940pub const LINUX_EPOLLIN: u32 = 1;
1941pub const LINUX_EPOLLPRI: u32 = 2;
1942pub const LINUX_EPOLLOUT: u32 = 4;
1943pub const LINUX_EPOLLERR: u32 = 8;
1944pub const LINUX_EPOLLHUP: u32 = 16;
1945pub const LINUX_EPOLLNVAL: u32 = 32;
1946pub const LINUX_EPOLLRDNORM: u32 = 64;
1947pub const LINUX_EPOLLRDBAND: u32 = 128;
1948pub const LINUX_EPOLLWRNORM: u32 = 256;
1949pub const LINUX_EPOLLWRBAND: u32 = 512;
1950pub const LINUX_EPOLLMSG: u32 = 1024;
1951pub const LINUX_EPOLLRDHUP: u32 = 8192;
1952pub const LINUX_EPOLLEXCLUSIVE: u32 = 268435456;
1953pub const LINUX_EPOLLWAKEUP: u32 = 536870912;
1954pub const LINUX_EPOLLONESHOT: u32 = 1073741824;
1955pub const LINUX_EPOLLET: u32 = 2147483648;
1956pub const LINUX_SUID_DUMP_DISABLE: u32 = 0;
1957pub const LINUX_SUID_DUMP_USER: u32 = 1;
1958pub const LINUX_SUID_DUMP_ROOT: u32 = 2;
1959pub const LINUX_AF_UNSPEC: u32 = 0;
1960pub const LINUX_AF_UNIX: u32 = 1;
1961pub const LINUX_AF_LOCAL: u32 = 1;
1962pub const LINUX_AF_INET: u32 = 2;
1963pub const LINUX_AF_AX25: u32 = 3;
1964pub const LINUX_AF_IPX: u32 = 4;
1965pub const LINUX_AF_APPLETALK: u32 = 5;
1966pub const LINUX_AF_NETROM: u32 = 6;
1967pub const LINUX_AF_BRIDGE: u32 = 7;
1968pub const LINUX_AF_ATMPVC: u32 = 8;
1969pub const LINUX_AF_X25: u32 = 9;
1970pub const LINUX_AF_INET6: u32 = 10;
1971pub const LINUX_AF_ROSE: u32 = 11;
1972pub const LINUX_AF_DECnet: u32 = 12;
1973pub const LINUX_AF_NETBEUI: u32 = 13;
1974pub const LINUX_AF_SECURITY: u32 = 14;
1975pub const LINUX_AF_KEY: u32 = 15;
1976pub const LINUX_AF_NETLINK: u32 = 16;
1977pub const LINUX_AF_ROUTE: u32 = 16;
1978pub const LINUX_AF_PACKET: u32 = 17;
1979pub const LINUX_AF_ASH: u32 = 18;
1980pub const LINUX_AF_ECONET: u32 = 19;
1981pub const LINUX_AF_ATMSVC: u32 = 20;
1982pub const LINUX_AF_RDS: u32 = 21;
1983pub const LINUX_AF_SNA: u32 = 22;
1984pub const LINUX_AF_IRDA: u32 = 23;
1985pub const LINUX_AF_PPPOX: u32 = 24;
1986pub const LINUX_AF_WANPIPE: u32 = 25;
1987pub const LINUX_AF_LLC: u32 = 26;
1988pub const LINUX_AF_IB: u32 = 27;
1989pub const LINUX_AF_MPLS: u32 = 28;
1990pub const LINUX_AF_CAN: u32 = 29;
1991pub const LINUX_AF_TIPC: u32 = 30;
1992pub const LINUX_AF_BLUETOOTH: u32 = 31;
1993pub const LINUX_AF_IUCV: u32 = 32;
1994pub const LINUX_AF_RXRPC: u32 = 33;
1995pub const LINUX_AF_ISDN: u32 = 34;
1996pub const LINUX_AF_PHONET: u32 = 35;
1997pub const LINUX_AF_IEEE802154: u32 = 36;
1998pub const LINUX_AF_CAIF: u32 = 37;
1999pub const LINUX_AF_ALG: u32 = 38;
2000pub const LINUX_AF_NFC: u32 = 39;
2001pub const LINUX_AF_VSOCK: u32 = 40;
2002pub const LINUX_AF_KCM: u32 = 41;
2003pub const LINUX_AF_QIPCRTR: u32 = 42;
2004pub const LINUX_AF_SMC: u32 = 43;
2005pub const LINUX_AF_XDP: u32 = 44;
2006pub const LINUX_AF_MCTP: u32 = 45;
2007pub type linux___u8 = ::core::ffi::c_uchar;
2008pub type linux___u16 = ::core::ffi::c_ushort;
2009pub type linux___u32 = ::core::ffi::c_uint;
2010pub type linux___u64 = ::core::ffi::c_ulonglong;
2011#[repr(C)]
2012#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2013pub struct linux___kernel_fd_set {
2014 pub fds_bits: [::core::ffi::c_ulong; 16usize],
2015}
2016#[test]
2017fn bindgen_test_layout___kernel_fd_set() {
2018 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_fd_set> =
2019 ::core::mem::MaybeUninit::uninit();
2020 let ptr = UNINIT.as_ptr();
2021 assert_eq!(
2022 ::core::mem::size_of::<linux___kernel_fd_set>(),
2023 128usize,
2024 concat!("Size of: ", stringify!(linux___kernel_fd_set))
2025 );
2026 assert_eq!(
2027 ::core::mem::align_of::<linux___kernel_fd_set>(),
2028 8usize,
2029 concat!("Alignment of ", stringify!(linux___kernel_fd_set))
2030 );
2031 assert_eq!(
2032 unsafe { ::core::ptr::addr_of!((*ptr).fds_bits) as usize - ptr as usize },
2033 0usize,
2034 concat!(
2035 "Offset of field: ",
2036 stringify!(linux___kernel_fd_set),
2037 "::",
2038 stringify!(fds_bits)
2039 )
2040 );
2041}
2042pub type linux___kernel_sighandler_t =
2043 ::core::option::Option<unsafe extern "C" fn(arg1: ::core::ffi::c_int)>;
2044pub type linux___kernel_key_t = ::core::ffi::c_int;
2045pub type linux___kernel_mqd_t = ::core::ffi::c_int;
2046pub type linux___kernel_old_uid_t = ::core::ffi::c_ushort;
2047pub type linux___kernel_old_gid_t = ::core::ffi::c_ushort;
2048pub type linux___kernel_old_dev_t = ::core::ffi::c_ulong;
2049pub type linux___kernel_long_t = ::core::ffi::c_long;
2050pub type linux___kernel_ulong_t = ::core::ffi::c_ulong;
2051pub type linux___kernel_ino_t = linux___kernel_ulong_t;
2052pub type linux___kernel_mode_t = ::core::ffi::c_uint;
2053pub type linux___kernel_pid_t = ::core::ffi::c_int;
2054pub type linux___kernel_ipc_pid_t = ::core::ffi::c_int;
2055pub type linux___kernel_uid_t = ::core::ffi::c_uint;
2056pub type linux___kernel_gid_t = ::core::ffi::c_uint;
2057pub type linux___kernel_suseconds_t = linux___kernel_long_t;
2058pub type linux___kernel_daddr_t = ::core::ffi::c_int;
2059pub type linux___kernel_uid32_t = ::core::ffi::c_uint;
2060pub type linux___kernel_gid32_t = ::core::ffi::c_uint;
2061pub type linux___kernel_size_t = linux___kernel_ulong_t;
2062pub type linux___kernel_ssize_t = linux___kernel_long_t;
2063pub type linux___kernel_ptrdiff_t = linux___kernel_long_t;
2064#[repr(C)]
2065#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2066pub struct linux___kernel_fsid_t {
2067 pub val: [::core::ffi::c_int; 2usize],
2068}
2069#[test]
2070fn bindgen_test_layout___kernel_fsid_t() {
2071 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_fsid_t> =
2072 ::core::mem::MaybeUninit::uninit();
2073 let ptr = UNINIT.as_ptr();
2074 assert_eq!(
2075 ::core::mem::size_of::<linux___kernel_fsid_t>(),
2076 8usize,
2077 concat!("Size of: ", stringify!(linux___kernel_fsid_t))
2078 );
2079 assert_eq!(
2080 ::core::mem::align_of::<linux___kernel_fsid_t>(),
2081 4usize,
2082 concat!("Alignment of ", stringify!(linux___kernel_fsid_t))
2083 );
2084 assert_eq!(
2085 unsafe { ::core::ptr::addr_of!((*ptr).val) as usize - ptr as usize },
2086 0usize,
2087 concat!(
2088 "Offset of field: ",
2089 stringify!(linux___kernel_fsid_t),
2090 "::",
2091 stringify!(val)
2092 )
2093 );
2094}
2095pub type linux___kernel_off_t = linux___kernel_long_t;
2096pub type linux___kernel_loff_t = ::core::ffi::c_longlong;
2097pub type linux___kernel_old_time_t = linux___kernel_long_t;
2098pub type linux___kernel_time_t = linux___kernel_long_t;
2099pub type linux___kernel_time64_t = ::core::ffi::c_longlong;
2100pub type linux___kernel_clock_t = linux___kernel_long_t;
2101pub type linux___kernel_timer_t = ::core::ffi::c_int;
2102pub type linux___kernel_clockid_t = ::core::ffi::c_int;
2103pub type linux___kernel_caddr_t = *mut ::core::ffi::c_char;
2104pub type linux___kernel_uid16_t = ::core::ffi::c_ushort;
2105pub type linux___kernel_gid16_t = ::core::ffi::c_ushort;
2106pub type linux___be16 = linux___u16;
2107pub type linux___be32 = linux___u32;
2108pub type linux___poll_t = ::core::ffi::c_uint;
2109#[repr(C)]
2110#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2111pub struct linux_flock {
2112 pub l_type: ::core::ffi::c_short,
2113 pub l_whence: ::core::ffi::c_short,
2114 pub l_start: linux___kernel_off_t,
2115 pub l_len: linux___kernel_off_t,
2116 pub l_pid: linux___kernel_pid_t,
2117}
2118#[test]
2119fn bindgen_test_layout_flock() {
2120 const UNINIT: ::core::mem::MaybeUninit<linux_flock> = ::core::mem::MaybeUninit::uninit();
2121 let ptr = UNINIT.as_ptr();
2122 assert_eq!(
2123 ::core::mem::size_of::<linux_flock>(),
2124 32usize,
2125 concat!("Size of: ", stringify!(linux_flock))
2126 );
2127 assert_eq!(
2128 ::core::mem::align_of::<linux_flock>(),
2129 8usize,
2130 concat!("Alignment of ", stringify!(linux_flock))
2131 );
2132 assert_eq!(
2133 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
2134 0usize,
2135 concat!(
2136 "Offset of field: ",
2137 stringify!(linux_flock),
2138 "::",
2139 stringify!(l_type)
2140 )
2141 );
2142 assert_eq!(
2143 unsafe { ::core::ptr::addr_of!((*ptr).l_whence) as usize - ptr as usize },
2144 2usize,
2145 concat!(
2146 "Offset of field: ",
2147 stringify!(linux_flock),
2148 "::",
2149 stringify!(l_whence)
2150 )
2151 );
2152 assert_eq!(
2153 unsafe { ::core::ptr::addr_of!((*ptr).l_start) as usize - ptr as usize },
2154 8usize,
2155 concat!(
2156 "Offset of field: ",
2157 stringify!(linux_flock),
2158 "::",
2159 stringify!(l_start)
2160 )
2161 );
2162 assert_eq!(
2163 unsafe { ::core::ptr::addr_of!((*ptr).l_len) as usize - ptr as usize },
2164 16usize,
2165 concat!(
2166 "Offset of field: ",
2167 stringify!(linux_flock),
2168 "::",
2169 stringify!(l_len)
2170 )
2171 );
2172 assert_eq!(
2173 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
2174 24usize,
2175 concat!(
2176 "Offset of field: ",
2177 stringify!(linux_flock),
2178 "::",
2179 stringify!(l_pid)
2180 )
2181 );
2182}
2183#[repr(C)]
2184#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2185pub struct linux_flock64 {
2186 pub l_type: ::core::ffi::c_short,
2187 pub l_whence: ::core::ffi::c_short,
2188 pub l_start: linux___kernel_loff_t,
2189 pub l_len: linux___kernel_loff_t,
2190 pub l_pid: linux___kernel_pid_t,
2191}
2192#[test]
2193fn bindgen_test_layout_flock64() {
2194 const UNINIT: ::core::mem::MaybeUninit<linux_flock64> = ::core::mem::MaybeUninit::uninit();
2195 let ptr = UNINIT.as_ptr();
2196 assert_eq!(
2197 ::core::mem::size_of::<linux_flock64>(),
2198 32usize,
2199 concat!("Size of: ", stringify!(linux_flock64))
2200 );
2201 assert_eq!(
2202 ::core::mem::align_of::<linux_flock64>(),
2203 8usize,
2204 concat!("Alignment of ", stringify!(linux_flock64))
2205 );
2206 assert_eq!(
2207 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
2208 0usize,
2209 concat!(
2210 "Offset of field: ",
2211 stringify!(linux_flock64),
2212 "::",
2213 stringify!(l_type)
2214 )
2215 );
2216 assert_eq!(
2217 unsafe { ::core::ptr::addr_of!((*ptr).l_whence) as usize - ptr as usize },
2218 2usize,
2219 concat!(
2220 "Offset of field: ",
2221 stringify!(linux_flock64),
2222 "::",
2223 stringify!(l_whence)
2224 )
2225 );
2226 assert_eq!(
2227 unsafe { ::core::ptr::addr_of!((*ptr).l_start) as usize - ptr as usize },
2228 8usize,
2229 concat!(
2230 "Offset of field: ",
2231 stringify!(linux_flock64),
2232 "::",
2233 stringify!(l_start)
2234 )
2235 );
2236 assert_eq!(
2237 unsafe { ::core::ptr::addr_of!((*ptr).l_len) as usize - ptr as usize },
2238 16usize,
2239 concat!(
2240 "Offset of field: ",
2241 stringify!(linux_flock64),
2242 "::",
2243 stringify!(l_len)
2244 )
2245 );
2246 assert_eq!(
2247 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
2248 24usize,
2249 concat!(
2250 "Offset of field: ",
2251 stringify!(linux_flock64),
2252 "::",
2253 stringify!(l_pid)
2254 )
2255 );
2256}
2257#[repr(C, packed)]
2258#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2259pub struct linux_epoll_event {
2260 pub events: linux___poll_t,
2261 pub data: linux___u64,
2262}
2263#[test]
2264fn bindgen_test_layout_epoll_event() {
2265 const UNINIT: ::core::mem::MaybeUninit<linux_epoll_event> = ::core::mem::MaybeUninit::uninit();
2266 let ptr = UNINIT.as_ptr();
2267 assert_eq!(
2268 ::core::mem::size_of::<linux_epoll_event>(),
2269 12usize,
2270 concat!("Size of: ", stringify!(linux_epoll_event))
2271 );
2272 assert_eq!(
2273 ::core::mem::align_of::<linux_epoll_event>(),
2274 1usize,
2275 concat!("Alignment of ", stringify!(linux_epoll_event))
2276 );
2277 assert_eq!(
2278 unsafe { ::core::ptr::addr_of!((*ptr).events) as usize - ptr as usize },
2279 0usize,
2280 concat!(
2281 "Offset of field: ",
2282 stringify!(linux_epoll_event),
2283 "::",
2284 stringify!(events)
2285 )
2286 );
2287 assert_eq!(
2288 unsafe { ::core::ptr::addr_of!((*ptr).data) as usize - ptr as usize },
2289 4usize,
2290 concat!(
2291 "Offset of field: ",
2292 stringify!(linux_epoll_event),
2293 "::",
2294 stringify!(data)
2295 )
2296 );
2297}
2298#[repr(C)]
2299#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2300pub struct linux_robust_list {
2301 pub next: *mut linux_robust_list,
2302}
2303#[test]
2304fn bindgen_test_layout_robust_list() {
2305 const UNINIT: ::core::mem::MaybeUninit<linux_robust_list> = ::core::mem::MaybeUninit::uninit();
2306 let ptr = UNINIT.as_ptr();
2307 assert_eq!(
2308 ::core::mem::size_of::<linux_robust_list>(),
2309 8usize,
2310 concat!("Size of: ", stringify!(linux_robust_list))
2311 );
2312 assert_eq!(
2313 ::core::mem::align_of::<linux_robust_list>(),
2314 8usize,
2315 concat!("Alignment of ", stringify!(linux_robust_list))
2316 );
2317 assert_eq!(
2318 unsafe { ::core::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
2319 0usize,
2320 concat!(
2321 "Offset of field: ",
2322 stringify!(linux_robust_list),
2323 "::",
2324 stringify!(next)
2325 )
2326 );
2327}
2328#[repr(C)]
2329#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2330pub struct linux_robust_list_head {
2331 pub list: linux_robust_list,
2332 pub futex_offset: ::core::ffi::c_long,
2333 pub list_op_pending: *mut linux_robust_list,
2334}
2335#[test]
2336fn bindgen_test_layout_robust_list_head() {
2337 const UNINIT: ::core::mem::MaybeUninit<linux_robust_list_head> =
2338 ::core::mem::MaybeUninit::uninit();
2339 let ptr = UNINIT.as_ptr();
2340 assert_eq!(
2341 ::core::mem::size_of::<linux_robust_list_head>(),
2342 24usize,
2343 concat!("Size of: ", stringify!(linux_robust_list_head))
2344 );
2345 assert_eq!(
2346 ::core::mem::align_of::<linux_robust_list_head>(),
2347 8usize,
2348 concat!("Alignment of ", stringify!(linux_robust_list_head))
2349 );
2350 assert_eq!(
2351 unsafe { ::core::ptr::addr_of!((*ptr).list) as usize - ptr as usize },
2352 0usize,
2353 concat!(
2354 "Offset of field: ",
2355 stringify!(linux_robust_list_head),
2356 "::",
2357 stringify!(list)
2358 )
2359 );
2360 assert_eq!(
2361 unsafe { ::core::ptr::addr_of!((*ptr).futex_offset) as usize - ptr as usize },
2362 8usize,
2363 concat!(
2364 "Offset of field: ",
2365 stringify!(linux_robust_list_head),
2366 "::",
2367 stringify!(futex_offset)
2368 )
2369 );
2370 assert_eq!(
2371 unsafe { ::core::ptr::addr_of!((*ptr).list_op_pending) as usize - ptr as usize },
2372 16usize,
2373 concat!(
2374 "Offset of field: ",
2375 stringify!(linux_robust_list_head),
2376 "::",
2377 stringify!(list_op_pending)
2378 )
2379 );
2380}
2381pub type linux___kernel_sa_family_t = ::core::ffi::c_ushort;
2382pub const LINUX_IPPROTO_IP: linux__bindgen_ty_1 = 0;
2383pub const LINUX_IPPROTO_ICMP: linux__bindgen_ty_1 = 1;
2384pub const LINUX_IPPROTO_IGMP: linux__bindgen_ty_1 = 2;
2385pub const LINUX_IPPROTO_IPIP: linux__bindgen_ty_1 = 4;
2386pub const LINUX_IPPROTO_TCP: linux__bindgen_ty_1 = 6;
2387pub const LINUX_IPPROTO_EGP: linux__bindgen_ty_1 = 8;
2388pub const LINUX_IPPROTO_PUP: linux__bindgen_ty_1 = 12;
2389pub const LINUX_IPPROTO_UDP: linux__bindgen_ty_1 = 17;
2390pub const LINUX_IPPROTO_IDP: linux__bindgen_ty_1 = 22;
2391pub const LINUX_IPPROTO_TP: linux__bindgen_ty_1 = 29;
2392pub const LINUX_IPPROTO_DCCP: linux__bindgen_ty_1 = 33;
2393pub const LINUX_IPPROTO_IPV6: linux__bindgen_ty_1 = 41;
2394pub const LINUX_IPPROTO_RSVP: linux__bindgen_ty_1 = 46;
2395pub const LINUX_IPPROTO_GRE: linux__bindgen_ty_1 = 47;
2396pub const LINUX_IPPROTO_ESP: linux__bindgen_ty_1 = 50;
2397pub const LINUX_IPPROTO_AH: linux__bindgen_ty_1 = 51;
2398pub const LINUX_IPPROTO_MTP: linux__bindgen_ty_1 = 92;
2399pub const LINUX_IPPROTO_BEETPH: linux__bindgen_ty_1 = 94;
2400pub const LINUX_IPPROTO_ENCAP: linux__bindgen_ty_1 = 98;
2401pub const LINUX_IPPROTO_PIM: linux__bindgen_ty_1 = 103;
2402pub const LINUX_IPPROTO_COMP: linux__bindgen_ty_1 = 108;
2403pub const LINUX_IPPROTO_L2TP: linux__bindgen_ty_1 = 115;
2404pub const LINUX_IPPROTO_SCTP: linux__bindgen_ty_1 = 132;
2405pub const LINUX_IPPROTO_UDPLITE: linux__bindgen_ty_1 = 136;
2406pub const LINUX_IPPROTO_MPLS: linux__bindgen_ty_1 = 137;
2407pub const LINUX_IPPROTO_ETHERNET: linux__bindgen_ty_1 = 143;
2408pub const LINUX_IPPROTO_RAW: linux__bindgen_ty_1 = 255;
2409pub const LINUX_IPPROTO_SMC: linux__bindgen_ty_1 = 256;
2410pub const LINUX_IPPROTO_MPTCP: linux__bindgen_ty_1 = 262;
2411pub const LINUX_IPPROTO_MAX: linux__bindgen_ty_1 = 263;
2412pub type linux__bindgen_ty_1 = ::core::ffi::c_uint;
2413#[repr(C)]
2414#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2415pub struct linux_in_addr {
2416 pub s_addr: linux___be32,
2417}
2418#[test]
2419fn bindgen_test_layout_in_addr() {
2420 const UNINIT: ::core::mem::MaybeUninit<linux_in_addr> = ::core::mem::MaybeUninit::uninit();
2421 let ptr = UNINIT.as_ptr();
2422 assert_eq!(
2423 ::core::mem::size_of::<linux_in_addr>(),
2424 4usize,
2425 concat!("Size of: ", stringify!(linux_in_addr))
2426 );
2427 assert_eq!(
2428 ::core::mem::align_of::<linux_in_addr>(),
2429 4usize,
2430 concat!("Alignment of ", stringify!(linux_in_addr))
2431 );
2432 assert_eq!(
2433 unsafe { ::core::ptr::addr_of!((*ptr).s_addr) as usize - ptr as usize },
2434 0usize,
2435 concat!(
2436 "Offset of field: ",
2437 stringify!(linux_in_addr),
2438 "::",
2439 stringify!(s_addr)
2440 )
2441 );
2442}
2443#[repr(C)]
2444#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2445pub struct linux_sockaddr_in {
2446 pub sin_family: linux___kernel_sa_family_t,
2447 pub sin_port: linux___be16,
2448 pub sin_addr: linux_in_addr,
2449 pub l__pad: [::core::ffi::c_uchar; 8usize],
2450}
2451#[test]
2452fn bindgen_test_layout_sockaddr_in() {
2453 const UNINIT: ::core::mem::MaybeUninit<linux_sockaddr_in> = ::core::mem::MaybeUninit::uninit();
2454 let ptr = UNINIT.as_ptr();
2455 assert_eq!(
2456 ::core::mem::size_of::<linux_sockaddr_in>(),
2457 16usize,
2458 concat!("Size of: ", stringify!(linux_sockaddr_in))
2459 );
2460 assert_eq!(
2461 ::core::mem::align_of::<linux_sockaddr_in>(),
2462 4usize,
2463 concat!("Alignment of ", stringify!(linux_sockaddr_in))
2464 );
2465 assert_eq!(
2466 unsafe { ::core::ptr::addr_of!((*ptr).sin_family) as usize - ptr as usize },
2467 0usize,
2468 concat!(
2469 "Offset of field: ",
2470 stringify!(linux_sockaddr_in),
2471 "::",
2472 stringify!(sin_family)
2473 )
2474 );
2475 assert_eq!(
2476 unsafe { ::core::ptr::addr_of!((*ptr).sin_port) as usize - ptr as usize },
2477 2usize,
2478 concat!(
2479 "Offset of field: ",
2480 stringify!(linux_sockaddr_in),
2481 "::",
2482 stringify!(sin_port)
2483 )
2484 );
2485 assert_eq!(
2486 unsafe { ::core::ptr::addr_of!((*ptr).sin_addr) as usize - ptr as usize },
2487 4usize,
2488 concat!(
2489 "Offset of field: ",
2490 stringify!(linux_sockaddr_in),
2491 "::",
2492 stringify!(sin_addr)
2493 )
2494 );
2495 assert_eq!(
2496 unsafe { ::core::ptr::addr_of!((*ptr).l__pad) as usize - ptr as usize },
2497 8usize,
2498 concat!(
2499 "Offset of field: ",
2500 stringify!(linux_sockaddr_in),
2501 "::",
2502 stringify!(l__pad)
2503 )
2504 );
2505}
2506#[repr(C)]
2507#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2508pub struct linux_nlmsghdr {
2509 pub nlmsg_len: linux___u32,
2510 pub nlmsg_type: linux___u16,
2511 pub nlmsg_flags: linux___u16,
2512 pub nlmsg_seq: linux___u32,
2513 pub nlmsg_pid: linux___u32,
2514}
2515#[test]
2516fn bindgen_test_layout_nlmsghdr() {
2517 const UNINIT: ::core::mem::MaybeUninit<linux_nlmsghdr> = ::core::mem::MaybeUninit::uninit();
2518 let ptr = UNINIT.as_ptr();
2519 assert_eq!(
2520 ::core::mem::size_of::<linux_nlmsghdr>(),
2521 16usize,
2522 concat!("Size of: ", stringify!(linux_nlmsghdr))
2523 );
2524 assert_eq!(
2525 ::core::mem::align_of::<linux_nlmsghdr>(),
2526 4usize,
2527 concat!("Alignment of ", stringify!(linux_nlmsghdr))
2528 );
2529 assert_eq!(
2530 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_len) as usize - ptr as usize },
2531 0usize,
2532 concat!(
2533 "Offset of field: ",
2534 stringify!(linux_nlmsghdr),
2535 "::",
2536 stringify!(nlmsg_len)
2537 )
2538 );
2539 assert_eq!(
2540 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_type) as usize - ptr as usize },
2541 4usize,
2542 concat!(
2543 "Offset of field: ",
2544 stringify!(linux_nlmsghdr),
2545 "::",
2546 stringify!(nlmsg_type)
2547 )
2548 );
2549 assert_eq!(
2550 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_flags) as usize - ptr as usize },
2551 6usize,
2552 concat!(
2553 "Offset of field: ",
2554 stringify!(linux_nlmsghdr),
2555 "::",
2556 stringify!(nlmsg_flags)
2557 )
2558 );
2559 assert_eq!(
2560 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_seq) as usize - ptr as usize },
2561 8usize,
2562 concat!(
2563 "Offset of field: ",
2564 stringify!(linux_nlmsghdr),
2565 "::",
2566 stringify!(nlmsg_seq)
2567 )
2568 );
2569 assert_eq!(
2570 unsafe { ::core::ptr::addr_of!((*ptr).nlmsg_pid) as usize - ptr as usize },
2571 12usize,
2572 concat!(
2573 "Offset of field: ",
2574 stringify!(linux_nlmsghdr),
2575 "::",
2576 stringify!(nlmsg_pid)
2577 )
2578 );
2579}
2580pub const LINUX_NETLINK_UNCONNECTED: linux__bindgen_ty_2 = 0;
2581pub const LINUX_NETLINK_CONNECTED: linux__bindgen_ty_2 = 1;
2582pub type linux__bindgen_ty_2 = ::core::ffi::c_uint;
2583#[repr(C)]
2584#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2585pub struct linux___kernel_timespec {
2586 pub tv_sec: linux___kernel_time64_t,
2587 pub tv_nsec: ::core::ffi::c_longlong,
2588}
2589#[test]
2590fn bindgen_test_layout___kernel_timespec() {
2591 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_timespec> =
2592 ::core::mem::MaybeUninit::uninit();
2593 let ptr = UNINIT.as_ptr();
2594 assert_eq!(
2595 ::core::mem::size_of::<linux___kernel_timespec>(),
2596 16usize,
2597 concat!("Size of: ", stringify!(linux___kernel_timespec))
2598 );
2599 assert_eq!(
2600 ::core::mem::align_of::<linux___kernel_timespec>(),
2601 8usize,
2602 concat!("Alignment of ", stringify!(linux___kernel_timespec))
2603 );
2604 assert_eq!(
2605 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
2606 0usize,
2607 concat!(
2608 "Offset of field: ",
2609 stringify!(linux___kernel_timespec),
2610 "::",
2611 stringify!(tv_sec)
2612 )
2613 );
2614 assert_eq!(
2615 unsafe { ::core::ptr::addr_of!((*ptr).tv_nsec) as usize - ptr as usize },
2616 8usize,
2617 concat!(
2618 "Offset of field: ",
2619 stringify!(linux___kernel_timespec),
2620 "::",
2621 stringify!(tv_nsec)
2622 )
2623 );
2624}
2625#[repr(C)]
2626#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2627pub struct linux___kernel_old_timeval {
2628 pub tv_sec: linux___kernel_long_t,
2629 pub tv_usec: linux___kernel_long_t,
2630}
2631#[test]
2632fn bindgen_test_layout___kernel_old_timeval() {
2633 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_old_timeval> =
2634 ::core::mem::MaybeUninit::uninit();
2635 let ptr = UNINIT.as_ptr();
2636 assert_eq!(
2637 ::core::mem::size_of::<linux___kernel_old_timeval>(),
2638 16usize,
2639 concat!("Size of: ", stringify!(linux___kernel_old_timeval))
2640 );
2641 assert_eq!(
2642 ::core::mem::align_of::<linux___kernel_old_timeval>(),
2643 8usize,
2644 concat!("Alignment of ", stringify!(linux___kernel_old_timeval))
2645 );
2646 assert_eq!(
2647 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
2648 0usize,
2649 concat!(
2650 "Offset of field: ",
2651 stringify!(linux___kernel_old_timeval),
2652 "::",
2653 stringify!(tv_sec)
2654 )
2655 );
2656 assert_eq!(
2657 unsafe { ::core::ptr::addr_of!((*ptr).tv_usec) as usize - ptr as usize },
2658 8usize,
2659 concat!(
2660 "Offset of field: ",
2661 stringify!(linux___kernel_old_timeval),
2662 "::",
2663 stringify!(tv_usec)
2664 )
2665 );
2666}
2667#[repr(C)]
2668#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2669pub struct linux___kernel_old_itimerval {
2670 pub it_interval: linux___kernel_old_timeval,
2671 pub it_value: linux___kernel_old_timeval,
2672}
2673#[test]
2674fn bindgen_test_layout___kernel_old_itimerval() {
2675 const UNINIT: ::core::mem::MaybeUninit<linux___kernel_old_itimerval> =
2676 ::core::mem::MaybeUninit::uninit();
2677 let ptr = UNINIT.as_ptr();
2678 assert_eq!(
2679 ::core::mem::size_of::<linux___kernel_old_itimerval>(),
2680 32usize,
2681 concat!("Size of: ", stringify!(linux___kernel_old_itimerval))
2682 );
2683 assert_eq!(
2684 ::core::mem::align_of::<linux___kernel_old_itimerval>(),
2685 8usize,
2686 concat!("Alignment of ", stringify!(linux___kernel_old_itimerval))
2687 );
2688 assert_eq!(
2689 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
2690 0usize,
2691 concat!(
2692 "Offset of field: ",
2693 stringify!(linux___kernel_old_itimerval),
2694 "::",
2695 stringify!(it_interval)
2696 )
2697 );
2698 assert_eq!(
2699 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
2700 16usize,
2701 concat!(
2702 "Offset of field: ",
2703 stringify!(linux___kernel_old_itimerval),
2704 "::",
2705 stringify!(it_value)
2706 )
2707 );
2708}
2709#[repr(C)]
2710#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2711pub struct linux_rusage {
2712 pub ru_utime: linux___kernel_old_timeval,
2713 pub ru_stime: linux___kernel_old_timeval,
2714 pub ru_maxrss: linux___kernel_long_t,
2715 pub ru_ixrss: linux___kernel_long_t,
2716 pub ru_idrss: linux___kernel_long_t,
2717 pub ru_isrss: linux___kernel_long_t,
2718 pub ru_minflt: linux___kernel_long_t,
2719 pub ru_majflt: linux___kernel_long_t,
2720 pub ru_nswap: linux___kernel_long_t,
2721 pub ru_inblock: linux___kernel_long_t,
2722 pub ru_oublock: linux___kernel_long_t,
2723 pub ru_msgsnd: linux___kernel_long_t,
2724 pub ru_msgrcv: linux___kernel_long_t,
2725 pub ru_nsignals: linux___kernel_long_t,
2726 pub ru_nvcsw: linux___kernel_long_t,
2727 pub ru_nivcsw: linux___kernel_long_t,
2728}
2729#[test]
2730fn bindgen_test_layout_rusage() {
2731 const UNINIT: ::core::mem::MaybeUninit<linux_rusage> = ::core::mem::MaybeUninit::uninit();
2732 let ptr = UNINIT.as_ptr();
2733 assert_eq!(
2734 ::core::mem::size_of::<linux_rusage>(),
2735 144usize,
2736 concat!("Size of: ", stringify!(linux_rusage))
2737 );
2738 assert_eq!(
2739 ::core::mem::align_of::<linux_rusage>(),
2740 8usize,
2741 concat!("Alignment of ", stringify!(linux_rusage))
2742 );
2743 assert_eq!(
2744 unsafe { ::core::ptr::addr_of!((*ptr).ru_utime) as usize - ptr as usize },
2745 0usize,
2746 concat!(
2747 "Offset of field: ",
2748 stringify!(linux_rusage),
2749 "::",
2750 stringify!(ru_utime)
2751 )
2752 );
2753 assert_eq!(
2754 unsafe { ::core::ptr::addr_of!((*ptr).ru_stime) as usize - ptr as usize },
2755 16usize,
2756 concat!(
2757 "Offset of field: ",
2758 stringify!(linux_rusage),
2759 "::",
2760 stringify!(ru_stime)
2761 )
2762 );
2763 assert_eq!(
2764 unsafe { ::core::ptr::addr_of!((*ptr).ru_maxrss) as usize - ptr as usize },
2765 32usize,
2766 concat!(
2767 "Offset of field: ",
2768 stringify!(linux_rusage),
2769 "::",
2770 stringify!(ru_maxrss)
2771 )
2772 );
2773 assert_eq!(
2774 unsafe { ::core::ptr::addr_of!((*ptr).ru_ixrss) as usize - ptr as usize },
2775 40usize,
2776 concat!(
2777 "Offset of field: ",
2778 stringify!(linux_rusage),
2779 "::",
2780 stringify!(ru_ixrss)
2781 )
2782 );
2783 assert_eq!(
2784 unsafe { ::core::ptr::addr_of!((*ptr).ru_idrss) as usize - ptr as usize },
2785 48usize,
2786 concat!(
2787 "Offset of field: ",
2788 stringify!(linux_rusage),
2789 "::",
2790 stringify!(ru_idrss)
2791 )
2792 );
2793 assert_eq!(
2794 unsafe { ::core::ptr::addr_of!((*ptr).ru_isrss) as usize - ptr as usize },
2795 56usize,
2796 concat!(
2797 "Offset of field: ",
2798 stringify!(linux_rusage),
2799 "::",
2800 stringify!(ru_isrss)
2801 )
2802 );
2803 assert_eq!(
2804 unsafe { ::core::ptr::addr_of!((*ptr).ru_minflt) as usize - ptr as usize },
2805 64usize,
2806 concat!(
2807 "Offset of field: ",
2808 stringify!(linux_rusage),
2809 "::",
2810 stringify!(ru_minflt)
2811 )
2812 );
2813 assert_eq!(
2814 unsafe { ::core::ptr::addr_of!((*ptr).ru_majflt) as usize - ptr as usize },
2815 72usize,
2816 concat!(
2817 "Offset of field: ",
2818 stringify!(linux_rusage),
2819 "::",
2820 stringify!(ru_majflt)
2821 )
2822 );
2823 assert_eq!(
2824 unsafe { ::core::ptr::addr_of!((*ptr).ru_nswap) as usize - ptr as usize },
2825 80usize,
2826 concat!(
2827 "Offset of field: ",
2828 stringify!(linux_rusage),
2829 "::",
2830 stringify!(ru_nswap)
2831 )
2832 );
2833 assert_eq!(
2834 unsafe { ::core::ptr::addr_of!((*ptr).ru_inblock) as usize - ptr as usize },
2835 88usize,
2836 concat!(
2837 "Offset of field: ",
2838 stringify!(linux_rusage),
2839 "::",
2840 stringify!(ru_inblock)
2841 )
2842 );
2843 assert_eq!(
2844 unsafe { ::core::ptr::addr_of!((*ptr).ru_oublock) as usize - ptr as usize },
2845 96usize,
2846 concat!(
2847 "Offset of field: ",
2848 stringify!(linux_rusage),
2849 "::",
2850 stringify!(ru_oublock)
2851 )
2852 );
2853 assert_eq!(
2854 unsafe { ::core::ptr::addr_of!((*ptr).ru_msgsnd) as usize - ptr as usize },
2855 104usize,
2856 concat!(
2857 "Offset of field: ",
2858 stringify!(linux_rusage),
2859 "::",
2860 stringify!(ru_msgsnd)
2861 )
2862 );
2863 assert_eq!(
2864 unsafe { ::core::ptr::addr_of!((*ptr).ru_msgrcv) as usize - ptr as usize },
2865 112usize,
2866 concat!(
2867 "Offset of field: ",
2868 stringify!(linux_rusage),
2869 "::",
2870 stringify!(ru_msgrcv)
2871 )
2872 );
2873 assert_eq!(
2874 unsafe { ::core::ptr::addr_of!((*ptr).ru_nsignals) as usize - ptr as usize },
2875 120usize,
2876 concat!(
2877 "Offset of field: ",
2878 stringify!(linux_rusage),
2879 "::",
2880 stringify!(ru_nsignals)
2881 )
2882 );
2883 assert_eq!(
2884 unsafe { ::core::ptr::addr_of!((*ptr).ru_nvcsw) as usize - ptr as usize },
2885 128usize,
2886 concat!(
2887 "Offset of field: ",
2888 stringify!(linux_rusage),
2889 "::",
2890 stringify!(ru_nvcsw)
2891 )
2892 );
2893 assert_eq!(
2894 unsafe { ::core::ptr::addr_of!((*ptr).ru_nivcsw) as usize - ptr as usize },
2895 136usize,
2896 concat!(
2897 "Offset of field: ",
2898 stringify!(linux_rusage),
2899 "::",
2900 stringify!(ru_nivcsw)
2901 )
2902 );
2903}
2904#[repr(C)]
2905#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2906pub struct linux_rlimit {
2907 pub rlim_cur: linux___kernel_ulong_t,
2908 pub rlim_max: linux___kernel_ulong_t,
2909}
2910#[test]
2911fn bindgen_test_layout_rlimit() {
2912 const UNINIT: ::core::mem::MaybeUninit<linux_rlimit> = ::core::mem::MaybeUninit::uninit();
2913 let ptr = UNINIT.as_ptr();
2914 assert_eq!(
2915 ::core::mem::size_of::<linux_rlimit>(),
2916 16usize,
2917 concat!("Size of: ", stringify!(linux_rlimit))
2918 );
2919 assert_eq!(
2920 ::core::mem::align_of::<linux_rlimit>(),
2921 8usize,
2922 concat!("Alignment of ", stringify!(linux_rlimit))
2923 );
2924 assert_eq!(
2925 unsafe { ::core::ptr::addr_of!((*ptr).rlim_cur) as usize - ptr as usize },
2926 0usize,
2927 concat!(
2928 "Offset of field: ",
2929 stringify!(linux_rlimit),
2930 "::",
2931 stringify!(rlim_cur)
2932 )
2933 );
2934 assert_eq!(
2935 unsafe { ::core::ptr::addr_of!((*ptr).rlim_max) as usize - ptr as usize },
2936 8usize,
2937 concat!(
2938 "Offset of field: ",
2939 stringify!(linux_rlimit),
2940 "::",
2941 stringify!(rlim_max)
2942 )
2943 );
2944}
2945#[repr(C)]
2946#[derive(Debug, Copy, Clone, PartialEq, Eq)]
2947pub struct linux_rlimit64 {
2948 pub rlim_cur: linux___u64,
2949 pub rlim_max: linux___u64,
2950}
2951#[test]
2952fn bindgen_test_layout_rlimit64() {
2953 const UNINIT: ::core::mem::MaybeUninit<linux_rlimit64> = ::core::mem::MaybeUninit::uninit();
2954 let ptr = UNINIT.as_ptr();
2955 assert_eq!(
2956 ::core::mem::size_of::<linux_rlimit64>(),
2957 16usize,
2958 concat!("Size of: ", stringify!(linux_rlimit64))
2959 );
2960 assert_eq!(
2961 ::core::mem::align_of::<linux_rlimit64>(),
2962 8usize,
2963 concat!("Alignment of ", stringify!(linux_rlimit64))
2964 );
2965 assert_eq!(
2966 unsafe { ::core::ptr::addr_of!((*ptr).rlim_cur) as usize - ptr as usize },
2967 0usize,
2968 concat!(
2969 "Offset of field: ",
2970 stringify!(linux_rlimit64),
2971 "::",
2972 stringify!(rlim_cur)
2973 )
2974 );
2975 assert_eq!(
2976 unsafe { ::core::ptr::addr_of!((*ptr).rlim_max) as usize - ptr as usize },
2977 8usize,
2978 concat!(
2979 "Offset of field: ",
2980 stringify!(linux_rlimit64),
2981 "::",
2982 stringify!(rlim_max)
2983 )
2984 );
2985}
2986#[repr(C)]
2987#[repr(align(32))]
2988#[derive(Debug)]
2989pub struct linux_rseq {
2990 pub cpu_id_start: linux___u32,
2991 pub cpu_id: linux___u32,
2992 pub rseq_cs: linux___u64,
2993 pub flags: linux___u32,
2994 pub node_id: linux___u32,
2995 pub mm_cid: linux___u32,
2996 pub end: linux___IncompleteArrayField<::core::ffi::c_char>,
2997}
2998#[test]
2999fn bindgen_test_layout_rseq() {
3000 const UNINIT: ::core::mem::MaybeUninit<linux_rseq> = ::core::mem::MaybeUninit::uninit();
3001 let ptr = UNINIT.as_ptr();
3002 assert_eq!(
3003 ::core::mem::size_of::<linux_rseq>(),
3004 32usize,
3005 concat!("Size of: ", stringify!(linux_rseq))
3006 );
3007 assert_eq!(
3008 ::core::mem::align_of::<linux_rseq>(),
3009 32usize,
3010 concat!("Alignment of ", stringify!(linux_rseq))
3011 );
3012 assert_eq!(
3013 unsafe { ::core::ptr::addr_of!((*ptr).cpu_id_start) as usize - ptr as usize },
3014 0usize,
3015 concat!(
3016 "Offset of field: ",
3017 stringify!(linux_rseq),
3018 "::",
3019 stringify!(cpu_id_start)
3020 )
3021 );
3022 assert_eq!(
3023 unsafe { ::core::ptr::addr_of!((*ptr).cpu_id) as usize - ptr as usize },
3024 4usize,
3025 concat!(
3026 "Offset of field: ",
3027 stringify!(linux_rseq),
3028 "::",
3029 stringify!(cpu_id)
3030 )
3031 );
3032 assert_eq!(
3033 unsafe { ::core::ptr::addr_of!((*ptr).rseq_cs) as usize - ptr as usize },
3034 8usize,
3035 concat!(
3036 "Offset of field: ",
3037 stringify!(linux_rseq),
3038 "::",
3039 stringify!(rseq_cs)
3040 )
3041 );
3042 assert_eq!(
3043 unsafe { ::core::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
3044 16usize,
3045 concat!(
3046 "Offset of field: ",
3047 stringify!(linux_rseq),
3048 "::",
3049 stringify!(flags)
3050 )
3051 );
3052 assert_eq!(
3053 unsafe { ::core::ptr::addr_of!((*ptr).node_id) as usize - ptr as usize },
3054 20usize,
3055 concat!(
3056 "Offset of field: ",
3057 stringify!(linux_rseq),
3058 "::",
3059 stringify!(node_id)
3060 )
3061 );
3062 assert_eq!(
3063 unsafe { ::core::ptr::addr_of!((*ptr).mm_cid) as usize - ptr as usize },
3064 24usize,
3065 concat!(
3066 "Offset of field: ",
3067 stringify!(linux_rseq),
3068 "::",
3069 stringify!(mm_cid)
3070 )
3071 );
3072 assert_eq!(
3073 unsafe { ::core::ptr::addr_of!((*ptr).end) as usize - ptr as usize },
3074 28usize,
3075 concat!(
3076 "Offset of field: ",
3077 stringify!(linux_rseq),
3078 "::",
3079 stringify!(end)
3080 )
3081 );
3082}
3083pub const LINUX_IFLA_UNSPEC: linux__bindgen_ty_3 = 0;
3084pub const LINUX_IFLA_ADDRESS: linux__bindgen_ty_3 = 1;
3085pub const LINUX_IFLA_BROADCAST: linux__bindgen_ty_3 = 2;
3086pub const LINUX_IFLA_IFNAME: linux__bindgen_ty_3 = 3;
3087pub const LINUX_IFLA_MTU: linux__bindgen_ty_3 = 4;
3088pub const LINUX_IFLA_LINK: linux__bindgen_ty_3 = 5;
3089pub const LINUX_IFLA_QDISC: linux__bindgen_ty_3 = 6;
3090pub const LINUX_IFLA_STATS: linux__bindgen_ty_3 = 7;
3091pub const LINUX_IFLA_COST: linux__bindgen_ty_3 = 8;
3092pub const LINUX_IFLA_PRIORITY: linux__bindgen_ty_3 = 9;
3093pub const LINUX_IFLA_MASTER: linux__bindgen_ty_3 = 10;
3094pub const LINUX_IFLA_WIRELESS: linux__bindgen_ty_3 = 11;
3095pub const LINUX_IFLA_PROTINFO: linux__bindgen_ty_3 = 12;
3096pub const LINUX_IFLA_TXQLEN: linux__bindgen_ty_3 = 13;
3097pub const LINUX_IFLA_MAP: linux__bindgen_ty_3 = 14;
3098pub const LINUX_IFLA_WEIGHT: linux__bindgen_ty_3 = 15;
3099pub const LINUX_IFLA_OPERSTATE: linux__bindgen_ty_3 = 16;
3100pub const LINUX_IFLA_LINKMODE: linux__bindgen_ty_3 = 17;
3101pub const LINUX_IFLA_LINKINFO: linux__bindgen_ty_3 = 18;
3102pub const LINUX_IFLA_NET_NS_PID: linux__bindgen_ty_3 = 19;
3103pub const LINUX_IFLA_IFALIAS: linux__bindgen_ty_3 = 20;
3104pub const LINUX_IFLA_NUM_VF: linux__bindgen_ty_3 = 21;
3105pub const LINUX_IFLA_VFINFO_LIST: linux__bindgen_ty_3 = 22;
3106pub const LINUX_IFLA_STATS64: linux__bindgen_ty_3 = 23;
3107pub const LINUX_IFLA_VF_PORTS: linux__bindgen_ty_3 = 24;
3108pub const LINUX_IFLA_PORT_SELF: linux__bindgen_ty_3 = 25;
3109pub const LINUX_IFLA_AF_SPEC: linux__bindgen_ty_3 = 26;
3110pub const LINUX_IFLA_GROUP: linux__bindgen_ty_3 = 27;
3111pub const LINUX_IFLA_NET_NS_FD: linux__bindgen_ty_3 = 28;
3112pub const LINUX_IFLA_EXT_MASK: linux__bindgen_ty_3 = 29;
3113pub const LINUX_IFLA_PROMISCUITY: linux__bindgen_ty_3 = 30;
3114pub const LINUX_IFLA_NUM_TX_QUEUES: linux__bindgen_ty_3 = 31;
3115pub const LINUX_IFLA_NUM_RX_QUEUES: linux__bindgen_ty_3 = 32;
3116pub const LINUX_IFLA_CARRIER: linux__bindgen_ty_3 = 33;
3117pub const LINUX_IFLA_PHYS_PORT_ID: linux__bindgen_ty_3 = 34;
3118pub const LINUX_IFLA_CARRIER_CHANGES: linux__bindgen_ty_3 = 35;
3119pub const LINUX_IFLA_PHYS_SWITCH_ID: linux__bindgen_ty_3 = 36;
3120pub const LINUX_IFLA_LINK_NETNSID: linux__bindgen_ty_3 = 37;
3121pub const LINUX_IFLA_PHYS_PORT_NAME: linux__bindgen_ty_3 = 38;
3122pub const LINUX_IFLA_PROTO_DOWN: linux__bindgen_ty_3 = 39;
3123pub const LINUX_IFLA_GSO_MAX_SEGS: linux__bindgen_ty_3 = 40;
3124pub const LINUX_IFLA_GSO_MAX_SIZE: linux__bindgen_ty_3 = 41;
3125pub const LINUX_IFLA_PAD: linux__bindgen_ty_3 = 42;
3126pub const LINUX_IFLA_XDP: linux__bindgen_ty_3 = 43;
3127pub const LINUX_IFLA_EVENT: linux__bindgen_ty_3 = 44;
3128pub const LINUX_IFLA_NEW_NETNSID: linux__bindgen_ty_3 = 45;
3129pub const LINUX_IFLA_IF_NETNSID: linux__bindgen_ty_3 = 46;
3130pub const LINUX_IFLA_TARGET_NETNSID: linux__bindgen_ty_3 = 46;
3131pub const LINUX_IFLA_CARRIER_UP_COUNT: linux__bindgen_ty_3 = 47;
3132pub const LINUX_IFLA_CARRIER_DOWN_COUNT: linux__bindgen_ty_3 = 48;
3133pub const LINUX_IFLA_NEW_IFINDEX: linux__bindgen_ty_3 = 49;
3134pub const LINUX_IFLA_MIN_MTU: linux__bindgen_ty_3 = 50;
3135pub const LINUX_IFLA_MAX_MTU: linux__bindgen_ty_3 = 51;
3136pub const LINUX_IFLA_PROP_LIST: linux__bindgen_ty_3 = 52;
3137pub const LINUX_IFLA_ALT_IFNAME: linux__bindgen_ty_3 = 53;
3138pub const LINUX_IFLA_PERM_ADDRESS: linux__bindgen_ty_3 = 54;
3139pub const LINUX_IFLA_PROTO_DOWN_REASON: linux__bindgen_ty_3 = 55;
3140pub const LINUX_IFLA_PARENT_DEV_NAME: linux__bindgen_ty_3 = 56;
3141pub const LINUX_IFLA_PARENT_DEV_BUS_NAME: linux__bindgen_ty_3 = 57;
3142pub const LINUX_IFLA_GRO_MAX_SIZE: linux__bindgen_ty_3 = 58;
3143pub const LINUX_IFLA_TSO_MAX_SIZE: linux__bindgen_ty_3 = 59;
3144pub const LINUX_IFLA_TSO_MAX_SEGS: linux__bindgen_ty_3 = 60;
3145pub const LINUX_IFLA_ALLMULTI: linux__bindgen_ty_3 = 61;
3146pub const LINUX_IFLA_DEVLINK_PORT: linux__bindgen_ty_3 = 62;
3147pub const LINUX_IFLA_GSO_IPV4_MAX_SIZE: linux__bindgen_ty_3 = 63;
3148pub const LINUX_IFLA_GRO_IPV4_MAX_SIZE: linux__bindgen_ty_3 = 64;
3149pub const LINUX_IFLA_DPLL_PIN: linux__bindgen_ty_3 = 65;
3150pub const LINUX___IFLA_MAX: linux__bindgen_ty_3 = 66;
3151pub type linux__bindgen_ty_3 = ::core::ffi::c_uint;
3152pub const LINUX_IFLA_PROTO_DOWN_REASON_UNSPEC: linux__bindgen_ty_4 = 0;
3153pub const LINUX_IFLA_PROTO_DOWN_REASON_MASK: linux__bindgen_ty_4 = 1;
3154pub const LINUX_IFLA_PROTO_DOWN_REASON_VALUE: linux__bindgen_ty_4 = 2;
3155pub const LINUX___IFLA_PROTO_DOWN_REASON_CNT: linux__bindgen_ty_4 = 3;
3156pub const LINUX_IFLA_PROTO_DOWN_REASON_MAX: linux__bindgen_ty_4 = 2;
3157pub type linux__bindgen_ty_4 = ::core::ffi::c_uint;
3158pub const LINUX_IFLA_INET_UNSPEC: linux__bindgen_ty_5 = 0;
3159pub const LINUX_IFLA_INET_CONF: linux__bindgen_ty_5 = 1;
3160pub const LINUX___IFLA_INET_MAX: linux__bindgen_ty_5 = 2;
3161pub type linux__bindgen_ty_5 = ::core::ffi::c_uint;
3162pub const LINUX_IFLA_INET6_UNSPEC: linux__bindgen_ty_6 = 0;
3163pub const LINUX_IFLA_INET6_FLAGS: linux__bindgen_ty_6 = 1;
3164pub const LINUX_IFLA_INET6_CONF: linux__bindgen_ty_6 = 2;
3165pub const LINUX_IFLA_INET6_STATS: linux__bindgen_ty_6 = 3;
3166pub const LINUX_IFLA_INET6_MCAST: linux__bindgen_ty_6 = 4;
3167pub const LINUX_IFLA_INET6_CACHEINFO: linux__bindgen_ty_6 = 5;
3168pub const LINUX_IFLA_INET6_ICMP6STATS: linux__bindgen_ty_6 = 6;
3169pub const LINUX_IFLA_INET6_TOKEN: linux__bindgen_ty_6 = 7;
3170pub const LINUX_IFLA_INET6_ADDR_GEN_MODE: linux__bindgen_ty_6 = 8;
3171pub const LINUX_IFLA_INET6_RA_MTU: linux__bindgen_ty_6 = 9;
3172pub const LINUX___IFLA_INET6_MAX: linux__bindgen_ty_6 = 10;
3173pub type linux__bindgen_ty_6 = ::core::ffi::c_uint;
3174pub const LINUX_IFLA_BR_UNSPEC: linux__bindgen_ty_7 = 0;
3175pub const LINUX_IFLA_BR_FORWARD_DELAY: linux__bindgen_ty_7 = 1;
3176pub const LINUX_IFLA_BR_HELLO_TIME: linux__bindgen_ty_7 = 2;
3177pub const LINUX_IFLA_BR_MAX_AGE: linux__bindgen_ty_7 = 3;
3178pub const LINUX_IFLA_BR_AGEING_TIME: linux__bindgen_ty_7 = 4;
3179pub const LINUX_IFLA_BR_STP_STATE: linux__bindgen_ty_7 = 5;
3180pub const LINUX_IFLA_BR_PRIORITY: linux__bindgen_ty_7 = 6;
3181pub const LINUX_IFLA_BR_VLAN_FILTERING: linux__bindgen_ty_7 = 7;
3182pub const LINUX_IFLA_BR_VLAN_PROTOCOL: linux__bindgen_ty_7 = 8;
3183pub const LINUX_IFLA_BR_GROUP_FWD_MASK: linux__bindgen_ty_7 = 9;
3184pub const LINUX_IFLA_BR_ROOT_ID: linux__bindgen_ty_7 = 10;
3185pub const LINUX_IFLA_BR_BRIDGE_ID: linux__bindgen_ty_7 = 11;
3186pub const LINUX_IFLA_BR_ROOT_PORT: linux__bindgen_ty_7 = 12;
3187pub const LINUX_IFLA_BR_ROOT_PATH_COST: linux__bindgen_ty_7 = 13;
3188pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE: linux__bindgen_ty_7 = 14;
3189pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE_DETECTED: linux__bindgen_ty_7 = 15;
3190pub const LINUX_IFLA_BR_HELLO_TIMER: linux__bindgen_ty_7 = 16;
3191pub const LINUX_IFLA_BR_TCN_TIMER: linux__bindgen_ty_7 = 17;
3192pub const LINUX_IFLA_BR_TOPOLOGY_CHANGE_TIMER: linux__bindgen_ty_7 = 18;
3193pub const LINUX_IFLA_BR_GC_TIMER: linux__bindgen_ty_7 = 19;
3194pub const LINUX_IFLA_BR_GROUP_ADDR: linux__bindgen_ty_7 = 20;
3195pub const LINUX_IFLA_BR_FDB_FLUSH: linux__bindgen_ty_7 = 21;
3196pub const LINUX_IFLA_BR_MCAST_ROUTER: linux__bindgen_ty_7 = 22;
3197pub const LINUX_IFLA_BR_MCAST_SNOOPING: linux__bindgen_ty_7 = 23;
3198pub const LINUX_IFLA_BR_MCAST_QUERY_USE_IFADDR: linux__bindgen_ty_7 = 24;
3199pub const LINUX_IFLA_BR_MCAST_QUERIER: linux__bindgen_ty_7 = 25;
3200pub const LINUX_IFLA_BR_MCAST_HASH_ELASTICITY: linux__bindgen_ty_7 = 26;
3201pub const LINUX_IFLA_BR_MCAST_HASH_MAX: linux__bindgen_ty_7 = 27;
3202pub const LINUX_IFLA_BR_MCAST_LAST_MEMBER_CNT: linux__bindgen_ty_7 = 28;
3203pub const LINUX_IFLA_BR_MCAST_STARTUP_QUERY_CNT: linux__bindgen_ty_7 = 29;
3204pub const LINUX_IFLA_BR_MCAST_LAST_MEMBER_INTVL: linux__bindgen_ty_7 = 30;
3205pub const LINUX_IFLA_BR_MCAST_MEMBERSHIP_INTVL: linux__bindgen_ty_7 = 31;
3206pub const LINUX_IFLA_BR_MCAST_QUERIER_INTVL: linux__bindgen_ty_7 = 32;
3207pub const LINUX_IFLA_BR_MCAST_QUERY_INTVL: linux__bindgen_ty_7 = 33;
3208pub const LINUX_IFLA_BR_MCAST_QUERY_RESPONSE_INTVL: linux__bindgen_ty_7 = 34;
3209pub const LINUX_IFLA_BR_MCAST_STARTUP_QUERY_INTVL: linux__bindgen_ty_7 = 35;
3210pub const LINUX_IFLA_BR_NF_CALL_IPTABLES: linux__bindgen_ty_7 = 36;
3211pub const LINUX_IFLA_BR_NF_CALL_IP6TABLES: linux__bindgen_ty_7 = 37;
3212pub const LINUX_IFLA_BR_NF_CALL_ARPTABLES: linux__bindgen_ty_7 = 38;
3213pub const LINUX_IFLA_BR_VLAN_DEFAULT_PVID: linux__bindgen_ty_7 = 39;
3214pub const LINUX_IFLA_BR_PAD: linux__bindgen_ty_7 = 40;
3215pub const LINUX_IFLA_BR_VLAN_STATS_ENABLED: linux__bindgen_ty_7 = 41;
3216pub const LINUX_IFLA_BR_MCAST_STATS_ENABLED: linux__bindgen_ty_7 = 42;
3217pub const LINUX_IFLA_BR_MCAST_IGMP_VERSION: linux__bindgen_ty_7 = 43;
3218pub const LINUX_IFLA_BR_MCAST_MLD_VERSION: linux__bindgen_ty_7 = 44;
3219pub const LINUX_IFLA_BR_VLAN_STATS_PER_PORT: linux__bindgen_ty_7 = 45;
3220pub const LINUX_IFLA_BR_MULTI_BOOLOPT: linux__bindgen_ty_7 = 46;
3221pub const LINUX_IFLA_BR_MCAST_QUERIER_STATE: linux__bindgen_ty_7 = 47;
3222pub const LINUX_IFLA_BR_FDB_N_LEARNED: linux__bindgen_ty_7 = 48;
3223pub const LINUX_IFLA_BR_FDB_MAX_LEARNED: linux__bindgen_ty_7 = 49;
3224pub const LINUX___IFLA_BR_MAX: linux__bindgen_ty_7 = 50;
3225pub type linux__bindgen_ty_7 = ::core::ffi::c_uint;
3226pub const LINUX_BRIDGE_MODE_UNSPEC: linux__bindgen_ty_8 = 0;
3227pub const LINUX_BRIDGE_MODE_HAIRPIN: linux__bindgen_ty_8 = 1;
3228pub type linux__bindgen_ty_8 = ::core::ffi::c_uint;
3229pub const LINUX_IFLA_BRPORT_UNSPEC: linux__bindgen_ty_9 = 0;
3230pub const LINUX_IFLA_BRPORT_STATE: linux__bindgen_ty_9 = 1;
3231pub const LINUX_IFLA_BRPORT_PRIORITY: linux__bindgen_ty_9 = 2;
3232pub const LINUX_IFLA_BRPORT_COST: linux__bindgen_ty_9 = 3;
3233pub const LINUX_IFLA_BRPORT_MODE: linux__bindgen_ty_9 = 4;
3234pub const LINUX_IFLA_BRPORT_GUARD: linux__bindgen_ty_9 = 5;
3235pub const LINUX_IFLA_BRPORT_PROTECT: linux__bindgen_ty_9 = 6;
3236pub const LINUX_IFLA_BRPORT_FAST_LEAVE: linux__bindgen_ty_9 = 7;
3237pub const LINUX_IFLA_BRPORT_LEARNING: linux__bindgen_ty_9 = 8;
3238pub const LINUX_IFLA_BRPORT_UNICAST_FLOOD: linux__bindgen_ty_9 = 9;
3239pub const LINUX_IFLA_BRPORT_PROXYARP: linux__bindgen_ty_9 = 10;
3240pub const LINUX_IFLA_BRPORT_LEARNING_SYNC: linux__bindgen_ty_9 = 11;
3241pub const LINUX_IFLA_BRPORT_PROXYARP_WIFI: linux__bindgen_ty_9 = 12;
3242pub const LINUX_IFLA_BRPORT_ROOT_ID: linux__bindgen_ty_9 = 13;
3243pub const LINUX_IFLA_BRPORT_BRIDGE_ID: linux__bindgen_ty_9 = 14;
3244pub const LINUX_IFLA_BRPORT_DESIGNATED_PORT: linux__bindgen_ty_9 = 15;
3245pub const LINUX_IFLA_BRPORT_DESIGNATED_COST: linux__bindgen_ty_9 = 16;
3246pub const LINUX_IFLA_BRPORT_ID: linux__bindgen_ty_9 = 17;
3247pub const LINUX_IFLA_BRPORT_NO: linux__bindgen_ty_9 = 18;
3248pub const LINUX_IFLA_BRPORT_TOPOLOGY_CHANGE_ACK: linux__bindgen_ty_9 = 19;
3249pub const LINUX_IFLA_BRPORT_CONFIG_PENDING: linux__bindgen_ty_9 = 20;
3250pub const LINUX_IFLA_BRPORT_MESSAGE_AGE_TIMER: linux__bindgen_ty_9 = 21;
3251pub const LINUX_IFLA_BRPORT_FORWARD_DELAY_TIMER: linux__bindgen_ty_9 = 22;
3252pub const LINUX_IFLA_BRPORT_HOLD_TIMER: linux__bindgen_ty_9 = 23;
3253pub const LINUX_IFLA_BRPORT_FLUSH: linux__bindgen_ty_9 = 24;
3254pub const LINUX_IFLA_BRPORT_MULTICAST_ROUTER: linux__bindgen_ty_9 = 25;
3255pub const LINUX_IFLA_BRPORT_PAD: linux__bindgen_ty_9 = 26;
3256pub const LINUX_IFLA_BRPORT_MCAST_FLOOD: linux__bindgen_ty_9 = 27;
3257pub const LINUX_IFLA_BRPORT_MCAST_TO_UCAST: linux__bindgen_ty_9 = 28;
3258pub const LINUX_IFLA_BRPORT_VLAN_TUNNEL: linux__bindgen_ty_9 = 29;
3259pub const LINUX_IFLA_BRPORT_BCAST_FLOOD: linux__bindgen_ty_9 = 30;
3260pub const LINUX_IFLA_BRPORT_GROUP_FWD_MASK: linux__bindgen_ty_9 = 31;
3261pub const LINUX_IFLA_BRPORT_NEIGH_SUPPRESS: linux__bindgen_ty_9 = 32;
3262pub const LINUX_IFLA_BRPORT_ISOLATED: linux__bindgen_ty_9 = 33;
3263pub const LINUX_IFLA_BRPORT_BACKUP_PORT: linux__bindgen_ty_9 = 34;
3264pub const LINUX_IFLA_BRPORT_MRP_RING_OPEN: linux__bindgen_ty_9 = 35;
3265pub const LINUX_IFLA_BRPORT_MRP_IN_OPEN: linux__bindgen_ty_9 = 36;
3266pub const LINUX_IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: linux__bindgen_ty_9 = 37;
3267pub const LINUX_IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: linux__bindgen_ty_9 = 38;
3268pub const LINUX_IFLA_BRPORT_LOCKED: linux__bindgen_ty_9 = 39;
3269pub const LINUX_IFLA_BRPORT_MAB: linux__bindgen_ty_9 = 40;
3270pub const LINUX_IFLA_BRPORT_MCAST_N_GROUPS: linux__bindgen_ty_9 = 41;
3271pub const LINUX_IFLA_BRPORT_MCAST_MAX_GROUPS: linux__bindgen_ty_9 = 42;
3272pub const LINUX_IFLA_BRPORT_NEIGH_VLAN_SUPPRESS: linux__bindgen_ty_9 = 43;
3273pub const LINUX_IFLA_BRPORT_BACKUP_NHID: linux__bindgen_ty_9 = 44;
3274pub const LINUX___IFLA_BRPORT_MAX: linux__bindgen_ty_9 = 45;
3275pub type linux__bindgen_ty_9 = ::core::ffi::c_uint;
3276pub const LINUX_IFLA_INFO_UNSPEC: linux__bindgen_ty_10 = 0;
3277pub const LINUX_IFLA_INFO_KIND: linux__bindgen_ty_10 = 1;
3278pub const LINUX_IFLA_INFO_DATA: linux__bindgen_ty_10 = 2;
3279pub const LINUX_IFLA_INFO_XSTATS: linux__bindgen_ty_10 = 3;
3280pub const LINUX_IFLA_INFO_SLAVE_KIND: linux__bindgen_ty_10 = 4;
3281pub const LINUX_IFLA_INFO_SLAVE_DATA: linux__bindgen_ty_10 = 5;
3282pub const LINUX___IFLA_INFO_MAX: linux__bindgen_ty_10 = 6;
3283pub type linux__bindgen_ty_10 = ::core::ffi::c_uint;
3284pub const LINUX_IFLA_VLAN_UNSPEC: linux__bindgen_ty_11 = 0;
3285pub const LINUX_IFLA_VLAN_ID: linux__bindgen_ty_11 = 1;
3286pub const LINUX_IFLA_VLAN_FLAGS: linux__bindgen_ty_11 = 2;
3287pub const LINUX_IFLA_VLAN_EGRESS_QOS: linux__bindgen_ty_11 = 3;
3288pub const LINUX_IFLA_VLAN_INGRESS_QOS: linux__bindgen_ty_11 = 4;
3289pub const LINUX_IFLA_VLAN_PROTOCOL: linux__bindgen_ty_11 = 5;
3290pub const LINUX___IFLA_VLAN_MAX: linux__bindgen_ty_11 = 6;
3291pub type linux__bindgen_ty_11 = ::core::ffi::c_uint;
3292pub const LINUX_IFLA_VLAN_QOS_UNSPEC: linux__bindgen_ty_12 = 0;
3293pub const LINUX_IFLA_VLAN_QOS_MAPPING: linux__bindgen_ty_12 = 1;
3294pub const LINUX___IFLA_VLAN_QOS_MAX: linux__bindgen_ty_12 = 2;
3295pub type linux__bindgen_ty_12 = ::core::ffi::c_uint;
3296pub const LINUX_IFLA_MACVLAN_UNSPEC: linux__bindgen_ty_13 = 0;
3297pub const LINUX_IFLA_MACVLAN_MODE: linux__bindgen_ty_13 = 1;
3298pub const LINUX_IFLA_MACVLAN_FLAGS: linux__bindgen_ty_13 = 2;
3299pub const LINUX_IFLA_MACVLAN_MACADDR_MODE: linux__bindgen_ty_13 = 3;
3300pub const LINUX_IFLA_MACVLAN_MACADDR: linux__bindgen_ty_13 = 4;
3301pub const LINUX_IFLA_MACVLAN_MACADDR_DATA: linux__bindgen_ty_13 = 5;
3302pub const LINUX_IFLA_MACVLAN_MACADDR_COUNT: linux__bindgen_ty_13 = 6;
3303pub const LINUX_IFLA_MACVLAN_BC_QUEUE_LEN: linux__bindgen_ty_13 = 7;
3304pub const LINUX_IFLA_MACVLAN_BC_QUEUE_LEN_USED: linux__bindgen_ty_13 = 8;
3305pub const LINUX_IFLA_MACVLAN_BC_CUTOFF: linux__bindgen_ty_13 = 9;
3306pub const LINUX___IFLA_MACVLAN_MAX: linux__bindgen_ty_13 = 10;
3307pub type linux__bindgen_ty_13 = ::core::ffi::c_uint;
3308pub const LINUX_IFLA_VRF_UNSPEC: linux__bindgen_ty_14 = 0;
3309pub const LINUX_IFLA_VRF_TABLE: linux__bindgen_ty_14 = 1;
3310pub const LINUX___IFLA_VRF_MAX: linux__bindgen_ty_14 = 2;
3311pub type linux__bindgen_ty_14 = ::core::ffi::c_uint;
3312pub const LINUX_IFLA_VRF_PORT_UNSPEC: linux__bindgen_ty_15 = 0;
3313pub const LINUX_IFLA_VRF_PORT_TABLE: linux__bindgen_ty_15 = 1;
3314pub const LINUX___IFLA_VRF_PORT_MAX: linux__bindgen_ty_15 = 2;
3315pub type linux__bindgen_ty_15 = ::core::ffi::c_uint;
3316pub const LINUX_IFLA_MACSEC_UNSPEC: linux__bindgen_ty_16 = 0;
3317pub const LINUX_IFLA_MACSEC_SCI: linux__bindgen_ty_16 = 1;
3318pub const LINUX_IFLA_MACSEC_PORT: linux__bindgen_ty_16 = 2;
3319pub const LINUX_IFLA_MACSEC_ICV_LEN: linux__bindgen_ty_16 = 3;
3320pub const LINUX_IFLA_MACSEC_CIPHER_SUITE: linux__bindgen_ty_16 = 4;
3321pub const LINUX_IFLA_MACSEC_WINDOW: linux__bindgen_ty_16 = 5;
3322pub const LINUX_IFLA_MACSEC_ENCODING_SA: linux__bindgen_ty_16 = 6;
3323pub const LINUX_IFLA_MACSEC_ENCRYPT: linux__bindgen_ty_16 = 7;
3324pub const LINUX_IFLA_MACSEC_PROTECT: linux__bindgen_ty_16 = 8;
3325pub const LINUX_IFLA_MACSEC_INC_SCI: linux__bindgen_ty_16 = 9;
3326pub const LINUX_IFLA_MACSEC_ES: linux__bindgen_ty_16 = 10;
3327pub const LINUX_IFLA_MACSEC_SCB: linux__bindgen_ty_16 = 11;
3328pub const LINUX_IFLA_MACSEC_REPLAY_PROTECT: linux__bindgen_ty_16 = 12;
3329pub const LINUX_IFLA_MACSEC_VALIDATION: linux__bindgen_ty_16 = 13;
3330pub const LINUX_IFLA_MACSEC_PAD: linux__bindgen_ty_16 = 14;
3331pub const LINUX_IFLA_MACSEC_OFFLOAD: linux__bindgen_ty_16 = 15;
3332pub const LINUX___IFLA_MACSEC_MAX: linux__bindgen_ty_16 = 16;
3333pub type linux__bindgen_ty_16 = ::core::ffi::c_uint;
3334pub const LINUX_IFLA_XFRM_UNSPEC: linux__bindgen_ty_17 = 0;
3335pub const LINUX_IFLA_XFRM_LINK: linux__bindgen_ty_17 = 1;
3336pub const LINUX_IFLA_XFRM_IF_ID: linux__bindgen_ty_17 = 2;
3337pub const LINUX_IFLA_XFRM_COLLECT_METADATA: linux__bindgen_ty_17 = 3;
3338pub const LINUX___IFLA_XFRM_MAX: linux__bindgen_ty_17 = 4;
3339pub type linux__bindgen_ty_17 = ::core::ffi::c_uint;
3340pub const LINUX_IFLA_IPVLAN_UNSPEC: linux__bindgen_ty_18 = 0;
3341pub const LINUX_IFLA_IPVLAN_MODE: linux__bindgen_ty_18 = 1;
3342pub const LINUX_IFLA_IPVLAN_FLAGS: linux__bindgen_ty_18 = 2;
3343pub const LINUX___IFLA_IPVLAN_MAX: linux__bindgen_ty_18 = 3;
3344pub type linux__bindgen_ty_18 = ::core::ffi::c_uint;
3345pub const LINUX_IFLA_NETKIT_UNSPEC: linux__bindgen_ty_19 = 0;
3346pub const LINUX_IFLA_NETKIT_PEER_INFO: linux__bindgen_ty_19 = 1;
3347pub const LINUX_IFLA_NETKIT_PRIMARY: linux__bindgen_ty_19 = 2;
3348pub const LINUX_IFLA_NETKIT_POLICY: linux__bindgen_ty_19 = 3;
3349pub const LINUX_IFLA_NETKIT_PEER_POLICY: linux__bindgen_ty_19 = 4;
3350pub const LINUX_IFLA_NETKIT_MODE: linux__bindgen_ty_19 = 5;
3351pub const LINUX___IFLA_NETKIT_MAX: linux__bindgen_ty_19 = 6;
3352pub type linux__bindgen_ty_19 = ::core::ffi::c_uint;
3353pub const LINUX_VNIFILTER_ENTRY_STATS_UNSPEC: linux__bindgen_ty_20 = 0;
3354pub const LINUX_VNIFILTER_ENTRY_STATS_RX_BYTES: linux__bindgen_ty_20 = 1;
3355pub const LINUX_VNIFILTER_ENTRY_STATS_RX_PKTS: linux__bindgen_ty_20 = 2;
3356pub const LINUX_VNIFILTER_ENTRY_STATS_RX_DROPS: linux__bindgen_ty_20 = 3;
3357pub const LINUX_VNIFILTER_ENTRY_STATS_RX_ERRORS: linux__bindgen_ty_20 = 4;
3358pub const LINUX_VNIFILTER_ENTRY_STATS_TX_BYTES: linux__bindgen_ty_20 = 5;
3359pub const LINUX_VNIFILTER_ENTRY_STATS_TX_PKTS: linux__bindgen_ty_20 = 6;
3360pub const LINUX_VNIFILTER_ENTRY_STATS_TX_DROPS: linux__bindgen_ty_20 = 7;
3361pub const LINUX_VNIFILTER_ENTRY_STATS_TX_ERRORS: linux__bindgen_ty_20 = 8;
3362pub const LINUX_VNIFILTER_ENTRY_STATS_PAD: linux__bindgen_ty_20 = 9;
3363pub const LINUX___VNIFILTER_ENTRY_STATS_MAX: linux__bindgen_ty_20 = 10;
3364pub type linux__bindgen_ty_20 = ::core::ffi::c_uint;
3365pub const LINUX_VXLAN_VNIFILTER_ENTRY_UNSPEC: linux__bindgen_ty_21 = 0;
3366pub const LINUX_VXLAN_VNIFILTER_ENTRY_START: linux__bindgen_ty_21 = 1;
3367pub const LINUX_VXLAN_VNIFILTER_ENTRY_END: linux__bindgen_ty_21 = 2;
3368pub const LINUX_VXLAN_VNIFILTER_ENTRY_GROUP: linux__bindgen_ty_21 = 3;
3369pub const LINUX_VXLAN_VNIFILTER_ENTRY_GROUP6: linux__bindgen_ty_21 = 4;
3370pub const LINUX_VXLAN_VNIFILTER_ENTRY_STATS: linux__bindgen_ty_21 = 5;
3371pub const LINUX___VXLAN_VNIFILTER_ENTRY_MAX: linux__bindgen_ty_21 = 6;
3372pub type linux__bindgen_ty_21 = ::core::ffi::c_uint;
3373pub const LINUX_VXLAN_VNIFILTER_UNSPEC: linux__bindgen_ty_22 = 0;
3374pub const LINUX_VXLAN_VNIFILTER_ENTRY: linux__bindgen_ty_22 = 1;
3375pub const LINUX___VXLAN_VNIFILTER_MAX: linux__bindgen_ty_22 = 2;
3376pub type linux__bindgen_ty_22 = ::core::ffi::c_uint;
3377pub const LINUX_IFLA_VXLAN_UNSPEC: linux__bindgen_ty_23 = 0;
3378pub const LINUX_IFLA_VXLAN_ID: linux__bindgen_ty_23 = 1;
3379pub const LINUX_IFLA_VXLAN_GROUP: linux__bindgen_ty_23 = 2;
3380pub const LINUX_IFLA_VXLAN_LINK: linux__bindgen_ty_23 = 3;
3381pub const LINUX_IFLA_VXLAN_LOCAL: linux__bindgen_ty_23 = 4;
3382pub const LINUX_IFLA_VXLAN_TTL: linux__bindgen_ty_23 = 5;
3383pub const LINUX_IFLA_VXLAN_TOS: linux__bindgen_ty_23 = 6;
3384pub const LINUX_IFLA_VXLAN_LEARNING: linux__bindgen_ty_23 = 7;
3385pub const LINUX_IFLA_VXLAN_AGEING: linux__bindgen_ty_23 = 8;
3386pub const LINUX_IFLA_VXLAN_LIMIT: linux__bindgen_ty_23 = 9;
3387pub const LINUX_IFLA_VXLAN_PORT_RANGE: linux__bindgen_ty_23 = 10;
3388pub const LINUX_IFLA_VXLAN_PROXY: linux__bindgen_ty_23 = 11;
3389pub const LINUX_IFLA_VXLAN_RSC: linux__bindgen_ty_23 = 12;
3390pub const LINUX_IFLA_VXLAN_L2MISS: linux__bindgen_ty_23 = 13;
3391pub const LINUX_IFLA_VXLAN_L3MISS: linux__bindgen_ty_23 = 14;
3392pub const LINUX_IFLA_VXLAN_PORT: linux__bindgen_ty_23 = 15;
3393pub const LINUX_IFLA_VXLAN_GROUP6: linux__bindgen_ty_23 = 16;
3394pub const LINUX_IFLA_VXLAN_LOCAL6: linux__bindgen_ty_23 = 17;
3395pub const LINUX_IFLA_VXLAN_UDP_CSUM: linux__bindgen_ty_23 = 18;
3396pub const LINUX_IFLA_VXLAN_UDP_ZERO_CSUM6_TX: linux__bindgen_ty_23 = 19;
3397pub const LINUX_IFLA_VXLAN_UDP_ZERO_CSUM6_RX: linux__bindgen_ty_23 = 20;
3398pub const LINUX_IFLA_VXLAN_REMCSUM_TX: linux__bindgen_ty_23 = 21;
3399pub const LINUX_IFLA_VXLAN_REMCSUM_RX: linux__bindgen_ty_23 = 22;
3400pub const LINUX_IFLA_VXLAN_GBP: linux__bindgen_ty_23 = 23;
3401pub const LINUX_IFLA_VXLAN_REMCSUM_NOPARTIAL: linux__bindgen_ty_23 = 24;
3402pub const LINUX_IFLA_VXLAN_COLLECT_METADATA: linux__bindgen_ty_23 = 25;
3403pub const LINUX_IFLA_VXLAN_LABEL: linux__bindgen_ty_23 = 26;
3404pub const LINUX_IFLA_VXLAN_GPE: linux__bindgen_ty_23 = 27;
3405pub const LINUX_IFLA_VXLAN_TTL_INHERIT: linux__bindgen_ty_23 = 28;
3406pub const LINUX_IFLA_VXLAN_DF: linux__bindgen_ty_23 = 29;
3407pub const LINUX_IFLA_VXLAN_VNIFILTER: linux__bindgen_ty_23 = 30;
3408pub const LINUX_IFLA_VXLAN_LOCALBYPASS: linux__bindgen_ty_23 = 31;
3409pub const LINUX_IFLA_VXLAN_LABEL_POLICY: linux__bindgen_ty_23 = 32;
3410pub const LINUX___IFLA_VXLAN_MAX: linux__bindgen_ty_23 = 33;
3411pub type linux__bindgen_ty_23 = ::core::ffi::c_uint;
3412pub const LINUX_IFLA_GENEVE_UNSPEC: linux__bindgen_ty_24 = 0;
3413pub const LINUX_IFLA_GENEVE_ID: linux__bindgen_ty_24 = 1;
3414pub const LINUX_IFLA_GENEVE_REMOTE: linux__bindgen_ty_24 = 2;
3415pub const LINUX_IFLA_GENEVE_TTL: linux__bindgen_ty_24 = 3;
3416pub const LINUX_IFLA_GENEVE_TOS: linux__bindgen_ty_24 = 4;
3417pub const LINUX_IFLA_GENEVE_PORT: linux__bindgen_ty_24 = 5;
3418pub const LINUX_IFLA_GENEVE_COLLECT_METADATA: linux__bindgen_ty_24 = 6;
3419pub const LINUX_IFLA_GENEVE_REMOTE6: linux__bindgen_ty_24 = 7;
3420pub const LINUX_IFLA_GENEVE_UDP_CSUM: linux__bindgen_ty_24 = 8;
3421pub const LINUX_IFLA_GENEVE_UDP_ZERO_CSUM6_TX: linux__bindgen_ty_24 = 9;
3422pub const LINUX_IFLA_GENEVE_UDP_ZERO_CSUM6_RX: linux__bindgen_ty_24 = 10;
3423pub const LINUX_IFLA_GENEVE_LABEL: linux__bindgen_ty_24 = 11;
3424pub const LINUX_IFLA_GENEVE_TTL_INHERIT: linux__bindgen_ty_24 = 12;
3425pub const LINUX_IFLA_GENEVE_DF: linux__bindgen_ty_24 = 13;
3426pub const LINUX_IFLA_GENEVE_INNER_PROTO_INHERIT: linux__bindgen_ty_24 = 14;
3427pub const LINUX___IFLA_GENEVE_MAX: linux__bindgen_ty_24 = 15;
3428pub type linux__bindgen_ty_24 = ::core::ffi::c_uint;
3429pub const LINUX_IFLA_BAREUDP_UNSPEC: linux__bindgen_ty_25 = 0;
3430pub const LINUX_IFLA_BAREUDP_PORT: linux__bindgen_ty_25 = 1;
3431pub const LINUX_IFLA_BAREUDP_ETHERTYPE: linux__bindgen_ty_25 = 2;
3432pub const LINUX_IFLA_BAREUDP_SRCPORT_MIN: linux__bindgen_ty_25 = 3;
3433pub const LINUX_IFLA_BAREUDP_MULTIPROTO_MODE: linux__bindgen_ty_25 = 4;
3434pub const LINUX___IFLA_BAREUDP_MAX: linux__bindgen_ty_25 = 5;
3435pub type linux__bindgen_ty_25 = ::core::ffi::c_uint;
3436pub const LINUX_IFLA_PPP_UNSPEC: linux__bindgen_ty_26 = 0;
3437pub const LINUX_IFLA_PPP_DEV_FD: linux__bindgen_ty_26 = 1;
3438pub const LINUX___IFLA_PPP_MAX: linux__bindgen_ty_26 = 2;
3439pub type linux__bindgen_ty_26 = ::core::ffi::c_uint;
3440pub const LINUX_IFLA_GTP_UNSPEC: linux__bindgen_ty_27 = 0;
3441pub const LINUX_IFLA_GTP_FD0: linux__bindgen_ty_27 = 1;
3442pub const LINUX_IFLA_GTP_FD1: linux__bindgen_ty_27 = 2;
3443pub const LINUX_IFLA_GTP_PDP_HASHSIZE: linux__bindgen_ty_27 = 3;
3444pub const LINUX_IFLA_GTP_ROLE: linux__bindgen_ty_27 = 4;
3445pub const LINUX_IFLA_GTP_CREATE_SOCKETS: linux__bindgen_ty_27 = 5;
3446pub const LINUX_IFLA_GTP_RESTART_COUNT: linux__bindgen_ty_27 = 6;
3447pub const LINUX_IFLA_GTP_LOCAL: linux__bindgen_ty_27 = 7;
3448pub const LINUX_IFLA_GTP_LOCAL6: linux__bindgen_ty_27 = 8;
3449pub const LINUX___IFLA_GTP_MAX: linux__bindgen_ty_27 = 9;
3450pub type linux__bindgen_ty_27 = ::core::ffi::c_uint;
3451pub const LINUX_IFLA_BOND_UNSPEC: linux__bindgen_ty_28 = 0;
3452pub const LINUX_IFLA_BOND_MODE: linux__bindgen_ty_28 = 1;
3453pub const LINUX_IFLA_BOND_ACTIVE_SLAVE: linux__bindgen_ty_28 = 2;
3454pub const LINUX_IFLA_BOND_MIIMON: linux__bindgen_ty_28 = 3;
3455pub const LINUX_IFLA_BOND_UPDELAY: linux__bindgen_ty_28 = 4;
3456pub const LINUX_IFLA_BOND_DOWNDELAY: linux__bindgen_ty_28 = 5;
3457pub const LINUX_IFLA_BOND_USE_CARRIER: linux__bindgen_ty_28 = 6;
3458pub const LINUX_IFLA_BOND_ARP_INTERVAL: linux__bindgen_ty_28 = 7;
3459pub const LINUX_IFLA_BOND_ARP_IP_TARGET: linux__bindgen_ty_28 = 8;
3460pub const LINUX_IFLA_BOND_ARP_VALIDATE: linux__bindgen_ty_28 = 9;
3461pub const LINUX_IFLA_BOND_ARP_ALL_TARGETS: linux__bindgen_ty_28 = 10;
3462pub const LINUX_IFLA_BOND_PRIMARY: linux__bindgen_ty_28 = 11;
3463pub const LINUX_IFLA_BOND_PRIMARY_RESELECT: linux__bindgen_ty_28 = 12;
3464pub const LINUX_IFLA_BOND_FAIL_OVER_MAC: linux__bindgen_ty_28 = 13;
3465pub const LINUX_IFLA_BOND_XMIT_HASH_POLICY: linux__bindgen_ty_28 = 14;
3466pub const LINUX_IFLA_BOND_RESEND_IGMP: linux__bindgen_ty_28 = 15;
3467pub const LINUX_IFLA_BOND_NUM_PEER_NOTIF: linux__bindgen_ty_28 = 16;
3468pub const LINUX_IFLA_BOND_ALL_SLAVES_ACTIVE: linux__bindgen_ty_28 = 17;
3469pub const LINUX_IFLA_BOND_MIN_LINKS: linux__bindgen_ty_28 = 18;
3470pub const LINUX_IFLA_BOND_LP_INTERVAL: linux__bindgen_ty_28 = 19;
3471pub const LINUX_IFLA_BOND_PACKETS_PER_SLAVE: linux__bindgen_ty_28 = 20;
3472pub const LINUX_IFLA_BOND_AD_LACP_RATE: linux__bindgen_ty_28 = 21;
3473pub const LINUX_IFLA_BOND_AD_SELECT: linux__bindgen_ty_28 = 22;
3474pub const LINUX_IFLA_BOND_AD_INFO: linux__bindgen_ty_28 = 23;
3475pub const LINUX_IFLA_BOND_AD_ACTOR_SYS_PRIO: linux__bindgen_ty_28 = 24;
3476pub const LINUX_IFLA_BOND_AD_USER_PORT_KEY: linux__bindgen_ty_28 = 25;
3477pub const LINUX_IFLA_BOND_AD_ACTOR_SYSTEM: linux__bindgen_ty_28 = 26;
3478pub const LINUX_IFLA_BOND_TLB_DYNAMIC_LB: linux__bindgen_ty_28 = 27;
3479pub const LINUX_IFLA_BOND_PEER_NOTIF_DELAY: linux__bindgen_ty_28 = 28;
3480pub const LINUX_IFLA_BOND_AD_LACP_ACTIVE: linux__bindgen_ty_28 = 29;
3481pub const LINUX_IFLA_BOND_MISSED_MAX: linux__bindgen_ty_28 = 30;
3482pub const LINUX_IFLA_BOND_NS_IP6_TARGET: linux__bindgen_ty_28 = 31;
3483pub const LINUX_IFLA_BOND_COUPLED_CONTROL: linux__bindgen_ty_28 = 32;
3484pub const LINUX___IFLA_BOND_MAX: linux__bindgen_ty_28 = 33;
3485pub type linux__bindgen_ty_28 = ::core::ffi::c_uint;
3486pub const LINUX_IFLA_BOND_AD_INFO_UNSPEC: linux__bindgen_ty_29 = 0;
3487pub const LINUX_IFLA_BOND_AD_INFO_AGGREGATOR: linux__bindgen_ty_29 = 1;
3488pub const LINUX_IFLA_BOND_AD_INFO_NUM_PORTS: linux__bindgen_ty_29 = 2;
3489pub const LINUX_IFLA_BOND_AD_INFO_ACTOR_KEY: linux__bindgen_ty_29 = 3;
3490pub const LINUX_IFLA_BOND_AD_INFO_PARTNER_KEY: linux__bindgen_ty_29 = 4;
3491pub const LINUX_IFLA_BOND_AD_INFO_PARTNER_MAC: linux__bindgen_ty_29 = 5;
3492pub const LINUX___IFLA_BOND_AD_INFO_MAX: linux__bindgen_ty_29 = 6;
3493pub type linux__bindgen_ty_29 = ::core::ffi::c_uint;
3494pub const LINUX_IFLA_BOND_SLAVE_UNSPEC: linux__bindgen_ty_30 = 0;
3495pub const LINUX_IFLA_BOND_SLAVE_STATE: linux__bindgen_ty_30 = 1;
3496pub const LINUX_IFLA_BOND_SLAVE_MII_STATUS: linux__bindgen_ty_30 = 2;
3497pub const LINUX_IFLA_BOND_SLAVE_LINK_FAILURE_COUNT: linux__bindgen_ty_30 = 3;
3498pub const LINUX_IFLA_BOND_SLAVE_PERM_HWADDR: linux__bindgen_ty_30 = 4;
3499pub const LINUX_IFLA_BOND_SLAVE_QUEUE_ID: linux__bindgen_ty_30 = 5;
3500pub const LINUX_IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: linux__bindgen_ty_30 = 6;
3501pub const LINUX_IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: linux__bindgen_ty_30 = 7;
3502pub const LINUX_IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: linux__bindgen_ty_30 = 8;
3503pub const LINUX_IFLA_BOND_SLAVE_PRIO: linux__bindgen_ty_30 = 9;
3504pub const LINUX___IFLA_BOND_SLAVE_MAX: linux__bindgen_ty_30 = 10;
3505pub type linux__bindgen_ty_30 = ::core::ffi::c_uint;
3506pub const LINUX_IFLA_VF_INFO_UNSPEC: linux__bindgen_ty_31 = 0;
3507pub const LINUX_IFLA_VF_INFO: linux__bindgen_ty_31 = 1;
3508pub const LINUX___IFLA_VF_INFO_MAX: linux__bindgen_ty_31 = 2;
3509pub type linux__bindgen_ty_31 = ::core::ffi::c_uint;
3510pub const LINUX_IFLA_VF_UNSPEC: linux__bindgen_ty_32 = 0;
3511pub const LINUX_IFLA_VF_MAC: linux__bindgen_ty_32 = 1;
3512pub const LINUX_IFLA_VF_VLAN: linux__bindgen_ty_32 = 2;
3513pub const LINUX_IFLA_VF_TX_RATE: linux__bindgen_ty_32 = 3;
3514pub const LINUX_IFLA_VF_SPOOFCHK: linux__bindgen_ty_32 = 4;
3515pub const LINUX_IFLA_VF_LINK_STATE: linux__bindgen_ty_32 = 5;
3516pub const LINUX_IFLA_VF_RATE: linux__bindgen_ty_32 = 6;
3517pub const LINUX_IFLA_VF_RSS_QUERY_EN: linux__bindgen_ty_32 = 7;
3518pub const LINUX_IFLA_VF_STATS: linux__bindgen_ty_32 = 8;
3519pub const LINUX_IFLA_VF_TRUST: linux__bindgen_ty_32 = 9;
3520pub const LINUX_IFLA_VF_IB_NODE_GUID: linux__bindgen_ty_32 = 10;
3521pub const LINUX_IFLA_VF_IB_PORT_GUID: linux__bindgen_ty_32 = 11;
3522pub const LINUX_IFLA_VF_VLAN_LIST: linux__bindgen_ty_32 = 12;
3523pub const LINUX_IFLA_VF_BROADCAST: linux__bindgen_ty_32 = 13;
3524pub const LINUX___IFLA_VF_MAX: linux__bindgen_ty_32 = 14;
3525pub type linux__bindgen_ty_32 = ::core::ffi::c_uint;
3526pub const LINUX_IFLA_VF_VLAN_INFO_UNSPEC: linux__bindgen_ty_33 = 0;
3527pub const LINUX_IFLA_VF_VLAN_INFO: linux__bindgen_ty_33 = 1;
3528pub const LINUX___IFLA_VF_VLAN_INFO_MAX: linux__bindgen_ty_33 = 2;
3529pub type linux__bindgen_ty_33 = ::core::ffi::c_uint;
3530pub const LINUX_IFLA_VF_LINK_STATE_AUTO: linux__bindgen_ty_34 = 0;
3531pub const LINUX_IFLA_VF_LINK_STATE_ENABLE: linux__bindgen_ty_34 = 1;
3532pub const LINUX_IFLA_VF_LINK_STATE_DISABLE: linux__bindgen_ty_34 = 2;
3533pub const LINUX___IFLA_VF_LINK_STATE_MAX: linux__bindgen_ty_34 = 3;
3534pub type linux__bindgen_ty_34 = ::core::ffi::c_uint;
3535pub const LINUX_IFLA_VF_STATS_RX_PACKETS: linux__bindgen_ty_35 = 0;
3536pub const LINUX_IFLA_VF_STATS_TX_PACKETS: linux__bindgen_ty_35 = 1;
3537pub const LINUX_IFLA_VF_STATS_RX_BYTES: linux__bindgen_ty_35 = 2;
3538pub const LINUX_IFLA_VF_STATS_TX_BYTES: linux__bindgen_ty_35 = 3;
3539pub const LINUX_IFLA_VF_STATS_BROADCAST: linux__bindgen_ty_35 = 4;
3540pub const LINUX_IFLA_VF_STATS_MULTICAST: linux__bindgen_ty_35 = 5;
3541pub const LINUX_IFLA_VF_STATS_PAD: linux__bindgen_ty_35 = 6;
3542pub const LINUX_IFLA_VF_STATS_RX_DROPPED: linux__bindgen_ty_35 = 7;
3543pub const LINUX_IFLA_VF_STATS_TX_DROPPED: linux__bindgen_ty_35 = 8;
3544pub const LINUX___IFLA_VF_STATS_MAX: linux__bindgen_ty_35 = 9;
3545pub type linux__bindgen_ty_35 = ::core::ffi::c_uint;
3546pub const LINUX_IFLA_VF_PORT_UNSPEC: linux__bindgen_ty_36 = 0;
3547pub const LINUX_IFLA_VF_PORT: linux__bindgen_ty_36 = 1;
3548pub const LINUX___IFLA_VF_PORT_MAX: linux__bindgen_ty_36 = 2;
3549pub type linux__bindgen_ty_36 = ::core::ffi::c_uint;
3550pub const LINUX_IFLA_PORT_UNSPEC: linux__bindgen_ty_37 = 0;
3551pub const LINUX_IFLA_PORT_VF: linux__bindgen_ty_37 = 1;
3552pub const LINUX_IFLA_PORT_PROFILE: linux__bindgen_ty_37 = 2;
3553pub const LINUX_IFLA_PORT_VSI_TYPE: linux__bindgen_ty_37 = 3;
3554pub const LINUX_IFLA_PORT_INSTANCE_UUID: linux__bindgen_ty_37 = 4;
3555pub const LINUX_IFLA_PORT_HOST_UUID: linux__bindgen_ty_37 = 5;
3556pub const LINUX_IFLA_PORT_REQUEST: linux__bindgen_ty_37 = 6;
3557pub const LINUX_IFLA_PORT_RESPONSE: linux__bindgen_ty_37 = 7;
3558pub const LINUX___IFLA_PORT_MAX: linux__bindgen_ty_37 = 8;
3559pub type linux__bindgen_ty_37 = ::core::ffi::c_uint;
3560pub const LINUX_PORT_REQUEST_PREASSOCIATE: linux__bindgen_ty_38 = 0;
3561pub const LINUX_PORT_REQUEST_PREASSOCIATE_RR: linux__bindgen_ty_38 = 1;
3562pub const LINUX_PORT_REQUEST_ASSOCIATE: linux__bindgen_ty_38 = 2;
3563pub const LINUX_PORT_REQUEST_DISASSOCIATE: linux__bindgen_ty_38 = 3;
3564pub type linux__bindgen_ty_38 = ::core::ffi::c_uint;
3565pub const LINUX_PORT_VDP_RESPONSE_SUCCESS: linux__bindgen_ty_39 = 0;
3566pub const LINUX_PORT_VDP_RESPONSE_INVALID_FORMAT: linux__bindgen_ty_39 = 1;
3567pub const LINUX_PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES: linux__bindgen_ty_39 = 2;
3568pub const LINUX_PORT_VDP_RESPONSE_UNUSED_VTID: linux__bindgen_ty_39 = 3;
3569pub const LINUX_PORT_VDP_RESPONSE_VTID_VIOLATION: linux__bindgen_ty_39 = 4;
3570pub const LINUX_PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION: linux__bindgen_ty_39 = 5;
3571pub const LINUX_PORT_VDP_RESPONSE_OUT_OF_SYNC: linux__bindgen_ty_39 = 6;
3572pub const LINUX_PORT_PROFILE_RESPONSE_SUCCESS: linux__bindgen_ty_39 = 256;
3573pub const LINUX_PORT_PROFILE_RESPONSE_INPROGRESS: linux__bindgen_ty_39 = 257;
3574pub const LINUX_PORT_PROFILE_RESPONSE_INVALID: linux__bindgen_ty_39 = 258;
3575pub const LINUX_PORT_PROFILE_RESPONSE_BADSTATE: linux__bindgen_ty_39 = 259;
3576pub const LINUX_PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES: linux__bindgen_ty_39 = 260;
3577pub const LINUX_PORT_PROFILE_RESPONSE_ERROR: linux__bindgen_ty_39 = 261;
3578pub type linux__bindgen_ty_39 = ::core::ffi::c_uint;
3579pub const LINUX_IFLA_IPOIB_UNSPEC: linux__bindgen_ty_40 = 0;
3580pub const LINUX_IFLA_IPOIB_PKEY: linux__bindgen_ty_40 = 1;
3581pub const LINUX_IFLA_IPOIB_MODE: linux__bindgen_ty_40 = 2;
3582pub const LINUX_IFLA_IPOIB_UMCAST: linux__bindgen_ty_40 = 3;
3583pub const LINUX___IFLA_IPOIB_MAX: linux__bindgen_ty_40 = 4;
3584pub type linux__bindgen_ty_40 = ::core::ffi::c_uint;
3585pub const LINUX_IPOIB_MODE_DATAGRAM: linux__bindgen_ty_41 = 0;
3586pub const LINUX_IPOIB_MODE_CONNECTED: linux__bindgen_ty_41 = 1;
3587pub type linux__bindgen_ty_41 = ::core::ffi::c_uint;
3588pub const LINUX_HSR_PROTOCOL_HSR: linux__bindgen_ty_42 = 0;
3589pub const LINUX_HSR_PROTOCOL_PRP: linux__bindgen_ty_42 = 1;
3590pub const LINUX_HSR_PROTOCOL_MAX: linux__bindgen_ty_42 = 2;
3591pub type linux__bindgen_ty_42 = ::core::ffi::c_uint;
3592pub const LINUX_IFLA_HSR_UNSPEC: linux__bindgen_ty_43 = 0;
3593pub const LINUX_IFLA_HSR_SLAVE1: linux__bindgen_ty_43 = 1;
3594pub const LINUX_IFLA_HSR_SLAVE2: linux__bindgen_ty_43 = 2;
3595pub const LINUX_IFLA_HSR_MULTICAST_SPEC: linux__bindgen_ty_43 = 3;
3596pub const LINUX_IFLA_HSR_SUPERVISION_ADDR: linux__bindgen_ty_43 = 4;
3597pub const LINUX_IFLA_HSR_SEQ_NR: linux__bindgen_ty_43 = 5;
3598pub const LINUX_IFLA_HSR_VERSION: linux__bindgen_ty_43 = 6;
3599pub const LINUX_IFLA_HSR_PROTOCOL: linux__bindgen_ty_43 = 7;
3600pub const LINUX_IFLA_HSR_INTERLINK: linux__bindgen_ty_43 = 8;
3601pub const LINUX___IFLA_HSR_MAX: linux__bindgen_ty_43 = 9;
3602pub type linux__bindgen_ty_43 = ::core::ffi::c_uint;
3603pub const LINUX_IFLA_STATS_UNSPEC: linux__bindgen_ty_44 = 0;
3604pub const LINUX_IFLA_STATS_LINK_64: linux__bindgen_ty_44 = 1;
3605pub const LINUX_IFLA_STATS_LINK_XSTATS: linux__bindgen_ty_44 = 2;
3606pub const LINUX_IFLA_STATS_LINK_XSTATS_SLAVE: linux__bindgen_ty_44 = 3;
3607pub const LINUX_IFLA_STATS_LINK_OFFLOAD_XSTATS: linux__bindgen_ty_44 = 4;
3608pub const LINUX_IFLA_STATS_AF_SPEC: linux__bindgen_ty_44 = 5;
3609pub const LINUX___IFLA_STATS_MAX: linux__bindgen_ty_44 = 6;
3610pub type linux__bindgen_ty_44 = ::core::ffi::c_uint;
3611pub const LINUX_IFLA_STATS_GETSET_UNSPEC: linux__bindgen_ty_45 = 0;
3612pub const LINUX_IFLA_STATS_GET_FILTERS: linux__bindgen_ty_45 = 1;
3613pub const LINUX_IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS: linux__bindgen_ty_45 = 2;
3614pub const LINUX___IFLA_STATS_GETSET_MAX: linux__bindgen_ty_45 = 3;
3615pub type linux__bindgen_ty_45 = ::core::ffi::c_uint;
3616pub const LINUX_LINK_XSTATS_TYPE_UNSPEC: linux__bindgen_ty_46 = 0;
3617pub const LINUX_LINK_XSTATS_TYPE_BRIDGE: linux__bindgen_ty_46 = 1;
3618pub const LINUX_LINK_XSTATS_TYPE_BOND: linux__bindgen_ty_46 = 2;
3619pub const LINUX___LINK_XSTATS_TYPE_MAX: linux__bindgen_ty_46 = 3;
3620pub type linux__bindgen_ty_46 = ::core::ffi::c_uint;
3621pub const LINUX_IFLA_OFFLOAD_XSTATS_UNSPEC: linux__bindgen_ty_47 = 0;
3622pub const LINUX_IFLA_OFFLOAD_XSTATS_CPU_HIT: linux__bindgen_ty_47 = 1;
3623pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO: linux__bindgen_ty_47 = 2;
3624pub const LINUX_IFLA_OFFLOAD_XSTATS_L3_STATS: linux__bindgen_ty_47 = 3;
3625pub const LINUX___IFLA_OFFLOAD_XSTATS_MAX: linux__bindgen_ty_47 = 4;
3626pub type linux__bindgen_ty_47 = ::core::ffi::c_uint;
3627pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC: linux__bindgen_ty_48 = 0;
3628pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST: linux__bindgen_ty_48 = 1;
3629pub const LINUX_IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED: linux__bindgen_ty_48 = 2;
3630pub const LINUX___IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX: linux__bindgen_ty_48 = 3;
3631pub type linux__bindgen_ty_48 = ::core::ffi::c_uint;
3632pub const LINUX_XDP_ATTACHED_NONE: linux__bindgen_ty_49 = 0;
3633pub const LINUX_XDP_ATTACHED_DRV: linux__bindgen_ty_49 = 1;
3634pub const LINUX_XDP_ATTACHED_SKB: linux__bindgen_ty_49 = 2;
3635pub const LINUX_XDP_ATTACHED_HW: linux__bindgen_ty_49 = 3;
3636pub const LINUX_XDP_ATTACHED_MULTI: linux__bindgen_ty_49 = 4;
3637pub type linux__bindgen_ty_49 = ::core::ffi::c_uint;
3638pub const LINUX_IFLA_XDP_UNSPEC: linux__bindgen_ty_50 = 0;
3639pub const LINUX_IFLA_XDP_FD: linux__bindgen_ty_50 = 1;
3640pub const LINUX_IFLA_XDP_ATTACHED: linux__bindgen_ty_50 = 2;
3641pub const LINUX_IFLA_XDP_FLAGS: linux__bindgen_ty_50 = 3;
3642pub const LINUX_IFLA_XDP_PROG_ID: linux__bindgen_ty_50 = 4;
3643pub const LINUX_IFLA_XDP_DRV_PROG_ID: linux__bindgen_ty_50 = 5;
3644pub const LINUX_IFLA_XDP_SKB_PROG_ID: linux__bindgen_ty_50 = 6;
3645pub const LINUX_IFLA_XDP_HW_PROG_ID: linux__bindgen_ty_50 = 7;
3646pub const LINUX_IFLA_XDP_EXPECTED_FD: linux__bindgen_ty_50 = 8;
3647pub const LINUX___IFLA_XDP_MAX: linux__bindgen_ty_50 = 9;
3648pub type linux__bindgen_ty_50 = ::core::ffi::c_uint;
3649pub const LINUX_IFLA_EVENT_NONE: linux__bindgen_ty_51 = 0;
3650pub const LINUX_IFLA_EVENT_REBOOT: linux__bindgen_ty_51 = 1;
3651pub const LINUX_IFLA_EVENT_FEATURES: linux__bindgen_ty_51 = 2;
3652pub const LINUX_IFLA_EVENT_BONDING_FAILOVER: linux__bindgen_ty_51 = 3;
3653pub const LINUX_IFLA_EVENT_NOTIFY_PEERS: linux__bindgen_ty_51 = 4;
3654pub const LINUX_IFLA_EVENT_IGMP_RESEND: linux__bindgen_ty_51 = 5;
3655pub const LINUX_IFLA_EVENT_BONDING_OPTIONS: linux__bindgen_ty_51 = 6;
3656pub type linux__bindgen_ty_51 = ::core::ffi::c_uint;
3657pub const LINUX_IFLA_TUN_UNSPEC: linux__bindgen_ty_52 = 0;
3658pub const LINUX_IFLA_TUN_OWNER: linux__bindgen_ty_52 = 1;
3659pub const LINUX_IFLA_TUN_GROUP: linux__bindgen_ty_52 = 2;
3660pub const LINUX_IFLA_TUN_TYPE: linux__bindgen_ty_52 = 3;
3661pub const LINUX_IFLA_TUN_PI: linux__bindgen_ty_52 = 4;
3662pub const LINUX_IFLA_TUN_VNET_HDR: linux__bindgen_ty_52 = 5;
3663pub const LINUX_IFLA_TUN_PERSIST: linux__bindgen_ty_52 = 6;
3664pub const LINUX_IFLA_TUN_MULTI_QUEUE: linux__bindgen_ty_52 = 7;
3665pub const LINUX_IFLA_TUN_NUM_QUEUES: linux__bindgen_ty_52 = 8;
3666pub const LINUX_IFLA_TUN_NUM_DISABLED_QUEUES: linux__bindgen_ty_52 = 9;
3667pub const LINUX___IFLA_TUN_MAX: linux__bindgen_ty_52 = 10;
3668pub type linux__bindgen_ty_52 = ::core::ffi::c_uint;
3669pub const LINUX_IFLA_RMNET_UNSPEC: linux__bindgen_ty_53 = 0;
3670pub const LINUX_IFLA_RMNET_MUX_ID: linux__bindgen_ty_53 = 1;
3671pub const LINUX_IFLA_RMNET_FLAGS: linux__bindgen_ty_53 = 2;
3672pub const LINUX___IFLA_RMNET_MAX: linux__bindgen_ty_53 = 3;
3673pub type linux__bindgen_ty_53 = ::core::ffi::c_uint;
3674pub const LINUX_IFLA_MCTP_UNSPEC: linux__bindgen_ty_54 = 0;
3675pub const LINUX_IFLA_MCTP_NET: linux__bindgen_ty_54 = 1;
3676pub const LINUX___IFLA_MCTP_MAX: linux__bindgen_ty_54 = 2;
3677pub type linux__bindgen_ty_54 = ::core::ffi::c_uint;
3678pub const LINUX_IFLA_DSA_UNSPEC: linux__bindgen_ty_55 = 0;
3679pub const LINUX_IFLA_DSA_CONDUIT: linux__bindgen_ty_55 = 1;
3680pub const LINUX_IFLA_DSA_MASTER: linux__bindgen_ty_55 = 1;
3681pub const LINUX___IFLA_DSA_MAX: linux__bindgen_ty_55 = 2;
3682pub type linux__bindgen_ty_55 = ::core::ffi::c_uint;
3683#[repr(C)]
3684#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3685pub struct linux_ifaddrmsg {
3686 pub ifa_family: linux___u8,
3687 pub ifa_prefixlen: linux___u8,
3688 pub ifa_flags: linux___u8,
3689 pub ifa_scope: linux___u8,
3690 pub ifa_index: linux___u32,
3691}
3692#[test]
3693fn bindgen_test_layout_ifaddrmsg() {
3694 const UNINIT: ::core::mem::MaybeUninit<linux_ifaddrmsg> = ::core::mem::MaybeUninit::uninit();
3695 let ptr = UNINIT.as_ptr();
3696 assert_eq!(
3697 ::core::mem::size_of::<linux_ifaddrmsg>(),
3698 8usize,
3699 concat!("Size of: ", stringify!(linux_ifaddrmsg))
3700 );
3701 assert_eq!(
3702 ::core::mem::align_of::<linux_ifaddrmsg>(),
3703 4usize,
3704 concat!("Alignment of ", stringify!(linux_ifaddrmsg))
3705 );
3706 assert_eq!(
3707 unsafe { ::core::ptr::addr_of!((*ptr).ifa_family) as usize - ptr as usize },
3708 0usize,
3709 concat!(
3710 "Offset of field: ",
3711 stringify!(linux_ifaddrmsg),
3712 "::",
3713 stringify!(ifa_family)
3714 )
3715 );
3716 assert_eq!(
3717 unsafe { ::core::ptr::addr_of!((*ptr).ifa_prefixlen) as usize - ptr as usize },
3718 1usize,
3719 concat!(
3720 "Offset of field: ",
3721 stringify!(linux_ifaddrmsg),
3722 "::",
3723 stringify!(ifa_prefixlen)
3724 )
3725 );
3726 assert_eq!(
3727 unsafe { ::core::ptr::addr_of!((*ptr).ifa_flags) as usize - ptr as usize },
3728 2usize,
3729 concat!(
3730 "Offset of field: ",
3731 stringify!(linux_ifaddrmsg),
3732 "::",
3733 stringify!(ifa_flags)
3734 )
3735 );
3736 assert_eq!(
3737 unsafe { ::core::ptr::addr_of!((*ptr).ifa_scope) as usize - ptr as usize },
3738 3usize,
3739 concat!(
3740 "Offset of field: ",
3741 stringify!(linux_ifaddrmsg),
3742 "::",
3743 stringify!(ifa_scope)
3744 )
3745 );
3746 assert_eq!(
3747 unsafe { ::core::ptr::addr_of!((*ptr).ifa_index) as usize - ptr as usize },
3748 4usize,
3749 concat!(
3750 "Offset of field: ",
3751 stringify!(linux_ifaddrmsg),
3752 "::",
3753 stringify!(ifa_index)
3754 )
3755 );
3756}
3757pub const LINUX_IFA_UNSPEC: linux__bindgen_ty_56 = 0;
3758pub const LINUX_IFA_ADDRESS: linux__bindgen_ty_56 = 1;
3759pub const LINUX_IFA_LOCAL: linux__bindgen_ty_56 = 2;
3760pub const LINUX_IFA_LABEL: linux__bindgen_ty_56 = 3;
3761pub const LINUX_IFA_BROADCAST: linux__bindgen_ty_56 = 4;
3762pub const LINUX_IFA_ANYCAST: linux__bindgen_ty_56 = 5;
3763pub const LINUX_IFA_CACHEINFO: linux__bindgen_ty_56 = 6;
3764pub const LINUX_IFA_MULTICAST: linux__bindgen_ty_56 = 7;
3765pub const LINUX_IFA_FLAGS: linux__bindgen_ty_56 = 8;
3766pub const LINUX_IFA_RT_PRIORITY: linux__bindgen_ty_56 = 9;
3767pub const LINUX_IFA_TARGET_NETNSID: linux__bindgen_ty_56 = 10;
3768pub const LINUX_IFA_PROTO: linux__bindgen_ty_56 = 11;
3769pub const LINUX___IFA_MAX: linux__bindgen_ty_56 = 12;
3770pub type linux__bindgen_ty_56 = ::core::ffi::c_uint;
3771pub const LINUX_NDA_UNSPEC: linux__bindgen_ty_57 = 0;
3772pub const LINUX_NDA_DST: linux__bindgen_ty_57 = 1;
3773pub const LINUX_NDA_LLADDR: linux__bindgen_ty_57 = 2;
3774pub const LINUX_NDA_CACHEINFO: linux__bindgen_ty_57 = 3;
3775pub const LINUX_NDA_PROBES: linux__bindgen_ty_57 = 4;
3776pub const LINUX_NDA_VLAN: linux__bindgen_ty_57 = 5;
3777pub const LINUX_NDA_PORT: linux__bindgen_ty_57 = 6;
3778pub const LINUX_NDA_VNI: linux__bindgen_ty_57 = 7;
3779pub const LINUX_NDA_IFINDEX: linux__bindgen_ty_57 = 8;
3780pub const LINUX_NDA_MASTER: linux__bindgen_ty_57 = 9;
3781pub const LINUX_NDA_LINK_NETNSID: linux__bindgen_ty_57 = 10;
3782pub const LINUX_NDA_SRC_VNI: linux__bindgen_ty_57 = 11;
3783pub const LINUX_NDA_PROTOCOL: linux__bindgen_ty_57 = 12;
3784pub const LINUX_NDA_NH_ID: linux__bindgen_ty_57 = 13;
3785pub const LINUX_NDA_FDB_EXT_ATTRS: linux__bindgen_ty_57 = 14;
3786pub const LINUX_NDA_FLAGS_EXT: linux__bindgen_ty_57 = 15;
3787pub const LINUX_NDA_NDM_STATE_MASK: linux__bindgen_ty_57 = 16;
3788pub const LINUX_NDA_NDM_FLAGS_MASK: linux__bindgen_ty_57 = 17;
3789pub const LINUX___NDA_MAX: linux__bindgen_ty_57 = 18;
3790pub type linux__bindgen_ty_57 = ::core::ffi::c_uint;
3791pub const LINUX_NDTPA_UNSPEC: linux__bindgen_ty_58 = 0;
3792pub const LINUX_NDTPA_IFINDEX: linux__bindgen_ty_58 = 1;
3793pub const LINUX_NDTPA_REFCNT: linux__bindgen_ty_58 = 2;
3794pub const LINUX_NDTPA_REACHABLE_TIME: linux__bindgen_ty_58 = 3;
3795pub const LINUX_NDTPA_BASE_REACHABLE_TIME: linux__bindgen_ty_58 = 4;
3796pub const LINUX_NDTPA_RETRANS_TIME: linux__bindgen_ty_58 = 5;
3797pub const LINUX_NDTPA_GC_STALETIME: linux__bindgen_ty_58 = 6;
3798pub const LINUX_NDTPA_DELAY_PROBE_TIME: linux__bindgen_ty_58 = 7;
3799pub const LINUX_NDTPA_QUEUE_LEN: linux__bindgen_ty_58 = 8;
3800pub const LINUX_NDTPA_APP_PROBES: linux__bindgen_ty_58 = 9;
3801pub const LINUX_NDTPA_UCAST_PROBES: linux__bindgen_ty_58 = 10;
3802pub const LINUX_NDTPA_MCAST_PROBES: linux__bindgen_ty_58 = 11;
3803pub const LINUX_NDTPA_ANYCAST_DELAY: linux__bindgen_ty_58 = 12;
3804pub const LINUX_NDTPA_PROXY_DELAY: linux__bindgen_ty_58 = 13;
3805pub const LINUX_NDTPA_PROXY_QLEN: linux__bindgen_ty_58 = 14;
3806pub const LINUX_NDTPA_LOCKTIME: linux__bindgen_ty_58 = 15;
3807pub const LINUX_NDTPA_QUEUE_LENBYTES: linux__bindgen_ty_58 = 16;
3808pub const LINUX_NDTPA_MCAST_REPROBES: linux__bindgen_ty_58 = 17;
3809pub const LINUX_NDTPA_PAD: linux__bindgen_ty_58 = 18;
3810pub const LINUX_NDTPA_INTERVAL_PROBE_TIME_MS: linux__bindgen_ty_58 = 19;
3811pub const LINUX___NDTPA_MAX: linux__bindgen_ty_58 = 20;
3812pub type linux__bindgen_ty_58 = ::core::ffi::c_uint;
3813pub const LINUX_NDTA_UNSPEC: linux__bindgen_ty_59 = 0;
3814pub const LINUX_NDTA_NAME: linux__bindgen_ty_59 = 1;
3815pub const LINUX_NDTA_THRESH1: linux__bindgen_ty_59 = 2;
3816pub const LINUX_NDTA_THRESH2: linux__bindgen_ty_59 = 3;
3817pub const LINUX_NDTA_THRESH3: linux__bindgen_ty_59 = 4;
3818pub const LINUX_NDTA_CONFIG: linux__bindgen_ty_59 = 5;
3819pub const LINUX_NDTA_PARMS: linux__bindgen_ty_59 = 6;
3820pub const LINUX_NDTA_STATS: linux__bindgen_ty_59 = 7;
3821pub const LINUX_NDTA_GC_INTERVAL: linux__bindgen_ty_59 = 8;
3822pub const LINUX_NDTA_PAD: linux__bindgen_ty_59 = 9;
3823pub const LINUX___NDTA_MAX: linux__bindgen_ty_59 = 10;
3824pub type linux__bindgen_ty_59 = ::core::ffi::c_uint;
3825pub const LINUX_FDB_NOTIFY_BIT: linux__bindgen_ty_60 = 1;
3826pub const LINUX_FDB_NOTIFY_INACTIVE_BIT: linux__bindgen_ty_60 = 2;
3827pub type linux__bindgen_ty_60 = ::core::ffi::c_uint;
3828pub const LINUX_NFEA_UNSPEC: linux__bindgen_ty_61 = 0;
3829pub const LINUX_NFEA_ACTIVITY_NOTIFY: linux__bindgen_ty_61 = 1;
3830pub const LINUX_NFEA_DONT_REFRESH: linux__bindgen_ty_61 = 2;
3831pub const LINUX___NFEA_MAX: linux__bindgen_ty_61 = 3;
3832pub type linux__bindgen_ty_61 = ::core::ffi::c_uint;
3833pub const LINUX_RTM_BASE: linux__bindgen_ty_62 = 16;
3834pub const LINUX_RTM_NEWLINK: linux__bindgen_ty_62 = 16;
3835pub const LINUX_RTM_DELLINK: linux__bindgen_ty_62 = 17;
3836pub const LINUX_RTM_GETLINK: linux__bindgen_ty_62 = 18;
3837pub const LINUX_RTM_SETLINK: linux__bindgen_ty_62 = 19;
3838pub const LINUX_RTM_NEWADDR: linux__bindgen_ty_62 = 20;
3839pub const LINUX_RTM_DELADDR: linux__bindgen_ty_62 = 21;
3840pub const LINUX_RTM_GETADDR: linux__bindgen_ty_62 = 22;
3841pub const LINUX_RTM_NEWROUTE: linux__bindgen_ty_62 = 24;
3842pub const LINUX_RTM_DELROUTE: linux__bindgen_ty_62 = 25;
3843pub const LINUX_RTM_GETROUTE: linux__bindgen_ty_62 = 26;
3844pub const LINUX_RTM_NEWNEIGH: linux__bindgen_ty_62 = 28;
3845pub const LINUX_RTM_DELNEIGH: linux__bindgen_ty_62 = 29;
3846pub const LINUX_RTM_GETNEIGH: linux__bindgen_ty_62 = 30;
3847pub const LINUX_RTM_NEWRULE: linux__bindgen_ty_62 = 32;
3848pub const LINUX_RTM_DELRULE: linux__bindgen_ty_62 = 33;
3849pub const LINUX_RTM_GETRULE: linux__bindgen_ty_62 = 34;
3850pub const LINUX_RTM_NEWQDISC: linux__bindgen_ty_62 = 36;
3851pub const LINUX_RTM_DELQDISC: linux__bindgen_ty_62 = 37;
3852pub const LINUX_RTM_GETQDISC: linux__bindgen_ty_62 = 38;
3853pub const LINUX_RTM_NEWTCLASS: linux__bindgen_ty_62 = 40;
3854pub const LINUX_RTM_DELTCLASS: linux__bindgen_ty_62 = 41;
3855pub const LINUX_RTM_GETTCLASS: linux__bindgen_ty_62 = 42;
3856pub const LINUX_RTM_NEWTFILTER: linux__bindgen_ty_62 = 44;
3857pub const LINUX_RTM_DELTFILTER: linux__bindgen_ty_62 = 45;
3858pub const LINUX_RTM_GETTFILTER: linux__bindgen_ty_62 = 46;
3859pub const LINUX_RTM_NEWACTION: linux__bindgen_ty_62 = 48;
3860pub const LINUX_RTM_DELACTION: linux__bindgen_ty_62 = 49;
3861pub const LINUX_RTM_GETACTION: linux__bindgen_ty_62 = 50;
3862pub const LINUX_RTM_NEWPREFIX: linux__bindgen_ty_62 = 52;
3863pub const LINUX_RTM_GETMULTICAST: linux__bindgen_ty_62 = 58;
3864pub const LINUX_RTM_GETANYCAST: linux__bindgen_ty_62 = 62;
3865pub const LINUX_RTM_NEWNEIGHTBL: linux__bindgen_ty_62 = 64;
3866pub const LINUX_RTM_GETNEIGHTBL: linux__bindgen_ty_62 = 66;
3867pub const LINUX_RTM_SETNEIGHTBL: linux__bindgen_ty_62 = 67;
3868pub const LINUX_RTM_NEWNDUSEROPT: linux__bindgen_ty_62 = 68;
3869pub const LINUX_RTM_NEWADDRLABEL: linux__bindgen_ty_62 = 72;
3870pub const LINUX_RTM_DELADDRLABEL: linux__bindgen_ty_62 = 73;
3871pub const LINUX_RTM_GETADDRLABEL: linux__bindgen_ty_62 = 74;
3872pub const LINUX_RTM_GETDCB: linux__bindgen_ty_62 = 78;
3873pub const LINUX_RTM_SETDCB: linux__bindgen_ty_62 = 79;
3874pub const LINUX_RTM_NEWNETCONF: linux__bindgen_ty_62 = 80;
3875pub const LINUX_RTM_DELNETCONF: linux__bindgen_ty_62 = 81;
3876pub const LINUX_RTM_GETNETCONF: linux__bindgen_ty_62 = 82;
3877pub const LINUX_RTM_NEWMDB: linux__bindgen_ty_62 = 84;
3878pub const LINUX_RTM_DELMDB: linux__bindgen_ty_62 = 85;
3879pub const LINUX_RTM_GETMDB: linux__bindgen_ty_62 = 86;
3880pub const LINUX_RTM_NEWNSID: linux__bindgen_ty_62 = 88;
3881pub const LINUX_RTM_DELNSID: linux__bindgen_ty_62 = 89;
3882pub const LINUX_RTM_GETNSID: linux__bindgen_ty_62 = 90;
3883pub const LINUX_RTM_NEWSTATS: linux__bindgen_ty_62 = 92;
3884pub const LINUX_RTM_GETSTATS: linux__bindgen_ty_62 = 94;
3885pub const LINUX_RTM_SETSTATS: linux__bindgen_ty_62 = 95;
3886pub const LINUX_RTM_NEWCACHEREPORT: linux__bindgen_ty_62 = 96;
3887pub const LINUX_RTM_NEWCHAIN: linux__bindgen_ty_62 = 100;
3888pub const LINUX_RTM_DELCHAIN: linux__bindgen_ty_62 = 101;
3889pub const LINUX_RTM_GETCHAIN: linux__bindgen_ty_62 = 102;
3890pub const LINUX_RTM_NEWNEXTHOP: linux__bindgen_ty_62 = 104;
3891pub const LINUX_RTM_DELNEXTHOP: linux__bindgen_ty_62 = 105;
3892pub const LINUX_RTM_GETNEXTHOP: linux__bindgen_ty_62 = 106;
3893pub const LINUX_RTM_NEWLINKPROP: linux__bindgen_ty_62 = 108;
3894pub const LINUX_RTM_DELLINKPROP: linux__bindgen_ty_62 = 109;
3895pub const LINUX_RTM_GETLINKPROP: linux__bindgen_ty_62 = 110;
3896pub const LINUX_RTM_NEWVLAN: linux__bindgen_ty_62 = 112;
3897pub const LINUX_RTM_DELVLAN: linux__bindgen_ty_62 = 113;
3898pub const LINUX_RTM_GETVLAN: linux__bindgen_ty_62 = 114;
3899pub const LINUX_RTM_NEWNEXTHOPBUCKET: linux__bindgen_ty_62 = 116;
3900pub const LINUX_RTM_DELNEXTHOPBUCKET: linux__bindgen_ty_62 = 117;
3901pub const LINUX_RTM_GETNEXTHOPBUCKET: linux__bindgen_ty_62 = 118;
3902pub const LINUX_RTM_NEWTUNNEL: linux__bindgen_ty_62 = 120;
3903pub const LINUX_RTM_DELTUNNEL: linux__bindgen_ty_62 = 121;
3904pub const LINUX_RTM_GETTUNNEL: linux__bindgen_ty_62 = 122;
3905pub const LINUX___RTM_MAX: linux__bindgen_ty_62 = 123;
3906pub type linux__bindgen_ty_62 = ::core::ffi::c_uint;
3907pub const LINUX_RTN_UNSPEC: linux__bindgen_ty_63 = 0;
3908pub const LINUX_RTN_UNICAST: linux__bindgen_ty_63 = 1;
3909pub const LINUX_RTN_LOCAL: linux__bindgen_ty_63 = 2;
3910pub const LINUX_RTN_BROADCAST: linux__bindgen_ty_63 = 3;
3911pub const LINUX_RTN_ANYCAST: linux__bindgen_ty_63 = 4;
3912pub const LINUX_RTN_MULTICAST: linux__bindgen_ty_63 = 5;
3913pub const LINUX_RTN_BLACKHOLE: linux__bindgen_ty_63 = 6;
3914pub const LINUX_RTN_UNREACHABLE: linux__bindgen_ty_63 = 7;
3915pub const LINUX_RTN_PROHIBIT: linux__bindgen_ty_63 = 8;
3916pub const LINUX_RTN_THROW: linux__bindgen_ty_63 = 9;
3917pub const LINUX_RTN_NAT: linux__bindgen_ty_63 = 10;
3918pub const LINUX_RTN_XRESOLVE: linux__bindgen_ty_63 = 11;
3919pub const LINUX___RTN_MAX: linux__bindgen_ty_63 = 12;
3920pub type linux__bindgen_ty_63 = ::core::ffi::c_uint;
3921pub const LINUX_RTAX_UNSPEC: linux__bindgen_ty_64 = 0;
3922pub const LINUX_RTAX_LOCK: linux__bindgen_ty_64 = 1;
3923pub const LINUX_RTAX_MTU: linux__bindgen_ty_64 = 2;
3924pub const LINUX_RTAX_WINDOW: linux__bindgen_ty_64 = 3;
3925pub const LINUX_RTAX_RTT: linux__bindgen_ty_64 = 4;
3926pub const LINUX_RTAX_RTTVAR: linux__bindgen_ty_64 = 5;
3927pub const LINUX_RTAX_SSTHRESH: linux__bindgen_ty_64 = 6;
3928pub const LINUX_RTAX_CWND: linux__bindgen_ty_64 = 7;
3929pub const LINUX_RTAX_ADVMSS: linux__bindgen_ty_64 = 8;
3930pub const LINUX_RTAX_REORDERING: linux__bindgen_ty_64 = 9;
3931pub const LINUX_RTAX_HOPLIMIT: linux__bindgen_ty_64 = 10;
3932pub const LINUX_RTAX_INITCWND: linux__bindgen_ty_64 = 11;
3933pub const LINUX_RTAX_FEATURES: linux__bindgen_ty_64 = 12;
3934pub const LINUX_RTAX_RTO_MIN: linux__bindgen_ty_64 = 13;
3935pub const LINUX_RTAX_INITRWND: linux__bindgen_ty_64 = 14;
3936pub const LINUX_RTAX_QUICKACK: linux__bindgen_ty_64 = 15;
3937pub const LINUX_RTAX_CC_ALGO: linux__bindgen_ty_64 = 16;
3938pub const LINUX_RTAX_FASTOPEN_NO_COOKIE: linux__bindgen_ty_64 = 17;
3939pub const LINUX___RTAX_MAX: linux__bindgen_ty_64 = 18;
3940pub type linux__bindgen_ty_64 = ::core::ffi::c_uint;
3941#[repr(C)]
3942#[derive(Debug, Copy, Clone, PartialEq, Eq)]
3943pub struct linux_ifinfomsg {
3944 pub ifi_family: ::core::ffi::c_uchar,
3945 pub l__ifi_pad: ::core::ffi::c_uchar,
3946 pub ifi_type: ::core::ffi::c_ushort,
3947 pub ifi_index: ::core::ffi::c_int,
3948 pub ifi_flags: ::core::ffi::c_uint,
3949 pub ifi_change: ::core::ffi::c_uint,
3950}
3951#[test]
3952fn bindgen_test_layout_ifinfomsg() {
3953 const UNINIT: ::core::mem::MaybeUninit<linux_ifinfomsg> = ::core::mem::MaybeUninit::uninit();
3954 let ptr = UNINIT.as_ptr();
3955 assert_eq!(
3956 ::core::mem::size_of::<linux_ifinfomsg>(),
3957 16usize,
3958 concat!("Size of: ", stringify!(linux_ifinfomsg))
3959 );
3960 assert_eq!(
3961 ::core::mem::align_of::<linux_ifinfomsg>(),
3962 4usize,
3963 concat!("Alignment of ", stringify!(linux_ifinfomsg))
3964 );
3965 assert_eq!(
3966 unsafe { ::core::ptr::addr_of!((*ptr).ifi_family) as usize - ptr as usize },
3967 0usize,
3968 concat!(
3969 "Offset of field: ",
3970 stringify!(linux_ifinfomsg),
3971 "::",
3972 stringify!(ifi_family)
3973 )
3974 );
3975 assert_eq!(
3976 unsafe { ::core::ptr::addr_of!((*ptr).l__ifi_pad) as usize - ptr as usize },
3977 1usize,
3978 concat!(
3979 "Offset of field: ",
3980 stringify!(linux_ifinfomsg),
3981 "::",
3982 stringify!(l__ifi_pad)
3983 )
3984 );
3985 assert_eq!(
3986 unsafe { ::core::ptr::addr_of!((*ptr).ifi_type) as usize - ptr as usize },
3987 2usize,
3988 concat!(
3989 "Offset of field: ",
3990 stringify!(linux_ifinfomsg),
3991 "::",
3992 stringify!(ifi_type)
3993 )
3994 );
3995 assert_eq!(
3996 unsafe { ::core::ptr::addr_of!((*ptr).ifi_index) as usize - ptr as usize },
3997 4usize,
3998 concat!(
3999 "Offset of field: ",
4000 stringify!(linux_ifinfomsg),
4001 "::",
4002 stringify!(ifi_index)
4003 )
4004 );
4005 assert_eq!(
4006 unsafe { ::core::ptr::addr_of!((*ptr).ifi_flags) as usize - ptr as usize },
4007 8usize,
4008 concat!(
4009 "Offset of field: ",
4010 stringify!(linux_ifinfomsg),
4011 "::",
4012 stringify!(ifi_flags)
4013 )
4014 );
4015 assert_eq!(
4016 unsafe { ::core::ptr::addr_of!((*ptr).ifi_change) as usize - ptr as usize },
4017 12usize,
4018 concat!(
4019 "Offset of field: ",
4020 stringify!(linux_ifinfomsg),
4021 "::",
4022 stringify!(ifi_change)
4023 )
4024 );
4025}
4026pub const LINUX_PREFIX_UNSPEC: linux__bindgen_ty_65 = 0;
4027pub const LINUX_PREFIX_ADDRESS: linux__bindgen_ty_65 = 1;
4028pub const LINUX_PREFIX_CACHEINFO: linux__bindgen_ty_65 = 2;
4029pub const LINUX___PREFIX_MAX: linux__bindgen_ty_65 = 3;
4030pub type linux__bindgen_ty_65 = ::core::ffi::c_uint;
4031pub const LINUX_TCA_UNSPEC: linux__bindgen_ty_66 = 0;
4032pub const LINUX_TCA_KIND: linux__bindgen_ty_66 = 1;
4033pub const LINUX_TCA_OPTIONS: linux__bindgen_ty_66 = 2;
4034pub const LINUX_TCA_STATS: linux__bindgen_ty_66 = 3;
4035pub const LINUX_TCA_XSTATS: linux__bindgen_ty_66 = 4;
4036pub const LINUX_TCA_RATE: linux__bindgen_ty_66 = 5;
4037pub const LINUX_TCA_FCNT: linux__bindgen_ty_66 = 6;
4038pub const LINUX_TCA_STATS2: linux__bindgen_ty_66 = 7;
4039pub const LINUX_TCA_STAB: linux__bindgen_ty_66 = 8;
4040pub const LINUX_TCA_PAD: linux__bindgen_ty_66 = 9;
4041pub const LINUX_TCA_DUMP_INVISIBLE: linux__bindgen_ty_66 = 10;
4042pub const LINUX_TCA_CHAIN: linux__bindgen_ty_66 = 11;
4043pub const LINUX_TCA_HW_OFFLOAD: linux__bindgen_ty_66 = 12;
4044pub const LINUX_TCA_INGRESS_BLOCK: linux__bindgen_ty_66 = 13;
4045pub const LINUX_TCA_EGRESS_BLOCK: linux__bindgen_ty_66 = 14;
4046pub const LINUX_TCA_DUMP_FLAGS: linux__bindgen_ty_66 = 15;
4047pub const LINUX_TCA_EXT_WARN_MSG: linux__bindgen_ty_66 = 16;
4048pub const LINUX___TCA_MAX: linux__bindgen_ty_66 = 17;
4049pub type linux__bindgen_ty_66 = ::core::ffi::c_uint;
4050pub const LINUX_NDUSEROPT_UNSPEC: linux__bindgen_ty_67 = 0;
4051pub const LINUX_NDUSEROPT_SRCADDR: linux__bindgen_ty_67 = 1;
4052pub const LINUX___NDUSEROPT_MAX: linux__bindgen_ty_67 = 2;
4053pub type linux__bindgen_ty_67 = ::core::ffi::c_uint;
4054pub const LINUX_TCA_ROOT_UNSPEC: linux__bindgen_ty_68 = 0;
4055pub const LINUX_TCA_ROOT_TAB: linux__bindgen_ty_68 = 1;
4056pub const LINUX_TCA_ROOT_FLAGS: linux__bindgen_ty_68 = 2;
4057pub const LINUX_TCA_ROOT_COUNT: linux__bindgen_ty_68 = 3;
4058pub const LINUX_TCA_ROOT_TIME_DELTA: linux__bindgen_ty_68 = 4;
4059pub const LINUX_TCA_ROOT_EXT_WARN_MSG: linux__bindgen_ty_68 = 5;
4060pub const LINUX___TCA_ROOT_MAX: linux__bindgen_ty_68 = 6;
4061pub type linux__bindgen_ty_68 = ::core::ffi::c_uint;
4062#[repr(C)]
4063#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4064pub struct linux_clone_args {
4065 pub flags: linux___u64,
4066 pub pidfd: linux___u64,
4067 pub child_tid: linux___u64,
4068 pub parent_tid: linux___u64,
4069 pub exit_signal: linux___u64,
4070 pub stack: linux___u64,
4071 pub stack_size: linux___u64,
4072 pub tls: linux___u64,
4073 pub set_tid: linux___u64,
4074 pub set_tid_size: linux___u64,
4075 pub cgroup: linux___u64,
4076}
4077#[test]
4078fn bindgen_test_layout_clone_args() {
4079 const UNINIT: ::core::mem::MaybeUninit<linux_clone_args> = ::core::mem::MaybeUninit::uninit();
4080 let ptr = UNINIT.as_ptr();
4081 assert_eq!(
4082 ::core::mem::size_of::<linux_clone_args>(),
4083 88usize,
4084 concat!("Size of: ", stringify!(linux_clone_args))
4085 );
4086 assert_eq!(
4087 ::core::mem::align_of::<linux_clone_args>(),
4088 8usize,
4089 concat!("Alignment of ", stringify!(linux_clone_args))
4090 );
4091 assert_eq!(
4092 unsafe { ::core::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
4093 0usize,
4094 concat!(
4095 "Offset of field: ",
4096 stringify!(linux_clone_args),
4097 "::",
4098 stringify!(flags)
4099 )
4100 );
4101 assert_eq!(
4102 unsafe { ::core::ptr::addr_of!((*ptr).pidfd) as usize - ptr as usize },
4103 8usize,
4104 concat!(
4105 "Offset of field: ",
4106 stringify!(linux_clone_args),
4107 "::",
4108 stringify!(pidfd)
4109 )
4110 );
4111 assert_eq!(
4112 unsafe { ::core::ptr::addr_of!((*ptr).child_tid) as usize - ptr as usize },
4113 16usize,
4114 concat!(
4115 "Offset of field: ",
4116 stringify!(linux_clone_args),
4117 "::",
4118 stringify!(child_tid)
4119 )
4120 );
4121 assert_eq!(
4122 unsafe { ::core::ptr::addr_of!((*ptr).parent_tid) as usize - ptr as usize },
4123 24usize,
4124 concat!(
4125 "Offset of field: ",
4126 stringify!(linux_clone_args),
4127 "::",
4128 stringify!(parent_tid)
4129 )
4130 );
4131 assert_eq!(
4132 unsafe { ::core::ptr::addr_of!((*ptr).exit_signal) as usize - ptr as usize },
4133 32usize,
4134 concat!(
4135 "Offset of field: ",
4136 stringify!(linux_clone_args),
4137 "::",
4138 stringify!(exit_signal)
4139 )
4140 );
4141 assert_eq!(
4142 unsafe { ::core::ptr::addr_of!((*ptr).stack) as usize - ptr as usize },
4143 40usize,
4144 concat!(
4145 "Offset of field: ",
4146 stringify!(linux_clone_args),
4147 "::",
4148 stringify!(stack)
4149 )
4150 );
4151 assert_eq!(
4152 unsafe { ::core::ptr::addr_of!((*ptr).stack_size) as usize - ptr as usize },
4153 48usize,
4154 concat!(
4155 "Offset of field: ",
4156 stringify!(linux_clone_args),
4157 "::",
4158 stringify!(stack_size)
4159 )
4160 );
4161 assert_eq!(
4162 unsafe { ::core::ptr::addr_of!((*ptr).tls) as usize - ptr as usize },
4163 56usize,
4164 concat!(
4165 "Offset of field: ",
4166 stringify!(linux_clone_args),
4167 "::",
4168 stringify!(tls)
4169 )
4170 );
4171 assert_eq!(
4172 unsafe { ::core::ptr::addr_of!((*ptr).set_tid) as usize - ptr as usize },
4173 64usize,
4174 concat!(
4175 "Offset of field: ",
4176 stringify!(linux_clone_args),
4177 "::",
4178 stringify!(set_tid)
4179 )
4180 );
4181 assert_eq!(
4182 unsafe { ::core::ptr::addr_of!((*ptr).set_tid_size) as usize - ptr as usize },
4183 72usize,
4184 concat!(
4185 "Offset of field: ",
4186 stringify!(linux_clone_args),
4187 "::",
4188 stringify!(set_tid_size)
4189 )
4190 );
4191 assert_eq!(
4192 unsafe { ::core::ptr::addr_of!((*ptr).cgroup) as usize - ptr as usize },
4193 80usize,
4194 concat!(
4195 "Offset of field: ",
4196 stringify!(linux_clone_args),
4197 "::",
4198 stringify!(cgroup)
4199 )
4200 );
4201}
4202pub type linux_sigset_t = ::core::ffi::c_ulong;
4203pub type linux___signalfn_t =
4204 ::core::option::Option<unsafe extern "C" fn(arg1: ::core::ffi::c_int)>;
4205pub type linux___sighandler_t = linux___signalfn_t;
4206pub type linux___restorefn_t = ::core::option::Option<unsafe extern "C" fn()>;
4207pub type linux___sigrestore_t = linux___restorefn_t;
4208#[repr(C)]
4209#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4210pub struct linux_sigaction {
4211 pub lsa_handler: linux___sighandler_t,
4212 pub lsa_flags: ::core::ffi::c_ulong,
4213 pub lsa_restorer: linux___sigrestore_t,
4214 pub lsa_mask: linux_sigset_t,
4215}
4216#[test]
4217fn bindgen_test_layout_sigaction() {
4218 const UNINIT: ::core::mem::MaybeUninit<linux_sigaction> = ::core::mem::MaybeUninit::uninit();
4219 let ptr = UNINIT.as_ptr();
4220 assert_eq!(
4221 ::core::mem::size_of::<linux_sigaction>(),
4222 32usize,
4223 concat!("Size of: ", stringify!(linux_sigaction))
4224 );
4225 assert_eq!(
4226 ::core::mem::align_of::<linux_sigaction>(),
4227 8usize,
4228 concat!("Alignment of ", stringify!(linux_sigaction))
4229 );
4230 assert_eq!(
4231 unsafe { ::core::ptr::addr_of!((*ptr).lsa_handler) as usize - ptr as usize },
4232 0usize,
4233 concat!(
4234 "Offset of field: ",
4235 stringify!(linux_sigaction),
4236 "::",
4237 stringify!(lsa_handler)
4238 )
4239 );
4240 assert_eq!(
4241 unsafe { ::core::ptr::addr_of!((*ptr).lsa_flags) as usize - ptr as usize },
4242 8usize,
4243 concat!(
4244 "Offset of field: ",
4245 stringify!(linux_sigaction),
4246 "::",
4247 stringify!(lsa_flags)
4248 )
4249 );
4250 assert_eq!(
4251 unsafe { ::core::ptr::addr_of!((*ptr).lsa_restorer) as usize - ptr as usize },
4252 16usize,
4253 concat!(
4254 "Offset of field: ",
4255 stringify!(linux_sigaction),
4256 "::",
4257 stringify!(lsa_restorer)
4258 )
4259 );
4260 assert_eq!(
4261 unsafe { ::core::ptr::addr_of!((*ptr).lsa_mask) as usize - ptr as usize },
4262 24usize,
4263 concat!(
4264 "Offset of field: ",
4265 stringify!(linux_sigaction),
4266 "::",
4267 stringify!(lsa_mask)
4268 )
4269 );
4270}
4271#[repr(C)]
4272#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4273pub struct linux_sigaltstack {
4274 pub ss_sp: *mut ::core::ffi::c_void,
4275 pub ss_flags: ::core::ffi::c_int,
4276 pub ss_size: linux___kernel_size_t,
4277}
4278#[test]
4279fn bindgen_test_layout_sigaltstack() {
4280 const UNINIT: ::core::mem::MaybeUninit<linux_sigaltstack> = ::core::mem::MaybeUninit::uninit();
4281 let ptr = UNINIT.as_ptr();
4282 assert_eq!(
4283 ::core::mem::size_of::<linux_sigaltstack>(),
4284 24usize,
4285 concat!("Size of: ", stringify!(linux_sigaltstack))
4286 );
4287 assert_eq!(
4288 ::core::mem::align_of::<linux_sigaltstack>(),
4289 8usize,
4290 concat!("Alignment of ", stringify!(linux_sigaltstack))
4291 );
4292 assert_eq!(
4293 unsafe { ::core::ptr::addr_of!((*ptr).ss_sp) as usize - ptr as usize },
4294 0usize,
4295 concat!(
4296 "Offset of field: ",
4297 stringify!(linux_sigaltstack),
4298 "::",
4299 stringify!(ss_sp)
4300 )
4301 );
4302 assert_eq!(
4303 unsafe { ::core::ptr::addr_of!((*ptr).ss_flags) as usize - ptr as usize },
4304 8usize,
4305 concat!(
4306 "Offset of field: ",
4307 stringify!(linux_sigaltstack),
4308 "::",
4309 stringify!(ss_flags)
4310 )
4311 );
4312 assert_eq!(
4313 unsafe { ::core::ptr::addr_of!((*ptr).ss_size) as usize - ptr as usize },
4314 16usize,
4315 concat!(
4316 "Offset of field: ",
4317 stringify!(linux_sigaltstack),
4318 "::",
4319 stringify!(ss_size)
4320 )
4321 );
4322}
4323pub type linux_stack_t = linux_sigaltstack;
4324#[repr(C)]
4325#[derive(Copy, Clone)]
4326pub union linux_sigval {
4327 pub sival_int: ::core::ffi::c_int,
4328 pub sival_ptr: *mut ::core::ffi::c_void,
4329}
4330#[test]
4331fn bindgen_test_layout_sigval() {
4332 const UNINIT: ::core::mem::MaybeUninit<linux_sigval> = ::core::mem::MaybeUninit::uninit();
4333 let ptr = UNINIT.as_ptr();
4334 assert_eq!(
4335 ::core::mem::size_of::<linux_sigval>(),
4336 8usize,
4337 concat!("Size of: ", stringify!(linux_sigval))
4338 );
4339 assert_eq!(
4340 ::core::mem::align_of::<linux_sigval>(),
4341 8usize,
4342 concat!("Alignment of ", stringify!(linux_sigval))
4343 );
4344 assert_eq!(
4345 unsafe { ::core::ptr::addr_of!((*ptr).sival_int) as usize - ptr as usize },
4346 0usize,
4347 concat!(
4348 "Offset of field: ",
4349 stringify!(linux_sigval),
4350 "::",
4351 stringify!(sival_int)
4352 )
4353 );
4354 assert_eq!(
4355 unsafe { ::core::ptr::addr_of!((*ptr).sival_ptr) as usize - ptr as usize },
4356 0usize,
4357 concat!(
4358 "Offset of field: ",
4359 stringify!(linux_sigval),
4360 "::",
4361 stringify!(sival_ptr)
4362 )
4363 );
4364}
4365impl ::core::fmt::Debug for linux_sigval {
4366 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4367 write!(f, "linux_sigval {{ union }}")
4368 }
4369}
4370pub type linux_sigval_t = linux_sigval;
4371#[repr(C)]
4372#[derive(Copy, Clone)]
4373pub union linux___sifields {
4374 pub l_kill: linux___sifields__bindgen_ty_1,
4375 pub l_timer: linux___sifields__bindgen_ty_2,
4376 pub l_rt: linux___sifields__bindgen_ty_3,
4377 pub l_sigchld: linux___sifields__bindgen_ty_4,
4378 pub l_sigfault: linux___sifields__bindgen_ty_5,
4379 pub l_sigpoll: linux___sifields__bindgen_ty_6,
4380 pub l_sigsys: linux___sifields__bindgen_ty_7,
4381}
4382#[repr(C)]
4383#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4384pub struct linux___sifields__bindgen_ty_1 {
4385 pub l_pid: linux___kernel_pid_t,
4386 pub l_uid: linux___kernel_uid32_t,
4387}
4388#[test]
4389fn bindgen_test_layout___sifields__bindgen_ty_1() {
4390 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_1> =
4391 ::core::mem::MaybeUninit::uninit();
4392 let ptr = UNINIT.as_ptr();
4393 assert_eq!(
4394 ::core::mem::size_of::<linux___sifields__bindgen_ty_1>(),
4395 8usize,
4396 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_1))
4397 );
4398 assert_eq!(
4399 ::core::mem::align_of::<linux___sifields__bindgen_ty_1>(),
4400 4usize,
4401 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_1))
4402 );
4403 assert_eq!(
4404 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4405 0usize,
4406 concat!(
4407 "Offset of field: ",
4408 stringify!(linux___sifields__bindgen_ty_1),
4409 "::",
4410 stringify!(l_pid)
4411 )
4412 );
4413 assert_eq!(
4414 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4415 4usize,
4416 concat!(
4417 "Offset of field: ",
4418 stringify!(linux___sifields__bindgen_ty_1),
4419 "::",
4420 stringify!(l_uid)
4421 )
4422 );
4423}
4424#[repr(C)]
4425#[derive(Copy, Clone)]
4426pub struct linux___sifields__bindgen_ty_2 {
4427 pub l_tid: linux___kernel_timer_t,
4428 pub l_overrun: ::core::ffi::c_int,
4429 pub l_sigval: linux_sigval_t,
4430 pub l_sys_private: ::core::ffi::c_int,
4431}
4432#[test]
4433fn bindgen_test_layout___sifields__bindgen_ty_2() {
4434 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_2> =
4435 ::core::mem::MaybeUninit::uninit();
4436 let ptr = UNINIT.as_ptr();
4437 assert_eq!(
4438 ::core::mem::size_of::<linux___sifields__bindgen_ty_2>(),
4439 24usize,
4440 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_2))
4441 );
4442 assert_eq!(
4443 ::core::mem::align_of::<linux___sifields__bindgen_ty_2>(),
4444 8usize,
4445 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_2))
4446 );
4447 assert_eq!(
4448 unsafe { ::core::ptr::addr_of!((*ptr).l_tid) as usize - ptr as usize },
4449 0usize,
4450 concat!(
4451 "Offset of field: ",
4452 stringify!(linux___sifields__bindgen_ty_2),
4453 "::",
4454 stringify!(l_tid)
4455 )
4456 );
4457 assert_eq!(
4458 unsafe { ::core::ptr::addr_of!((*ptr).l_overrun) as usize - ptr as usize },
4459 4usize,
4460 concat!(
4461 "Offset of field: ",
4462 stringify!(linux___sifields__bindgen_ty_2),
4463 "::",
4464 stringify!(l_overrun)
4465 )
4466 );
4467 assert_eq!(
4468 unsafe { ::core::ptr::addr_of!((*ptr).l_sigval) as usize - ptr as usize },
4469 8usize,
4470 concat!(
4471 "Offset of field: ",
4472 stringify!(linux___sifields__bindgen_ty_2),
4473 "::",
4474 stringify!(l_sigval)
4475 )
4476 );
4477 assert_eq!(
4478 unsafe { ::core::ptr::addr_of!((*ptr).l_sys_private) as usize - ptr as usize },
4479 16usize,
4480 concat!(
4481 "Offset of field: ",
4482 stringify!(linux___sifields__bindgen_ty_2),
4483 "::",
4484 stringify!(l_sys_private)
4485 )
4486 );
4487}
4488impl ::core::fmt::Debug for linux___sifields__bindgen_ty_2 {
4489 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4490 write!(
4491 f,
4492 "linux___sifields__bindgen_ty_2 {{ l_tid: {:?}, l_overrun: {:?}, l_sigval: {:?}, l_sys_private: {:?} }}",
4493 self.l_tid, self.l_overrun, self.l_sigval, self.l_sys_private
4494 )
4495 }
4496}
4497#[repr(C)]
4498#[derive(Copy, Clone)]
4499pub struct linux___sifields__bindgen_ty_3 {
4500 pub l_pid: linux___kernel_pid_t,
4501 pub l_uid: linux___kernel_uid32_t,
4502 pub l_sigval: linux_sigval_t,
4503}
4504#[test]
4505fn bindgen_test_layout___sifields__bindgen_ty_3() {
4506 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_3> =
4507 ::core::mem::MaybeUninit::uninit();
4508 let ptr = UNINIT.as_ptr();
4509 assert_eq!(
4510 ::core::mem::size_of::<linux___sifields__bindgen_ty_3>(),
4511 16usize,
4512 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_3))
4513 );
4514 assert_eq!(
4515 ::core::mem::align_of::<linux___sifields__bindgen_ty_3>(),
4516 8usize,
4517 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_3))
4518 );
4519 assert_eq!(
4520 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4521 0usize,
4522 concat!(
4523 "Offset of field: ",
4524 stringify!(linux___sifields__bindgen_ty_3),
4525 "::",
4526 stringify!(l_pid)
4527 )
4528 );
4529 assert_eq!(
4530 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4531 4usize,
4532 concat!(
4533 "Offset of field: ",
4534 stringify!(linux___sifields__bindgen_ty_3),
4535 "::",
4536 stringify!(l_uid)
4537 )
4538 );
4539 assert_eq!(
4540 unsafe { ::core::ptr::addr_of!((*ptr).l_sigval) as usize - ptr as usize },
4541 8usize,
4542 concat!(
4543 "Offset of field: ",
4544 stringify!(linux___sifields__bindgen_ty_3),
4545 "::",
4546 stringify!(l_sigval)
4547 )
4548 );
4549}
4550impl ::core::fmt::Debug for linux___sifields__bindgen_ty_3 {
4551 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4552 write!(
4553 f,
4554 "linux___sifields__bindgen_ty_3 {{ l_pid: {:?}, l_uid: {:?}, l_sigval: {:?} }}",
4555 self.l_pid, self.l_uid, self.l_sigval
4556 )
4557 }
4558}
4559#[repr(C)]
4560#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4561pub struct linux___sifields__bindgen_ty_4 {
4562 pub l_pid: linux___kernel_pid_t,
4563 pub l_uid: linux___kernel_uid32_t,
4564 pub l_status: ::core::ffi::c_int,
4565 pub l_utime: linux___kernel_clock_t,
4566 pub l_stime: linux___kernel_clock_t,
4567}
4568#[test]
4569fn bindgen_test_layout___sifields__bindgen_ty_4() {
4570 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_4> =
4571 ::core::mem::MaybeUninit::uninit();
4572 let ptr = UNINIT.as_ptr();
4573 assert_eq!(
4574 ::core::mem::size_of::<linux___sifields__bindgen_ty_4>(),
4575 32usize,
4576 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_4))
4577 );
4578 assert_eq!(
4579 ::core::mem::align_of::<linux___sifields__bindgen_ty_4>(),
4580 8usize,
4581 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_4))
4582 );
4583 assert_eq!(
4584 unsafe { ::core::ptr::addr_of!((*ptr).l_pid) as usize - ptr as usize },
4585 0usize,
4586 concat!(
4587 "Offset of field: ",
4588 stringify!(linux___sifields__bindgen_ty_4),
4589 "::",
4590 stringify!(l_pid)
4591 )
4592 );
4593 assert_eq!(
4594 unsafe { ::core::ptr::addr_of!((*ptr).l_uid) as usize - ptr as usize },
4595 4usize,
4596 concat!(
4597 "Offset of field: ",
4598 stringify!(linux___sifields__bindgen_ty_4),
4599 "::",
4600 stringify!(l_uid)
4601 )
4602 );
4603 assert_eq!(
4604 unsafe { ::core::ptr::addr_of!((*ptr).l_status) as usize - ptr as usize },
4605 8usize,
4606 concat!(
4607 "Offset of field: ",
4608 stringify!(linux___sifields__bindgen_ty_4),
4609 "::",
4610 stringify!(l_status)
4611 )
4612 );
4613 assert_eq!(
4614 unsafe { ::core::ptr::addr_of!((*ptr).l_utime) as usize - ptr as usize },
4615 16usize,
4616 concat!(
4617 "Offset of field: ",
4618 stringify!(linux___sifields__bindgen_ty_4),
4619 "::",
4620 stringify!(l_utime)
4621 )
4622 );
4623 assert_eq!(
4624 unsafe { ::core::ptr::addr_of!((*ptr).l_stime) as usize - ptr as usize },
4625 24usize,
4626 concat!(
4627 "Offset of field: ",
4628 stringify!(linux___sifields__bindgen_ty_4),
4629 "::",
4630 stringify!(l_stime)
4631 )
4632 );
4633}
4634#[repr(C)]
4635#[derive(Copy, Clone)]
4636pub struct linux___sifields__bindgen_ty_5 {
4637 pub l_addr: *mut ::core::ffi::c_void,
4638 pub l__bindgen_anon_1: linux___sifields__bindgen_ty_5__bindgen_ty_1,
4639}
4640#[repr(C)]
4641#[derive(Copy, Clone)]
4642pub union linux___sifields__bindgen_ty_5__bindgen_ty_1 {
4643 pub l_trapno: ::core::ffi::c_int,
4644 pub l_addr_lsb: ::core::ffi::c_short,
4645 pub l_addr_bnd: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
4646 pub l_addr_pkey: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
4647 pub l_perf: linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
4648}
4649#[repr(C)]
4650#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4651pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
4652 pub l_dummy_bnd: [::core::ffi::c_char; 8usize],
4653 pub l_lower: *mut ::core::ffi::c_void,
4654 pub l_upper: *mut ::core::ffi::c_void,
4655}
4656#[test]
4657fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1() {
4658 const UNINIT: ::core::mem::MaybeUninit<
4659 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
4660 > = ::core::mem::MaybeUninit::uninit();
4661 let ptr = UNINIT.as_ptr();
4662 assert_eq!(
4663 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
4664 24usize,
4665 concat!(
4666 "Size of: ",
4667 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
4668 )
4669 );
4670 assert_eq!(
4671 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
4672 8usize,
4673 concat!(
4674 "Alignment of ",
4675 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
4676 )
4677 );
4678 assert_eq!(
4679 unsafe { ::core::ptr::addr_of!((*ptr).l_dummy_bnd) as usize - ptr as usize },
4680 0usize,
4681 concat!(
4682 "Offset of field: ",
4683 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4684 "::",
4685 stringify!(l_dummy_bnd)
4686 )
4687 );
4688 assert_eq!(
4689 unsafe { ::core::ptr::addr_of!((*ptr).l_lower) as usize - ptr as usize },
4690 8usize,
4691 concat!(
4692 "Offset of field: ",
4693 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4694 "::",
4695 stringify!(l_lower)
4696 )
4697 );
4698 assert_eq!(
4699 unsafe { ::core::ptr::addr_of!((*ptr).l_upper) as usize - ptr as usize },
4700 16usize,
4701 concat!(
4702 "Offset of field: ",
4703 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
4704 "::",
4705 stringify!(l_upper)
4706 )
4707 );
4708}
4709#[repr(C)]
4710#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4711pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 {
4712 pub l_dummy_pkey: [::core::ffi::c_char; 8usize],
4713 pub l_pkey: linux___u32,
4714}
4715#[test]
4716fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() {
4717 const UNINIT: ::core::mem::MaybeUninit<
4718 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
4719 > = ::core::mem::MaybeUninit::uninit();
4720 let ptr = UNINIT.as_ptr();
4721 assert_eq!(
4722 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2>(),
4723 12usize,
4724 concat!(
4725 "Size of: ",
4726 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2)
4727 )
4728 );
4729 assert_eq!(
4730 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2>(),
4731 4usize,
4732 concat!(
4733 "Alignment of ",
4734 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2)
4735 )
4736 );
4737 assert_eq!(
4738 unsafe { ::core::ptr::addr_of!((*ptr).l_dummy_pkey) as usize - ptr as usize },
4739 0usize,
4740 concat!(
4741 "Offset of field: ",
4742 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2),
4743 "::",
4744 stringify!(l_dummy_pkey)
4745 )
4746 );
4747 assert_eq!(
4748 unsafe { ::core::ptr::addr_of!((*ptr).l_pkey) as usize - ptr as usize },
4749 8usize,
4750 concat!(
4751 "Offset of field: ",
4752 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2),
4753 "::",
4754 stringify!(l_pkey)
4755 )
4756 );
4757}
4758#[repr(C)]
4759#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4760pub struct linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 {
4761 pub l_data: ::core::ffi::c_ulong,
4762 pub l_type: linux___u32,
4763 pub l_flags: linux___u32,
4764}
4765#[test]
4766fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() {
4767 const UNINIT: ::core::mem::MaybeUninit<
4768 linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
4769 > = ::core::mem::MaybeUninit::uninit();
4770 let ptr = UNINIT.as_ptr();
4771 assert_eq!(
4772 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(),
4773 16usize,
4774 concat!(
4775 "Size of: ",
4776 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3)
4777 )
4778 );
4779 assert_eq!(
4780 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(),
4781 8usize,
4782 concat!(
4783 "Alignment of ",
4784 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3)
4785 )
4786 );
4787 assert_eq!(
4788 unsafe { ::core::ptr::addr_of!((*ptr).l_data) as usize - ptr as usize },
4789 0usize,
4790 concat!(
4791 "Offset of field: ",
4792 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4793 "::",
4794 stringify!(l_data)
4795 )
4796 );
4797 assert_eq!(
4798 unsafe { ::core::ptr::addr_of!((*ptr).l_type) as usize - ptr as usize },
4799 8usize,
4800 concat!(
4801 "Offset of field: ",
4802 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4803 "::",
4804 stringify!(l_type)
4805 )
4806 );
4807 assert_eq!(
4808 unsafe { ::core::ptr::addr_of!((*ptr).l_flags) as usize - ptr as usize },
4809 12usize,
4810 concat!(
4811 "Offset of field: ",
4812 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3),
4813 "::",
4814 stringify!(l_flags)
4815 )
4816 );
4817}
4818#[test]
4819fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() {
4820 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_5__bindgen_ty_1> =
4821 ::core::mem::MaybeUninit::uninit();
4822 let ptr = UNINIT.as_ptr();
4823 assert_eq!(
4824 ::core::mem::size_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1>(),
4825 24usize,
4826 concat!(
4827 "Size of: ",
4828 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1)
4829 )
4830 );
4831 assert_eq!(
4832 ::core::mem::align_of::<linux___sifields__bindgen_ty_5__bindgen_ty_1>(),
4833 8usize,
4834 concat!(
4835 "Alignment of ",
4836 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1)
4837 )
4838 );
4839 assert_eq!(
4840 unsafe { ::core::ptr::addr_of!((*ptr).l_trapno) as usize - ptr as usize },
4841 0usize,
4842 concat!(
4843 "Offset of field: ",
4844 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4845 "::",
4846 stringify!(l_trapno)
4847 )
4848 );
4849 assert_eq!(
4850 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_lsb) as usize - ptr as usize },
4851 0usize,
4852 concat!(
4853 "Offset of field: ",
4854 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4855 "::",
4856 stringify!(l_addr_lsb)
4857 )
4858 );
4859 assert_eq!(
4860 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_bnd) as usize - ptr as usize },
4861 0usize,
4862 concat!(
4863 "Offset of field: ",
4864 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4865 "::",
4866 stringify!(l_addr_bnd)
4867 )
4868 );
4869 assert_eq!(
4870 unsafe { ::core::ptr::addr_of!((*ptr).l_addr_pkey) as usize - ptr as usize },
4871 0usize,
4872 concat!(
4873 "Offset of field: ",
4874 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4875 "::",
4876 stringify!(l_addr_pkey)
4877 )
4878 );
4879 assert_eq!(
4880 unsafe { ::core::ptr::addr_of!((*ptr).l_perf) as usize - ptr as usize },
4881 0usize,
4882 concat!(
4883 "Offset of field: ",
4884 stringify!(linux___sifields__bindgen_ty_5__bindgen_ty_1),
4885 "::",
4886 stringify!(l_perf)
4887 )
4888 );
4889}
4890impl ::core::fmt::Debug for linux___sifields__bindgen_ty_5__bindgen_ty_1 {
4891 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4892 write!(
4893 f,
4894 "linux___sifields__bindgen_ty_5__bindgen_ty_1 {{ union }}"
4895 )
4896 }
4897}
4898#[test]
4899fn bindgen_test_layout___sifields__bindgen_ty_5() {
4900 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_5> =
4901 ::core::mem::MaybeUninit::uninit();
4902 let ptr = UNINIT.as_ptr();
4903 assert_eq!(
4904 ::core::mem::size_of::<linux___sifields__bindgen_ty_5>(),
4905 32usize,
4906 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_5))
4907 );
4908 assert_eq!(
4909 ::core::mem::align_of::<linux___sifields__bindgen_ty_5>(),
4910 8usize,
4911 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_5))
4912 );
4913 assert_eq!(
4914 unsafe { ::core::ptr::addr_of!((*ptr).l_addr) as usize - ptr as usize },
4915 0usize,
4916 concat!(
4917 "Offset of field: ",
4918 stringify!(linux___sifields__bindgen_ty_5),
4919 "::",
4920 stringify!(l_addr)
4921 )
4922 );
4923}
4924impl ::core::fmt::Debug for linux___sifields__bindgen_ty_5 {
4925 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
4926 write!(
4927 f,
4928 "linux___sifields__bindgen_ty_5 {{ l_addr: {:?}, l__bindgen_anon_1: {:?} }}",
4929 self.l_addr, self.l__bindgen_anon_1
4930 )
4931 }
4932}
4933#[repr(C)]
4934#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4935pub struct linux___sifields__bindgen_ty_6 {
4936 pub l_band: ::core::ffi::c_long,
4937 pub l_fd: ::core::ffi::c_int,
4938}
4939#[test]
4940fn bindgen_test_layout___sifields__bindgen_ty_6() {
4941 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_6> =
4942 ::core::mem::MaybeUninit::uninit();
4943 let ptr = UNINIT.as_ptr();
4944 assert_eq!(
4945 ::core::mem::size_of::<linux___sifields__bindgen_ty_6>(),
4946 16usize,
4947 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_6))
4948 );
4949 assert_eq!(
4950 ::core::mem::align_of::<linux___sifields__bindgen_ty_6>(),
4951 8usize,
4952 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_6))
4953 );
4954 assert_eq!(
4955 unsafe { ::core::ptr::addr_of!((*ptr).l_band) as usize - ptr as usize },
4956 0usize,
4957 concat!(
4958 "Offset of field: ",
4959 stringify!(linux___sifields__bindgen_ty_6),
4960 "::",
4961 stringify!(l_band)
4962 )
4963 );
4964 assert_eq!(
4965 unsafe { ::core::ptr::addr_of!((*ptr).l_fd) as usize - ptr as usize },
4966 8usize,
4967 concat!(
4968 "Offset of field: ",
4969 stringify!(linux___sifields__bindgen_ty_6),
4970 "::",
4971 stringify!(l_fd)
4972 )
4973 );
4974}
4975#[repr(C)]
4976#[derive(Debug, Copy, Clone, PartialEq, Eq)]
4977pub struct linux___sifields__bindgen_ty_7 {
4978 pub l_call_addr: *mut ::core::ffi::c_void,
4979 pub l_syscall: ::core::ffi::c_int,
4980 pub l_arch: ::core::ffi::c_uint,
4981}
4982#[test]
4983fn bindgen_test_layout___sifields__bindgen_ty_7() {
4984 const UNINIT: ::core::mem::MaybeUninit<linux___sifields__bindgen_ty_7> =
4985 ::core::mem::MaybeUninit::uninit();
4986 let ptr = UNINIT.as_ptr();
4987 assert_eq!(
4988 ::core::mem::size_of::<linux___sifields__bindgen_ty_7>(),
4989 16usize,
4990 concat!("Size of: ", stringify!(linux___sifields__bindgen_ty_7))
4991 );
4992 assert_eq!(
4993 ::core::mem::align_of::<linux___sifields__bindgen_ty_7>(),
4994 8usize,
4995 concat!("Alignment of ", stringify!(linux___sifields__bindgen_ty_7))
4996 );
4997 assert_eq!(
4998 unsafe { ::core::ptr::addr_of!((*ptr).l_call_addr) as usize - ptr as usize },
4999 0usize,
5000 concat!(
5001 "Offset of field: ",
5002 stringify!(linux___sifields__bindgen_ty_7),
5003 "::",
5004 stringify!(l_call_addr)
5005 )
5006 );
5007 assert_eq!(
5008 unsafe { ::core::ptr::addr_of!((*ptr).l_syscall) as usize - ptr as usize },
5009 8usize,
5010 concat!(
5011 "Offset of field: ",
5012 stringify!(linux___sifields__bindgen_ty_7),
5013 "::",
5014 stringify!(l_syscall)
5015 )
5016 );
5017 assert_eq!(
5018 unsafe { ::core::ptr::addr_of!((*ptr).l_arch) as usize - ptr as usize },
5019 12usize,
5020 concat!(
5021 "Offset of field: ",
5022 stringify!(linux___sifields__bindgen_ty_7),
5023 "::",
5024 stringify!(l_arch)
5025 )
5026 );
5027}
5028#[test]
5029fn bindgen_test_layout___sifields() {
5030 const UNINIT: ::core::mem::MaybeUninit<linux___sifields> = ::core::mem::MaybeUninit::uninit();
5031 let ptr = UNINIT.as_ptr();
5032 assert_eq!(
5033 ::core::mem::size_of::<linux___sifields>(),
5034 32usize,
5035 concat!("Size of: ", stringify!(linux___sifields))
5036 );
5037 assert_eq!(
5038 ::core::mem::align_of::<linux___sifields>(),
5039 8usize,
5040 concat!("Alignment of ", stringify!(linux___sifields))
5041 );
5042 assert_eq!(
5043 unsafe { ::core::ptr::addr_of!((*ptr).l_kill) as usize - ptr as usize },
5044 0usize,
5045 concat!(
5046 "Offset of field: ",
5047 stringify!(linux___sifields),
5048 "::",
5049 stringify!(l_kill)
5050 )
5051 );
5052 assert_eq!(
5053 unsafe { ::core::ptr::addr_of!((*ptr).l_timer) as usize - ptr as usize },
5054 0usize,
5055 concat!(
5056 "Offset of field: ",
5057 stringify!(linux___sifields),
5058 "::",
5059 stringify!(l_timer)
5060 )
5061 );
5062 assert_eq!(
5063 unsafe { ::core::ptr::addr_of!((*ptr).l_rt) as usize - ptr as usize },
5064 0usize,
5065 concat!(
5066 "Offset of field: ",
5067 stringify!(linux___sifields),
5068 "::",
5069 stringify!(l_rt)
5070 )
5071 );
5072 assert_eq!(
5073 unsafe { ::core::ptr::addr_of!((*ptr).l_sigchld) as usize - ptr as usize },
5074 0usize,
5075 concat!(
5076 "Offset of field: ",
5077 stringify!(linux___sifields),
5078 "::",
5079 stringify!(l_sigchld)
5080 )
5081 );
5082 assert_eq!(
5083 unsafe { ::core::ptr::addr_of!((*ptr).l_sigfault) as usize - ptr as usize },
5084 0usize,
5085 concat!(
5086 "Offset of field: ",
5087 stringify!(linux___sifields),
5088 "::",
5089 stringify!(l_sigfault)
5090 )
5091 );
5092 assert_eq!(
5093 unsafe { ::core::ptr::addr_of!((*ptr).l_sigpoll) as usize - ptr as usize },
5094 0usize,
5095 concat!(
5096 "Offset of field: ",
5097 stringify!(linux___sifields),
5098 "::",
5099 stringify!(l_sigpoll)
5100 )
5101 );
5102 assert_eq!(
5103 unsafe { ::core::ptr::addr_of!((*ptr).l_sigsys) as usize - ptr as usize },
5104 0usize,
5105 concat!(
5106 "Offset of field: ",
5107 stringify!(linux___sifields),
5108 "::",
5109 stringify!(l_sigsys)
5110 )
5111 );
5112}
5113impl ::core::fmt::Debug for linux___sifields {
5114 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5115 write!(f, "linux___sifields {{ union }}")
5116 }
5117}
5118#[repr(C)]
5119#[derive(Copy, Clone)]
5120pub struct linux_siginfo {
5121 pub l__bindgen_anon_1: linux_siginfo__bindgen_ty_1,
5122}
5123#[repr(C)]
5124#[derive(Copy, Clone)]
5125pub union linux_siginfo__bindgen_ty_1 {
5126 pub l__bindgen_anon_1: linux_siginfo__bindgen_ty_1__bindgen_ty_1,
5127 pub l_si_pad: [::core::ffi::c_int; 32usize],
5128}
5129#[repr(C)]
5130#[derive(Copy, Clone)]
5131pub struct linux_siginfo__bindgen_ty_1__bindgen_ty_1 {
5132 pub lsi_signo: ::core::ffi::c_int,
5133 pub lsi_errno: ::core::ffi::c_int,
5134 pub lsi_code: ::core::ffi::c_int,
5135 pub l_sifields: linux___sifields,
5136}
5137#[test]
5138fn bindgen_test_layout_siginfo__bindgen_ty_1__bindgen_ty_1() {
5139 const UNINIT: ::core::mem::MaybeUninit<linux_siginfo__bindgen_ty_1__bindgen_ty_1> =
5140 ::core::mem::MaybeUninit::uninit();
5141 let ptr = UNINIT.as_ptr();
5142 assert_eq!(
5143 ::core::mem::size_of::<linux_siginfo__bindgen_ty_1__bindgen_ty_1>(),
5144 48usize,
5145 concat!(
5146 "Size of: ",
5147 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1)
5148 )
5149 );
5150 assert_eq!(
5151 ::core::mem::align_of::<linux_siginfo__bindgen_ty_1__bindgen_ty_1>(),
5152 8usize,
5153 concat!(
5154 "Alignment of ",
5155 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1)
5156 )
5157 );
5158 assert_eq!(
5159 unsafe { ::core::ptr::addr_of!((*ptr).lsi_signo) as usize - ptr as usize },
5160 0usize,
5161 concat!(
5162 "Offset of field: ",
5163 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5164 "::",
5165 stringify!(lsi_signo)
5166 )
5167 );
5168 assert_eq!(
5169 unsafe { ::core::ptr::addr_of!((*ptr).lsi_errno) as usize - ptr as usize },
5170 4usize,
5171 concat!(
5172 "Offset of field: ",
5173 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5174 "::",
5175 stringify!(lsi_errno)
5176 )
5177 );
5178 assert_eq!(
5179 unsafe { ::core::ptr::addr_of!((*ptr).lsi_code) as usize - ptr as usize },
5180 8usize,
5181 concat!(
5182 "Offset of field: ",
5183 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5184 "::",
5185 stringify!(lsi_code)
5186 )
5187 );
5188 assert_eq!(
5189 unsafe { ::core::ptr::addr_of!((*ptr).l_sifields) as usize - ptr as usize },
5190 16usize,
5191 concat!(
5192 "Offset of field: ",
5193 stringify!(linux_siginfo__bindgen_ty_1__bindgen_ty_1),
5194 "::",
5195 stringify!(l_sifields)
5196 )
5197 );
5198}
5199impl ::core::fmt::Debug for linux_siginfo__bindgen_ty_1__bindgen_ty_1 {
5200 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5201 write!(
5202 f,
5203 "linux_siginfo__bindgen_ty_1__bindgen_ty_1 {{ lsi_signo: {:?}, lsi_errno: {:?}, lsi_code: {:?}, l_sifields: {:?} }}",
5204 self.lsi_signo, self.lsi_errno, self.lsi_code, self.l_sifields
5205 )
5206 }
5207}
5208#[test]
5209fn bindgen_test_layout_siginfo__bindgen_ty_1() {
5210 const UNINIT: ::core::mem::MaybeUninit<linux_siginfo__bindgen_ty_1> =
5211 ::core::mem::MaybeUninit::uninit();
5212 let ptr = UNINIT.as_ptr();
5213 assert_eq!(
5214 ::core::mem::size_of::<linux_siginfo__bindgen_ty_1>(),
5215 128usize,
5216 concat!("Size of: ", stringify!(linux_siginfo__bindgen_ty_1))
5217 );
5218 assert_eq!(
5219 ::core::mem::align_of::<linux_siginfo__bindgen_ty_1>(),
5220 8usize,
5221 concat!("Alignment of ", stringify!(linux_siginfo__bindgen_ty_1))
5222 );
5223 assert_eq!(
5224 unsafe { ::core::ptr::addr_of!((*ptr).l_si_pad) as usize - ptr as usize },
5225 0usize,
5226 concat!(
5227 "Offset of field: ",
5228 stringify!(linux_siginfo__bindgen_ty_1),
5229 "::",
5230 stringify!(l_si_pad)
5231 )
5232 );
5233}
5234impl ::core::fmt::Debug for linux_siginfo__bindgen_ty_1 {
5235 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5236 write!(f, "linux_siginfo__bindgen_ty_1 {{ union }}")
5237 }
5238}
5239#[test]
5240fn bindgen_test_layout_siginfo() {
5241 assert_eq!(
5242 ::core::mem::size_of::<linux_siginfo>(),
5243 128usize,
5244 concat!("Size of: ", stringify!(linux_siginfo))
5245 );
5246 assert_eq!(
5247 ::core::mem::align_of::<linux_siginfo>(),
5248 8usize,
5249 concat!("Alignment of ", stringify!(linux_siginfo))
5250 );
5251}
5252impl ::core::fmt::Debug for linux_siginfo {
5253 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5254 write!(
5255 f,
5256 "linux_siginfo {{ l__bindgen_anon_1: {:?} }}",
5257 self.l__bindgen_anon_1
5258 )
5259 }
5260}
5261pub type linux_siginfo_t = linux_siginfo;
5262#[repr(C)]
5263#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5264pub struct linux_timespec {
5265 pub tv_sec: linux___kernel_old_time_t,
5266 pub tv_nsec: ::core::ffi::c_long,
5267}
5268#[test]
5269fn bindgen_test_layout_timespec() {
5270 const UNINIT: ::core::mem::MaybeUninit<linux_timespec> = ::core::mem::MaybeUninit::uninit();
5271 let ptr = UNINIT.as_ptr();
5272 assert_eq!(
5273 ::core::mem::size_of::<linux_timespec>(),
5274 16usize,
5275 concat!("Size of: ", stringify!(linux_timespec))
5276 );
5277 assert_eq!(
5278 ::core::mem::align_of::<linux_timespec>(),
5279 8usize,
5280 concat!("Alignment of ", stringify!(linux_timespec))
5281 );
5282 assert_eq!(
5283 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
5284 0usize,
5285 concat!(
5286 "Offset of field: ",
5287 stringify!(linux_timespec),
5288 "::",
5289 stringify!(tv_sec)
5290 )
5291 );
5292 assert_eq!(
5293 unsafe { ::core::ptr::addr_of!((*ptr).tv_nsec) as usize - ptr as usize },
5294 8usize,
5295 concat!(
5296 "Offset of field: ",
5297 stringify!(linux_timespec),
5298 "::",
5299 stringify!(tv_nsec)
5300 )
5301 );
5302}
5303#[repr(C)]
5304#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5305pub struct linux_timeval {
5306 pub tv_sec: linux___kernel_old_time_t,
5307 pub tv_usec: linux___kernel_suseconds_t,
5308}
5309#[test]
5310fn bindgen_test_layout_timeval() {
5311 const UNINIT: ::core::mem::MaybeUninit<linux_timeval> = ::core::mem::MaybeUninit::uninit();
5312 let ptr = UNINIT.as_ptr();
5313 assert_eq!(
5314 ::core::mem::size_of::<linux_timeval>(),
5315 16usize,
5316 concat!("Size of: ", stringify!(linux_timeval))
5317 );
5318 assert_eq!(
5319 ::core::mem::align_of::<linux_timeval>(),
5320 8usize,
5321 concat!("Alignment of ", stringify!(linux_timeval))
5322 );
5323 assert_eq!(
5324 unsafe { ::core::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
5325 0usize,
5326 concat!(
5327 "Offset of field: ",
5328 stringify!(linux_timeval),
5329 "::",
5330 stringify!(tv_sec)
5331 )
5332 );
5333 assert_eq!(
5334 unsafe { ::core::ptr::addr_of!((*ptr).tv_usec) as usize - ptr as usize },
5335 8usize,
5336 concat!(
5337 "Offset of field: ",
5338 stringify!(linux_timeval),
5339 "::",
5340 stringify!(tv_usec)
5341 )
5342 );
5343}
5344#[repr(C)]
5345#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5346pub struct linux_itimerspec {
5347 pub it_interval: linux_timespec,
5348 pub it_value: linux_timespec,
5349}
5350#[test]
5351fn bindgen_test_layout_itimerspec() {
5352 const UNINIT: ::core::mem::MaybeUninit<linux_itimerspec> = ::core::mem::MaybeUninit::uninit();
5353 let ptr = UNINIT.as_ptr();
5354 assert_eq!(
5355 ::core::mem::size_of::<linux_itimerspec>(),
5356 32usize,
5357 concat!("Size of: ", stringify!(linux_itimerspec))
5358 );
5359 assert_eq!(
5360 ::core::mem::align_of::<linux_itimerspec>(),
5361 8usize,
5362 concat!("Alignment of ", stringify!(linux_itimerspec))
5363 );
5364 assert_eq!(
5365 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
5366 0usize,
5367 concat!(
5368 "Offset of field: ",
5369 stringify!(linux_itimerspec),
5370 "::",
5371 stringify!(it_interval)
5372 )
5373 );
5374 assert_eq!(
5375 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
5376 16usize,
5377 concat!(
5378 "Offset of field: ",
5379 stringify!(linux_itimerspec),
5380 "::",
5381 stringify!(it_value)
5382 )
5383 );
5384}
5385#[repr(C)]
5386#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5387pub struct linux_itimerval {
5388 pub it_interval: linux_timeval,
5389 pub it_value: linux_timeval,
5390}
5391#[test]
5392fn bindgen_test_layout_itimerval() {
5393 const UNINIT: ::core::mem::MaybeUninit<linux_itimerval> = ::core::mem::MaybeUninit::uninit();
5394 let ptr = UNINIT.as_ptr();
5395 assert_eq!(
5396 ::core::mem::size_of::<linux_itimerval>(),
5397 32usize,
5398 concat!("Size of: ", stringify!(linux_itimerval))
5399 );
5400 assert_eq!(
5401 ::core::mem::align_of::<linux_itimerval>(),
5402 8usize,
5403 concat!("Alignment of ", stringify!(linux_itimerval))
5404 );
5405 assert_eq!(
5406 unsafe { ::core::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
5407 0usize,
5408 concat!(
5409 "Offset of field: ",
5410 stringify!(linux_itimerval),
5411 "::",
5412 stringify!(it_interval)
5413 )
5414 );
5415 assert_eq!(
5416 unsafe { ::core::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
5417 16usize,
5418 concat!(
5419 "Offset of field: ",
5420 stringify!(linux_itimerval),
5421 "::",
5422 stringify!(it_value)
5423 )
5424 );
5425}
5426#[repr(C)]
5427#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5428pub struct linux_new_utsname {
5429 pub sysname: [::core::ffi::c_char; 65usize],
5430 pub nodename: [::core::ffi::c_char; 65usize],
5431 pub release: [::core::ffi::c_char; 65usize],
5432 pub version: [::core::ffi::c_char; 65usize],
5433 pub machine: [::core::ffi::c_char; 65usize],
5434 pub domainname: [::core::ffi::c_char; 65usize],
5435}
5436#[test]
5437fn bindgen_test_layout_new_utsname() {
5438 const UNINIT: ::core::mem::MaybeUninit<linux_new_utsname> = ::core::mem::MaybeUninit::uninit();
5439 let ptr = UNINIT.as_ptr();
5440 assert_eq!(
5441 ::core::mem::size_of::<linux_new_utsname>(),
5442 390usize,
5443 concat!("Size of: ", stringify!(linux_new_utsname))
5444 );
5445 assert_eq!(
5446 ::core::mem::align_of::<linux_new_utsname>(),
5447 1usize,
5448 concat!("Alignment of ", stringify!(linux_new_utsname))
5449 );
5450 assert_eq!(
5451 unsafe { ::core::ptr::addr_of!((*ptr).sysname) as usize - ptr as usize },
5452 0usize,
5453 concat!(
5454 "Offset of field: ",
5455 stringify!(linux_new_utsname),
5456 "::",
5457 stringify!(sysname)
5458 )
5459 );
5460 assert_eq!(
5461 unsafe { ::core::ptr::addr_of!((*ptr).nodename) as usize - ptr as usize },
5462 65usize,
5463 concat!(
5464 "Offset of field: ",
5465 stringify!(linux_new_utsname),
5466 "::",
5467 stringify!(nodename)
5468 )
5469 );
5470 assert_eq!(
5471 unsafe { ::core::ptr::addr_of!((*ptr).release) as usize - ptr as usize },
5472 130usize,
5473 concat!(
5474 "Offset of field: ",
5475 stringify!(linux_new_utsname),
5476 "::",
5477 stringify!(release)
5478 )
5479 );
5480 assert_eq!(
5481 unsafe { ::core::ptr::addr_of!((*ptr).version) as usize - ptr as usize },
5482 195usize,
5483 concat!(
5484 "Offset of field: ",
5485 stringify!(linux_new_utsname),
5486 "::",
5487 stringify!(version)
5488 )
5489 );
5490 assert_eq!(
5491 unsafe { ::core::ptr::addr_of!((*ptr).machine) as usize - ptr as usize },
5492 260usize,
5493 concat!(
5494 "Offset of field: ",
5495 stringify!(linux_new_utsname),
5496 "::",
5497 stringify!(machine)
5498 )
5499 );
5500 assert_eq!(
5501 unsafe { ::core::ptr::addr_of!((*ptr).domainname) as usize - ptr as usize },
5502 325usize,
5503 concat!(
5504 "Offset of field: ",
5505 stringify!(linux_new_utsname),
5506 "::",
5507 stringify!(domainname)
5508 )
5509 );
5510}
5511#[repr(C)]
5512#[derive(Debug, Copy, Clone, PartialEq, Eq)]
5513pub struct linux__fpx_sw_bytes {
5514 pub magic1: linux___u32,
5515 pub extended_size: linux___u32,
5516 pub xfeatures: linux___u64,
5517 pub xstate_size: linux___u32,
5518 pub padding: [linux___u32; 7usize],
5519}
5520#[test]
5521fn bindgen_test_layout__fpx_sw_bytes() {
5522 const UNINIT: ::core::mem::MaybeUninit<linux__fpx_sw_bytes> =
5523 ::core::mem::MaybeUninit::uninit();
5524 let ptr = UNINIT.as_ptr();
5525 assert_eq!(
5526 ::core::mem::size_of::<linux__fpx_sw_bytes>(),
5527 48usize,
5528 concat!("Size of: ", stringify!(linux__fpx_sw_bytes))
5529 );
5530 assert_eq!(
5531 ::core::mem::align_of::<linux__fpx_sw_bytes>(),
5532 8usize,
5533 concat!("Alignment of ", stringify!(linux__fpx_sw_bytes))
5534 );
5535 assert_eq!(
5536 unsafe { ::core::ptr::addr_of!((*ptr).magic1) as usize - ptr as usize },
5537 0usize,
5538 concat!(
5539 "Offset of field: ",
5540 stringify!(linux__fpx_sw_bytes),
5541 "::",
5542 stringify!(magic1)
5543 )
5544 );
5545 assert_eq!(
5546 unsafe { ::core::ptr::addr_of!((*ptr).extended_size) as usize - ptr as usize },
5547 4usize,
5548 concat!(
5549 "Offset of field: ",
5550 stringify!(linux__fpx_sw_bytes),
5551 "::",
5552 stringify!(extended_size)
5553 )
5554 );
5555 assert_eq!(
5556 unsafe { ::core::ptr::addr_of!((*ptr).xfeatures) as usize - ptr as usize },
5557 8usize,
5558 concat!(
5559 "Offset of field: ",
5560 stringify!(linux__fpx_sw_bytes),
5561 "::",
5562 stringify!(xfeatures)
5563 )
5564 );
5565 assert_eq!(
5566 unsafe { ::core::ptr::addr_of!((*ptr).xstate_size) as usize - ptr as usize },
5567 16usize,
5568 concat!(
5569 "Offset of field: ",
5570 stringify!(linux__fpx_sw_bytes),
5571 "::",
5572 stringify!(xstate_size)
5573 )
5574 );
5575 assert_eq!(
5576 unsafe { ::core::ptr::addr_of!((*ptr).padding) as usize - ptr as usize },
5577 20usize,
5578 concat!(
5579 "Offset of field: ",
5580 stringify!(linux__fpx_sw_bytes),
5581 "::",
5582 stringify!(padding)
5583 )
5584 );
5585}
5586#[repr(C)]
5587#[derive(Copy, Clone)]
5588pub struct linux__fpstate_64 {
5589 pub cwd: linux___u16,
5590 pub swd: linux___u16,
5591 pub twd: linux___u16,
5592 pub fop: linux___u16,
5593 pub rip: linux___u64,
5594 pub rdp: linux___u64,
5595 pub mxcsr: linux___u32,
5596 pub mxcsr_mask: linux___u32,
5597 pub st_space: [linux___u32; 32usize],
5598 pub xmm_space: [linux___u32; 64usize],
5599 pub reserved2: [linux___u32; 12usize],
5600 pub l__bindgen_anon_1: linux__fpstate_64__bindgen_ty_1,
5601}
5602#[repr(C)]
5603#[derive(Copy, Clone)]
5604pub union linux__fpstate_64__bindgen_ty_1 {
5605 pub reserved3: [linux___u32; 12usize],
5606 pub sw_reserved: linux__fpx_sw_bytes,
5607}
5608#[test]
5609fn bindgen_test_layout__fpstate_64__bindgen_ty_1() {
5610 const UNINIT: ::core::mem::MaybeUninit<linux__fpstate_64__bindgen_ty_1> =
5611 ::core::mem::MaybeUninit::uninit();
5612 let ptr = UNINIT.as_ptr();
5613 assert_eq!(
5614 ::core::mem::size_of::<linux__fpstate_64__bindgen_ty_1>(),
5615 48usize,
5616 concat!("Size of: ", stringify!(linux__fpstate_64__bindgen_ty_1))
5617 );
5618 assert_eq!(
5619 ::core::mem::align_of::<linux__fpstate_64__bindgen_ty_1>(),
5620 8usize,
5621 concat!("Alignment of ", stringify!(linux__fpstate_64__bindgen_ty_1))
5622 );
5623 assert_eq!(
5624 unsafe { ::core::ptr::addr_of!((*ptr).reserved3) as usize - ptr as usize },
5625 0usize,
5626 concat!(
5627 "Offset of field: ",
5628 stringify!(linux__fpstate_64__bindgen_ty_1),
5629 "::",
5630 stringify!(reserved3)
5631 )
5632 );
5633 assert_eq!(
5634 unsafe { ::core::ptr::addr_of!((*ptr).sw_reserved) as usize - ptr as usize },
5635 0usize,
5636 concat!(
5637 "Offset of field: ",
5638 stringify!(linux__fpstate_64__bindgen_ty_1),
5639 "::",
5640 stringify!(sw_reserved)
5641 )
5642 );
5643}
5644impl ::core::fmt::Debug for linux__fpstate_64__bindgen_ty_1 {
5645 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5646 write!(f, "linux__fpstate_64__bindgen_ty_1 {{ union }}")
5647 }
5648}
5649#[test]
5650fn bindgen_test_layout__fpstate_64() {
5651 const UNINIT: ::core::mem::MaybeUninit<linux__fpstate_64> = ::core::mem::MaybeUninit::uninit();
5652 let ptr = UNINIT.as_ptr();
5653 assert_eq!(
5654 ::core::mem::size_of::<linux__fpstate_64>(),
5655 512usize,
5656 concat!("Size of: ", stringify!(linux__fpstate_64))
5657 );
5658 assert_eq!(
5659 ::core::mem::align_of::<linux__fpstate_64>(),
5660 8usize,
5661 concat!("Alignment of ", stringify!(linux__fpstate_64))
5662 );
5663 assert_eq!(
5664 unsafe { ::core::ptr::addr_of!((*ptr).cwd) as usize - ptr as usize },
5665 0usize,
5666 concat!(
5667 "Offset of field: ",
5668 stringify!(linux__fpstate_64),
5669 "::",
5670 stringify!(cwd)
5671 )
5672 );
5673 assert_eq!(
5674 unsafe { ::core::ptr::addr_of!((*ptr).swd) as usize - ptr as usize },
5675 2usize,
5676 concat!(
5677 "Offset of field: ",
5678 stringify!(linux__fpstate_64),
5679 "::",
5680 stringify!(swd)
5681 )
5682 );
5683 assert_eq!(
5684 unsafe { ::core::ptr::addr_of!((*ptr).twd) as usize - ptr as usize },
5685 4usize,
5686 concat!(
5687 "Offset of field: ",
5688 stringify!(linux__fpstate_64),
5689 "::",
5690 stringify!(twd)
5691 )
5692 );
5693 assert_eq!(
5694 unsafe { ::core::ptr::addr_of!((*ptr).fop) as usize - ptr as usize },
5695 6usize,
5696 concat!(
5697 "Offset of field: ",
5698 stringify!(linux__fpstate_64),
5699 "::",
5700 stringify!(fop)
5701 )
5702 );
5703 assert_eq!(
5704 unsafe { ::core::ptr::addr_of!((*ptr).rip) as usize - ptr as usize },
5705 8usize,
5706 concat!(
5707 "Offset of field: ",
5708 stringify!(linux__fpstate_64),
5709 "::",
5710 stringify!(rip)
5711 )
5712 );
5713 assert_eq!(
5714 unsafe { ::core::ptr::addr_of!((*ptr).rdp) as usize - ptr as usize },
5715 16usize,
5716 concat!(
5717 "Offset of field: ",
5718 stringify!(linux__fpstate_64),
5719 "::",
5720 stringify!(rdp)
5721 )
5722 );
5723 assert_eq!(
5724 unsafe { ::core::ptr::addr_of!((*ptr).mxcsr) as usize - ptr as usize },
5725 24usize,
5726 concat!(
5727 "Offset of field: ",
5728 stringify!(linux__fpstate_64),
5729 "::",
5730 stringify!(mxcsr)
5731 )
5732 );
5733 assert_eq!(
5734 unsafe { ::core::ptr::addr_of!((*ptr).mxcsr_mask) as usize - ptr as usize },
5735 28usize,
5736 concat!(
5737 "Offset of field: ",
5738 stringify!(linux__fpstate_64),
5739 "::",
5740 stringify!(mxcsr_mask)
5741 )
5742 );
5743 assert_eq!(
5744 unsafe { ::core::ptr::addr_of!((*ptr).st_space) as usize - ptr as usize },
5745 32usize,
5746 concat!(
5747 "Offset of field: ",
5748 stringify!(linux__fpstate_64),
5749 "::",
5750 stringify!(st_space)
5751 )
5752 );
5753 assert_eq!(
5754 unsafe { ::core::ptr::addr_of!((*ptr).xmm_space) as usize - ptr as usize },
5755 160usize,
5756 concat!(
5757 "Offset of field: ",
5758 stringify!(linux__fpstate_64),
5759 "::",
5760 stringify!(xmm_space)
5761 )
5762 );
5763 assert_eq!(
5764 unsafe { ::core::ptr::addr_of!((*ptr).reserved2) as usize - ptr as usize },
5765 416usize,
5766 concat!(
5767 "Offset of field: ",
5768 stringify!(linux__fpstate_64),
5769 "::",
5770 stringify!(reserved2)
5771 )
5772 );
5773}
5774impl ::core::fmt::Debug for linux__fpstate_64 {
5775 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5776 write!(
5777 f,
5778 "linux__fpstate_64 {{ cwd: {:?}, swd: {:?}, twd: {:?}, fop: {:?}, rip: {:?}, rdp: {:?}, mxcsr: {:?}, mxcsr_mask: {:?}, st_space: {:?}, xmm_space: {:?}, reserved2: {:?}, l__bindgen_anon_1: {:?} }}",
5779 self.cwd,
5780 self.swd,
5781 self.twd,
5782 self.fop,
5783 self.rip,
5784 self.rdp,
5785 self.mxcsr,
5786 self.mxcsr_mask,
5787 self.st_space,
5788 self.xmm_space,
5789 self.reserved2,
5790 self.l__bindgen_anon_1
5791 )
5792 }
5793}
5794#[repr(C)]
5795#[derive(Copy, Clone)]
5796pub struct linux_sigcontext {
5797 pub r8: linux___u64,
5798 pub r9: linux___u64,
5799 pub r10: linux___u64,
5800 pub r11: linux___u64,
5801 pub r12: linux___u64,
5802 pub r13: linux___u64,
5803 pub r14: linux___u64,
5804 pub r15: linux___u64,
5805 pub rdi: linux___u64,
5806 pub rsi: linux___u64,
5807 pub rbp: linux___u64,
5808 pub rbx: linux___u64,
5809 pub rdx: linux___u64,
5810 pub rax: linux___u64,
5811 pub rcx: linux___u64,
5812 pub rsp: linux___u64,
5813 pub rip: linux___u64,
5814 pub eflags: linux___u64,
5815 pub cs: linux___u16,
5816 pub gs: linux___u16,
5817 pub fs: linux___u16,
5818 pub l__bindgen_anon_1: linux_sigcontext__bindgen_ty_1,
5819 pub err: linux___u64,
5820 pub trapno: linux___u64,
5821 pub oldmask: linux___u64,
5822 pub cr2: linux___u64,
5823 pub fpstate: *mut linux__fpstate_64,
5824 pub reserved1: [linux___u64; 8usize],
5825}
5826#[repr(C)]
5827#[derive(Copy, Clone)]
5828pub union linux_sigcontext__bindgen_ty_1 {
5829 pub ss: linux___u16,
5830 pub l__pad0: linux___u16,
5831}
5832#[test]
5833fn bindgen_test_layout_sigcontext__bindgen_ty_1() {
5834 const UNINIT: ::core::mem::MaybeUninit<linux_sigcontext__bindgen_ty_1> =
5835 ::core::mem::MaybeUninit::uninit();
5836 let ptr = UNINIT.as_ptr();
5837 assert_eq!(
5838 ::core::mem::size_of::<linux_sigcontext__bindgen_ty_1>(),
5839 2usize,
5840 concat!("Size of: ", stringify!(linux_sigcontext__bindgen_ty_1))
5841 );
5842 assert_eq!(
5843 ::core::mem::align_of::<linux_sigcontext__bindgen_ty_1>(),
5844 2usize,
5845 concat!("Alignment of ", stringify!(linux_sigcontext__bindgen_ty_1))
5846 );
5847 assert_eq!(
5848 unsafe { ::core::ptr::addr_of!((*ptr).ss) as usize - ptr as usize },
5849 0usize,
5850 concat!(
5851 "Offset of field: ",
5852 stringify!(linux_sigcontext__bindgen_ty_1),
5853 "::",
5854 stringify!(ss)
5855 )
5856 );
5857 assert_eq!(
5858 unsafe { ::core::ptr::addr_of!((*ptr).l__pad0) as usize - ptr as usize },
5859 0usize,
5860 concat!(
5861 "Offset of field: ",
5862 stringify!(linux_sigcontext__bindgen_ty_1),
5863 "::",
5864 stringify!(l__pad0)
5865 )
5866 );
5867}
5868impl ::core::fmt::Debug for linux_sigcontext__bindgen_ty_1 {
5869 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
5870 write!(f, "linux_sigcontext__bindgen_ty_1 {{ union }}")
5871 }
5872}
5873#[test]
5874fn bindgen_test_layout_sigcontext() {
5875 const UNINIT: ::core::mem::MaybeUninit<linux_sigcontext> = ::core::mem::MaybeUninit::uninit();
5876 let ptr = UNINIT.as_ptr();
5877 assert_eq!(
5878 ::core::mem::size_of::<linux_sigcontext>(),
5879 256usize,
5880 concat!("Size of: ", stringify!(linux_sigcontext))
5881 );
5882 assert_eq!(
5883 ::core::mem::align_of::<linux_sigcontext>(),
5884 8usize,
5885 concat!("Alignment of ", stringify!(linux_sigcontext))
5886 );
5887 assert_eq!(
5888 unsafe { ::core::ptr::addr_of!((*ptr).r8) as usize - ptr as usize },
5889 0usize,
5890 concat!(
5891 "Offset of field: ",
5892 stringify!(linux_sigcontext),
5893 "::",
5894 stringify!(r8)
5895 )
5896 );
5897 assert_eq!(
5898 unsafe { ::core::ptr::addr_of!((*ptr).r9) as usize - ptr as usize },
5899 8usize,
5900 concat!(
5901 "Offset of field: ",
5902 stringify!(linux_sigcontext),
5903 "::",
5904 stringify!(r9)
5905 )
5906 );
5907 assert_eq!(
5908 unsafe { ::core::ptr::addr_of!((*ptr).r10) as usize - ptr as usize },
5909 16usize,
5910 concat!(
5911 "Offset of field: ",
5912 stringify!(linux_sigcontext),
5913 "::",
5914 stringify!(r10)
5915 )
5916 );
5917 assert_eq!(
5918 unsafe { ::core::ptr::addr_of!((*ptr).r11) as usize - ptr as usize },
5919 24usize,
5920 concat!(
5921 "Offset of field: ",
5922 stringify!(linux_sigcontext),
5923 "::",
5924 stringify!(r11)
5925 )
5926 );
5927 assert_eq!(
5928 unsafe { ::core::ptr::addr_of!((*ptr).r12) as usize - ptr as usize },
5929 32usize,
5930 concat!(
5931 "Offset of field: ",
5932 stringify!(linux_sigcontext),
5933 "::",
5934 stringify!(r12)
5935 )
5936 );
5937 assert_eq!(
5938 unsafe { ::core::ptr::addr_of!((*ptr).r13) as usize - ptr as usize },
5939 40usize,
5940 concat!(
5941 "Offset of field: ",
5942 stringify!(linux_sigcontext),
5943 "::",
5944 stringify!(r13)
5945 )
5946 );
5947 assert_eq!(
5948 unsafe { ::core::ptr::addr_of!((*ptr).r14) as usize - ptr as usize },
5949 48usize,
5950 concat!(
5951 "Offset of field: ",
5952 stringify!(linux_sigcontext),
5953 "::",
5954 stringify!(r14)
5955 )
5956 );
5957 assert_eq!(
5958 unsafe { ::core::ptr::addr_of!((*ptr).r15) as usize - ptr as usize },
5959 56usize,
5960 concat!(
5961 "Offset of field: ",
5962 stringify!(linux_sigcontext),
5963 "::",
5964 stringify!(r15)
5965 )
5966 );
5967 assert_eq!(
5968 unsafe { ::core::ptr::addr_of!((*ptr).rdi) as usize - ptr as usize },
5969 64usize,
5970 concat!(
5971 "Offset of field: ",
5972 stringify!(linux_sigcontext),
5973 "::",
5974 stringify!(rdi)
5975 )
5976 );
5977 assert_eq!(
5978 unsafe { ::core::ptr::addr_of!((*ptr).rsi) as usize - ptr as usize },
5979 72usize,
5980 concat!(
5981 "Offset of field: ",
5982 stringify!(linux_sigcontext),
5983 "::",
5984 stringify!(rsi)
5985 )
5986 );
5987 assert_eq!(
5988 unsafe { ::core::ptr::addr_of!((*ptr).rbp) as usize - ptr as usize },
5989 80usize,
5990 concat!(
5991 "Offset of field: ",
5992 stringify!(linux_sigcontext),
5993 "::",
5994 stringify!(rbp)
5995 )
5996 );
5997 assert_eq!(
5998 unsafe { ::core::ptr::addr_of!((*ptr).rbx) as usize - ptr as usize },
5999 88usize,
6000 concat!(
6001 "Offset of field: ",
6002 stringify!(linux_sigcontext),
6003 "::",
6004 stringify!(rbx)
6005 )
6006 );
6007 assert_eq!(
6008 unsafe { ::core::ptr::addr_of!((*ptr).rdx) as usize - ptr as usize },
6009 96usize,
6010 concat!(
6011 "Offset of field: ",
6012 stringify!(linux_sigcontext),
6013 "::",
6014 stringify!(rdx)
6015 )
6016 );
6017 assert_eq!(
6018 unsafe { ::core::ptr::addr_of!((*ptr).rax) as usize - ptr as usize },
6019 104usize,
6020 concat!(
6021 "Offset of field: ",
6022 stringify!(linux_sigcontext),
6023 "::",
6024 stringify!(rax)
6025 )
6026 );
6027 assert_eq!(
6028 unsafe { ::core::ptr::addr_of!((*ptr).rcx) as usize - ptr as usize },
6029 112usize,
6030 concat!(
6031 "Offset of field: ",
6032 stringify!(linux_sigcontext),
6033 "::",
6034 stringify!(rcx)
6035 )
6036 );
6037 assert_eq!(
6038 unsafe { ::core::ptr::addr_of!((*ptr).rsp) as usize - ptr as usize },
6039 120usize,
6040 concat!(
6041 "Offset of field: ",
6042 stringify!(linux_sigcontext),
6043 "::",
6044 stringify!(rsp)
6045 )
6046 );
6047 assert_eq!(
6048 unsafe { ::core::ptr::addr_of!((*ptr).rip) as usize - ptr as usize },
6049 128usize,
6050 concat!(
6051 "Offset of field: ",
6052 stringify!(linux_sigcontext),
6053 "::",
6054 stringify!(rip)
6055 )
6056 );
6057 assert_eq!(
6058 unsafe { ::core::ptr::addr_of!((*ptr).eflags) as usize - ptr as usize },
6059 136usize,
6060 concat!(
6061 "Offset of field: ",
6062 stringify!(linux_sigcontext),
6063 "::",
6064 stringify!(eflags)
6065 )
6066 );
6067 assert_eq!(
6068 unsafe { ::core::ptr::addr_of!((*ptr).cs) as usize - ptr as usize },
6069 144usize,
6070 concat!(
6071 "Offset of field: ",
6072 stringify!(linux_sigcontext),
6073 "::",
6074 stringify!(cs)
6075 )
6076 );
6077 assert_eq!(
6078 unsafe { ::core::ptr::addr_of!((*ptr).gs) as usize - ptr as usize },
6079 146usize,
6080 concat!(
6081 "Offset of field: ",
6082 stringify!(linux_sigcontext),
6083 "::",
6084 stringify!(gs)
6085 )
6086 );
6087 assert_eq!(
6088 unsafe { ::core::ptr::addr_of!((*ptr).fs) as usize - ptr as usize },
6089 148usize,
6090 concat!(
6091 "Offset of field: ",
6092 stringify!(linux_sigcontext),
6093 "::",
6094 stringify!(fs)
6095 )
6096 );
6097 assert_eq!(
6098 unsafe { ::core::ptr::addr_of!((*ptr).err) as usize - ptr as usize },
6099 152usize,
6100 concat!(
6101 "Offset of field: ",
6102 stringify!(linux_sigcontext),
6103 "::",
6104 stringify!(err)
6105 )
6106 );
6107 assert_eq!(
6108 unsafe { ::core::ptr::addr_of!((*ptr).trapno) as usize - ptr as usize },
6109 160usize,
6110 concat!(
6111 "Offset of field: ",
6112 stringify!(linux_sigcontext),
6113 "::",
6114 stringify!(trapno)
6115 )
6116 );
6117 assert_eq!(
6118 unsafe { ::core::ptr::addr_of!((*ptr).oldmask) as usize - ptr as usize },
6119 168usize,
6120 concat!(
6121 "Offset of field: ",
6122 stringify!(linux_sigcontext),
6123 "::",
6124 stringify!(oldmask)
6125 )
6126 );
6127 assert_eq!(
6128 unsafe { ::core::ptr::addr_of!((*ptr).cr2) as usize - ptr as usize },
6129 176usize,
6130 concat!(
6131 "Offset of field: ",
6132 stringify!(linux_sigcontext),
6133 "::",
6134 stringify!(cr2)
6135 )
6136 );
6137 assert_eq!(
6138 unsafe { ::core::ptr::addr_of!((*ptr).fpstate) as usize - ptr as usize },
6139 184usize,
6140 concat!(
6141 "Offset of field: ",
6142 stringify!(linux_sigcontext),
6143 "::",
6144 stringify!(fpstate)
6145 )
6146 );
6147 assert_eq!(
6148 unsafe { ::core::ptr::addr_of!((*ptr).reserved1) as usize - ptr as usize },
6149 192usize,
6150 concat!(
6151 "Offset of field: ",
6152 stringify!(linux_sigcontext),
6153 "::",
6154 stringify!(reserved1)
6155 )
6156 );
6157}
6158impl ::core::fmt::Debug for linux_sigcontext {
6159 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6160 write!(
6161 f,
6162 "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: {:?} }}",
6163 self.r8,
6164 self.r9,
6165 self.r10,
6166 self.r11,
6167 self.r12,
6168 self.r13,
6169 self.r14,
6170 self.r15,
6171 self.rdi,
6172 self.rsi,
6173 self.rbp,
6174 self.rbx,
6175 self.rdx,
6176 self.rax,
6177 self.rcx,
6178 self.rsp,
6179 self.rip,
6180 self.eflags,
6181 self.cs,
6182 self.gs,
6183 self.fs,
6184 self.l__bindgen_anon_1,
6185 self.err,
6186 self.trapno,
6187 self.oldmask,
6188 self.cr2,
6189 self.fpstate,
6190 self.reserved1
6191 )
6192 }
6193}
6194#[repr(C)]
6195#[derive(Debug, Copy, Clone, PartialEq, Eq)]
6196pub struct linux_stat {
6197 pub st_dev: linux___kernel_ulong_t,
6198 pub st_ino: linux___kernel_ulong_t,
6199 pub st_nlink: linux___kernel_ulong_t,
6200 pub st_mode: ::core::ffi::c_uint,
6201 pub st_uid: ::core::ffi::c_uint,
6202 pub st_gid: ::core::ffi::c_uint,
6203 pub l__pad0: ::core::ffi::c_uint,
6204 pub st_rdev: linux___kernel_ulong_t,
6205 pub st_size: linux___kernel_long_t,
6206 pub st_blksize: linux___kernel_long_t,
6207 pub st_blocks: linux___kernel_long_t,
6208 pub st_atime: linux___kernel_ulong_t,
6209 pub st_atime_nsec: linux___kernel_ulong_t,
6210 pub st_mtime: linux___kernel_ulong_t,
6211 pub st_mtime_nsec: linux___kernel_ulong_t,
6212 pub st_ctime: linux___kernel_ulong_t,
6213 pub st_ctime_nsec: linux___kernel_ulong_t,
6214 pub l__unused: [linux___kernel_long_t; 3usize],
6215}
6216#[test]
6217fn bindgen_test_layout_stat() {
6218 const UNINIT: ::core::mem::MaybeUninit<linux_stat> = ::core::mem::MaybeUninit::uninit();
6219 let ptr = UNINIT.as_ptr();
6220 assert_eq!(
6221 ::core::mem::size_of::<linux_stat>(),
6222 144usize,
6223 concat!("Size of: ", stringify!(linux_stat))
6224 );
6225 assert_eq!(
6226 ::core::mem::align_of::<linux_stat>(),
6227 8usize,
6228 concat!("Alignment of ", stringify!(linux_stat))
6229 );
6230 assert_eq!(
6231 unsafe { ::core::ptr::addr_of!((*ptr).st_dev) as usize - ptr as usize },
6232 0usize,
6233 concat!(
6234 "Offset of field: ",
6235 stringify!(linux_stat),
6236 "::",
6237 stringify!(st_dev)
6238 )
6239 );
6240 assert_eq!(
6241 unsafe { ::core::ptr::addr_of!((*ptr).st_ino) as usize - ptr as usize },
6242 8usize,
6243 concat!(
6244 "Offset of field: ",
6245 stringify!(linux_stat),
6246 "::",
6247 stringify!(st_ino)
6248 )
6249 );
6250 assert_eq!(
6251 unsafe { ::core::ptr::addr_of!((*ptr).st_nlink) as usize - ptr as usize },
6252 16usize,
6253 concat!(
6254 "Offset of field: ",
6255 stringify!(linux_stat),
6256 "::",
6257 stringify!(st_nlink)
6258 )
6259 );
6260 assert_eq!(
6261 unsafe { ::core::ptr::addr_of!((*ptr).st_mode) as usize - ptr as usize },
6262 24usize,
6263 concat!(
6264 "Offset of field: ",
6265 stringify!(linux_stat),
6266 "::",
6267 stringify!(st_mode)
6268 )
6269 );
6270 assert_eq!(
6271 unsafe { ::core::ptr::addr_of!((*ptr).st_uid) as usize - ptr as usize },
6272 28usize,
6273 concat!(
6274 "Offset of field: ",
6275 stringify!(linux_stat),
6276 "::",
6277 stringify!(st_uid)
6278 )
6279 );
6280 assert_eq!(
6281 unsafe { ::core::ptr::addr_of!((*ptr).st_gid) as usize - ptr as usize },
6282 32usize,
6283 concat!(
6284 "Offset of field: ",
6285 stringify!(linux_stat),
6286 "::",
6287 stringify!(st_gid)
6288 )
6289 );
6290 assert_eq!(
6291 unsafe { ::core::ptr::addr_of!((*ptr).l__pad0) as usize - ptr as usize },
6292 36usize,
6293 concat!(
6294 "Offset of field: ",
6295 stringify!(linux_stat),
6296 "::",
6297 stringify!(l__pad0)
6298 )
6299 );
6300 assert_eq!(
6301 unsafe { ::core::ptr::addr_of!((*ptr).st_rdev) as usize - ptr as usize },
6302 40usize,
6303 concat!(
6304 "Offset of field: ",
6305 stringify!(linux_stat),
6306 "::",
6307 stringify!(st_rdev)
6308 )
6309 );
6310 assert_eq!(
6311 unsafe { ::core::ptr::addr_of!((*ptr).st_size) as usize - ptr as usize },
6312 48usize,
6313 concat!(
6314 "Offset of field: ",
6315 stringify!(linux_stat),
6316 "::",
6317 stringify!(st_size)
6318 )
6319 );
6320 assert_eq!(
6321 unsafe { ::core::ptr::addr_of!((*ptr).st_blksize) as usize - ptr as usize },
6322 56usize,
6323 concat!(
6324 "Offset of field: ",
6325 stringify!(linux_stat),
6326 "::",
6327 stringify!(st_blksize)
6328 )
6329 );
6330 assert_eq!(
6331 unsafe { ::core::ptr::addr_of!((*ptr).st_blocks) as usize - ptr as usize },
6332 64usize,
6333 concat!(
6334 "Offset of field: ",
6335 stringify!(linux_stat),
6336 "::",
6337 stringify!(st_blocks)
6338 )
6339 );
6340 assert_eq!(
6341 unsafe { ::core::ptr::addr_of!((*ptr).st_atime) as usize - ptr as usize },
6342 72usize,
6343 concat!(
6344 "Offset of field: ",
6345 stringify!(linux_stat),
6346 "::",
6347 stringify!(st_atime)
6348 )
6349 );
6350 assert_eq!(
6351 unsafe { ::core::ptr::addr_of!((*ptr).st_atime_nsec) as usize - ptr as usize },
6352 80usize,
6353 concat!(
6354 "Offset of field: ",
6355 stringify!(linux_stat),
6356 "::",
6357 stringify!(st_atime_nsec)
6358 )
6359 );
6360 assert_eq!(
6361 unsafe { ::core::ptr::addr_of!((*ptr).st_mtime) as usize - ptr as usize },
6362 88usize,
6363 concat!(
6364 "Offset of field: ",
6365 stringify!(linux_stat),
6366 "::",
6367 stringify!(st_mtime)
6368 )
6369 );
6370 assert_eq!(
6371 unsafe { ::core::ptr::addr_of!((*ptr).st_mtime_nsec) as usize - ptr as usize },
6372 96usize,
6373 concat!(
6374 "Offset of field: ",
6375 stringify!(linux_stat),
6376 "::",
6377 stringify!(st_mtime_nsec)
6378 )
6379 );
6380 assert_eq!(
6381 unsafe { ::core::ptr::addr_of!((*ptr).st_ctime) as usize - ptr as usize },
6382 104usize,
6383 concat!(
6384 "Offset of field: ",
6385 stringify!(linux_stat),
6386 "::",
6387 stringify!(st_ctime)
6388 )
6389 );
6390 assert_eq!(
6391 unsafe { ::core::ptr::addr_of!((*ptr).st_ctime_nsec) as usize - ptr as usize },
6392 112usize,
6393 concat!(
6394 "Offset of field: ",
6395 stringify!(linux_stat),
6396 "::",
6397 stringify!(st_ctime_nsec)
6398 )
6399 );
6400 assert_eq!(
6401 unsafe { ::core::ptr::addr_of!((*ptr).l__unused) as usize - ptr as usize },
6402 120usize,
6403 concat!(
6404 "Offset of field: ",
6405 stringify!(linux_stat),
6406 "::",
6407 stringify!(l__unused)
6408 )
6409 );
6410}
6411#[repr(C)]
6412#[derive(Copy, Clone)]
6413pub struct linux_ucontext {
6414 pub uc_flags: ::core::ffi::c_ulong,
6415 pub uc_link: *mut linux_ucontext,
6416 pub uc_stack: linux_stack_t,
6417 pub uc_mcontext: linux_sigcontext,
6418 pub uc_sigmask: linux_sigset_t,
6419}
6420#[test]
6421fn bindgen_test_layout_ucontext() {
6422 const UNINIT: ::core::mem::MaybeUninit<linux_ucontext> = ::core::mem::MaybeUninit::uninit();
6423 let ptr = UNINIT.as_ptr();
6424 assert_eq!(
6425 ::core::mem::size_of::<linux_ucontext>(),
6426 304usize,
6427 concat!("Size of: ", stringify!(linux_ucontext))
6428 );
6429 assert_eq!(
6430 ::core::mem::align_of::<linux_ucontext>(),
6431 8usize,
6432 concat!("Alignment of ", stringify!(linux_ucontext))
6433 );
6434 assert_eq!(
6435 unsafe { ::core::ptr::addr_of!((*ptr).uc_flags) as usize - ptr as usize },
6436 0usize,
6437 concat!(
6438 "Offset of field: ",
6439 stringify!(linux_ucontext),
6440 "::",
6441 stringify!(uc_flags)
6442 )
6443 );
6444 assert_eq!(
6445 unsafe { ::core::ptr::addr_of!((*ptr).uc_link) as usize - ptr as usize },
6446 8usize,
6447 concat!(
6448 "Offset of field: ",
6449 stringify!(linux_ucontext),
6450 "::",
6451 stringify!(uc_link)
6452 )
6453 );
6454 assert_eq!(
6455 unsafe { ::core::ptr::addr_of!((*ptr).uc_stack) as usize - ptr as usize },
6456 16usize,
6457 concat!(
6458 "Offset of field: ",
6459 stringify!(linux_ucontext),
6460 "::",
6461 stringify!(uc_stack)
6462 )
6463 );
6464 assert_eq!(
6465 unsafe { ::core::ptr::addr_of!((*ptr).uc_mcontext) as usize - ptr as usize },
6466 40usize,
6467 concat!(
6468 "Offset of field: ",
6469 stringify!(linux_ucontext),
6470 "::",
6471 stringify!(uc_mcontext)
6472 )
6473 );
6474 assert_eq!(
6475 unsafe { ::core::ptr::addr_of!((*ptr).uc_sigmask) as usize - ptr as usize },
6476 296usize,
6477 concat!(
6478 "Offset of field: ",
6479 stringify!(linux_ucontext),
6480 "::",
6481 stringify!(uc_sigmask)
6482 )
6483 );
6484}
6485impl ::core::fmt::Debug for linux_ucontext {
6486 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
6487 write!(
6488 f,
6489 "linux_ucontext {{ uc_flags: {:?}, uc_link: {:?}, uc_stack: {:?}, uc_mcontext: {:?}, uc_sigmask: {:?} }}",
6490 self.uc_flags, self.uc_link, self.uc_stack, self.uc_mcontext, self.uc_sigmask
6491 )
6492 }
6493}
6494#[repr(C)]
6495#[derive(Debug, Copy, Clone, PartialEq, Eq)]
6496pub struct linux_pollfd {
6497 pub fd: ::core::ffi::c_int,
6498 pub events: ::core::ffi::c_short,
6499 pub revents: ::core::ffi::c_short,
6500}
6501#[test]
6502fn bindgen_test_layout_pollfd() {
6503 const UNINIT: ::core::mem::MaybeUninit<linux_pollfd> = ::core::mem::MaybeUninit::uninit();
6504 let ptr = UNINIT.as_ptr();
6505 assert_eq!(
6506 ::core::mem::size_of::<linux_pollfd>(),
6507 8usize,
6508 concat!("Size of: ", stringify!(linux_pollfd))
6509 );
6510 assert_eq!(
6511 ::core::mem::align_of::<linux_pollfd>(),
6512 4usize,
6513 concat!("Alignment of ", stringify!(linux_pollfd))
6514 );
6515 assert_eq!(
6516 unsafe { ::core::ptr::addr_of!((*ptr).fd) as usize - ptr as usize },
6517 0usize,
6518 concat!(
6519 "Offset of field: ",
6520 stringify!(linux_pollfd),
6521 "::",
6522 stringify!(fd)
6523 )
6524 );
6525 assert_eq!(
6526 unsafe { ::core::ptr::addr_of!((*ptr).events) as usize - ptr as usize },
6527 4usize,
6528 concat!(
6529 "Offset of field: ",
6530 stringify!(linux_pollfd),
6531 "::",
6532 stringify!(events)
6533 )
6534 );
6535 assert_eq!(
6536 unsafe { ::core::ptr::addr_of!((*ptr).revents) as usize - ptr as usize },
6537 6usize,
6538 concat!(
6539 "Offset of field: ",
6540 stringify!(linux_pollfd),
6541 "::",
6542 stringify!(revents)
6543 )
6544 );
6545}
6546pub const LINUX_sock_shutdown_cmd_SHUT_RD: linux_sock_shutdown_cmd = 0;
6547pub const LINUX_sock_shutdown_cmd_SHUT_WR: linux_sock_shutdown_cmd = 1;
6548pub const LINUX_sock_shutdown_cmd_SHUT_RDWR: linux_sock_shutdown_cmd = 2;
6549pub type linux_sock_shutdown_cmd = ::core::ffi::c_uint;