1/* automatically generated by rust-bindgen 0.59.2 */
2
3#[repr(C)]
4#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5pub struct __BindgenBitfieldUnit<Storage> {
6storage: Storage,
7}
8impl<Storage> __BindgenBitfieldUnit<Storage> {
9#[inline]
10pub const fn new(storage: Storage) -> Self {
11Self { storage }
12}
13}
14impl<Storage> __BindgenBitfieldUnit<Storage>
15where
16Storage: AsRef<[u8]> + AsMut<[u8]>,
17{
18#[inline]
19pub fn get_bit(&self, index: usize) -> bool {
20debug_assert!(index / 8 < self.storage.as_ref().len());
21let byte_index = index / 8;
22let byte = self.storage.as_ref()[byte_index];
23let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
24let mask = 1 << bit_index;
25byte & mask == mask
26}
27#[inline]
28pub fn set_bit(&mut self, index: usize, val: bool) {
29debug_assert!(index / 8 < self.storage.as_ref().len());
30let byte_index = index / 8;
31let byte = &mut self.storage.as_mut()[byte_index];
32let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
33let mask = 1 << bit_index;
34if val {
35*byte |= mask;
36} else {
37*byte &= !mask;
38}
39}
40#[inline]
41pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
42debug_assert!(bit_width <= 64);
43debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
44debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
45let mut val = 0;
46for i in 0..(bit_width as usize) {
47if self.get_bit(i + bit_offset) {
48let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
49val |= 1 << index;
50}
51}
52val
53}
54#[inline]
55pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
56debug_assert!(bit_width <= 64);
57debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
58debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
59for i in 0..(bit_width as usize) {
60let mask = 1 << i;
61let val_bit_is_set = val & mask == mask;
62let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
63self.set_bit(index + bit_offset, val_bit_is_set);
64}
65}
66}
67#[repr(C)]
68#[derive(Default)]
69pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
70impl<T> __IncompleteArrayField<T> {
71#[inline]
72pub const fn new() -> Self {
73__IncompleteArrayField(::core::marker::PhantomData, [])
74}
75#[inline]
76pub fn as_ptr(&self) -> *const T {
77self as *const _ as *const T
78}
79#[inline]
80pub fn as_mut_ptr(&mut self) -> *mut T {
81self as *mut _ as *mut T
82}
83#[inline]
84pub unsafe fn as_slice(&self, len: usize) -> &[T] {
85::core::slice::from_raw_parts(self.as_ptr(), len)
86}
87#[inline]
88pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
89::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
90}
91}
92impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
93fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
94fmt.write_str(data:"__IncompleteArrayField")
95}
96}
97#[repr(C)]
98pub struct __BindgenUnionField<T>(::core::marker::PhantomData<T>);
99impl<T> __BindgenUnionField<T> {
100#[inline]
101pub const fn new() -> Self {
102__BindgenUnionField(::core::marker::PhantomData)
103}
104#[inline]
105pub unsafe fn as_ref(&self) -> &T {
106::core::mem::transmute(self)
107}
108#[inline]
109pub unsafe fn as_mut(&mut self) -> &mut T {
110::core::mem::transmute(self)
111}
112}
113impl<T> ::core::default::Default for __BindgenUnionField<T> {
114#[inline]
115fn default() -> Self {
116Self::new()
117}
118}
119impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
120#[inline]
121fn clone(&self) -> Self {
122Self::new()
123}
124}
125impl<T> ::core::marker::Copy for __BindgenUnionField<T> {}
126impl<T> ::core::fmt::Debug for __BindgenUnionField<T> {
127fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
128fmt.write_str(data:"__BindgenUnionField")
129}
130}
131impl<T> ::core::hash::Hash for __BindgenUnionField<T> {
132fn hash<H: ::core::hash::Hasher>(&self, _state: &mut H) {}
133}
134impl<T> ::core::cmp::PartialEq for __BindgenUnionField<T> {
135fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
136true
137}
138}
139impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
140pub const LINUX_VERSION_CODE: u32 = 393984;
141pub const LINUX_VERSION_MAJOR: u32 = 6;
142pub const LINUX_VERSION_PATCHLEVEL: u32 = 3;
143pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
144pub const AT_SYSINFO_EHDR: u32 = 33;
145pub const AT_VECTOR_SIZE_ARCH: u32 = 3;
146pub const AT_NULL: u32 = 0;
147pub const AT_IGNORE: u32 = 1;
148pub const AT_EXECFD: u32 = 2;
149pub const AT_PHDR: u32 = 3;
150pub const AT_PHENT: u32 = 4;
151pub const AT_PHNUM: u32 = 5;
152pub const AT_PAGESZ: u32 = 6;
153pub const AT_BASE: u32 = 7;
154pub const AT_FLAGS: u32 = 8;
155pub const AT_ENTRY: u32 = 9;
156pub const AT_NOTELF: u32 = 10;
157pub const AT_UID: u32 = 11;
158pub const AT_EUID: u32 = 12;
159pub const AT_GID: u32 = 13;
160pub const AT_EGID: u32 = 14;
161pub const AT_PLATFORM: u32 = 15;
162pub const AT_HWCAP: u32 = 16;
163pub const AT_CLKTCK: u32 = 17;
164pub const AT_SECURE: u32 = 23;
165pub const AT_BASE_PLATFORM: u32 = 24;
166pub const AT_RANDOM: u32 = 25;
167pub const AT_HWCAP2: u32 = 26;
168pub const AT_RSEQ_FEATURE_SIZE: u32 = 27;
169pub const AT_RSEQ_ALIGN: u32 = 28;
170pub const AT_EXECFN: u32 = 31;
171pub const AT_MINSIGSTKSZ: u32 = 51;
172pub const __BITS_PER_LONG: u32 = 64;
173pub const __FD_SETSIZE: u32 = 1024;
174pub const _LINUX_CAPABILITY_VERSION_1: u32 = 429392688;
175pub const _LINUX_CAPABILITY_U32S_1: u32 = 1;
176pub const _LINUX_CAPABILITY_VERSION_2: u32 = 537333798;
177pub const _LINUX_CAPABILITY_U32S_2: u32 = 2;
178pub const _LINUX_CAPABILITY_VERSION_3: u32 = 537396514;
179pub const _LINUX_CAPABILITY_U32S_3: u32 = 2;
180pub const VFS_CAP_REVISION_MASK: u32 = 4278190080;
181pub const VFS_CAP_REVISION_SHIFT: u32 = 24;
182pub const VFS_CAP_FLAGS_MASK: i64 = -4278190081;
183pub const VFS_CAP_FLAGS_EFFECTIVE: u32 = 1;
184pub const VFS_CAP_REVISION_1: u32 = 16777216;
185pub const VFS_CAP_U32_1: u32 = 1;
186pub const VFS_CAP_REVISION_2: u32 = 33554432;
187pub const VFS_CAP_U32_2: u32 = 2;
188pub const VFS_CAP_REVISION_3: u32 = 50331648;
189pub const VFS_CAP_U32_3: u32 = 2;
190pub const VFS_CAP_U32: u32 = 2;
191pub const VFS_CAP_REVISION: u32 = 50331648;
192pub const _LINUX_CAPABILITY_VERSION: u32 = 429392688;
193pub const _LINUX_CAPABILITY_U32S: u32 = 1;
194pub const CAP_CHOWN: u32 = 0;
195pub const CAP_DAC_OVERRIDE: u32 = 1;
196pub const CAP_DAC_READ_SEARCH: u32 = 2;
197pub const CAP_FOWNER: u32 = 3;
198pub const CAP_FSETID: u32 = 4;
199pub const CAP_KILL: u32 = 5;
200pub const CAP_SETGID: u32 = 6;
201pub const CAP_SETUID: u32 = 7;
202pub const CAP_SETPCAP: u32 = 8;
203pub const CAP_LINUX_IMMUTABLE: u32 = 9;
204pub const CAP_NET_BIND_SERVICE: u32 = 10;
205pub const CAP_NET_BROADCAST: u32 = 11;
206pub const CAP_NET_ADMIN: u32 = 12;
207pub const CAP_NET_RAW: u32 = 13;
208pub const CAP_IPC_LOCK: u32 = 14;
209pub const CAP_IPC_OWNER: u32 = 15;
210pub const CAP_SYS_MODULE: u32 = 16;
211pub const CAP_SYS_RAWIO: u32 = 17;
212pub const CAP_SYS_CHROOT: u32 = 18;
213pub const CAP_SYS_PTRACE: u32 = 19;
214pub const CAP_SYS_PACCT: u32 = 20;
215pub const CAP_SYS_ADMIN: u32 = 21;
216pub const CAP_SYS_BOOT: u32 = 22;
217pub const CAP_SYS_NICE: u32 = 23;
218pub const CAP_SYS_RESOURCE: u32 = 24;
219pub const CAP_SYS_TIME: u32 = 25;
220pub const CAP_SYS_TTY_CONFIG: u32 = 26;
221pub const CAP_MKNOD: u32 = 27;
222pub const CAP_LEASE: u32 = 28;
223pub const CAP_AUDIT_WRITE: u32 = 29;
224pub const CAP_AUDIT_CONTROL: u32 = 30;
225pub const CAP_SETFCAP: u32 = 31;
226pub const CAP_MAC_OVERRIDE: u32 = 32;
227pub const CAP_MAC_ADMIN: u32 = 33;
228pub const CAP_SYSLOG: u32 = 34;
229pub const CAP_WAKE_ALARM: u32 = 35;
230pub const CAP_BLOCK_SUSPEND: u32 = 36;
231pub const CAP_AUDIT_READ: u32 = 37;
232pub const CAP_PERFMON: u32 = 38;
233pub const CAP_BPF: u32 = 39;
234pub const CAP_CHECKPOINT_RESTORE: u32 = 40;
235pub const CAP_LAST_CAP: u32 = 40;
236pub const O_ACCMODE: u32 = 3;
237pub const O_RDONLY: u32 = 0;
238pub const O_WRONLY: u32 = 1;
239pub const O_RDWR: u32 = 2;
240pub const O_CREAT: u32 = 64;
241pub const O_EXCL: u32 = 128;
242pub const O_NOCTTY: u32 = 256;
243pub const O_TRUNC: u32 = 512;
244pub const O_APPEND: u32 = 1024;
245pub const O_NONBLOCK: u32 = 2048;
246pub const O_DSYNC: u32 = 4096;
247pub const FASYNC: u32 = 8192;
248pub const O_DIRECT: u32 = 16384;
249pub const O_LARGEFILE: u32 = 32768;
250pub const O_DIRECTORY: u32 = 65536;
251pub const O_NOFOLLOW: u32 = 131072;
252pub const O_NOATIME: u32 = 262144;
253pub const O_CLOEXEC: u32 = 524288;
254pub const __O_SYNC: u32 = 1048576;
255pub const O_SYNC: u32 = 1052672;
256pub const O_PATH: u32 = 2097152;
257pub const __O_TMPFILE: u32 = 4194304;
258pub const O_TMPFILE: u32 = 4259840;
259pub const O_TMPFILE_MASK: u32 = 4259904;
260pub const O_NDELAY: u32 = 2048;
261pub const F_DUPFD: u32 = 0;
262pub const F_GETFD: u32 = 1;
263pub const F_SETFD: u32 = 2;
264pub const F_GETFL: u32 = 3;
265pub const F_SETFL: u32 = 4;
266pub const F_GETLK: u32 = 5;
267pub const F_SETLK: u32 = 6;
268pub const F_SETLKW: u32 = 7;
269pub const F_SETOWN: u32 = 8;
270pub const F_GETOWN: u32 = 9;
271pub const F_SETSIG: u32 = 10;
272pub const F_GETSIG: u32 = 11;
273pub const F_SETOWN_EX: u32 = 15;
274pub const F_GETOWN_EX: u32 = 16;
275pub const F_GETOWNER_UIDS: u32 = 17;
276pub const F_OFD_GETLK: u32 = 36;
277pub const F_OFD_SETLK: u32 = 37;
278pub const F_OFD_SETLKW: u32 = 38;
279pub const F_OWNER_TID: u32 = 0;
280pub const F_OWNER_PID: u32 = 1;
281pub const F_OWNER_PGRP: u32 = 2;
282pub const FD_CLOEXEC: u32 = 1;
283pub const F_RDLCK: u32 = 0;
284pub const F_WRLCK: u32 = 1;
285pub const F_UNLCK: u32 = 2;
286pub const F_EXLCK: u32 = 4;
287pub const F_SHLCK: u32 = 8;
288pub const LOCK_SH: u32 = 1;
289pub const LOCK_EX: u32 = 2;
290pub const LOCK_NB: u32 = 4;
291pub const LOCK_UN: u32 = 8;
292pub const LOCK_MAND: u32 = 32;
293pub const LOCK_READ: u32 = 64;
294pub const LOCK_WRITE: u32 = 128;
295pub const LOCK_RW: u32 = 192;
296pub const F_LINUX_SPECIFIC_BASE: u32 = 1024;
297pub const RESOLVE_NO_XDEV: u32 = 1;
298pub const RESOLVE_NO_MAGICLINKS: u32 = 2;
299pub const RESOLVE_NO_SYMLINKS: u32 = 4;
300pub const RESOLVE_BENEATH: u32 = 8;
301pub const RESOLVE_IN_ROOT: u32 = 16;
302pub const RESOLVE_CACHED: u32 = 32;
303pub const F_SETLEASE: u32 = 1024;
304pub const F_GETLEASE: u32 = 1025;
305pub const F_CANCELLK: u32 = 1029;
306pub const F_DUPFD_CLOEXEC: u32 = 1030;
307pub const F_NOTIFY: u32 = 1026;
308pub const F_SETPIPE_SZ: u32 = 1031;
309pub const F_GETPIPE_SZ: u32 = 1032;
310pub const F_ADD_SEALS: u32 = 1033;
311pub const F_GET_SEALS: u32 = 1034;
312pub const F_SEAL_SEAL: u32 = 1;
313pub const F_SEAL_SHRINK: u32 = 2;
314pub const F_SEAL_GROW: u32 = 4;
315pub const F_SEAL_WRITE: u32 = 8;
316pub const F_SEAL_FUTURE_WRITE: u32 = 16;
317pub const F_SEAL_EXEC: u32 = 32;
318pub const F_GET_RW_HINT: u32 = 1035;
319pub const F_SET_RW_HINT: u32 = 1036;
320pub const F_GET_FILE_RW_HINT: u32 = 1037;
321pub const F_SET_FILE_RW_HINT: u32 = 1038;
322pub const RWH_WRITE_LIFE_NOT_SET: u32 = 0;
323pub const RWH_WRITE_LIFE_NONE: u32 = 1;
324pub const RWH_WRITE_LIFE_SHORT: u32 = 2;
325pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3;
326pub const RWH_WRITE_LIFE_LONG: u32 = 4;
327pub const RWH_WRITE_LIFE_EXTREME: u32 = 5;
328pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0;
329pub const DN_ACCESS: u32 = 1;
330pub const DN_MODIFY: u32 = 2;
331pub const DN_CREATE: u32 = 4;
332pub const DN_DELETE: u32 = 8;
333pub const DN_RENAME: u32 = 16;
334pub const DN_ATTRIB: u32 = 32;
335pub const DN_MULTISHOT: u32 = 2147483648;
336pub const AT_FDCWD: i32 = -100;
337pub const AT_SYMLINK_NOFOLLOW: u32 = 256;
338pub const AT_EACCESS: u32 = 512;
339pub const AT_REMOVEDIR: u32 = 512;
340pub const AT_SYMLINK_FOLLOW: u32 = 1024;
341pub const AT_NO_AUTOMOUNT: u32 = 2048;
342pub const AT_EMPTY_PATH: u32 = 4096;
343pub const AT_STATX_SYNC_TYPE: u32 = 24576;
344pub const AT_STATX_SYNC_AS_STAT: u32 = 0;
345pub const AT_STATX_FORCE_SYNC: u32 = 8192;
346pub const AT_STATX_DONT_SYNC: u32 = 16384;
347pub const AT_RECURSIVE: u32 = 32768;
348pub const EPOLL_CLOEXEC: u32 = 524288;
349pub const EPOLL_CTL_ADD: u32 = 1;
350pub const EPOLL_CTL_DEL: u32 = 2;
351pub const EPOLL_CTL_MOD: u32 = 3;
352pub const POSIX_FADV_NORMAL: u32 = 0;
353pub const POSIX_FADV_RANDOM: u32 = 1;
354pub const POSIX_FADV_SEQUENTIAL: u32 = 2;
355pub const POSIX_FADV_WILLNEED: u32 = 3;
356pub const POSIX_FADV_DONTNEED: u32 = 4;
357pub const POSIX_FADV_NOREUSE: u32 = 5;
358pub const FALLOC_FL_KEEP_SIZE: u32 = 1;
359pub const FALLOC_FL_PUNCH_HOLE: u32 = 2;
360pub const FALLOC_FL_NO_HIDE_STALE: u32 = 4;
361pub const FALLOC_FL_COLLAPSE_RANGE: u32 = 8;
362pub const FALLOC_FL_ZERO_RANGE: u32 = 16;
363pub const FALLOC_FL_INSERT_RANGE: u32 = 32;
364pub const FALLOC_FL_UNSHARE_RANGE: u32 = 64;
365pub const NR_OPEN: u32 = 1024;
366pub const NGROUPS_MAX: u32 = 65536;
367pub const ARG_MAX: u32 = 131072;
368pub const LINK_MAX: u32 = 127;
369pub const MAX_CANON: u32 = 255;
370pub const MAX_INPUT: u32 = 255;
371pub const NAME_MAX: u32 = 255;
372pub const PATH_MAX: u32 = 4096;
373pub const PIPE_BUF: u32 = 4096;
374pub const XATTR_NAME_MAX: u32 = 255;
375pub const XATTR_SIZE_MAX: u32 = 65536;
376pub const XATTR_LIST_MAX: u32 = 65536;
377pub const RTSIG_MAX: u32 = 32;
378pub const _IOC_NRBITS: u32 = 8;
379pub const _IOC_TYPEBITS: u32 = 8;
380pub const _IOC_SIZEBITS: u32 = 14;
381pub const _IOC_DIRBITS: u32 = 2;
382pub const _IOC_NRMASK: u32 = 255;
383pub const _IOC_TYPEMASK: u32 = 255;
384pub const _IOC_SIZEMASK: u32 = 16383;
385pub const _IOC_DIRMASK: u32 = 3;
386pub const _IOC_NRSHIFT: u32 = 0;
387pub const _IOC_TYPESHIFT: u32 = 8;
388pub const _IOC_SIZESHIFT: u32 = 16;
389pub const _IOC_DIRSHIFT: u32 = 30;
390pub const _IOC_NONE: u32 = 0;
391pub const _IOC_WRITE: u32 = 1;
392pub const _IOC_READ: u32 = 2;
393pub const IOC_IN: u32 = 1073741824;
394pub const IOC_OUT: u32 = 2147483648;
395pub const IOC_INOUT: u32 = 3221225472;
396pub const IOCSIZE_MASK: u32 = 1073676288;
397pub const IOCSIZE_SHIFT: u32 = 16;
398pub const FSCRYPT_POLICY_FLAGS_PAD_4: u32 = 0;
399pub const FSCRYPT_POLICY_FLAGS_PAD_8: u32 = 1;
400pub const FSCRYPT_POLICY_FLAGS_PAD_16: u32 = 2;
401pub const FSCRYPT_POLICY_FLAGS_PAD_32: u32 = 3;
402pub const FSCRYPT_POLICY_FLAGS_PAD_MASK: u32 = 3;
403pub const FSCRYPT_POLICY_FLAG_DIRECT_KEY: u32 = 4;
404pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64: u32 = 8;
405pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32: u32 = 16;
406pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1;
407pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4;
408pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5;
409pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6;
410pub const FSCRYPT_MODE_SM4_XTS: u32 = 7;
411pub const FSCRYPT_MODE_SM4_CTS: u32 = 8;
412pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
413pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
414pub const FSCRYPT_POLICY_V1: u32 = 0;
415pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8;
416pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
417pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8;
418pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64;
419pub const FSCRYPT_POLICY_V2: u32 = 2;
420pub const FSCRYPT_KEY_IDENTIFIER_SIZE: u32 = 16;
421pub const FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR: u32 = 1;
422pub const FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER: u32 = 2;
423pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY: u32 = 1;
424pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS: u32 = 2;
425pub const FSCRYPT_KEY_STATUS_ABSENT: u32 = 1;
426pub const FSCRYPT_KEY_STATUS_PRESENT: u32 = 2;
427pub const FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED: u32 = 3;
428pub const FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF: u32 = 1;
429pub const FS_KEY_DESCRIPTOR_SIZE: u32 = 8;
430pub const FS_POLICY_FLAGS_PAD_4: u32 = 0;
431pub const FS_POLICY_FLAGS_PAD_8: u32 = 1;
432pub const FS_POLICY_FLAGS_PAD_16: u32 = 2;
433pub const FS_POLICY_FLAGS_PAD_32: u32 = 3;
434pub const FS_POLICY_FLAGS_PAD_MASK: u32 = 3;
435pub const FS_POLICY_FLAG_DIRECT_KEY: u32 = 4;
436pub const FS_POLICY_FLAGS_VALID: u32 = 7;
437pub const FS_ENCRYPTION_MODE_INVALID: u32 = 0;
438pub const FS_ENCRYPTION_MODE_AES_256_XTS: u32 = 1;
439pub const FS_ENCRYPTION_MODE_AES_256_GCM: u32 = 2;
440pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3;
441pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
442pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
443pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
444pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
445pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
446pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
447pub const FS_MAX_KEY_SIZE: u32 = 64;
448pub const MS_RDONLY: u32 = 1;
449pub const MS_NOSUID: u32 = 2;
450pub const MS_NODEV: u32 = 4;
451pub const MS_NOEXEC: u32 = 8;
452pub const MS_SYNCHRONOUS: u32 = 16;
453pub const MS_REMOUNT: u32 = 32;
454pub const MS_MANDLOCK: u32 = 64;
455pub const MS_DIRSYNC: u32 = 128;
456pub const MS_NOSYMFOLLOW: u32 = 256;
457pub const MS_NOATIME: u32 = 1024;
458pub const MS_NODIRATIME: u32 = 2048;
459pub const MS_BIND: u32 = 4096;
460pub const MS_MOVE: u32 = 8192;
461pub const MS_REC: u32 = 16384;
462pub const MS_VERBOSE: u32 = 32768;
463pub const MS_SILENT: u32 = 32768;
464pub const MS_POSIXACL: u32 = 65536;
465pub const MS_UNBINDABLE: u32 = 131072;
466pub const MS_PRIVATE: u32 = 262144;
467pub const MS_SLAVE: u32 = 524288;
468pub const MS_SHARED: u32 = 1048576;
469pub const MS_RELATIME: u32 = 2097152;
470pub const MS_KERNMOUNT: u32 = 4194304;
471pub const MS_I_VERSION: u32 = 8388608;
472pub const MS_STRICTATIME: u32 = 16777216;
473pub const MS_LAZYTIME: u32 = 33554432;
474pub const MS_SUBMOUNT: u32 = 67108864;
475pub const MS_NOREMOTELOCK: u32 = 134217728;
476pub const MS_NOSEC: u32 = 268435456;
477pub const MS_BORN: u32 = 536870912;
478pub const MS_ACTIVE: u32 = 1073741824;
479pub const MS_NOUSER: u32 = 2147483648;
480pub const MS_RMT_MASK: u32 = 41943121;
481pub const MS_MGC_VAL: u32 = 3236757504;
482pub const MS_MGC_MSK: u32 = 4294901760;
483pub const OPEN_TREE_CLONE: u32 = 1;
484pub const OPEN_TREE_CLOEXEC: u32 = 524288;
485pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1;
486pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2;
487pub const MOVE_MOUNT_F_EMPTY_PATH: u32 = 4;
488pub const MOVE_MOUNT_T_SYMLINKS: u32 = 16;
489pub const MOVE_MOUNT_T_AUTOMOUNTS: u32 = 32;
490pub const MOVE_MOUNT_T_EMPTY_PATH: u32 = 64;
491pub const MOVE_MOUNT_SET_GROUP: u32 = 256;
492pub const MOVE_MOUNT__MASK: u32 = 375;
493pub const FSOPEN_CLOEXEC: u32 = 1;
494pub const FSPICK_CLOEXEC: u32 = 1;
495pub const FSPICK_SYMLINK_NOFOLLOW: u32 = 2;
496pub const FSPICK_NO_AUTOMOUNT: u32 = 4;
497pub const FSPICK_EMPTY_PATH: u32 = 8;
498pub const FSMOUNT_CLOEXEC: u32 = 1;
499pub const MOUNT_ATTR_RDONLY: u32 = 1;
500pub const MOUNT_ATTR_NOSUID: u32 = 2;
501pub const MOUNT_ATTR_NODEV: u32 = 4;
502pub const MOUNT_ATTR_NOEXEC: u32 = 8;
503pub const MOUNT_ATTR__ATIME: u32 = 112;
504pub const MOUNT_ATTR_RELATIME: u32 = 0;
505pub const MOUNT_ATTR_NOATIME: u32 = 16;
506pub const MOUNT_ATTR_STRICTATIME: u32 = 32;
507pub const MOUNT_ATTR_NODIRATIME: u32 = 128;
508pub const MOUNT_ATTR_IDMAP: u32 = 1048576;
509pub const MOUNT_ATTR_NOSYMFOLLOW: u32 = 2097152;
510pub const MOUNT_ATTR_SIZE_VER0: u32 = 32;
511pub const INR_OPEN_CUR: u32 = 1024;
512pub const INR_OPEN_MAX: u32 = 4096;
513pub const BLOCK_SIZE_BITS: u32 = 10;
514pub const BLOCK_SIZE: u32 = 1024;
515pub const SEEK_SET: u32 = 0;
516pub const SEEK_CUR: u32 = 1;
517pub const SEEK_END: u32 = 2;
518pub const SEEK_DATA: u32 = 3;
519pub const SEEK_HOLE: u32 = 4;
520pub const SEEK_MAX: u32 = 4;
521pub const RENAME_NOREPLACE: u32 = 1;
522pub const RENAME_EXCHANGE: u32 = 2;
523pub const RENAME_WHITEOUT: u32 = 4;
524pub const FILE_DEDUPE_RANGE_SAME: u32 = 0;
525pub const FILE_DEDUPE_RANGE_DIFFERS: u32 = 1;
526pub const NR_FILE: u32 = 8192;
527pub const FS_XFLAG_REALTIME: u32 = 1;
528pub const FS_XFLAG_PREALLOC: u32 = 2;
529pub const FS_XFLAG_IMMUTABLE: u32 = 8;
530pub const FS_XFLAG_APPEND: u32 = 16;
531pub const FS_XFLAG_SYNC: u32 = 32;
532pub const FS_XFLAG_NOATIME: u32 = 64;
533pub const FS_XFLAG_NODUMP: u32 = 128;
534pub const FS_XFLAG_RTINHERIT: u32 = 256;
535pub const FS_XFLAG_PROJINHERIT: u32 = 512;
536pub const FS_XFLAG_NOSYMLINKS: u32 = 1024;
537pub const FS_XFLAG_EXTSIZE: u32 = 2048;
538pub const FS_XFLAG_EXTSZINHERIT: u32 = 4096;
539pub const FS_XFLAG_NODEFRAG: u32 = 8192;
540pub const FS_XFLAG_FILESTREAM: u32 = 16384;
541pub const FS_XFLAG_DAX: u32 = 32768;
542pub const FS_XFLAG_COWEXTSIZE: u32 = 65536;
543pub const FS_XFLAG_HASATTR: u32 = 2147483648;
544pub const BMAP_IOCTL: u32 = 1;
545pub const FSLABEL_MAX: u32 = 256;
546pub const FS_SECRM_FL: u32 = 1;
547pub const FS_UNRM_FL: u32 = 2;
548pub const FS_COMPR_FL: u32 = 4;
549pub const FS_SYNC_FL: u32 = 8;
550pub const FS_IMMUTABLE_FL: u32 = 16;
551pub const FS_APPEND_FL: u32 = 32;
552pub const FS_NODUMP_FL: u32 = 64;
553pub const FS_NOATIME_FL: u32 = 128;
554pub const FS_DIRTY_FL: u32 = 256;
555pub const FS_COMPRBLK_FL: u32 = 512;
556pub const FS_NOCOMP_FL: u32 = 1024;
557pub const FS_ENCRYPT_FL: u32 = 2048;
558pub const FS_BTREE_FL: u32 = 4096;
559pub const FS_INDEX_FL: u32 = 4096;
560pub const FS_IMAGIC_FL: u32 = 8192;
561pub const FS_JOURNAL_DATA_FL: u32 = 16384;
562pub const FS_NOTAIL_FL: u32 = 32768;
563pub const FS_DIRSYNC_FL: u32 = 65536;
564pub const FS_TOPDIR_FL: u32 = 131072;
565pub const FS_HUGE_FILE_FL: u32 = 262144;
566pub const FS_EXTENT_FL: u32 = 524288;
567pub const FS_VERITY_FL: u32 = 1048576;
568pub const FS_EA_INODE_FL: u32 = 2097152;
569pub const FS_EOFBLOCKS_FL: u32 = 4194304;
570pub const FS_NOCOW_FL: u32 = 8388608;
571pub const FS_DAX_FL: u32 = 33554432;
572pub const FS_INLINE_DATA_FL: u32 = 268435456;
573pub const FS_PROJINHERIT_FL: u32 = 536870912;
574pub const FS_CASEFOLD_FL: u32 = 1073741824;
575pub const FS_RESERVED_FL: u32 = 2147483648;
576pub const FS_FL_USER_VISIBLE: u32 = 253951;
577pub const FS_FL_USER_MODIFIABLE: u32 = 229631;
578pub const SYNC_FILE_RANGE_WAIT_BEFORE: u32 = 1;
579pub const SYNC_FILE_RANGE_WRITE: u32 = 2;
580pub const SYNC_FILE_RANGE_WAIT_AFTER: u32 = 4;
581pub const SYNC_FILE_RANGE_WRITE_AND_WAIT: u32 = 7;
582pub const FUTEX_WAIT: u32 = 0;
583pub const FUTEX_WAKE: u32 = 1;
584pub const FUTEX_FD: u32 = 2;
585pub const FUTEX_REQUEUE: u32 = 3;
586pub const FUTEX_CMP_REQUEUE: u32 = 4;
587pub const FUTEX_WAKE_OP: u32 = 5;
588pub const FUTEX_LOCK_PI: u32 = 6;
589pub const FUTEX_UNLOCK_PI: u32 = 7;
590pub const FUTEX_TRYLOCK_PI: u32 = 8;
591pub const FUTEX_WAIT_BITSET: u32 = 9;
592pub const FUTEX_WAKE_BITSET: u32 = 10;
593pub const FUTEX_WAIT_REQUEUE_PI: u32 = 11;
594pub const FUTEX_CMP_REQUEUE_PI: u32 = 12;
595pub const FUTEX_LOCK_PI2: u32 = 13;
596pub const FUTEX_PRIVATE_FLAG: u32 = 128;
597pub const FUTEX_CLOCK_REALTIME: u32 = 256;
598pub const FUTEX_CMD_MASK: i32 = -385;
599pub const FUTEX_WAIT_PRIVATE: u32 = 128;
600pub const FUTEX_WAKE_PRIVATE: u32 = 129;
601pub const FUTEX_REQUEUE_PRIVATE: u32 = 131;
602pub const FUTEX_CMP_REQUEUE_PRIVATE: u32 = 132;
603pub const FUTEX_WAKE_OP_PRIVATE: u32 = 133;
604pub const FUTEX_LOCK_PI_PRIVATE: u32 = 134;
605pub const FUTEX_LOCK_PI2_PRIVATE: u32 = 141;
606pub const FUTEX_UNLOCK_PI_PRIVATE: u32 = 135;
607pub const FUTEX_TRYLOCK_PI_PRIVATE: u32 = 136;
608pub const FUTEX_WAIT_BITSET_PRIVATE: u32 = 137;
609pub const FUTEX_WAKE_BITSET_PRIVATE: u32 = 138;
610pub const FUTEX_WAIT_REQUEUE_PI_PRIVATE: u32 = 139;
611pub const FUTEX_CMP_REQUEUE_PI_PRIVATE: u32 = 140;
612pub const FUTEX_32: u32 = 2;
613pub const FUTEX_WAITV_MAX: u32 = 128;
614pub const FUTEX_WAITERS: u32 = 2147483648;
615pub const FUTEX_OWNER_DIED: u32 = 1073741824;
616pub const FUTEX_TID_MASK: u32 = 1073741823;
617pub const ROBUST_LIST_LIMIT: u32 = 2048;
618pub const FUTEX_BITSET_MATCH_ANY: u32 = 4294967295;
619pub const FUTEX_OP_SET: u32 = 0;
620pub const FUTEX_OP_ADD: u32 = 1;
621pub const FUTEX_OP_OR: u32 = 2;
622pub const FUTEX_OP_ANDN: u32 = 3;
623pub const FUTEX_OP_XOR: u32 = 4;
624pub const FUTEX_OP_OPARG_SHIFT: u32 = 8;
625pub const FUTEX_OP_CMP_EQ: u32 = 0;
626pub const FUTEX_OP_CMP_NE: u32 = 1;
627pub const FUTEX_OP_CMP_LT: u32 = 2;
628pub const FUTEX_OP_CMP_LE: u32 = 3;
629pub const FUTEX_OP_CMP_GT: u32 = 4;
630pub const FUTEX_OP_CMP_GE: u32 = 5;
631pub const __UAPI_DEF_IF_IFCONF: u32 = 1;
632pub const __UAPI_DEF_IF_IFMAP: u32 = 1;
633pub const __UAPI_DEF_IF_IFNAMSIZ: u32 = 1;
634pub const __UAPI_DEF_IF_IFREQ: u32 = 1;
635pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS: u32 = 1;
636pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO: u32 = 1;
637pub const __UAPI_DEF_IN_ADDR: u32 = 1;
638pub const __UAPI_DEF_IN_IPPROTO: u32 = 1;
639pub const __UAPI_DEF_IN_PKTINFO: u32 = 1;
640pub const __UAPI_DEF_IP_MREQ: u32 = 1;
641pub const __UAPI_DEF_SOCKADDR_IN: u32 = 1;
642pub const __UAPI_DEF_IN_CLASS: u32 = 1;
643pub const __UAPI_DEF_IN6_ADDR: u32 = 1;
644pub const __UAPI_DEF_IN6_ADDR_ALT: u32 = 1;
645pub const __UAPI_DEF_SOCKADDR_IN6: u32 = 1;
646pub const __UAPI_DEF_IPV6_MREQ: u32 = 1;
647pub const __UAPI_DEF_IPPROTO_V6: u32 = 1;
648pub const __UAPI_DEF_IPV6_OPTIONS: u32 = 1;
649pub const __UAPI_DEF_IN6_PKTINFO: u32 = 1;
650pub const __UAPI_DEF_IP6_MTUINFO: u32 = 1;
651pub const __UAPI_DEF_SOCKADDR_IPX: u32 = 1;
652pub const __UAPI_DEF_IPX_ROUTE_DEFINITION: u32 = 1;
653pub const __UAPI_DEF_IPX_INTERFACE_DEFINITION: u32 = 1;
654pub const __UAPI_DEF_IPX_CONFIG_DATA: u32 = 1;
655pub const __UAPI_DEF_IPX_ROUTE_DEF: u32 = 1;
656pub const __UAPI_DEF_XATTR: u32 = 1;
657pub const _K_SS_MAXSIZE: u32 = 128;
658pub const SOCK_SNDBUF_LOCK: u32 = 1;
659pub const SOCK_RCVBUF_LOCK: u32 = 2;
660pub const SOCK_BUF_LOCK_MASK: u32 = 3;
661pub const SOCK_TXREHASH_DEFAULT: u32 = 255;
662pub const SOCK_TXREHASH_DISABLED: u32 = 0;
663pub const SOCK_TXREHASH_ENABLED: u32 = 1;
664pub const IP_TOS: u32 = 1;
665pub const IP_TTL: u32 = 2;
666pub const IP_HDRINCL: u32 = 3;
667pub const IP_OPTIONS: u32 = 4;
668pub const IP_ROUTER_ALERT: u32 = 5;
669pub const IP_RECVOPTS: u32 = 6;
670pub const IP_RETOPTS: u32 = 7;
671pub const IP_PKTINFO: u32 = 8;
672pub const IP_PKTOPTIONS: u32 = 9;
673pub const IP_MTU_DISCOVER: u32 = 10;
674pub const IP_RECVERR: u32 = 11;
675pub const IP_RECVTTL: u32 = 12;
676pub const IP_RECVTOS: u32 = 13;
677pub const IP_MTU: u32 = 14;
678pub const IP_FREEBIND: u32 = 15;
679pub const IP_IPSEC_POLICY: u32 = 16;
680pub const IP_XFRM_POLICY: u32 = 17;
681pub const IP_PASSSEC: u32 = 18;
682pub const IP_TRANSPARENT: u32 = 19;
683pub const IP_RECVRETOPTS: u32 = 7;
684pub const IP_ORIGDSTADDR: u32 = 20;
685pub const IP_RECVORIGDSTADDR: u32 = 20;
686pub const IP_MINTTL: u32 = 21;
687pub const IP_NODEFRAG: u32 = 22;
688pub const IP_CHECKSUM: u32 = 23;
689pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24;
690pub const IP_RECVFRAGSIZE: u32 = 25;
691pub const IP_RECVERR_RFC4884: u32 = 26;
692pub const IP_PMTUDISC_DONT: u32 = 0;
693pub const IP_PMTUDISC_WANT: u32 = 1;
694pub const IP_PMTUDISC_DO: u32 = 2;
695pub const IP_PMTUDISC_PROBE: u32 = 3;
696pub const IP_PMTUDISC_INTERFACE: u32 = 4;
697pub const IP_PMTUDISC_OMIT: u32 = 5;
698pub const IP_MULTICAST_IF: u32 = 32;
699pub const IP_MULTICAST_TTL: u32 = 33;
700pub const IP_MULTICAST_LOOP: u32 = 34;
701pub const IP_ADD_MEMBERSHIP: u32 = 35;
702pub const IP_DROP_MEMBERSHIP: u32 = 36;
703pub const IP_UNBLOCK_SOURCE: u32 = 37;
704pub const IP_BLOCK_SOURCE: u32 = 38;
705pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
706pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
707pub const IP_MSFILTER: u32 = 41;
708pub const MCAST_JOIN_GROUP: u32 = 42;
709pub const MCAST_BLOCK_SOURCE: u32 = 43;
710pub const MCAST_UNBLOCK_SOURCE: u32 = 44;
711pub const MCAST_LEAVE_GROUP: u32 = 45;
712pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46;
713pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
714pub const MCAST_MSFILTER: u32 = 48;
715pub const IP_MULTICAST_ALL: u32 = 49;
716pub const IP_UNICAST_IF: u32 = 50;
717pub const IP_LOCAL_PORT_RANGE: u32 = 51;
718pub const MCAST_EXCLUDE: u32 = 0;
719pub const MCAST_INCLUDE: u32 = 1;
720pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
721pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
722pub const __SOCK_SIZE__: u32 = 16;
723pub const IN_CLASSA_NET: u32 = 4278190080;
724pub const IN_CLASSA_NSHIFT: u32 = 24;
725pub const IN_CLASSA_HOST: u32 = 16777215;
726pub const IN_CLASSA_MAX: u32 = 128;
727pub const IN_CLASSB_NET: u32 = 4294901760;
728pub const IN_CLASSB_NSHIFT: u32 = 16;
729pub const IN_CLASSB_HOST: u32 = 65535;
730pub const IN_CLASSB_MAX: u32 = 65536;
731pub const IN_CLASSC_NET: u32 = 4294967040;
732pub const IN_CLASSC_NSHIFT: u32 = 8;
733pub const IN_CLASSC_HOST: u32 = 255;
734pub const IN_MULTICAST_NET: u32 = 3758096384;
735pub const IN_CLASSE_NET: u32 = 4294967295;
736pub const IN_CLASSE_NSHIFT: u32 = 0;
737pub const IN_LOOPBACKNET: u32 = 127;
738pub const INADDR_LOOPBACK: u32 = 2130706433;
739pub const INADDR_UNSPEC_GROUP: u32 = 3758096384;
740pub const INADDR_ALLHOSTS_GROUP: u32 = 3758096385;
741pub const INADDR_ALLRTRS_GROUP: u32 = 3758096386;
742pub const INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490;
743pub const INADDR_MAX_LOCAL_GROUP: u32 = 3758096639;
744pub const __LITTLE_ENDIAN: u32 = 1234;
745pub const IN_ACCESS: u32 = 1;
746pub const IN_MODIFY: u32 = 2;
747pub const IN_ATTRIB: u32 = 4;
748pub const IN_CLOSE_WRITE: u32 = 8;
749pub const IN_CLOSE_NOWRITE: u32 = 16;
750pub const IN_OPEN: u32 = 32;
751pub const IN_MOVED_FROM: u32 = 64;
752pub const IN_MOVED_TO: u32 = 128;
753pub const IN_CREATE: u32 = 256;
754pub const IN_DELETE: u32 = 512;
755pub const IN_DELETE_SELF: u32 = 1024;
756pub const IN_MOVE_SELF: u32 = 2048;
757pub const IN_UNMOUNT: u32 = 8192;
758pub const IN_Q_OVERFLOW: u32 = 16384;
759pub const IN_IGNORED: u32 = 32768;
760pub const IN_CLOSE: u32 = 24;
761pub const IN_MOVE: u32 = 192;
762pub const IN_ONLYDIR: u32 = 16777216;
763pub const IN_DONT_FOLLOW: u32 = 33554432;
764pub const IN_EXCL_UNLINK: u32 = 67108864;
765pub const IN_MASK_CREATE: u32 = 268435456;
766pub const IN_MASK_ADD: u32 = 536870912;
767pub const IN_ISDIR: u32 = 1073741824;
768pub const IN_ONESHOT: u32 = 2147483648;
769pub const IN_ALL_EVENTS: u32 = 4095;
770pub const IN_CLOEXEC: u32 = 524288;
771pub const IN_NONBLOCK: u32 = 2048;
772pub const IPTOS_TOS_MASK: u32 = 30;
773pub const IPTOS_LOWDELAY: u32 = 16;
774pub const IPTOS_THROUGHPUT: u32 = 8;
775pub const IPTOS_RELIABILITY: u32 = 4;
776pub const IPTOS_MINCOST: u32 = 2;
777pub const IPTOS_PREC_MASK: u32 = 224;
778pub const IPTOS_PREC_NETCONTROL: u32 = 224;
779pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192;
780pub const IPTOS_PREC_CRITIC_ECP: u32 = 160;
781pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128;
782pub const IPTOS_PREC_FLASH: u32 = 96;
783pub const IPTOS_PREC_IMMEDIATE: u32 = 64;
784pub const IPTOS_PREC_PRIORITY: u32 = 32;
785pub const IPTOS_PREC_ROUTINE: u32 = 0;
786pub const IPOPT_COPY: u32 = 128;
787pub const IPOPT_CLASS_MASK: u32 = 96;
788pub const IPOPT_NUMBER_MASK: u32 = 31;
789pub const IPOPT_CONTROL: u32 = 0;
790pub const IPOPT_RESERVED1: u32 = 32;
791pub const IPOPT_MEASUREMENT: u32 = 64;
792pub const IPOPT_RESERVED2: u32 = 96;
793pub const IPOPT_END: u32 = 0;
794pub const IPOPT_NOOP: u32 = 1;
795pub const IPOPT_SEC: u32 = 130;
796pub const IPOPT_LSRR: u32 = 131;
797pub const IPOPT_TIMESTAMP: u32 = 68;
798pub const IPOPT_CIPSO: u32 = 134;
799pub const IPOPT_RR: u32 = 7;
800pub const IPOPT_SID: u32 = 136;
801pub const IPOPT_SSRR: u32 = 137;
802pub const IPOPT_RA: u32 = 148;
803pub const IPVERSION: u32 = 4;
804pub const MAXTTL: u32 = 255;
805pub const IPDEFTTL: u32 = 64;
806pub const IPOPT_OPTVAL: u32 = 0;
807pub const IPOPT_OLEN: u32 = 1;
808pub const IPOPT_OFFSET: u32 = 2;
809pub const IPOPT_MINOFF: u32 = 4;
810pub const MAX_IPOPTLEN: u32 = 40;
811pub const IPOPT_NOP: u32 = 1;
812pub const IPOPT_EOL: u32 = 0;
813pub const IPOPT_TS: u32 = 68;
814pub const IPOPT_TS_TSONLY: u32 = 0;
815pub const IPOPT_TS_TSANDADDR: u32 = 1;
816pub const IPOPT_TS_PRESPEC: u32 = 3;
817pub const IPV4_BEET_PHMAXLEN: u32 = 8;
818pub const IPV6_FL_A_GET: u32 = 0;
819pub const IPV6_FL_A_PUT: u32 = 1;
820pub const IPV6_FL_A_RENEW: u32 = 2;
821pub const IPV6_FL_F_CREATE: u32 = 1;
822pub const IPV6_FL_F_EXCL: u32 = 2;
823pub const IPV6_FL_F_REFLECT: u32 = 4;
824pub const IPV6_FL_F_REMOTE: u32 = 8;
825pub const IPV6_FL_S_NONE: u32 = 0;
826pub const IPV6_FL_S_EXCL: u32 = 1;
827pub const IPV6_FL_S_PROCESS: u32 = 2;
828pub const IPV6_FL_S_USER: u32 = 3;
829pub const IPV6_FL_S_ANY: u32 = 255;
830pub const IPV6_FLOWINFO_FLOWLABEL: u32 = 1048575;
831pub const IPV6_FLOWINFO_PRIORITY: u32 = 267386880;
832pub const IPV6_PRIORITY_UNCHARACTERIZED: u32 = 0;
833pub const IPV6_PRIORITY_FILLER: u32 = 256;
834pub const IPV6_PRIORITY_UNATTENDED: u32 = 512;
835pub const IPV6_PRIORITY_RESERVED1: u32 = 768;
836pub const IPV6_PRIORITY_BULK: u32 = 1024;
837pub const IPV6_PRIORITY_RESERVED2: u32 = 1280;
838pub const IPV6_PRIORITY_INTERACTIVE: u32 = 1536;
839pub const IPV6_PRIORITY_CONTROL: u32 = 1792;
840pub const IPV6_PRIORITY_8: u32 = 2048;
841pub const IPV6_PRIORITY_9: u32 = 2304;
842pub const IPV6_PRIORITY_10: u32 = 2560;
843pub const IPV6_PRIORITY_11: u32 = 2816;
844pub const IPV6_PRIORITY_12: u32 = 3072;
845pub const IPV6_PRIORITY_13: u32 = 3328;
846pub const IPV6_PRIORITY_14: u32 = 3584;
847pub const IPV6_PRIORITY_15: u32 = 3840;
848pub const IPPROTO_HOPOPTS: u32 = 0;
849pub const IPPROTO_ROUTING: u32 = 43;
850pub const IPPROTO_FRAGMENT: u32 = 44;
851pub const IPPROTO_ICMPV6: u32 = 58;
852pub const IPPROTO_NONE: u32 = 59;
853pub const IPPROTO_DSTOPTS: u32 = 60;
854pub const IPPROTO_MH: u32 = 135;
855pub const IPV6_TLV_PAD1: u32 = 0;
856pub const IPV6_TLV_PADN: u32 = 1;
857pub const IPV6_TLV_ROUTERALERT: u32 = 5;
858pub const IPV6_TLV_CALIPSO: u32 = 7;
859pub const IPV6_TLV_IOAM: u32 = 49;
860pub const IPV6_TLV_JUMBO: u32 = 194;
861pub const IPV6_TLV_HAO: u32 = 201;
862pub const IPV6_ADDRFORM: u32 = 1;
863pub const IPV6_2292PKTINFO: u32 = 2;
864pub const IPV6_2292HOPOPTS: u32 = 3;
865pub const IPV6_2292DSTOPTS: u32 = 4;
866pub const IPV6_2292RTHDR: u32 = 5;
867pub const IPV6_2292PKTOPTIONS: u32 = 6;
868pub const IPV6_CHECKSUM: u32 = 7;
869pub const IPV6_2292HOPLIMIT: u32 = 8;
870pub const IPV6_NEXTHOP: u32 = 9;
871pub const IPV6_AUTHHDR: u32 = 10;
872pub const IPV6_FLOWINFO: u32 = 11;
873pub const IPV6_UNICAST_HOPS: u32 = 16;
874pub const IPV6_MULTICAST_IF: u32 = 17;
875pub const IPV6_MULTICAST_HOPS: u32 = 18;
876pub const IPV6_MULTICAST_LOOP: u32 = 19;
877pub const IPV6_ADD_MEMBERSHIP: u32 = 20;
878pub const IPV6_DROP_MEMBERSHIP: u32 = 21;
879pub const IPV6_ROUTER_ALERT: u32 = 22;
880pub const IPV6_MTU_DISCOVER: u32 = 23;
881pub const IPV6_MTU: u32 = 24;
882pub const IPV6_RECVERR: u32 = 25;
883pub const IPV6_V6ONLY: u32 = 26;
884pub const IPV6_JOIN_ANYCAST: u32 = 27;
885pub const IPV6_LEAVE_ANYCAST: u32 = 28;
886pub const IPV6_MULTICAST_ALL: u32 = 29;
887pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30;
888pub const IPV6_RECVERR_RFC4884: u32 = 31;
889pub const IPV6_PMTUDISC_DONT: u32 = 0;
890pub const IPV6_PMTUDISC_WANT: u32 = 1;
891pub const IPV6_PMTUDISC_DO: u32 = 2;
892pub const IPV6_PMTUDISC_PROBE: u32 = 3;
893pub const IPV6_PMTUDISC_INTERFACE: u32 = 4;
894pub const IPV6_PMTUDISC_OMIT: u32 = 5;
895pub const IPV6_FLOWLABEL_MGR: u32 = 32;
896pub const IPV6_FLOWINFO_SEND: u32 = 33;
897pub const IPV6_IPSEC_POLICY: u32 = 34;
898pub const IPV6_XFRM_POLICY: u32 = 35;
899pub const IPV6_HDRINCL: u32 = 36;
900pub const IPV6_RECVPKTINFO: u32 = 49;
901pub const IPV6_PKTINFO: u32 = 50;
902pub const IPV6_RECVHOPLIMIT: u32 = 51;
903pub const IPV6_HOPLIMIT: u32 = 52;
904pub const IPV6_RECVHOPOPTS: u32 = 53;
905pub const IPV6_HOPOPTS: u32 = 54;
906pub const IPV6_RTHDRDSTOPTS: u32 = 55;
907pub const IPV6_RECVRTHDR: u32 = 56;
908pub const IPV6_RTHDR: u32 = 57;
909pub const IPV6_RECVDSTOPTS: u32 = 58;
910pub const IPV6_DSTOPTS: u32 = 59;
911pub const IPV6_RECVPATHMTU: u32 = 60;
912pub const IPV6_PATHMTU: u32 = 61;
913pub const IPV6_DONTFRAG: u32 = 62;
914pub const IPV6_RECVTCLASS: u32 = 66;
915pub const IPV6_TCLASS: u32 = 67;
916pub const IPV6_AUTOFLOWLABEL: u32 = 70;
917pub const IPV6_ADDR_PREFERENCES: u32 = 72;
918pub const IPV6_PREFER_SRC_TMP: u32 = 1;
919pub const IPV6_PREFER_SRC_PUBLIC: u32 = 2;
920pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: u32 = 256;
921pub const IPV6_PREFER_SRC_COA: u32 = 4;
922pub const IPV6_PREFER_SRC_HOME: u32 = 1024;
923pub const IPV6_PREFER_SRC_CGA: u32 = 8;
924pub const IPV6_PREFER_SRC_NONCGA: u32 = 2048;
925pub const IPV6_MINHOPCOUNT: u32 = 73;
926pub const IPV6_ORIGDSTADDR: u32 = 74;
927pub const IPV6_RECVORIGDSTADDR: u32 = 74;
928pub const IPV6_TRANSPARENT: u32 = 75;
929pub const IPV6_UNICAST_IF: u32 = 76;
930pub const IPV6_RECVFRAGSIZE: u32 = 77;
931pub const IPV6_FREEBIND: u32 = 78;
932pub const IPV6_MIN_MTU: u32 = 1280;
933pub const IPV6_SRCRT_STRICT: u32 = 1;
934pub const IPV6_SRCRT_TYPE_0: u32 = 0;
935pub const IPV6_SRCRT_TYPE_2: u32 = 2;
936pub const IPV6_SRCRT_TYPE_3: u32 = 3;
937pub const IPV6_SRCRT_TYPE_4: u32 = 4;
938pub const IPV6_OPT_ROUTERALERT_MLD: u32 = 0;
939pub const ADFS_SUPER_MAGIC: u32 = 44533;
940pub const AFFS_SUPER_MAGIC: u32 = 44543;
941pub const AFS_SUPER_MAGIC: u32 = 1397113167;
942pub const AUTOFS_SUPER_MAGIC: u32 = 391;
943pub const CEPH_SUPER_MAGIC: u32 = 12805120;
944pub const CODA_SUPER_MAGIC: u32 = 1937076805;
945pub const CRAMFS_MAGIC: u32 = 684539205;
946pub const CRAMFS_MAGIC_WEND: u32 = 1161678120;
947pub const DEBUGFS_MAGIC: u32 = 1684170528;
948pub const SECURITYFS_MAGIC: u32 = 1935894131;
949pub const SELINUX_MAGIC: u32 = 4185718668;
950pub const SMACK_MAGIC: u32 = 1128357203;
951pub const RAMFS_MAGIC: u32 = 2240043254;
952pub const TMPFS_MAGIC: u32 = 16914836;
953pub const HUGETLBFS_MAGIC: u32 = 2508478710;
954pub const SQUASHFS_MAGIC: u32 = 1936814952;
955pub const ECRYPTFS_SUPER_MAGIC: u32 = 61791;
956pub const EFS_SUPER_MAGIC: u32 = 4278867;
957pub const EROFS_SUPER_MAGIC_V1: u32 = 3774210530;
958pub const EXT2_SUPER_MAGIC: u32 = 61267;
959pub const EXT3_SUPER_MAGIC: u32 = 61267;
960pub const XENFS_SUPER_MAGIC: u32 = 2881100148;
961pub const EXT4_SUPER_MAGIC: u32 = 61267;
962pub const BTRFS_SUPER_MAGIC: u32 = 2435016766;
963pub const NILFS_SUPER_MAGIC: u32 = 13364;
964pub const F2FS_SUPER_MAGIC: u32 = 4076150800;
965pub const HPFS_SUPER_MAGIC: u32 = 4187351113;
966pub const ISOFS_SUPER_MAGIC: u32 = 38496;
967pub const JFFS2_SUPER_MAGIC: u32 = 29366;
968pub const XFS_SUPER_MAGIC: u32 = 1481003842;
969pub const PSTOREFS_MAGIC: u32 = 1634035564;
970pub const EFIVARFS_MAGIC: u32 = 3730735588;
971pub const HOSTFS_SUPER_MAGIC: u32 = 12648430;
972pub const OVERLAYFS_SUPER_MAGIC: u32 = 2035054128;
973pub const FUSE_SUPER_MAGIC: u32 = 1702057286;
974pub const MINIX_SUPER_MAGIC: u32 = 4991;
975pub const MINIX_SUPER_MAGIC2: u32 = 5007;
976pub const MINIX2_SUPER_MAGIC: u32 = 9320;
977pub const MINIX2_SUPER_MAGIC2: u32 = 9336;
978pub const MINIX3_SUPER_MAGIC: u32 = 19802;
979pub const MSDOS_SUPER_MAGIC: u32 = 19780;
980pub const EXFAT_SUPER_MAGIC: u32 = 538032816;
981pub const NCP_SUPER_MAGIC: u32 = 22092;
982pub const NFS_SUPER_MAGIC: u32 = 26985;
983pub const OCFS2_SUPER_MAGIC: u32 = 1952539503;
984pub const OPENPROM_SUPER_MAGIC: u32 = 40865;
985pub const QNX4_SUPER_MAGIC: u32 = 47;
986pub const QNX6_SUPER_MAGIC: u32 = 1746473250;
987pub const AFS_FS_MAGIC: u32 = 1799439955;
988pub const REISERFS_SUPER_MAGIC: u32 = 1382369651;
989pub const REISERFS_SUPER_MAGIC_STRING: &[u8; 9usize] = b"ReIsErFs\0";
990pub const REISER2FS_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr2Fs\0";
991pub const REISER2FS_JR_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr3Fs\0";
992pub const SMB_SUPER_MAGIC: u32 = 20859;
993pub const CIFS_SUPER_MAGIC: u32 = 4283649346;
994pub const SMB2_SUPER_MAGIC: u32 = 4266872130;
995pub const CGROUP_SUPER_MAGIC: u32 = 2613483;
996pub const CGROUP2_SUPER_MAGIC: u32 = 1667723888;
997pub const RDTGROUP_SUPER_MAGIC: u32 = 124082209;
998pub const STACK_END_MAGIC: u32 = 1470918301;
999pub const TRACEFS_MAGIC: u32 = 1953653091;
1000pub const V9FS_MAGIC: u32 = 16914839;
1001pub const BDEVFS_MAGIC: u32 = 1650746742;
1002pub const DAXFS_MAGIC: u32 = 1684300152;
1003pub const BINFMTFS_MAGIC: u32 = 1112100429;
1004pub const DEVPTS_SUPER_MAGIC: u32 = 7377;
1005pub const BINDERFS_SUPER_MAGIC: u32 = 1819242352;
1006pub const FUTEXFS_SUPER_MAGIC: u32 = 195894762;
1007pub const PIPEFS_MAGIC: u32 = 1346981957;
1008pub const PROC_SUPER_MAGIC: u32 = 40864;
1009pub const SOCKFS_MAGIC: u32 = 1397703499;
1010pub const SYSFS_MAGIC: u32 = 1650812274;
1011pub const USBDEVICE_SUPER_MAGIC: u32 = 40866;
1012pub const MTD_INODE_FS_MAGIC: u32 = 288389204;
1013pub const ANON_INODE_FS_MAGIC: u32 = 151263540;
1014pub const BTRFS_TEST_MAGIC: u32 = 1936880249;
1015pub const NSFS_MAGIC: u32 = 1853056627;
1016pub const BPF_FS_MAGIC: u32 = 3405662737;
1017pub const AAFS_MAGIC: u32 = 1513908720;
1018pub const ZONEFS_MAGIC: u32 = 1515144787;
1019pub const UDF_SUPER_MAGIC: u32 = 352400198;
1020pub const DMA_BUF_MAGIC: u32 = 1145913666;
1021pub const DEVMEM_MAGIC: u32 = 1162691661;
1022pub const SECRETMEM_MAGIC: u32 = 1397048141;
1023pub const MAP_32BIT: u32 = 64;
1024pub const PROT_READ: u32 = 1;
1025pub const PROT_WRITE: u32 = 2;
1026pub const PROT_EXEC: u32 = 4;
1027pub const PROT_SEM: u32 = 8;
1028pub const PROT_NONE: u32 = 0;
1029pub const PROT_GROWSDOWN: u32 = 16777216;
1030pub const PROT_GROWSUP: u32 = 33554432;
1031pub const MAP_TYPE: u32 = 15;
1032pub const MAP_FIXED: u32 = 16;
1033pub const MAP_ANONYMOUS: u32 = 32;
1034pub const MAP_POPULATE: u32 = 32768;
1035pub const MAP_NONBLOCK: u32 = 65536;
1036pub const MAP_STACK: u32 = 131072;
1037pub const MAP_HUGETLB: u32 = 262144;
1038pub const MAP_SYNC: u32 = 524288;
1039pub const MAP_FIXED_NOREPLACE: u32 = 1048576;
1040pub const MAP_UNINITIALIZED: u32 = 67108864;
1041pub const MLOCK_ONFAULT: u32 = 1;
1042pub const MS_ASYNC: u32 = 1;
1043pub const MS_INVALIDATE: u32 = 2;
1044pub const MS_SYNC: u32 = 4;
1045pub const MADV_NORMAL: u32 = 0;
1046pub const MADV_RANDOM: u32 = 1;
1047pub const MADV_SEQUENTIAL: u32 = 2;
1048pub const MADV_WILLNEED: u32 = 3;
1049pub const MADV_DONTNEED: u32 = 4;
1050pub const MADV_FREE: u32 = 8;
1051pub const MADV_REMOVE: u32 = 9;
1052pub const MADV_DONTFORK: u32 = 10;
1053pub const MADV_DOFORK: u32 = 11;
1054pub const MADV_HWPOISON: u32 = 100;
1055pub const MADV_SOFT_OFFLINE: u32 = 101;
1056pub const MADV_MERGEABLE: u32 = 12;
1057pub const MADV_UNMERGEABLE: u32 = 13;
1058pub const MADV_HUGEPAGE: u32 = 14;
1059pub const MADV_NOHUGEPAGE: u32 = 15;
1060pub const MADV_DONTDUMP: u32 = 16;
1061pub const MADV_DODUMP: u32 = 17;
1062pub const MADV_WIPEONFORK: u32 = 18;
1063pub const MADV_KEEPONFORK: u32 = 19;
1064pub const MADV_COLD: u32 = 20;
1065pub const MADV_PAGEOUT: u32 = 21;
1066pub const MADV_POPULATE_READ: u32 = 22;
1067pub const MADV_POPULATE_WRITE: u32 = 23;
1068pub const MADV_DONTNEED_LOCKED: u32 = 24;
1069pub const MADV_COLLAPSE: u32 = 25;
1070pub const MAP_FILE: u32 = 0;
1071pub const PKEY_DISABLE_ACCESS: u32 = 1;
1072pub const PKEY_DISABLE_WRITE: u32 = 2;
1073pub const PKEY_ACCESS_MASK: u32 = 3;
1074pub const MAP_GROWSDOWN: u32 = 256;
1075pub const MAP_DENYWRITE: u32 = 2048;
1076pub const MAP_EXECUTABLE: u32 = 4096;
1077pub const MAP_LOCKED: u32 = 8192;
1078pub const MAP_NORESERVE: u32 = 16384;
1079pub const MCL_CURRENT: u32 = 1;
1080pub const MCL_FUTURE: u32 = 2;
1081pub const MCL_ONFAULT: u32 = 4;
1082pub const HUGETLB_FLAG_ENCODE_SHIFT: u32 = 26;
1083pub const HUGETLB_FLAG_ENCODE_MASK: u32 = 63;
1084pub const HUGETLB_FLAG_ENCODE_16KB: u32 = 939524096;
1085pub const HUGETLB_FLAG_ENCODE_64KB: u32 = 1073741824;
1086pub const HUGETLB_FLAG_ENCODE_512KB: u32 = 1275068416;
1087pub const HUGETLB_FLAG_ENCODE_1MB: u32 = 1342177280;
1088pub const HUGETLB_FLAG_ENCODE_2MB: u32 = 1409286144;
1089pub const HUGETLB_FLAG_ENCODE_8MB: u32 = 1543503872;
1090pub const HUGETLB_FLAG_ENCODE_16MB: u32 = 1610612736;
1091pub const HUGETLB_FLAG_ENCODE_32MB: u32 = 1677721600;
1092pub const HUGETLB_FLAG_ENCODE_256MB: u32 = 1879048192;
1093pub const HUGETLB_FLAG_ENCODE_512MB: u32 = 1946157056;
1094pub const HUGETLB_FLAG_ENCODE_1GB: u32 = 2013265920;
1095pub const HUGETLB_FLAG_ENCODE_2GB: u32 = 2080374784;
1096pub const HUGETLB_FLAG_ENCODE_16GB: u32 = 2281701376;
1097pub const MREMAP_MAYMOVE: u32 = 1;
1098pub const MREMAP_FIXED: u32 = 2;
1099pub const MREMAP_DONTUNMAP: u32 = 4;
1100pub const OVERCOMMIT_GUESS: u32 = 0;
1101pub const OVERCOMMIT_ALWAYS: u32 = 1;
1102pub const OVERCOMMIT_NEVER: u32 = 2;
1103pub const MAP_SHARED: u32 = 1;
1104pub const MAP_PRIVATE: u32 = 2;
1105pub const MAP_SHARED_VALIDATE: u32 = 3;
1106pub const MAP_HUGE_SHIFT: u32 = 26;
1107pub const MAP_HUGE_MASK: u32 = 63;
1108pub const MAP_HUGE_16KB: u32 = 939524096;
1109pub const MAP_HUGE_64KB: u32 = 1073741824;
1110pub const MAP_HUGE_512KB: u32 = 1275068416;
1111pub const MAP_HUGE_1MB: u32 = 1342177280;
1112pub const MAP_HUGE_2MB: u32 = 1409286144;
1113pub const MAP_HUGE_8MB: u32 = 1543503872;
1114pub const MAP_HUGE_16MB: u32 = 1610612736;
1115pub const MAP_HUGE_32MB: u32 = 1677721600;
1116pub const MAP_HUGE_256MB: u32 = 1879048192;
1117pub const MAP_HUGE_512MB: u32 = 1946157056;
1118pub const MAP_HUGE_1GB: u32 = 2013265920;
1119pub const MAP_HUGE_2GB: u32 = 2080374784;
1120pub const MAP_HUGE_16GB: u32 = 2281701376;
1121pub const SIOCGSTAMP_OLD: u32 = 35078;
1122pub const SIOCGSTAMPNS_OLD: u32 = 35079;
1123pub const SOL_SOCKET: u32 = 1;
1124pub const SO_DEBUG: u32 = 1;
1125pub const SO_REUSEADDR: u32 = 2;
1126pub const SO_TYPE: u32 = 3;
1127pub const SO_ERROR: u32 = 4;
1128pub const SO_DONTROUTE: u32 = 5;
1129pub const SO_BROADCAST: u32 = 6;
1130pub const SO_SNDBUF: u32 = 7;
1131pub const SO_RCVBUF: u32 = 8;
1132pub const SO_SNDBUFFORCE: u32 = 32;
1133pub const SO_RCVBUFFORCE: u32 = 33;
1134pub const SO_KEEPALIVE: u32 = 9;
1135pub const SO_OOBINLINE: u32 = 10;
1136pub const SO_NO_CHECK: u32 = 11;
1137pub const SO_PRIORITY: u32 = 12;
1138pub const SO_LINGER: u32 = 13;
1139pub const SO_BSDCOMPAT: u32 = 14;
1140pub const SO_REUSEPORT: u32 = 15;
1141pub const SO_PASSCRED: u32 = 16;
1142pub const SO_PEERCRED: u32 = 17;
1143pub const SO_RCVLOWAT: u32 = 18;
1144pub const SO_SNDLOWAT: u32 = 19;
1145pub const SO_RCVTIMEO_OLD: u32 = 20;
1146pub const SO_SNDTIMEO_OLD: u32 = 21;
1147pub const SO_SECURITY_AUTHENTICATION: u32 = 22;
1148pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23;
1149pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24;
1150pub const SO_BINDTODEVICE: u32 = 25;
1151pub const SO_ATTACH_FILTER: u32 = 26;
1152pub const SO_DETACH_FILTER: u32 = 27;
1153pub const SO_GET_FILTER: u32 = 26;
1154pub const SO_PEERNAME: u32 = 28;
1155pub const SO_ACCEPTCONN: u32 = 30;
1156pub const SO_PEERSEC: u32 = 31;
1157pub const SO_PASSSEC: u32 = 34;
1158pub const SO_MARK: u32 = 36;
1159pub const SO_PROTOCOL: u32 = 38;
1160pub const SO_DOMAIN: u32 = 39;
1161pub const SO_RXQ_OVFL: u32 = 40;
1162pub const SO_WIFI_STATUS: u32 = 41;
1163pub const SCM_WIFI_STATUS: u32 = 41;
1164pub const SO_PEEK_OFF: u32 = 42;
1165pub const SO_NOFCS: u32 = 43;
1166pub const SO_LOCK_FILTER: u32 = 44;
1167pub const SO_SELECT_ERR_QUEUE: u32 = 45;
1168pub const SO_BUSY_POLL: u32 = 46;
1169pub const SO_MAX_PACING_RATE: u32 = 47;
1170pub const SO_BPF_EXTENSIONS: u32 = 48;
1171pub const SO_INCOMING_CPU: u32 = 49;
1172pub const SO_ATTACH_BPF: u32 = 50;
1173pub const SO_DETACH_BPF: u32 = 27;
1174pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51;
1175pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52;
1176pub const SO_CNX_ADVICE: u32 = 53;
1177pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54;
1178pub const SO_MEMINFO: u32 = 55;
1179pub const SO_INCOMING_NAPI_ID: u32 = 56;
1180pub const SO_COOKIE: u32 = 57;
1181pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58;
1182pub const SO_PEERGROUPS: u32 = 59;
1183pub const SO_ZEROCOPY: u32 = 60;
1184pub const SO_TXTIME: u32 = 61;
1185pub const SCM_TXTIME: u32 = 61;
1186pub const SO_BINDTOIFINDEX: u32 = 62;
1187pub const SO_TIMESTAMP_OLD: u32 = 29;
1188pub const SO_TIMESTAMPNS_OLD: u32 = 35;
1189pub const SO_TIMESTAMPING_OLD: u32 = 37;
1190pub const SO_TIMESTAMP_NEW: u32 = 63;
1191pub const SO_TIMESTAMPNS_NEW: u32 = 64;
1192pub const SO_TIMESTAMPING_NEW: u32 = 65;
1193pub const SO_RCVTIMEO_NEW: u32 = 66;
1194pub const SO_SNDTIMEO_NEW: u32 = 67;
1195pub const SO_DETACH_REUSEPORT_BPF: u32 = 68;
1196pub const SO_PREFER_BUSY_POLL: u32 = 69;
1197pub const SO_BUSY_POLL_BUDGET: u32 = 70;
1198pub const SO_NETNS_COOKIE: u32 = 71;
1199pub const SO_BUF_LOCK: u32 = 72;
1200pub const SO_RESERVE_MEM: u32 = 73;
1201pub const SO_TXREHASH: u32 = 74;
1202pub const SO_RCVMARK: u32 = 75;
1203pub const SO_TIMESTAMP: u32 = 29;
1204pub const SO_TIMESTAMPNS: u32 = 35;
1205pub const SO_TIMESTAMPING: u32 = 37;
1206pub const SO_RCVTIMEO: u32 = 20;
1207pub const SO_SNDTIMEO: u32 = 21;
1208pub const SCM_TIMESTAMP: u32 = 29;
1209pub const SCM_TIMESTAMPNS: u32 = 35;
1210pub const SCM_TIMESTAMPING: u32 = 37;
1211pub const SYS_SOCKET: u32 = 1;
1212pub const SYS_BIND: u32 = 2;
1213pub const SYS_CONNECT: u32 = 3;
1214pub const SYS_LISTEN: u32 = 4;
1215pub const SYS_ACCEPT: u32 = 5;
1216pub const SYS_GETSOCKNAME: u32 = 6;
1217pub const SYS_GETPEERNAME: u32 = 7;
1218pub const SYS_SOCKETPAIR: u32 = 8;
1219pub const SYS_SEND: u32 = 9;
1220pub const SYS_RECV: u32 = 10;
1221pub const SYS_SENDTO: u32 = 11;
1222pub const SYS_RECVFROM: u32 = 12;
1223pub const SYS_SHUTDOWN: u32 = 13;
1224pub const SYS_SETSOCKOPT: u32 = 14;
1225pub const SYS_GETSOCKOPT: u32 = 15;
1226pub const SYS_SENDMSG: u32 = 16;
1227pub const SYS_RECVMSG: u32 = 17;
1228pub const SYS_ACCEPT4: u32 = 18;
1229pub const SYS_RECVMMSG: u32 = 19;
1230pub const SYS_SENDMMSG: u32 = 20;
1231pub const __SO_ACCEPTCON: u32 = 65536;
1232pub const POLLIN: u32 = 1;
1233pub const POLLPRI: u32 = 2;
1234pub const POLLOUT: u32 = 4;
1235pub const POLLERR: u32 = 8;
1236pub const POLLHUP: u32 = 16;
1237pub const POLLNVAL: u32 = 32;
1238pub const POLLRDNORM: u32 = 64;
1239pub const POLLRDBAND: u32 = 128;
1240pub const POLLWRNORM: u32 = 256;
1241pub const POLLWRBAND: u32 = 512;
1242pub const POLLMSG: u32 = 1024;
1243pub const POLLREMOVE: u32 = 4096;
1244pub const POLLRDHUP: u32 = 8192;
1245pub const PR_SET_PDEATHSIG: u32 = 1;
1246pub const PR_GET_PDEATHSIG: u32 = 2;
1247pub const PR_GET_DUMPABLE: u32 = 3;
1248pub const PR_SET_DUMPABLE: u32 = 4;
1249pub const PR_GET_UNALIGN: u32 = 5;
1250pub const PR_SET_UNALIGN: u32 = 6;
1251pub const PR_UNALIGN_NOPRINT: u32 = 1;
1252pub const PR_UNALIGN_SIGBUS: u32 = 2;
1253pub const PR_GET_KEEPCAPS: u32 = 7;
1254pub const PR_SET_KEEPCAPS: u32 = 8;
1255pub const PR_GET_FPEMU: u32 = 9;
1256pub const PR_SET_FPEMU: u32 = 10;
1257pub const PR_FPEMU_NOPRINT: u32 = 1;
1258pub const PR_FPEMU_SIGFPE: u32 = 2;
1259pub const PR_GET_FPEXC: u32 = 11;
1260pub const PR_SET_FPEXC: u32 = 12;
1261pub const PR_FP_EXC_SW_ENABLE: u32 = 128;
1262pub const PR_FP_EXC_DIV: u32 = 65536;
1263pub const PR_FP_EXC_OVF: u32 = 131072;
1264pub const PR_FP_EXC_UND: u32 = 262144;
1265pub const PR_FP_EXC_RES: u32 = 524288;
1266pub const PR_FP_EXC_INV: u32 = 1048576;
1267pub const PR_FP_EXC_DISABLED: u32 = 0;
1268pub const PR_FP_EXC_NONRECOV: u32 = 1;
1269pub const PR_FP_EXC_ASYNC: u32 = 2;
1270pub const PR_FP_EXC_PRECISE: u32 = 3;
1271pub const PR_GET_TIMING: u32 = 13;
1272pub const PR_SET_TIMING: u32 = 14;
1273pub const PR_TIMING_STATISTICAL: u32 = 0;
1274pub const PR_TIMING_TIMESTAMP: u32 = 1;
1275pub const PR_SET_NAME: u32 = 15;
1276pub const PR_GET_NAME: u32 = 16;
1277pub const PR_GET_ENDIAN: u32 = 19;
1278pub const PR_SET_ENDIAN: u32 = 20;
1279pub const PR_ENDIAN_BIG: u32 = 0;
1280pub const PR_ENDIAN_LITTLE: u32 = 1;
1281pub const PR_ENDIAN_PPC_LITTLE: u32 = 2;
1282pub const PR_GET_SECCOMP: u32 = 21;
1283pub const PR_SET_SECCOMP: u32 = 22;
1284pub const PR_CAPBSET_READ: u32 = 23;
1285pub const PR_CAPBSET_DROP: u32 = 24;
1286pub const PR_GET_TSC: u32 = 25;
1287pub const PR_SET_TSC: u32 = 26;
1288pub const PR_TSC_ENABLE: u32 = 1;
1289pub const PR_TSC_SIGSEGV: u32 = 2;
1290pub const PR_GET_SECUREBITS: u32 = 27;
1291pub const PR_SET_SECUREBITS: u32 = 28;
1292pub const PR_SET_TIMERSLACK: u32 = 29;
1293pub const PR_GET_TIMERSLACK: u32 = 30;
1294pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31;
1295pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32;
1296pub const PR_MCE_KILL: u32 = 33;
1297pub const PR_MCE_KILL_CLEAR: u32 = 0;
1298pub const PR_MCE_KILL_SET: u32 = 1;
1299pub const PR_MCE_KILL_LATE: u32 = 0;
1300pub const PR_MCE_KILL_EARLY: u32 = 1;
1301pub const PR_MCE_KILL_DEFAULT: u32 = 2;
1302pub const PR_MCE_KILL_GET: u32 = 34;
1303pub const PR_SET_MM: u32 = 35;
1304pub const PR_SET_MM_START_CODE: u32 = 1;
1305pub const PR_SET_MM_END_CODE: u32 = 2;
1306pub const PR_SET_MM_START_DATA: u32 = 3;
1307pub const PR_SET_MM_END_DATA: u32 = 4;
1308pub const PR_SET_MM_START_STACK: u32 = 5;
1309pub const PR_SET_MM_START_BRK: u32 = 6;
1310pub const PR_SET_MM_BRK: u32 = 7;
1311pub const PR_SET_MM_ARG_START: u32 = 8;
1312pub const PR_SET_MM_ARG_END: u32 = 9;
1313pub const PR_SET_MM_ENV_START: u32 = 10;
1314pub const PR_SET_MM_ENV_END: u32 = 11;
1315pub const PR_SET_MM_AUXV: u32 = 12;
1316pub const PR_SET_MM_EXE_FILE: u32 = 13;
1317pub const PR_SET_MM_MAP: u32 = 14;
1318pub const PR_SET_MM_MAP_SIZE: u32 = 15;
1319pub const PR_SET_PTRACER: u32 = 1499557217;
1320pub const PR_SET_CHILD_SUBREAPER: u32 = 36;
1321pub const PR_GET_CHILD_SUBREAPER: u32 = 37;
1322pub const PR_SET_NO_NEW_PRIVS: u32 = 38;
1323pub const PR_GET_NO_NEW_PRIVS: u32 = 39;
1324pub const PR_GET_TID_ADDRESS: u32 = 40;
1325pub const PR_SET_THP_DISABLE: u32 = 41;
1326pub const PR_GET_THP_DISABLE: u32 = 42;
1327pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43;
1328pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44;
1329pub const PR_SET_FP_MODE: u32 = 45;
1330pub const PR_GET_FP_MODE: u32 = 46;
1331pub const PR_FP_MODE_FR: u32 = 1;
1332pub const PR_FP_MODE_FRE: u32 = 2;
1333pub const PR_CAP_AMBIENT: u32 = 47;
1334pub const PR_CAP_AMBIENT_IS_SET: u32 = 1;
1335pub const PR_CAP_AMBIENT_RAISE: u32 = 2;
1336pub const PR_CAP_AMBIENT_LOWER: u32 = 3;
1337pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4;
1338pub const PR_SVE_SET_VL: u32 = 50;
1339pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144;
1340pub const PR_SVE_GET_VL: u32 = 51;
1341pub const PR_SVE_VL_LEN_MASK: u32 = 65535;
1342pub const PR_SVE_VL_INHERIT: u32 = 131072;
1343pub const PR_GET_SPECULATION_CTRL: u32 = 52;
1344pub const PR_SET_SPECULATION_CTRL: u32 = 53;
1345pub const PR_SPEC_STORE_BYPASS: u32 = 0;
1346pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1;
1347pub const PR_SPEC_L1D_FLUSH: u32 = 2;
1348pub const PR_SPEC_NOT_AFFECTED: u32 = 0;
1349pub const PR_SPEC_PRCTL: u32 = 1;
1350pub const PR_SPEC_ENABLE: u32 = 2;
1351pub const PR_SPEC_DISABLE: u32 = 4;
1352pub const PR_SPEC_FORCE_DISABLE: u32 = 8;
1353pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16;
1354pub const PR_PAC_RESET_KEYS: u32 = 54;
1355pub const PR_PAC_APIAKEY: u32 = 1;
1356pub const PR_PAC_APIBKEY: u32 = 2;
1357pub const PR_PAC_APDAKEY: u32 = 4;
1358pub const PR_PAC_APDBKEY: u32 = 8;
1359pub const PR_PAC_APGAKEY: u32 = 16;
1360pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55;
1361pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56;
1362pub const PR_TAGGED_ADDR_ENABLE: u32 = 1;
1363pub const PR_MTE_TCF_NONE: u32 = 0;
1364pub const PR_MTE_TCF_SYNC: u32 = 2;
1365pub const PR_MTE_TCF_ASYNC: u32 = 4;
1366pub const PR_MTE_TCF_MASK: u32 = 6;
1367pub const PR_MTE_TAG_SHIFT: u32 = 3;
1368pub const PR_MTE_TAG_MASK: u32 = 524280;
1369pub const PR_MTE_TCF_SHIFT: u32 = 1;
1370pub const PR_SET_IO_FLUSHER: u32 = 57;
1371pub const PR_GET_IO_FLUSHER: u32 = 58;
1372pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59;
1373pub const PR_SYS_DISPATCH_OFF: u32 = 0;
1374pub const PR_SYS_DISPATCH_ON: u32 = 1;
1375pub const SYSCALL_DISPATCH_FILTER_ALLOW: u32 = 0;
1376pub const SYSCALL_DISPATCH_FILTER_BLOCK: u32 = 1;
1377pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60;
1378pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61;
1379pub const PR_SCHED_CORE: u32 = 62;
1380pub const PR_SCHED_CORE_GET: u32 = 0;
1381pub const PR_SCHED_CORE_CREATE: u32 = 1;
1382pub const PR_SCHED_CORE_SHARE_TO: u32 = 2;
1383pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3;
1384pub const PR_SCHED_CORE_MAX: u32 = 4;
1385pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0;
1386pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1;
1387pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2;
1388pub const PR_SME_SET_VL: u32 = 63;
1389pub const PR_SME_SET_VL_ONEXEC: u32 = 262144;
1390pub const PR_SME_GET_VL: u32 = 64;
1391pub const PR_SME_VL_LEN_MASK: u32 = 65535;
1392pub const PR_SME_VL_INHERIT: u32 = 131072;
1393pub const PR_SET_MDWE: u32 = 65;
1394pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1;
1395pub const PR_GET_MDWE: u32 = 66;
1396pub const PR_SET_VMA: u32 = 1398164801;
1397pub const PR_SET_VMA_ANON_NAME: u32 = 0;
1398pub const GRND_NONBLOCK: u32 = 1;
1399pub const GRND_RANDOM: u32 = 2;
1400pub const GRND_INSECURE: u32 = 4;
1401pub const ITIMER_REAL: u32 = 0;
1402pub const ITIMER_VIRTUAL: u32 = 1;
1403pub const ITIMER_PROF: u32 = 2;
1404pub const CLOCK_REALTIME: u32 = 0;
1405pub const CLOCK_MONOTONIC: u32 = 1;
1406pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
1407pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
1408pub const CLOCK_MONOTONIC_RAW: u32 = 4;
1409pub const CLOCK_REALTIME_COARSE: u32 = 5;
1410pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
1411pub const CLOCK_BOOTTIME: u32 = 7;
1412pub const CLOCK_REALTIME_ALARM: u32 = 8;
1413pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
1414pub const CLOCK_SGI_CYCLE: u32 = 10;
1415pub const CLOCK_TAI: u32 = 11;
1416pub const MAX_CLOCKS: u32 = 16;
1417pub const CLOCKS_MASK: u32 = 1;
1418pub const CLOCKS_MONO: u32 = 1;
1419pub const TIMER_ABSTIME: u32 = 1;
1420pub const RUSAGE_SELF: u32 = 0;
1421pub const RUSAGE_CHILDREN: i32 = -1;
1422pub const RUSAGE_BOTH: i32 = -2;
1423pub const RUSAGE_THREAD: u32 = 1;
1424pub const RLIM64_INFINITY: i32 = -1;
1425pub const PRIO_MIN: i32 = -20;
1426pub const PRIO_MAX: u32 = 20;
1427pub const PRIO_PROCESS: u32 = 0;
1428pub const PRIO_PGRP: u32 = 1;
1429pub const PRIO_USER: u32 = 2;
1430pub const _STK_LIM: u32 = 8388608;
1431pub const MLOCK_LIMIT: u32 = 8388608;
1432pub const RLIMIT_CPU: u32 = 0;
1433pub const RLIMIT_FSIZE: u32 = 1;
1434pub const RLIMIT_DATA: u32 = 2;
1435pub const RLIMIT_STACK: u32 = 3;
1436pub const RLIMIT_CORE: u32 = 4;
1437pub const RLIMIT_RSS: u32 = 5;
1438pub const RLIMIT_NPROC: u32 = 6;
1439pub const RLIMIT_NOFILE: u32 = 7;
1440pub const RLIMIT_MEMLOCK: u32 = 8;
1441pub const RLIMIT_AS: u32 = 9;
1442pub const RLIMIT_LOCKS: u32 = 10;
1443pub const RLIMIT_SIGPENDING: u32 = 11;
1444pub const RLIMIT_MSGQUEUE: u32 = 12;
1445pub const RLIMIT_NICE: u32 = 13;
1446pub const RLIMIT_RTPRIO: u32 = 14;
1447pub const RLIMIT_RTTIME: u32 = 15;
1448pub const RLIM_NLIMITS: u32 = 16;
1449pub const RLIM_INFINITY: i32 = -1;
1450pub const CSIGNAL: u32 = 255;
1451pub const CLONE_VM: u32 = 256;
1452pub const CLONE_FS: u32 = 512;
1453pub const CLONE_FILES: u32 = 1024;
1454pub const CLONE_SIGHAND: u32 = 2048;
1455pub const CLONE_PIDFD: u32 = 4096;
1456pub const CLONE_PTRACE: u32 = 8192;
1457pub const CLONE_VFORK: u32 = 16384;
1458pub const CLONE_PARENT: u32 = 32768;
1459pub const CLONE_THREAD: u32 = 65536;
1460pub const CLONE_NEWNS: u32 = 131072;
1461pub const CLONE_SYSVSEM: u32 = 262144;
1462pub const CLONE_SETTLS: u32 = 524288;
1463pub const CLONE_PARENT_SETTID: u32 = 1048576;
1464pub const CLONE_CHILD_CLEARTID: u32 = 2097152;
1465pub const CLONE_DETACHED: u32 = 4194304;
1466pub const CLONE_UNTRACED: u32 = 8388608;
1467pub const CLONE_CHILD_SETTID: u32 = 16777216;
1468pub const CLONE_NEWCGROUP: u32 = 33554432;
1469pub const CLONE_NEWUTS: u32 = 67108864;
1470pub const CLONE_NEWIPC: u32 = 134217728;
1471pub const CLONE_NEWUSER: u32 = 268435456;
1472pub const CLONE_NEWPID: u32 = 536870912;
1473pub const CLONE_NEWNET: u32 = 1073741824;
1474pub const CLONE_IO: u32 = 2147483648;
1475pub const CLONE_CLEAR_SIGHAND: u64 = 4294967296;
1476pub const CLONE_INTO_CGROUP: u64 = 8589934592;
1477pub const CLONE_NEWTIME: u32 = 128;
1478pub const CLONE_ARGS_SIZE_VER0: u32 = 64;
1479pub const CLONE_ARGS_SIZE_VER1: u32 = 80;
1480pub const CLONE_ARGS_SIZE_VER2: u32 = 88;
1481pub const SCHED_NORMAL: u32 = 0;
1482pub const SCHED_FIFO: u32 = 1;
1483pub const SCHED_RR: u32 = 2;
1484pub const SCHED_BATCH: u32 = 3;
1485pub const SCHED_IDLE: u32 = 5;
1486pub const SCHED_DEADLINE: u32 = 6;
1487pub const SCHED_RESET_ON_FORK: u32 = 1073741824;
1488pub const SCHED_FLAG_RESET_ON_FORK: u32 = 1;
1489pub const SCHED_FLAG_RECLAIM: u32 = 2;
1490pub const SCHED_FLAG_DL_OVERRUN: u32 = 4;
1491pub const SCHED_FLAG_KEEP_POLICY: u32 = 8;
1492pub const SCHED_FLAG_KEEP_PARAMS: u32 = 16;
1493pub const SCHED_FLAG_UTIL_CLAMP_MIN: u32 = 32;
1494pub const SCHED_FLAG_UTIL_CLAMP_MAX: u32 = 64;
1495pub const SCHED_FLAG_KEEP_ALL: u32 = 24;
1496pub const SCHED_FLAG_UTIL_CLAMP: u32 = 96;
1497pub const SCHED_FLAG_ALL: u32 = 127;
1498pub const NSIG: u32 = 32;
1499pub const SIGHUP: u32 = 1;
1500pub const SIGINT: u32 = 2;
1501pub const SIGQUIT: u32 = 3;
1502pub const SIGILL: u32 = 4;
1503pub const SIGTRAP: u32 = 5;
1504pub const SIGABRT: u32 = 6;
1505pub const SIGIOT: u32 = 6;
1506pub const SIGBUS: u32 = 7;
1507pub const SIGFPE: u32 = 8;
1508pub const SIGKILL: u32 = 9;
1509pub const SIGUSR1: u32 = 10;
1510pub const SIGSEGV: u32 = 11;
1511pub const SIGUSR2: u32 = 12;
1512pub const SIGPIPE: u32 = 13;
1513pub const SIGALRM: u32 = 14;
1514pub const SIGTERM: u32 = 15;
1515pub const SIGSTKFLT: u32 = 16;
1516pub const SIGCHLD: u32 = 17;
1517pub const SIGCONT: u32 = 18;
1518pub const SIGSTOP: u32 = 19;
1519pub const SIGTSTP: u32 = 20;
1520pub const SIGTTIN: u32 = 21;
1521pub const SIGTTOU: u32 = 22;
1522pub const SIGURG: u32 = 23;
1523pub const SIGXCPU: u32 = 24;
1524pub const SIGXFSZ: u32 = 25;
1525pub const SIGVTALRM: u32 = 26;
1526pub const SIGPROF: u32 = 27;
1527pub const SIGWINCH: u32 = 28;
1528pub const SIGIO: u32 = 29;
1529pub const SIGPOLL: u32 = 29;
1530pub const SIGPWR: u32 = 30;
1531pub const SIGSYS: u32 = 31;
1532pub const SIGUNUSED: u32 = 31;
1533pub const SIGRTMIN: u32 = 32;
1534pub const SA_RESTORER: u32 = 67108864;
1535pub const MINSIGSTKSZ: u32 = 2048;
1536pub const SIGSTKSZ: u32 = 8192;
1537pub const SA_NOCLDSTOP: u32 = 1;
1538pub const SA_NOCLDWAIT: u32 = 2;
1539pub const SA_SIGINFO: u32 = 4;
1540pub const SA_UNSUPPORTED: u32 = 1024;
1541pub const SA_EXPOSE_TAGBITS: u32 = 2048;
1542pub const SA_ONSTACK: u32 = 134217728;
1543pub const SA_RESTART: u32 = 268435456;
1544pub const SA_NODEFER: u32 = 1073741824;
1545pub const SA_RESETHAND: u32 = 2147483648;
1546pub const SA_NOMASK: u32 = 1073741824;
1547pub const SA_ONESHOT: u32 = 2147483648;
1548pub const SIG_BLOCK: u32 = 0;
1549pub const SIG_UNBLOCK: u32 = 1;
1550pub const SIG_SETMASK: u32 = 2;
1551pub const SI_MAX_SIZE: u32 = 128;
1552pub const SI_USER: u32 = 0;
1553pub const SI_KERNEL: u32 = 128;
1554pub const SI_QUEUE: i32 = -1;
1555pub const SI_TIMER: i32 = -2;
1556pub const SI_MESGQ: i32 = -3;
1557pub const SI_ASYNCIO: i32 = -4;
1558pub const SI_SIGIO: i32 = -5;
1559pub const SI_TKILL: i32 = -6;
1560pub const SI_DETHREAD: i32 = -7;
1561pub const SI_ASYNCNL: i32 = -60;
1562pub const ILL_ILLOPC: u32 = 1;
1563pub const ILL_ILLOPN: u32 = 2;
1564pub const ILL_ILLADR: u32 = 3;
1565pub const ILL_ILLTRP: u32 = 4;
1566pub const ILL_PRVOPC: u32 = 5;
1567pub const ILL_PRVREG: u32 = 6;
1568pub const ILL_COPROC: u32 = 7;
1569pub const ILL_BADSTK: u32 = 8;
1570pub const ILL_BADIADDR: u32 = 9;
1571pub const __ILL_BREAK: u32 = 10;
1572pub const __ILL_BNDMOD: u32 = 11;
1573pub const NSIGILL: u32 = 11;
1574pub const FPE_INTDIV: u32 = 1;
1575pub const FPE_INTOVF: u32 = 2;
1576pub const FPE_FLTDIV: u32 = 3;
1577pub const FPE_FLTOVF: u32 = 4;
1578pub const FPE_FLTUND: u32 = 5;
1579pub const FPE_FLTRES: u32 = 6;
1580pub const FPE_FLTINV: u32 = 7;
1581pub const FPE_FLTSUB: u32 = 8;
1582pub const __FPE_DECOVF: u32 = 9;
1583pub const __FPE_DECDIV: u32 = 10;
1584pub const __FPE_DECERR: u32 = 11;
1585pub const __FPE_INVASC: u32 = 12;
1586pub const __FPE_INVDEC: u32 = 13;
1587pub const FPE_FLTUNK: u32 = 14;
1588pub const FPE_CONDTRAP: u32 = 15;
1589pub const NSIGFPE: u32 = 15;
1590pub const SEGV_MAPERR: u32 = 1;
1591pub const SEGV_ACCERR: u32 = 2;
1592pub const SEGV_BNDERR: u32 = 3;
1593pub const SEGV_PKUERR: u32 = 4;
1594pub const SEGV_ACCADI: u32 = 5;
1595pub const SEGV_ADIDERR: u32 = 6;
1596pub const SEGV_ADIPERR: u32 = 7;
1597pub const SEGV_MTEAERR: u32 = 8;
1598pub const SEGV_MTESERR: u32 = 9;
1599pub const NSIGSEGV: u32 = 9;
1600pub const BUS_ADRALN: u32 = 1;
1601pub const BUS_ADRERR: u32 = 2;
1602pub const BUS_OBJERR: u32 = 3;
1603pub const BUS_MCEERR_AR: u32 = 4;
1604pub const BUS_MCEERR_AO: u32 = 5;
1605pub const NSIGBUS: u32 = 5;
1606pub const TRAP_BRKPT: u32 = 1;
1607pub const TRAP_TRACE: u32 = 2;
1608pub const TRAP_BRANCH: u32 = 3;
1609pub const TRAP_HWBKPT: u32 = 4;
1610pub const TRAP_UNK: u32 = 5;
1611pub const TRAP_PERF: u32 = 6;
1612pub const NSIGTRAP: u32 = 6;
1613pub const TRAP_PERF_FLAG_ASYNC: u32 = 1;
1614pub const CLD_EXITED: u32 = 1;
1615pub const CLD_KILLED: u32 = 2;
1616pub const CLD_DUMPED: u32 = 3;
1617pub const CLD_TRAPPED: u32 = 4;
1618pub const CLD_STOPPED: u32 = 5;
1619pub const CLD_CONTINUED: u32 = 6;
1620pub const NSIGCHLD: u32 = 6;
1621pub const POLL_IN: u32 = 1;
1622pub const POLL_OUT: u32 = 2;
1623pub const POLL_MSG: u32 = 3;
1624pub const POLL_ERR: u32 = 4;
1625pub const POLL_PRI: u32 = 5;
1626pub const POLL_HUP: u32 = 6;
1627pub const NSIGPOLL: u32 = 6;
1628pub const SYS_SECCOMP: u32 = 1;
1629pub const SYS_USER_DISPATCH: u32 = 2;
1630pub const NSIGSYS: u32 = 2;
1631pub const EMT_TAGOVF: u32 = 1;
1632pub const NSIGEMT: u32 = 1;
1633pub const SIGEV_SIGNAL: u32 = 0;
1634pub const SIGEV_NONE: u32 = 1;
1635pub const SIGEV_THREAD: u32 = 2;
1636pub const SIGEV_THREAD_ID: u32 = 4;
1637pub const SIGEV_MAX_SIZE: u32 = 64;
1638pub const SS_ONSTACK: u32 = 1;
1639pub const SS_DISABLE: u32 = 2;
1640pub const SS_AUTODISARM: u32 = 2147483648;
1641pub const SS_FLAG_BITS: u32 = 2147483648;
1642pub const S_IFMT: u32 = 61440;
1643pub const S_IFSOCK: u32 = 49152;
1644pub const S_IFLNK: u32 = 40960;
1645pub const S_IFREG: u32 = 32768;
1646pub const S_IFBLK: u32 = 24576;
1647pub const S_IFDIR: u32 = 16384;
1648pub const S_IFCHR: u32 = 8192;
1649pub const S_IFIFO: u32 = 4096;
1650pub const S_ISUID: u32 = 2048;
1651pub const S_ISGID: u32 = 1024;
1652pub const S_ISVTX: u32 = 512;
1653pub const S_IRWXU: u32 = 448;
1654pub const S_IRUSR: u32 = 256;
1655pub const S_IWUSR: u32 = 128;
1656pub const S_IXUSR: u32 = 64;
1657pub const S_IRWXG: u32 = 56;
1658pub const S_IRGRP: u32 = 32;
1659pub const S_IWGRP: u32 = 16;
1660pub const S_IXGRP: u32 = 8;
1661pub const S_IRWXO: u32 = 7;
1662pub const S_IROTH: u32 = 4;
1663pub const S_IWOTH: u32 = 2;
1664pub const S_IXOTH: u32 = 1;
1665pub const STATX_TYPE: u32 = 1;
1666pub const STATX_MODE: u32 = 2;
1667pub const STATX_NLINK: u32 = 4;
1668pub const STATX_UID: u32 = 8;
1669pub const STATX_GID: u32 = 16;
1670pub const STATX_ATIME: u32 = 32;
1671pub const STATX_MTIME: u32 = 64;
1672pub const STATX_CTIME: u32 = 128;
1673pub const STATX_INO: u32 = 256;
1674pub const STATX_SIZE: u32 = 512;
1675pub const STATX_BLOCKS: u32 = 1024;
1676pub const STATX_BASIC_STATS: u32 = 2047;
1677pub const STATX_BTIME: u32 = 2048;
1678pub const STATX_MNT_ID: u32 = 4096;
1679pub const STATX_DIOALIGN: u32 = 8192;
1680pub const STATX__RESERVED: u32 = 2147483648;
1681pub const STATX_ALL: u32 = 4095;
1682pub const STATX_ATTR_COMPRESSED: u32 = 4;
1683pub const STATX_ATTR_IMMUTABLE: u32 = 16;
1684pub const STATX_ATTR_APPEND: u32 = 32;
1685pub const STATX_ATTR_NODUMP: u32 = 64;
1686pub const STATX_ATTR_ENCRYPTED: u32 = 2048;
1687pub const STATX_ATTR_AUTOMOUNT: u32 = 4096;
1688pub const STATX_ATTR_MOUNT_ROOT: u32 = 8192;
1689pub const STATX_ATTR_VERITY: u32 = 1048576;
1690pub const STATX_ATTR_DAX: u32 = 2097152;
1691pub const SI_LOAD_SHIFT: u32 = 16;
1692pub const TCP_MSS_DEFAULT: u32 = 536;
1693pub const TCP_MSS_DESIRED: u32 = 1220;
1694pub const TCP_NODELAY: u32 = 1;
1695pub const TCP_MAXSEG: u32 = 2;
1696pub const TCP_CORK: u32 = 3;
1697pub const TCP_KEEPIDLE: u32 = 4;
1698pub const TCP_KEEPINTVL: u32 = 5;
1699pub const TCP_KEEPCNT: u32 = 6;
1700pub const TCP_SYNCNT: u32 = 7;
1701pub const TCP_LINGER2: u32 = 8;
1702pub const TCP_DEFER_ACCEPT: u32 = 9;
1703pub const TCP_WINDOW_CLAMP: u32 = 10;
1704pub const TCP_INFO: u32 = 11;
1705pub const TCP_QUICKACK: u32 = 12;
1706pub const TCP_CONGESTION: u32 = 13;
1707pub const TCP_MD5SIG: u32 = 14;
1708pub const TCP_THIN_LINEAR_TIMEOUTS: u32 = 16;
1709pub const TCP_THIN_DUPACK: u32 = 17;
1710pub const TCP_USER_TIMEOUT: u32 = 18;
1711pub const TCP_REPAIR: u32 = 19;
1712pub const TCP_REPAIR_QUEUE: u32 = 20;
1713pub const TCP_QUEUE_SEQ: u32 = 21;
1714pub const TCP_REPAIR_OPTIONS: u32 = 22;
1715pub const TCP_FASTOPEN: u32 = 23;
1716pub const TCP_TIMESTAMP: u32 = 24;
1717pub const TCP_NOTSENT_LOWAT: u32 = 25;
1718pub const TCP_CC_INFO: u32 = 26;
1719pub const TCP_SAVE_SYN: u32 = 27;
1720pub const TCP_SAVED_SYN: u32 = 28;
1721pub const TCP_REPAIR_WINDOW: u32 = 29;
1722pub const TCP_FASTOPEN_CONNECT: u32 = 30;
1723pub const TCP_ULP: u32 = 31;
1724pub const TCP_MD5SIG_EXT: u32 = 32;
1725pub const TCP_FASTOPEN_KEY: u32 = 33;
1726pub const TCP_FASTOPEN_NO_COOKIE: u32 = 34;
1727pub const TCP_ZEROCOPY_RECEIVE: u32 = 35;
1728pub const TCP_INQ: u32 = 36;
1729pub const TCP_CM_INQ: u32 = 36;
1730pub const TCP_TX_DELAY: u32 = 37;
1731pub const TCP_REPAIR_ON: u32 = 1;
1732pub const TCP_REPAIR_OFF: u32 = 0;
1733pub const TCP_REPAIR_OFF_NO_WP: i32 = -1;
1734pub const TCPI_OPT_TIMESTAMPS: u32 = 1;
1735pub const TCPI_OPT_SACK: u32 = 2;
1736pub const TCPI_OPT_WSCALE: u32 = 4;
1737pub const TCPI_OPT_ECN: u32 = 8;
1738pub const TCPI_OPT_ECN_SEEN: u32 = 16;
1739pub const TCPI_OPT_SYN_DATA: u32 = 32;
1740pub const TCP_MD5SIG_MAXKEYLEN: u32 = 80;
1741pub const TCP_MD5SIG_FLAG_PREFIX: u32 = 1;
1742pub const TCP_MD5SIG_FLAG_IFINDEX: u32 = 2;
1743pub const TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT: u32 = 1;
1744pub const IGNBRK: u32 = 1;
1745pub const BRKINT: u32 = 2;
1746pub const IGNPAR: u32 = 4;
1747pub const PARMRK: u32 = 8;
1748pub const INPCK: u32 = 16;
1749pub const ISTRIP: u32 = 32;
1750pub const INLCR: u32 = 64;
1751pub const IGNCR: u32 = 128;
1752pub const ICRNL: u32 = 256;
1753pub const IXANY: u32 = 2048;
1754pub const OPOST: u32 = 1;
1755pub const OCRNL: u32 = 8;
1756pub const ONOCR: u32 = 16;
1757pub const ONLRET: u32 = 32;
1758pub const OFILL: u32 = 64;
1759pub const OFDEL: u32 = 128;
1760pub const B0: u32 = 0;
1761pub const B50: u32 = 1;
1762pub const B75: u32 = 2;
1763pub const B110: u32 = 3;
1764pub const B134: u32 = 4;
1765pub const B150: u32 = 5;
1766pub const B200: u32 = 6;
1767pub const B300: u32 = 7;
1768pub const B600: u32 = 8;
1769pub const B1200: u32 = 9;
1770pub const B1800: u32 = 10;
1771pub const B2400: u32 = 11;
1772pub const B4800: u32 = 12;
1773pub const B9600: u32 = 13;
1774pub const B19200: u32 = 14;
1775pub const B38400: u32 = 15;
1776pub const EXTA: u32 = 14;
1777pub const EXTB: u32 = 15;
1778pub const ADDRB: u32 = 536870912;
1779pub const CMSPAR: u32 = 1073741824;
1780pub const CRTSCTS: u32 = 2147483648;
1781pub const IBSHIFT: u32 = 16;
1782pub const TCOOFF: u32 = 0;
1783pub const TCOON: u32 = 1;
1784pub const TCIOFF: u32 = 2;
1785pub const TCION: u32 = 3;
1786pub const TCIFLUSH: u32 = 0;
1787pub const TCOFLUSH: u32 = 1;
1788pub const TCIOFLUSH: u32 = 2;
1789pub const NCCS: u32 = 19;
1790pub const VINTR: u32 = 0;
1791pub const VQUIT: u32 = 1;
1792pub const VERASE: u32 = 2;
1793pub const VKILL: u32 = 3;
1794pub const VEOF: u32 = 4;
1795pub const VTIME: u32 = 5;
1796pub const VMIN: u32 = 6;
1797pub const VSWTC: u32 = 7;
1798pub const VSTART: u32 = 8;
1799pub const VSTOP: u32 = 9;
1800pub const VSUSP: u32 = 10;
1801pub const VEOL: u32 = 11;
1802pub const VREPRINT: u32 = 12;
1803pub const VDISCARD: u32 = 13;
1804pub const VWERASE: u32 = 14;
1805pub const VLNEXT: u32 = 15;
1806pub const VEOL2: u32 = 16;
1807pub const IUCLC: u32 = 512;
1808pub const IXON: u32 = 1024;
1809pub const IXOFF: u32 = 4096;
1810pub const IMAXBEL: u32 = 8192;
1811pub const IUTF8: u32 = 16384;
1812pub const OLCUC: u32 = 2;
1813pub const ONLCR: u32 = 4;
1814pub const NLDLY: u32 = 256;
1815pub const NL0: u32 = 0;
1816pub const NL1: u32 = 256;
1817pub const CRDLY: u32 = 1536;
1818pub const CR0: u32 = 0;
1819pub const CR1: u32 = 512;
1820pub const CR2: u32 = 1024;
1821pub const CR3: u32 = 1536;
1822pub const TABDLY: u32 = 6144;
1823pub const TAB0: u32 = 0;
1824pub const TAB1: u32 = 2048;
1825pub const TAB2: u32 = 4096;
1826pub const TAB3: u32 = 6144;
1827pub const XTABS: u32 = 6144;
1828pub const BSDLY: u32 = 8192;
1829pub const BS0: u32 = 0;
1830pub const BS1: u32 = 8192;
1831pub const VTDLY: u32 = 16384;
1832pub const VT0: u32 = 0;
1833pub const VT1: u32 = 16384;
1834pub const FFDLY: u32 = 32768;
1835pub const FF0: u32 = 0;
1836pub const FF1: u32 = 32768;
1837pub const CBAUD: u32 = 4111;
1838pub const CSIZE: u32 = 48;
1839pub const CS5: u32 = 0;
1840pub const CS6: u32 = 16;
1841pub const CS7: u32 = 32;
1842pub const CS8: u32 = 48;
1843pub const CSTOPB: u32 = 64;
1844pub const CREAD: u32 = 128;
1845pub const PARENB: u32 = 256;
1846pub const PARODD: u32 = 512;
1847pub const HUPCL: u32 = 1024;
1848pub const CLOCAL: u32 = 2048;
1849pub const CBAUDEX: u32 = 4096;
1850pub const BOTHER: u32 = 4096;
1851pub const B57600: u32 = 4097;
1852pub const B115200: u32 = 4098;
1853pub const B230400: u32 = 4099;
1854pub const B460800: u32 = 4100;
1855pub const B500000: u32 = 4101;
1856pub const B576000: u32 = 4102;
1857pub const B921600: u32 = 4103;
1858pub const B1000000: u32 = 4104;
1859pub const B1152000: u32 = 4105;
1860pub const B1500000: u32 = 4106;
1861pub const B2000000: u32 = 4107;
1862pub const B2500000: u32 = 4108;
1863pub const B3000000: u32 = 4109;
1864pub const B3500000: u32 = 4110;
1865pub const B4000000: u32 = 4111;
1866pub const CIBAUD: u32 = 269418496;
1867pub const ISIG: u32 = 1;
1868pub const ICANON: u32 = 2;
1869pub const XCASE: u32 = 4;
1870pub const ECHO: u32 = 8;
1871pub const ECHOE: u32 = 16;
1872pub const ECHOK: u32 = 32;
1873pub const ECHONL: u32 = 64;
1874pub const NOFLSH: u32 = 128;
1875pub const TOSTOP: u32 = 256;
1876pub const ECHOCTL: u32 = 512;
1877pub const ECHOPRT: u32 = 1024;
1878pub const ECHOKE: u32 = 2048;
1879pub const FLUSHO: u32 = 4096;
1880pub const PENDIN: u32 = 16384;
1881pub const IEXTEN: u32 = 32768;
1882pub const EXTPROC: u32 = 65536;
1883pub const TCSANOW: u32 = 0;
1884pub const TCSADRAIN: u32 = 1;
1885pub const TCSAFLUSH: u32 = 2;
1886pub const TIOCPKT_DATA: u32 = 0;
1887pub const TIOCPKT_FLUSHREAD: u32 = 1;
1888pub const TIOCPKT_FLUSHWRITE: u32 = 2;
1889pub const TIOCPKT_STOP: u32 = 4;
1890pub const TIOCPKT_START: u32 = 8;
1891pub const TIOCPKT_NOSTOP: u32 = 16;
1892pub const TIOCPKT_DOSTOP: u32 = 32;
1893pub const TIOCPKT_IOCTL: u32 = 64;
1894pub const TIOCSER_TEMT: u32 = 1;
1895pub const NCC: u32 = 8;
1896pub const TIOCM_LE: u32 = 1;
1897pub const TIOCM_DTR: u32 = 2;
1898pub const TIOCM_RTS: u32 = 4;
1899pub const TIOCM_ST: u32 = 8;
1900pub const TIOCM_SR: u32 = 16;
1901pub const TIOCM_CTS: u32 = 32;
1902pub const TIOCM_CAR: u32 = 64;
1903pub const TIOCM_RNG: u32 = 128;
1904pub const TIOCM_DSR: u32 = 256;
1905pub const TIOCM_CD: u32 = 64;
1906pub const TIOCM_RI: u32 = 128;
1907pub const TIOCM_OUT1: u32 = 8192;
1908pub const TIOCM_OUT2: u32 = 16384;
1909pub const TIOCM_LOOP: u32 = 32768;
1910pub const UIO_FASTIOV: u32 = 8;
1911pub const UIO_MAXIOV: u32 = 1024;
1912pub const UNIX_PATH_MAX: u32 = 108;
1913pub const __X32_SYSCALL_BIT: u32 = 1073741824;
1914pub const __NR_read: u32 = 0;
1915pub const __NR_write: u32 = 1;
1916pub const __NR_open: u32 = 2;
1917pub const __NR_close: u32 = 3;
1918pub const __NR_stat: u32 = 4;
1919pub const __NR_fstat: u32 = 5;
1920pub const __NR_lstat: u32 = 6;
1921pub const __NR_poll: u32 = 7;
1922pub const __NR_lseek: u32 = 8;
1923pub const __NR_mmap: u32 = 9;
1924pub const __NR_mprotect: u32 = 10;
1925pub const __NR_munmap: u32 = 11;
1926pub const __NR_brk: u32 = 12;
1927pub const __NR_rt_sigaction: u32 = 13;
1928pub const __NR_rt_sigprocmask: u32 = 14;
1929pub const __NR_rt_sigreturn: u32 = 15;
1930pub const __NR_ioctl: u32 = 16;
1931pub const __NR_pread64: u32 = 17;
1932pub const __NR_pwrite64: u32 = 18;
1933pub const __NR_readv: u32 = 19;
1934pub const __NR_writev: u32 = 20;
1935pub const __NR_access: u32 = 21;
1936pub const __NR_pipe: u32 = 22;
1937pub const __NR_select: u32 = 23;
1938pub const __NR_sched_yield: u32 = 24;
1939pub const __NR_mremap: u32 = 25;
1940pub const __NR_msync: u32 = 26;
1941pub const __NR_mincore: u32 = 27;
1942pub const __NR_madvise: u32 = 28;
1943pub const __NR_shmget: u32 = 29;
1944pub const __NR_shmat: u32 = 30;
1945pub const __NR_shmctl: u32 = 31;
1946pub const __NR_dup: u32 = 32;
1947pub const __NR_dup2: u32 = 33;
1948pub const __NR_pause: u32 = 34;
1949pub const __NR_nanosleep: u32 = 35;
1950pub const __NR_getitimer: u32 = 36;
1951pub const __NR_alarm: u32 = 37;
1952pub const __NR_setitimer: u32 = 38;
1953pub const __NR_getpid: u32 = 39;
1954pub const __NR_sendfile: u32 = 40;
1955pub const __NR_socket: u32 = 41;
1956pub const __NR_connect: u32 = 42;
1957pub const __NR_accept: u32 = 43;
1958pub const __NR_sendto: u32 = 44;
1959pub const __NR_recvfrom: u32 = 45;
1960pub const __NR_sendmsg: u32 = 46;
1961pub const __NR_recvmsg: u32 = 47;
1962pub const __NR_shutdown: u32 = 48;
1963pub const __NR_bind: u32 = 49;
1964pub const __NR_listen: u32 = 50;
1965pub const __NR_getsockname: u32 = 51;
1966pub const __NR_getpeername: u32 = 52;
1967pub const __NR_socketpair: u32 = 53;
1968pub const __NR_setsockopt: u32 = 54;
1969pub const __NR_getsockopt: u32 = 55;
1970pub const __NR_clone: u32 = 56;
1971pub const __NR_fork: u32 = 57;
1972pub const __NR_vfork: u32 = 58;
1973pub const __NR_execve: u32 = 59;
1974pub const __NR_exit: u32 = 60;
1975pub const __NR_wait4: u32 = 61;
1976pub const __NR_kill: u32 = 62;
1977pub const __NR_uname: u32 = 63;
1978pub const __NR_semget: u32 = 64;
1979pub const __NR_semop: u32 = 65;
1980pub const __NR_semctl: u32 = 66;
1981pub const __NR_shmdt: u32 = 67;
1982pub const __NR_msgget: u32 = 68;
1983pub const __NR_msgsnd: u32 = 69;
1984pub const __NR_msgrcv: u32 = 70;
1985pub const __NR_msgctl: u32 = 71;
1986pub const __NR_fcntl: u32 = 72;
1987pub const __NR_flock: u32 = 73;
1988pub const __NR_fsync: u32 = 74;
1989pub const __NR_fdatasync: u32 = 75;
1990pub const __NR_truncate: u32 = 76;
1991pub const __NR_ftruncate: u32 = 77;
1992pub const __NR_getdents: u32 = 78;
1993pub const __NR_getcwd: u32 = 79;
1994pub const __NR_chdir: u32 = 80;
1995pub const __NR_fchdir: u32 = 81;
1996pub const __NR_rename: u32 = 82;
1997pub const __NR_mkdir: u32 = 83;
1998pub const __NR_rmdir: u32 = 84;
1999pub const __NR_creat: u32 = 85;
2000pub const __NR_link: u32 = 86;
2001pub const __NR_unlink: u32 = 87;
2002pub const __NR_symlink: u32 = 88;
2003pub const __NR_readlink: u32 = 89;
2004pub const __NR_chmod: u32 = 90;
2005pub const __NR_fchmod: u32 = 91;
2006pub const __NR_chown: u32 = 92;
2007pub const __NR_fchown: u32 = 93;
2008pub const __NR_lchown: u32 = 94;
2009pub const __NR_umask: u32 = 95;
2010pub const __NR_gettimeofday: u32 = 96;
2011pub const __NR_getrlimit: u32 = 97;
2012pub const __NR_getrusage: u32 = 98;
2013pub const __NR_sysinfo: u32 = 99;
2014pub const __NR_times: u32 = 100;
2015pub const __NR_ptrace: u32 = 101;
2016pub const __NR_getuid: u32 = 102;
2017pub const __NR_syslog: u32 = 103;
2018pub const __NR_getgid: u32 = 104;
2019pub const __NR_setuid: u32 = 105;
2020pub const __NR_setgid: u32 = 106;
2021pub const __NR_geteuid: u32 = 107;
2022pub const __NR_getegid: u32 = 108;
2023pub const __NR_setpgid: u32 = 109;
2024pub const __NR_getppid: u32 = 110;
2025pub const __NR_getpgrp: u32 = 111;
2026pub const __NR_setsid: u32 = 112;
2027pub const __NR_setreuid: u32 = 113;
2028pub const __NR_setregid: u32 = 114;
2029pub const __NR_getgroups: u32 = 115;
2030pub const __NR_setgroups: u32 = 116;
2031pub const __NR_setresuid: u32 = 117;
2032pub const __NR_getresuid: u32 = 118;
2033pub const __NR_setresgid: u32 = 119;
2034pub const __NR_getresgid: u32 = 120;
2035pub const __NR_getpgid: u32 = 121;
2036pub const __NR_setfsuid: u32 = 122;
2037pub const __NR_setfsgid: u32 = 123;
2038pub const __NR_getsid: u32 = 124;
2039pub const __NR_capget: u32 = 125;
2040pub const __NR_capset: u32 = 126;
2041pub const __NR_rt_sigpending: u32 = 127;
2042pub const __NR_rt_sigtimedwait: u32 = 128;
2043pub const __NR_rt_sigqueueinfo: u32 = 129;
2044pub const __NR_rt_sigsuspend: u32 = 130;
2045pub const __NR_sigaltstack: u32 = 131;
2046pub const __NR_utime: u32 = 132;
2047pub const __NR_mknod: u32 = 133;
2048pub const __NR_uselib: u32 = 134;
2049pub const __NR_personality: u32 = 135;
2050pub const __NR_ustat: u32 = 136;
2051pub const __NR_statfs: u32 = 137;
2052pub const __NR_fstatfs: u32 = 138;
2053pub const __NR_sysfs: u32 = 139;
2054pub const __NR_getpriority: u32 = 140;
2055pub const __NR_setpriority: u32 = 141;
2056pub const __NR_sched_setparam: u32 = 142;
2057pub const __NR_sched_getparam: u32 = 143;
2058pub const __NR_sched_setscheduler: u32 = 144;
2059pub const __NR_sched_getscheduler: u32 = 145;
2060pub const __NR_sched_get_priority_max: u32 = 146;
2061pub const __NR_sched_get_priority_min: u32 = 147;
2062pub const __NR_sched_rr_get_interval: u32 = 148;
2063pub const __NR_mlock: u32 = 149;
2064pub const __NR_munlock: u32 = 150;
2065pub const __NR_mlockall: u32 = 151;
2066pub const __NR_munlockall: u32 = 152;
2067pub const __NR_vhangup: u32 = 153;
2068pub const __NR_modify_ldt: u32 = 154;
2069pub const __NR_pivot_root: u32 = 155;
2070pub const __NR__sysctl: u32 = 156;
2071pub const __NR_prctl: u32 = 157;
2072pub const __NR_arch_prctl: u32 = 158;
2073pub const __NR_adjtimex: u32 = 159;
2074pub const __NR_setrlimit: u32 = 160;
2075pub const __NR_chroot: u32 = 161;
2076pub const __NR_sync: u32 = 162;
2077pub const __NR_acct: u32 = 163;
2078pub const __NR_settimeofday: u32 = 164;
2079pub const __NR_mount: u32 = 165;
2080pub const __NR_umount2: u32 = 166;
2081pub const __NR_swapon: u32 = 167;
2082pub const __NR_swapoff: u32 = 168;
2083pub const __NR_reboot: u32 = 169;
2084pub const __NR_sethostname: u32 = 170;
2085pub const __NR_setdomainname: u32 = 171;
2086pub const __NR_iopl: u32 = 172;
2087pub const __NR_ioperm: u32 = 173;
2088pub const __NR_create_module: u32 = 174;
2089pub const __NR_init_module: u32 = 175;
2090pub const __NR_delete_module: u32 = 176;
2091pub const __NR_get_kernel_syms: u32 = 177;
2092pub const __NR_query_module: u32 = 178;
2093pub const __NR_quotactl: u32 = 179;
2094pub const __NR_nfsservctl: u32 = 180;
2095pub const __NR_getpmsg: u32 = 181;
2096pub const __NR_putpmsg: u32 = 182;
2097pub const __NR_afs_syscall: u32 = 183;
2098pub const __NR_tuxcall: u32 = 184;
2099pub const __NR_security: u32 = 185;
2100pub const __NR_gettid: u32 = 186;
2101pub const __NR_readahead: u32 = 187;
2102pub const __NR_setxattr: u32 = 188;
2103pub const __NR_lsetxattr: u32 = 189;
2104pub const __NR_fsetxattr: u32 = 190;
2105pub const __NR_getxattr: u32 = 191;
2106pub const __NR_lgetxattr: u32 = 192;
2107pub const __NR_fgetxattr: u32 = 193;
2108pub const __NR_listxattr: u32 = 194;
2109pub const __NR_llistxattr: u32 = 195;
2110pub const __NR_flistxattr: u32 = 196;
2111pub const __NR_removexattr: u32 = 197;
2112pub const __NR_lremovexattr: u32 = 198;
2113pub const __NR_fremovexattr: u32 = 199;
2114pub const __NR_tkill: u32 = 200;
2115pub const __NR_time: u32 = 201;
2116pub const __NR_futex: u32 = 202;
2117pub const __NR_sched_setaffinity: u32 = 203;
2118pub const __NR_sched_getaffinity: u32 = 204;
2119pub const __NR_set_thread_area: u32 = 205;
2120pub const __NR_io_setup: u32 = 206;
2121pub const __NR_io_destroy: u32 = 207;
2122pub const __NR_io_getevents: u32 = 208;
2123pub const __NR_io_submit: u32 = 209;
2124pub const __NR_io_cancel: u32 = 210;
2125pub const __NR_get_thread_area: u32 = 211;
2126pub const __NR_lookup_dcookie: u32 = 212;
2127pub const __NR_epoll_create: u32 = 213;
2128pub const __NR_epoll_ctl_old: u32 = 214;
2129pub const __NR_epoll_wait_old: u32 = 215;
2130pub const __NR_remap_file_pages: u32 = 216;
2131pub const __NR_getdents64: u32 = 217;
2132pub const __NR_set_tid_address: u32 = 218;
2133pub const __NR_restart_syscall: u32 = 219;
2134pub const __NR_semtimedop: u32 = 220;
2135pub const __NR_fadvise64: u32 = 221;
2136pub const __NR_timer_create: u32 = 222;
2137pub const __NR_timer_settime: u32 = 223;
2138pub const __NR_timer_gettime: u32 = 224;
2139pub const __NR_timer_getoverrun: u32 = 225;
2140pub const __NR_timer_delete: u32 = 226;
2141pub const __NR_clock_settime: u32 = 227;
2142pub const __NR_clock_gettime: u32 = 228;
2143pub const __NR_clock_getres: u32 = 229;
2144pub const __NR_clock_nanosleep: u32 = 230;
2145pub const __NR_exit_group: u32 = 231;
2146pub const __NR_epoll_wait: u32 = 232;
2147pub const __NR_epoll_ctl: u32 = 233;
2148pub const __NR_tgkill: u32 = 234;
2149pub const __NR_utimes: u32 = 235;
2150pub const __NR_vserver: u32 = 236;
2151pub const __NR_mbind: u32 = 237;
2152pub const __NR_set_mempolicy: u32 = 238;
2153pub const __NR_get_mempolicy: u32 = 239;
2154pub const __NR_mq_open: u32 = 240;
2155pub const __NR_mq_unlink: u32 = 241;
2156pub const __NR_mq_timedsend: u32 = 242;
2157pub const __NR_mq_timedreceive: u32 = 243;
2158pub const __NR_mq_notify: u32 = 244;
2159pub const __NR_mq_getsetattr: u32 = 245;
2160pub const __NR_kexec_load: u32 = 246;
2161pub const __NR_waitid: u32 = 247;
2162pub const __NR_add_key: u32 = 248;
2163pub const __NR_request_key: u32 = 249;
2164pub const __NR_keyctl: u32 = 250;
2165pub const __NR_ioprio_set: u32 = 251;
2166pub const __NR_ioprio_get: u32 = 252;
2167pub const __NR_inotify_init: u32 = 253;
2168pub const __NR_inotify_add_watch: u32 = 254;
2169pub const __NR_inotify_rm_watch: u32 = 255;
2170pub const __NR_migrate_pages: u32 = 256;
2171pub const __NR_openat: u32 = 257;
2172pub const __NR_mkdirat: u32 = 258;
2173pub const __NR_mknodat: u32 = 259;
2174pub const __NR_fchownat: u32 = 260;
2175pub const __NR_futimesat: u32 = 261;
2176pub const __NR_newfstatat: u32 = 262;
2177pub const __NR_unlinkat: u32 = 263;
2178pub const __NR_renameat: u32 = 264;
2179pub const __NR_linkat: u32 = 265;
2180pub const __NR_symlinkat: u32 = 266;
2181pub const __NR_readlinkat: u32 = 267;
2182pub const __NR_fchmodat: u32 = 268;
2183pub const __NR_faccessat: u32 = 269;
2184pub const __NR_pselect6: u32 = 270;
2185pub const __NR_ppoll: u32 = 271;
2186pub const __NR_unshare: u32 = 272;
2187pub const __NR_set_robust_list: u32 = 273;
2188pub const __NR_get_robust_list: u32 = 274;
2189pub const __NR_splice: u32 = 275;
2190pub const __NR_tee: u32 = 276;
2191pub const __NR_sync_file_range: u32 = 277;
2192pub const __NR_vmsplice: u32 = 278;
2193pub const __NR_move_pages: u32 = 279;
2194pub const __NR_utimensat: u32 = 280;
2195pub const __NR_epoll_pwait: u32 = 281;
2196pub const __NR_signalfd: u32 = 282;
2197pub const __NR_timerfd_create: u32 = 283;
2198pub const __NR_eventfd: u32 = 284;
2199pub const __NR_fallocate: u32 = 285;
2200pub const __NR_timerfd_settime: u32 = 286;
2201pub const __NR_timerfd_gettime: u32 = 287;
2202pub const __NR_accept4: u32 = 288;
2203pub const __NR_signalfd4: u32 = 289;
2204pub const __NR_eventfd2: u32 = 290;
2205pub const __NR_epoll_create1: u32 = 291;
2206pub const __NR_dup3: u32 = 292;
2207pub const __NR_pipe2: u32 = 293;
2208pub const __NR_inotify_init1: u32 = 294;
2209pub const __NR_preadv: u32 = 295;
2210pub const __NR_pwritev: u32 = 296;
2211pub const __NR_rt_tgsigqueueinfo: u32 = 297;
2212pub const __NR_perf_event_open: u32 = 298;
2213pub const __NR_recvmmsg: u32 = 299;
2214pub const __NR_fanotify_init: u32 = 300;
2215pub const __NR_fanotify_mark: u32 = 301;
2216pub const __NR_prlimit64: u32 = 302;
2217pub const __NR_name_to_handle_at: u32 = 303;
2218pub const __NR_open_by_handle_at: u32 = 304;
2219pub const __NR_clock_adjtime: u32 = 305;
2220pub const __NR_syncfs: u32 = 306;
2221pub const __NR_sendmmsg: u32 = 307;
2222pub const __NR_setns: u32 = 308;
2223pub const __NR_getcpu: u32 = 309;
2224pub const __NR_process_vm_readv: u32 = 310;
2225pub const __NR_process_vm_writev: u32 = 311;
2226pub const __NR_kcmp: u32 = 312;
2227pub const __NR_finit_module: u32 = 313;
2228pub const __NR_sched_setattr: u32 = 314;
2229pub const __NR_sched_getattr: u32 = 315;
2230pub const __NR_renameat2: u32 = 316;
2231pub const __NR_seccomp: u32 = 317;
2232pub const __NR_getrandom: u32 = 318;
2233pub const __NR_memfd_create: u32 = 319;
2234pub const __NR_kexec_file_load: u32 = 320;
2235pub const __NR_bpf: u32 = 321;
2236pub const __NR_execveat: u32 = 322;
2237pub const __NR_userfaultfd: u32 = 323;
2238pub const __NR_membarrier: u32 = 324;
2239pub const __NR_mlock2: u32 = 325;
2240pub const __NR_copy_file_range: u32 = 326;
2241pub const __NR_preadv2: u32 = 327;
2242pub const __NR_pwritev2: u32 = 328;
2243pub const __NR_pkey_mprotect: u32 = 329;
2244pub const __NR_pkey_alloc: u32 = 330;
2245pub const __NR_pkey_free: u32 = 331;
2246pub const __NR_statx: u32 = 332;
2247pub const __NR_io_pgetevents: u32 = 333;
2248pub const __NR_rseq: u32 = 334;
2249pub const __NR_pidfd_send_signal: u32 = 424;
2250pub const __NR_io_uring_setup: u32 = 425;
2251pub const __NR_io_uring_enter: u32 = 426;
2252pub const __NR_io_uring_register: u32 = 427;
2253pub const __NR_open_tree: u32 = 428;
2254pub const __NR_move_mount: u32 = 429;
2255pub const __NR_fsopen: u32 = 430;
2256pub const __NR_fsconfig: u32 = 431;
2257pub const __NR_fsmount: u32 = 432;
2258pub const __NR_fspick: u32 = 433;
2259pub const __NR_pidfd_open: u32 = 434;
2260pub const __NR_clone3: u32 = 435;
2261pub const __NR_close_range: u32 = 436;
2262pub const __NR_openat2: u32 = 437;
2263pub const __NR_pidfd_getfd: u32 = 438;
2264pub const __NR_faccessat2: u32 = 439;
2265pub const __NR_process_madvise: u32 = 440;
2266pub const __NR_epoll_pwait2: u32 = 441;
2267pub const __NR_mount_setattr: u32 = 442;
2268pub const __NR_quotactl_fd: u32 = 443;
2269pub const __NR_landlock_create_ruleset: u32 = 444;
2270pub const __NR_landlock_add_rule: u32 = 445;
2271pub const __NR_landlock_restrict_self: u32 = 446;
2272pub const __NR_memfd_secret: u32 = 447;
2273pub const __NR_process_mrelease: u32 = 448;
2274pub const __NR_futex_waitv: u32 = 449;
2275pub const __NR_set_mempolicy_home_node: u32 = 450;
2276pub const __OLD_UTS_LEN: u32 = 8;
2277pub const __NEW_UTS_LEN: u32 = 64;
2278pub const WNOHANG: u32 = 1;
2279pub const WUNTRACED: u32 = 2;
2280pub const WSTOPPED: u32 = 2;
2281pub const WEXITED: u32 = 4;
2282pub const WCONTINUED: u32 = 8;
2283pub const WNOWAIT: u32 = 16777216;
2284pub const __WNOTHREAD: u32 = 536870912;
2285pub const __WALL: u32 = 1073741824;
2286pub const __WCLONE: u32 = 2147483648;
2287pub const P_ALL: u32 = 0;
2288pub const P_PID: u32 = 1;
2289pub const P_PGID: u32 = 2;
2290pub const P_PIDFD: u32 = 3;
2291pub const XATTR_CREATE: u32 = 1;
2292pub const XATTR_REPLACE: u32 = 2;
2293pub const XATTR_OS2_PREFIX: &[u8; 5usize] = b"os2.\0";
2294pub const XATTR_MAC_OSX_PREFIX: &[u8; 5usize] = b"osx.\0";
2295pub const XATTR_BTRFS_PREFIX: &[u8; 7usize] = b"btrfs.\0";
2296pub const XATTR_HURD_PREFIX: &[u8; 5usize] = b"gnu.\0";
2297pub const XATTR_SECURITY_PREFIX: &[u8; 10usize] = b"security.\0";
2298pub const XATTR_SYSTEM_PREFIX: &[u8; 8usize] = b"system.\0";
2299pub const XATTR_TRUSTED_PREFIX: &[u8; 9usize] = b"trusted.\0";
2300pub const XATTR_USER_PREFIX: &[u8; 6usize] = b"user.\0";
2301pub const XATTR_EVM_SUFFIX: &[u8; 4usize] = b"evm\0";
2302pub const XATTR_NAME_EVM: &[u8; 13usize] = b"security.evm\0";
2303pub const XATTR_IMA_SUFFIX: &[u8; 4usize] = b"ima\0";
2304pub const XATTR_NAME_IMA: &[u8; 13usize] = b"security.ima\0";
2305pub const XATTR_SELINUX_SUFFIX: &[u8; 8usize] = b"selinux\0";
2306pub const XATTR_NAME_SELINUX: &[u8; 17usize] = b"security.selinux\0";
2307pub const XATTR_SMACK_SUFFIX: &[u8; 8usize] = b"SMACK64\0";
2308pub const XATTR_SMACK_IPIN: &[u8; 12usize] = b"SMACK64IPIN\0";
2309pub const XATTR_SMACK_IPOUT: &[u8; 13usize] = b"SMACK64IPOUT\0";
2310pub const XATTR_SMACK_EXEC: &[u8; 12usize] = b"SMACK64EXEC\0";
2311pub const XATTR_SMACK_TRANSMUTE: &[u8; 17usize] = b"SMACK64TRANSMUTE\0";
2312pub const XATTR_SMACK_MMAP: &[u8; 12usize] = b"SMACK64MMAP\0";
2313pub const XATTR_NAME_SMACK: &[u8; 17usize] = b"security.SMACK64\0";
2314pub const XATTR_NAME_SMACKIPIN: &[u8; 21usize] = b"security.SMACK64IPIN\0";
2315pub const XATTR_NAME_SMACKIPOUT: &[u8; 22usize] = b"security.SMACK64IPOUT\0";
2316pub const XATTR_NAME_SMACKEXEC: &[u8; 21usize] = b"security.SMACK64EXEC\0";
2317pub const XATTR_NAME_SMACKTRANSMUTE: &[u8; 26usize] = b"security.SMACK64TRANSMUTE\0";
2318pub const XATTR_NAME_SMACKMMAP: &[u8; 21usize] = b"security.SMACK64MMAP\0";
2319pub const XATTR_APPARMOR_SUFFIX: &[u8; 9usize] = b"apparmor\0";
2320pub const XATTR_NAME_APPARMOR: &[u8; 18usize] = b"security.apparmor\0";
2321pub const XATTR_CAPS_SUFFIX: &[u8; 11usize] = b"capability\0";
2322pub const XATTR_NAME_CAPS: &[u8; 20usize] = b"security.capability\0";
2323pub const XATTR_POSIX_ACL_ACCESS: &[u8; 17usize] = b"posix_acl_access\0";
2324pub const XATTR_NAME_POSIX_ACL_ACCESS: &[u8; 24usize] = b"system.posix_acl_access\0";
2325pub const XATTR_POSIX_ACL_DEFAULT: &[u8; 18usize] = b"posix_acl_default\0";
2326pub const XATTR_NAME_POSIX_ACL_DEFAULT: &[u8; 25usize] = b"system.posix_acl_default\0";
2327pub const MFD_CLOEXEC: u32 = 1;
2328pub const MFD_ALLOW_SEALING: u32 = 2;
2329pub const MFD_HUGETLB: u32 = 4;
2330pub const MFD_NOEXEC_SEAL: u32 = 8;
2331pub const MFD_EXEC: u32 = 16;
2332pub const MFD_HUGE_SHIFT: u32 = 26;
2333pub const MFD_HUGE_MASK: u32 = 63;
2334pub const MFD_HUGE_64KB: u32 = 1073741824;
2335pub const MFD_HUGE_512KB: u32 = 1275068416;
2336pub const MFD_HUGE_1MB: u32 = 1342177280;
2337pub const MFD_HUGE_2MB: u32 = 1409286144;
2338pub const MFD_HUGE_8MB: u32 = 1543503872;
2339pub const MFD_HUGE_16MB: u32 = 1610612736;
2340pub const MFD_HUGE_32MB: u32 = 1677721600;
2341pub const MFD_HUGE_256MB: u32 = 1879048192;
2342pub const MFD_HUGE_512MB: u32 = 1946157056;
2343pub const MFD_HUGE_1GB: u32 = 2013265920;
2344pub const MFD_HUGE_2GB: u32 = 2080374784;
2345pub const MFD_HUGE_16GB: u32 = 2281701376;
2346pub const TFD_TIMER_ABSTIME: u32 = 1;
2347pub const TFD_TIMER_CANCEL_ON_SET: u32 = 2;
2348pub const TFD_CLOEXEC: u32 = 524288;
2349pub const TFD_NONBLOCK: u32 = 2048;
2350pub const USERFAULTFD_IOC: u32 = 170;
2351pub const _UFFDIO_REGISTER: u32 = 0;
2352pub const _UFFDIO_UNREGISTER: u32 = 1;
2353pub const _UFFDIO_WAKE: u32 = 2;
2354pub const _UFFDIO_COPY: u32 = 3;
2355pub const _UFFDIO_ZEROPAGE: u32 = 4;
2356pub const _UFFDIO_WRITEPROTECT: u32 = 6;
2357pub const _UFFDIO_CONTINUE: u32 = 7;
2358pub const _UFFDIO_API: u32 = 63;
2359pub const UFFDIO: u32 = 170;
2360pub const UFFD_EVENT_PAGEFAULT: u32 = 18;
2361pub const UFFD_EVENT_FORK: u32 = 19;
2362pub const UFFD_EVENT_REMAP: u32 = 20;
2363pub const UFFD_EVENT_REMOVE: u32 = 21;
2364pub const UFFD_EVENT_UNMAP: u32 = 22;
2365pub const UFFD_PAGEFAULT_FLAG_WRITE: u32 = 1;
2366pub const UFFD_PAGEFAULT_FLAG_WP: u32 = 2;
2367pub const UFFD_PAGEFAULT_FLAG_MINOR: u32 = 4;
2368pub const UFFD_FEATURE_PAGEFAULT_FLAG_WP: u32 = 1;
2369pub const UFFD_FEATURE_EVENT_FORK: u32 = 2;
2370pub const UFFD_FEATURE_EVENT_REMAP: u32 = 4;
2371pub const UFFD_FEATURE_EVENT_REMOVE: u32 = 8;
2372pub const UFFD_FEATURE_MISSING_HUGETLBFS: u32 = 16;
2373pub const UFFD_FEATURE_MISSING_SHMEM: u32 = 32;
2374pub const UFFD_FEATURE_EVENT_UNMAP: u32 = 64;
2375pub const UFFD_FEATURE_SIGBUS: u32 = 128;
2376pub const UFFD_FEATURE_THREAD_ID: u32 = 256;
2377pub const UFFD_FEATURE_MINOR_HUGETLBFS: u32 = 512;
2378pub const UFFD_FEATURE_MINOR_SHMEM: u32 = 1024;
2379pub const UFFD_FEATURE_EXACT_ADDRESS: u32 = 2048;
2380pub const UFFD_FEATURE_WP_HUGETLBFS_SHMEM: u32 = 4096;
2381pub const UFFD_USER_MODE_ONLY: u32 = 1;
2382pub const IORING_FILE_INDEX_ALLOC: i32 = -1;
2383pub const IORING_SETUP_IOPOLL: u32 = 1;
2384pub const IORING_SETUP_SQPOLL: u32 = 2;
2385pub const IORING_SETUP_SQ_AFF: u32 = 4;
2386pub const IORING_SETUP_CQSIZE: u32 = 8;
2387pub const IORING_SETUP_CLAMP: u32 = 16;
2388pub const IORING_SETUP_ATTACH_WQ: u32 = 32;
2389pub const IORING_SETUP_R_DISABLED: u32 = 64;
2390pub const IORING_SETUP_SUBMIT_ALL: u32 = 128;
2391pub const IORING_SETUP_COOP_TASKRUN: u32 = 256;
2392pub const IORING_SETUP_TASKRUN_FLAG: u32 = 512;
2393pub const IORING_SETUP_SQE128: u32 = 1024;
2394pub const IORING_SETUP_CQE32: u32 = 2048;
2395pub const IORING_SETUP_SINGLE_ISSUER: u32 = 4096;
2396pub const IORING_SETUP_DEFER_TASKRUN: u32 = 8192;
2397pub const IORING_URING_CMD_FIXED: u32 = 1;
2398pub const IORING_FSYNC_DATASYNC: u32 = 1;
2399pub const IORING_TIMEOUT_ABS: u32 = 1;
2400pub const IORING_TIMEOUT_UPDATE: u32 = 2;
2401pub const IORING_TIMEOUT_BOOTTIME: u32 = 4;
2402pub const IORING_TIMEOUT_REALTIME: u32 = 8;
2403pub const IORING_LINK_TIMEOUT_UPDATE: u32 = 16;
2404pub const IORING_TIMEOUT_ETIME_SUCCESS: u32 = 32;
2405pub const IORING_TIMEOUT_CLOCK_MASK: u32 = 12;
2406pub const IORING_TIMEOUT_UPDATE_MASK: u32 = 18;
2407pub const SPLICE_F_FD_IN_FIXED: u32 = 2147483648;
2408pub const IORING_POLL_ADD_MULTI: u32 = 1;
2409pub const IORING_POLL_UPDATE_EVENTS: u32 = 2;
2410pub const IORING_POLL_UPDATE_USER_DATA: u32 = 4;
2411pub const IORING_POLL_ADD_LEVEL: u32 = 8;
2412pub const IORING_ASYNC_CANCEL_ALL: u32 = 1;
2413pub const IORING_ASYNC_CANCEL_FD: u32 = 2;
2414pub const IORING_ASYNC_CANCEL_ANY: u32 = 4;
2415pub const IORING_ASYNC_CANCEL_FD_FIXED: u32 = 8;
2416pub const IORING_RECVSEND_POLL_FIRST: u32 = 1;
2417pub const IORING_RECV_MULTISHOT: u32 = 2;
2418pub const IORING_RECVSEND_FIXED_BUF: u32 = 4;
2419pub const IORING_SEND_ZC_REPORT_USAGE: u32 = 8;
2420pub const IORING_NOTIF_USAGE_ZC_COPIED: u32 = 2147483648;
2421pub const IORING_ACCEPT_MULTISHOT: u32 = 1;
2422pub const IORING_MSG_RING_CQE_SKIP: u32 = 1;
2423pub const IORING_MSG_RING_FLAGS_PASS: u32 = 2;
2424pub const IORING_CQE_F_BUFFER: u32 = 1;
2425pub const IORING_CQE_F_MORE: u32 = 2;
2426pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4;
2427pub const IORING_CQE_F_NOTIF: u32 = 8;
2428pub const IORING_OFF_SQ_RING: u32 = 0;
2429pub const IORING_OFF_CQ_RING: u32 = 134217728;
2430pub const IORING_OFF_SQES: u32 = 268435456;
2431pub const IORING_SQ_NEED_WAKEUP: u32 = 1;
2432pub const IORING_SQ_CQ_OVERFLOW: u32 = 2;
2433pub const IORING_SQ_TASKRUN: u32 = 4;
2434pub const IORING_CQ_EVENTFD_DISABLED: u32 = 1;
2435pub const IORING_ENTER_GETEVENTS: u32 = 1;
2436pub const IORING_ENTER_SQ_WAKEUP: u32 = 2;
2437pub const IORING_ENTER_SQ_WAIT: u32 = 4;
2438pub const IORING_ENTER_EXT_ARG: u32 = 8;
2439pub const IORING_ENTER_REGISTERED_RING: u32 = 16;
2440pub const IORING_FEAT_SINGLE_MMAP: u32 = 1;
2441pub const IORING_FEAT_NODROP: u32 = 2;
2442pub const IORING_FEAT_SUBMIT_STABLE: u32 = 4;
2443pub const IORING_FEAT_RW_CUR_POS: u32 = 8;
2444pub const IORING_FEAT_CUR_PERSONALITY: u32 = 16;
2445pub const IORING_FEAT_FAST_POLL: u32 = 32;
2446pub const IORING_FEAT_POLL_32BITS: u32 = 64;
2447pub const IORING_FEAT_SQPOLL_NONFIXED: u32 = 128;
2448pub const IORING_FEAT_EXT_ARG: u32 = 256;
2449pub const IORING_FEAT_NATIVE_WORKERS: u32 = 512;
2450pub const IORING_FEAT_RSRC_TAGS: u32 = 1024;
2451pub const IORING_FEAT_CQE_SKIP: u32 = 2048;
2452pub const IORING_FEAT_LINKED_FILE: u32 = 4096;
2453pub const IORING_FEAT_REG_REG_RING: u32 = 8192;
2454pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1;
2455pub const IORING_REGISTER_FILES_SKIP: i32 = -2;
2456pub const IO_URING_OP_SUPPORTED: u32 = 1;
2457pub const DT_UNKNOWN: u32 = 0;
2458pub const DT_FIFO: u32 = 1;
2459pub const DT_CHR: u32 = 2;
2460pub const DT_DIR: u32 = 4;
2461pub const DT_BLK: u32 = 6;
2462pub const DT_REG: u32 = 8;
2463pub const DT_LNK: u32 = 10;
2464pub const DT_SOCK: u32 = 12;
2465pub const SHUT_RD: u32 = 0;
2466pub const SHUT_WR: u32 = 1;
2467pub const SHUT_RDWR: u32 = 2;
2468pub const STAT_HAVE_NSEC: u32 = 1;
2469pub const SOCK_STREAM: u32 = 1;
2470pub const SOCK_DGRAM: u32 = 2;
2471pub const SOCK_RAW: u32 = 3;
2472pub const SOCK_RDM: u32 = 4;
2473pub const SOCK_SEQPACKET: u32 = 5;
2474pub const F_OK: u32 = 0;
2475pub const R_OK: u32 = 4;
2476pub const W_OK: u32 = 2;
2477pub const X_OK: u32 = 1;
2478pub const UTIME_NOW: u32 = 1073741823;
2479pub const UTIME_OMIT: u32 = 1073741822;
2480pub const MSG_DONTWAIT: u32 = 64;
2481pub const AF_UNSPEC: u32 = 0;
2482pub const AF_UNIX: u32 = 1;
2483pub const AF_INET: u32 = 2;
2484pub const AF_AX25: u32 = 3;
2485pub const AF_IPX: u32 = 4;
2486pub const AF_APPLETALK: u32 = 5;
2487pub const AF_NETROM: u32 = 6;
2488pub const AF_BRIDGE: u32 = 7;
2489pub const AF_ATMPVC: u32 = 8;
2490pub const AF_X25: u32 = 9;
2491pub const AF_INET6: u32 = 10;
2492pub const AF_ROSE: u32 = 11;
2493pub const AF_DECnet: u32 = 12;
2494pub const AF_NETBEUI: u32 = 13;
2495pub const AF_SECURITY: u32 = 14;
2496pub const AF_KEY: u32 = 15;
2497pub const AF_NETLINK: u32 = 16;
2498pub const AF_PACKET: u32 = 17;
2499pub const AF_ASH: u32 = 18;
2500pub const AF_ECONET: u32 = 19;
2501pub const AF_ATMSVC: u32 = 20;
2502pub const AF_RDS: u32 = 21;
2503pub const AF_SNA: u32 = 22;
2504pub const AF_IRDA: u32 = 23;
2505pub const AF_PPPOX: u32 = 24;
2506pub const AF_WANPIPE: u32 = 25;
2507pub const AF_LLC: u32 = 26;
2508pub const AF_CAN: u32 = 29;
2509pub const AF_TIPC: u32 = 30;
2510pub const AF_BLUETOOTH: u32 = 31;
2511pub const AF_IUCV: u32 = 32;
2512pub const AF_RXRPC: u32 = 33;
2513pub const AF_ISDN: u32 = 34;
2514pub const AF_PHONET: u32 = 35;
2515pub const AF_IEEE802154: u32 = 36;
2516pub const AF_MAX: u32 = 37;
2517pub const MSG_OOB: u32 = 1;
2518pub const MSG_PEEK: u32 = 2;
2519pub const MSG_DONTROUTE: u32 = 4;
2520pub const MSG_CTRUNC: u32 = 8;
2521pub const MSG_PROBE: u32 = 16;
2522pub const MSG_TRUNC: u32 = 32;
2523pub const MSG_EOR: u32 = 128;
2524pub const MSG_WAITALL: u32 = 256;
2525pub const MSG_FIN: u32 = 512;
2526pub const MSG_SYN: u32 = 1024;
2527pub const MSG_CONFIRM: u32 = 2048;
2528pub const MSG_RST: u32 = 4096;
2529pub const MSG_ERRQUEUE: u32 = 8192;
2530pub const MSG_NOSIGNAL: u32 = 16384;
2531pub const MSG_MORE: u32 = 32768;
2532pub const MSG_CMSG_CLOEXEC: u32 = 1073741824;
2533pub const STDIN_FILENO: u32 = 0;
2534pub const STDOUT_FILENO: u32 = 1;
2535pub const STDERR_FILENO: u32 = 2;
2536pub const RWF_HIPRI: u32 = 1;
2537pub const RWF_DSYNC: u32 = 2;
2538pub const RWF_SYNC: u32 = 4;
2539pub const RWF_NOWAIT: u32 = 8;
2540pub const RWF_APPEND: u32 = 16;
2541pub const EFD_SEMAPHORE: u32 = 1;
2542pub const EFD_CLOEXEC: u32 = 524288;
2543pub const EFD_NONBLOCK: u32 = 2048;
2544pub const EPOLLIN: u32 = 1;
2545pub const EPOLLPRI: u32 = 2;
2546pub const EPOLLOUT: u32 = 4;
2547pub const EPOLLERR: u32 = 8;
2548pub const EPOLLHUP: u32 = 16;
2549pub const EPOLLNVAL: u32 = 32;
2550pub const EPOLLRDNORM: u32 = 64;
2551pub const EPOLLRDBAND: u32 = 128;
2552pub const EPOLLWRNORM: u32 = 256;
2553pub const EPOLLWRBAND: u32 = 512;
2554pub const EPOLLMSG: u32 = 1024;
2555pub const EPOLLRDHUP: u32 = 8192;
2556pub const EPOLLEXCLUSIVE: u32 = 268435456;
2557pub const EPOLLWAKEUP: u32 = 536870912;
2558pub const EPOLLONESHOT: u32 = 1073741824;
2559pub const EPOLLET: u32 = 2147483648;
2560pub const TFD_SHARED_FCNTL_FLAGS: u32 = 526336;
2561pub const TFD_CREATE_FLAGS: u32 = 526336;
2562pub const TFD_SETTIME_FLAGS: u32 = 1;
2563pub const ARCH_SET_FS: u32 = 4098;
2564pub const SCM_RIGHTS: u32 = 1;
2565pub const SCM_CREDENTIALS: u32 = 2;
2566pub const SCM_SECURITY: u32 = 3;
2567pub const UFFD_API: u32 = 170;
2568pub const UFFDIO_REGISTER_MODE_MISSING: u32 = 1;
2569pub const UFFDIO_REGISTER_MODE_WP: u32 = 2;
2570pub const UFFDIO_REGISTER_MODE_MINOR: u32 = 4;
2571pub const UFFDIO_COPY_MODE_DONTWAKE: u32 = 1;
2572pub const UFFDIO_COPY_MODE_WP: u32 = 2;
2573pub const UFFDIO_ZEROPAGE_MODE_DONTWAKE: u32 = 1;
2574pub const SPLICE_F_MOVE: u32 = 1;
2575pub const SPLICE_F_NONBLOCK: u32 = 2;
2576pub const SPLICE_F_MORE: u32 = 4;
2577pub const SPLICE_F_GIFT: u32 = 8;
2578pub const MNT_FORCE: u32 = 1;
2579pub const MNT_DETACH: u32 = 2;
2580pub const MNT_EXPIRE: u32 = 4;
2581pub const UMOUNT_NOFOLLOW: u32 = 8;
2582pub const UMOUNT_UNUSED: u32 = 2147483648;
2583pub const _NSIG: u32 = 64;
2584pub type size_t = crate::ctypes::c_ulong;
2585pub type ssize_t = crate::ctypes::c_long;
2586pub type __s8 = crate::ctypes::c_schar;
2587pub type __u8 = crate::ctypes::c_uchar;
2588pub type __s16 = crate::ctypes::c_short;
2589pub type __u16 = crate::ctypes::c_ushort;
2590pub type __s32 = crate::ctypes::c_int;
2591pub type __u32 = crate::ctypes::c_uint;
2592pub type __s64 = crate::ctypes::c_longlong;
2593pub type __u64 = crate::ctypes::c_ulonglong;
2594#[repr(C)]
2595#[derive(Debug, Copy, Clone)]
2596pub struct __kernel_fd_set {
2597pub fds_bits: [crate::ctypes::c_ulong; 16usize],
2598}
2599pub type __kernel_sighandler_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>;
2600pub type __kernel_key_t = crate::ctypes::c_int;
2601pub type __kernel_mqd_t = crate::ctypes::c_int;
2602pub type __kernel_old_uid_t = crate::ctypes::c_ushort;
2603pub type __kernel_old_gid_t = crate::ctypes::c_ushort;
2604pub type __kernel_old_dev_t = crate::ctypes::c_ulong;
2605pub type __kernel_long_t = crate::ctypes::c_long;
2606pub type __kernel_ulong_t = crate::ctypes::c_ulong;
2607pub type __kernel_ino_t = __kernel_ulong_t;
2608pub type __kernel_mode_t = crate::ctypes::c_uint;
2609pub type __kernel_pid_t = crate::ctypes::c_int;
2610pub type __kernel_ipc_pid_t = crate::ctypes::c_int;
2611pub type __kernel_uid_t = crate::ctypes::c_uint;
2612pub type __kernel_gid_t = crate::ctypes::c_uint;
2613pub type __kernel_suseconds_t = __kernel_long_t;
2614pub type __kernel_daddr_t = crate::ctypes::c_int;
2615pub type __kernel_uid32_t = crate::ctypes::c_uint;
2616pub type __kernel_gid32_t = crate::ctypes::c_uint;
2617pub type __kernel_size_t = __kernel_ulong_t;
2618pub type __kernel_ssize_t = __kernel_long_t;
2619pub type __kernel_ptrdiff_t = __kernel_long_t;
2620#[repr(C)]
2621#[derive(Debug, Copy, Clone)]
2622pub struct __kernel_fsid_t {
2623pub val: [crate::ctypes::c_int; 2usize],
2624}
2625pub type __kernel_off_t = __kernel_long_t;
2626pub type __kernel_loff_t = crate::ctypes::c_longlong;
2627pub type __kernel_old_time_t = __kernel_long_t;
2628pub type __kernel_time_t = __kernel_long_t;
2629pub type __kernel_time64_t = crate::ctypes::c_longlong;
2630pub type __kernel_clock_t = __kernel_long_t;
2631pub type __kernel_timer_t = crate::ctypes::c_int;
2632pub type __kernel_clockid_t = crate::ctypes::c_int;
2633pub type __kernel_caddr_t = *mut crate::ctypes::c_char;
2634pub type __kernel_uid16_t = crate::ctypes::c_ushort;
2635pub type __kernel_gid16_t = crate::ctypes::c_ushort;
2636pub type __le16 = __u16;
2637pub type __be16 = __u16;
2638pub type __le32 = __u32;
2639pub type __be32 = __u32;
2640pub type __le64 = __u64;
2641pub type __be64 = __u64;
2642pub type __sum16 = __u16;
2643pub type __wsum = __u32;
2644pub type __poll_t = crate::ctypes::c_uint;
2645#[repr(C)]
2646#[derive(Debug, Copy, Clone)]
2647pub struct __user_cap_header_struct {
2648pub version: __u32,
2649pub pid: crate::ctypes::c_int,
2650}
2651pub type cap_user_header_t = *mut __user_cap_header_struct;
2652#[repr(C)]
2653#[derive(Debug, Copy, Clone)]
2654pub struct __user_cap_data_struct {
2655pub effective: __u32,
2656pub permitted: __u32,
2657pub inheritable: __u32,
2658}
2659pub type cap_user_data_t = *mut __user_cap_data_struct;
2660#[repr(C)]
2661#[derive(Debug, Copy, Clone)]
2662pub struct vfs_cap_data {
2663pub magic_etc: __le32,
2664pub data: [vfs_cap_data__bindgen_ty_1; 2usize],
2665}
2666#[repr(C)]
2667#[derive(Debug, Copy, Clone)]
2668pub struct vfs_cap_data__bindgen_ty_1 {
2669pub permitted: __le32,
2670pub inheritable: __le32,
2671}
2672#[repr(C)]
2673#[derive(Debug, Copy, Clone)]
2674pub struct vfs_ns_cap_data {
2675pub magic_etc: __le32,
2676pub data: [vfs_ns_cap_data__bindgen_ty_1; 2usize],
2677pub rootid: __le32,
2678}
2679#[repr(C)]
2680#[derive(Debug, Copy, Clone)]
2681pub struct vfs_ns_cap_data__bindgen_ty_1 {
2682pub permitted: __le32,
2683pub inheritable: __le32,
2684}
2685#[repr(C)]
2686#[derive(Debug, Copy, Clone)]
2687pub struct f_owner_ex {
2688pub type_: crate::ctypes::c_int,
2689pub pid: __kernel_pid_t,
2690}
2691#[repr(C)]
2692#[derive(Debug, Copy, Clone)]
2693pub struct flock {
2694pub l_type: crate::ctypes::c_short,
2695pub l_whence: crate::ctypes::c_short,
2696pub l_start: __kernel_off_t,
2697pub l_len: __kernel_off_t,
2698pub l_pid: __kernel_pid_t,
2699}
2700#[repr(C)]
2701#[derive(Debug, Copy, Clone)]
2702pub struct flock64 {
2703pub l_type: crate::ctypes::c_short,
2704pub l_whence: crate::ctypes::c_short,
2705pub l_start: __kernel_loff_t,
2706pub l_len: __kernel_loff_t,
2707pub l_pid: __kernel_pid_t,
2708}
2709#[repr(C)]
2710#[derive(Debug, Copy, Clone)]
2711pub struct open_how {
2712pub flags: __u64,
2713pub mode: __u64,
2714pub resolve: __u64,
2715}
2716#[repr(C, packed)]
2717#[derive(Debug, Copy, Clone)]
2718pub struct epoll_event {
2719pub events: __poll_t,
2720pub data: __u64,
2721}
2722#[repr(C)]
2723#[derive(Debug, Copy, Clone)]
2724pub struct fscrypt_policy_v1 {
2725pub version: __u8,
2726pub contents_encryption_mode: __u8,
2727pub filenames_encryption_mode: __u8,
2728pub flags: __u8,
2729pub master_key_descriptor: [__u8; 8usize],
2730}
2731#[repr(C)]
2732#[derive(Debug, Copy, Clone)]
2733pub struct fscrypt_key {
2734pub mode: __u32,
2735pub raw: [__u8; 64usize],
2736pub size: __u32,
2737}
2738#[repr(C)]
2739#[derive(Debug, Copy, Clone)]
2740pub struct fscrypt_policy_v2 {
2741pub version: __u8,
2742pub contents_encryption_mode: __u8,
2743pub filenames_encryption_mode: __u8,
2744pub flags: __u8,
2745pub __reserved: [__u8; 4usize],
2746pub master_key_identifier: [__u8; 16usize],
2747}
2748#[repr(C)]
2749#[derive(Copy, Clone)]
2750pub struct fscrypt_get_policy_ex_arg {
2751pub policy_size: __u64,
2752pub policy: fscrypt_get_policy_ex_arg__bindgen_ty_1,
2753}
2754#[repr(C)]
2755#[derive(Copy, Clone)]
2756pub union fscrypt_get_policy_ex_arg__bindgen_ty_1 {
2757pub version: __u8,
2758pub v1: fscrypt_policy_v1,
2759pub v2: fscrypt_policy_v2,
2760}
2761#[repr(C)]
2762#[derive(Copy, Clone)]
2763pub struct fscrypt_key_specifier {
2764pub type_: __u32,
2765pub __reserved: __u32,
2766pub u: fscrypt_key_specifier__bindgen_ty_1,
2767}
2768#[repr(C)]
2769#[derive(Copy, Clone)]
2770pub union fscrypt_key_specifier__bindgen_ty_1 {
2771pub __reserved: [__u8; 32usize],
2772pub descriptor: [__u8; 8usize],
2773pub identifier: [__u8; 16usize],
2774}
2775#[repr(C)]
2776#[derive(Debug)]
2777pub struct fscrypt_provisioning_key_payload {
2778pub type_: __u32,
2779pub __reserved: __u32,
2780pub raw: __IncompleteArrayField<__u8>,
2781}
2782#[repr(C)]
2783pub struct fscrypt_add_key_arg {
2784pub key_spec: fscrypt_key_specifier,
2785pub raw_size: __u32,
2786pub key_id: __u32,
2787pub __reserved: [__u32; 8usize],
2788pub raw: __IncompleteArrayField<__u8>,
2789}
2790#[repr(C)]
2791#[derive(Copy, Clone)]
2792pub struct fscrypt_remove_key_arg {
2793pub key_spec: fscrypt_key_specifier,
2794pub removal_status_flags: __u32,
2795pub __reserved: [__u32; 5usize],
2796}
2797#[repr(C)]
2798#[derive(Copy, Clone)]
2799pub struct fscrypt_get_key_status_arg {
2800pub key_spec: fscrypt_key_specifier,
2801pub __reserved: [__u32; 6usize],
2802pub status: __u32,
2803pub status_flags: __u32,
2804pub user_count: __u32,
2805pub __out_reserved: [__u32; 13usize],
2806}
2807#[repr(u32)]
2808#[non_exhaustive]
2809#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2810pub enum fsconfig_command {
2811FSCONFIG_SET_FLAG = 0,
2812FSCONFIG_SET_STRING = 1,
2813FSCONFIG_SET_BINARY = 2,
2814FSCONFIG_SET_PATH = 3,
2815FSCONFIG_SET_PATH_EMPTY = 4,
2816FSCONFIG_SET_FD = 5,
2817FSCONFIG_CMD_CREATE = 6,
2818FSCONFIG_CMD_RECONFIGURE = 7,
2819}
2820#[repr(C)]
2821#[derive(Debug, Copy, Clone)]
2822pub struct mount_attr {
2823pub attr_set: __u64,
2824pub attr_clr: __u64,
2825pub propagation: __u64,
2826pub userns_fd: __u64,
2827}
2828#[repr(C)]
2829#[derive(Debug, Copy, Clone)]
2830pub struct file_clone_range {
2831pub src_fd: __s64,
2832pub src_offset: __u64,
2833pub src_length: __u64,
2834pub dest_offset: __u64,
2835}
2836#[repr(C)]
2837#[derive(Debug, Copy, Clone)]
2838pub struct fstrim_range {
2839pub start: __u64,
2840pub len: __u64,
2841pub minlen: __u64,
2842}
2843#[repr(C)]
2844#[derive(Debug, Copy, Clone)]
2845pub struct file_dedupe_range_info {
2846pub dest_fd: __s64,
2847pub dest_offset: __u64,
2848pub bytes_deduped: __u64,
2849pub status: __s32,
2850pub reserved: __u32,
2851}
2852#[repr(C)]
2853#[derive(Debug)]
2854pub struct file_dedupe_range {
2855pub src_offset: __u64,
2856pub src_length: __u64,
2857pub dest_count: __u16,
2858pub reserved1: __u16,
2859pub reserved2: __u32,
2860pub info: __IncompleteArrayField<file_dedupe_range_info>,
2861}
2862#[repr(C)]
2863#[derive(Debug, Copy, Clone)]
2864pub struct files_stat_struct {
2865pub nr_files: crate::ctypes::c_ulong,
2866pub nr_free_files: crate::ctypes::c_ulong,
2867pub max_files: crate::ctypes::c_ulong,
2868}
2869#[repr(C)]
2870#[derive(Debug, Copy, Clone)]
2871pub struct inodes_stat_t {
2872pub nr_inodes: crate::ctypes::c_long,
2873pub nr_unused: crate::ctypes::c_long,
2874pub dummy: [crate::ctypes::c_long; 5usize],
2875}
2876#[repr(C)]
2877#[derive(Debug, Copy, Clone)]
2878pub struct fsxattr {
2879pub fsx_xflags: __u32,
2880pub fsx_extsize: __u32,
2881pub fsx_nextents: __u32,
2882pub fsx_projid: __u32,
2883pub fsx_cowextsize: __u32,
2884pub fsx_pad: [crate::ctypes::c_uchar; 8usize],
2885}
2886pub type __kernel_rwf_t = crate::ctypes::c_int;
2887#[repr(C)]
2888#[derive(Debug, Copy, Clone)]
2889pub struct futex_waitv {
2890pub val: __u64,
2891pub uaddr: __u64,
2892pub flags: __u32,
2893pub __reserved: __u32,
2894}
2895#[repr(C)]
2896#[derive(Debug, Copy, Clone)]
2897pub struct robust_list {
2898pub next: *mut robust_list,
2899}
2900#[repr(C)]
2901#[derive(Debug, Copy, Clone)]
2902pub struct robust_list_head {
2903pub list: robust_list,
2904pub futex_offset: crate::ctypes::c_long,
2905pub list_op_pending: *mut robust_list,
2906}
2907pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
2908#[repr(C)]
2909#[derive(Copy, Clone)]
2910pub struct __kernel_sockaddr_storage {
2911pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1,
2912}
2913#[repr(C)]
2914#[derive(Copy, Clone)]
2915pub union __kernel_sockaddr_storage__bindgen_ty_1 {
2916pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
2917pub __align: *mut crate::ctypes::c_void,
2918}
2919#[repr(C)]
2920#[derive(Debug, Copy, Clone)]
2921pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
2922pub ss_family: __kernel_sa_family_t,
2923pub __data: [crate::ctypes::c_char; 126usize],
2924}
2925pub const IPPROTO_IP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IP;
2926pub const IPPROTO_ICMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ICMP;
2927pub const IPPROTO_IGMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IGMP;
2928pub const IPPROTO_IPIP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPIP;
2929pub const IPPROTO_TCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TCP;
2930pub const IPPROTO_EGP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_EGP;
2931pub const IPPROTO_PUP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PUP;
2932pub const IPPROTO_UDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDP;
2933pub const IPPROTO_IDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IDP;
2934pub const IPPROTO_TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TP;
2935pub const IPPROTO_DCCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_DCCP;
2936pub const IPPROTO_IPV6: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPV6;
2937pub const IPPROTO_RSVP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RSVP;
2938pub const IPPROTO_GRE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_GRE;
2939pub const IPPROTO_ESP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ESP;
2940pub const IPPROTO_AH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AH;
2941pub const IPPROTO_MTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MTP;
2942pub const IPPROTO_BEETPH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_BEETPH;
2943pub const IPPROTO_ENCAP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ENCAP;
2944pub const IPPROTO_PIM: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PIM;
2945pub const IPPROTO_COMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_COMP;
2946pub const IPPROTO_L2TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_L2TP;
2947pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP;
2948pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE;
2949pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS;
2950pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET;
2951pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW;
2952pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP;
2953pub const IPPROTO_MAX: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MAX;
2954#[repr(u32)]
2955#[non_exhaustive]
2956#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2957pub enum _bindgen_ty_1 {
2958IPPROTO_IP = 0,
2959IPPROTO_ICMP = 1,
2960IPPROTO_IGMP = 2,
2961IPPROTO_IPIP = 4,
2962IPPROTO_TCP = 6,
2963IPPROTO_EGP = 8,
2964IPPROTO_PUP = 12,
2965IPPROTO_UDP = 17,
2966IPPROTO_IDP = 22,
2967IPPROTO_TP = 29,
2968IPPROTO_DCCP = 33,
2969IPPROTO_IPV6 = 41,
2970IPPROTO_RSVP = 46,
2971IPPROTO_GRE = 47,
2972IPPROTO_ESP = 50,
2973IPPROTO_AH = 51,
2974IPPROTO_MTP = 92,
2975IPPROTO_BEETPH = 94,
2976IPPROTO_ENCAP = 98,
2977IPPROTO_PIM = 103,
2978IPPROTO_COMP = 108,
2979IPPROTO_L2TP = 115,
2980IPPROTO_SCTP = 132,
2981IPPROTO_UDPLITE = 136,
2982IPPROTO_MPLS = 137,
2983IPPROTO_ETHERNET = 143,
2984IPPROTO_RAW = 255,
2985IPPROTO_MPTCP = 262,
2986IPPROTO_MAX = 263,
2987}
2988#[repr(C)]
2989#[derive(Debug, Copy, Clone)]
2990pub struct in_addr {
2991pub s_addr: __be32,
2992}
2993#[repr(C)]
2994#[derive(Debug, Copy, Clone)]
2995pub struct ip_mreq {
2996pub imr_multiaddr: in_addr,
2997pub imr_interface: in_addr,
2998}
2999#[repr(C)]
3000#[derive(Debug, Copy, Clone)]
3001pub struct ip_mreqn {
3002pub imr_multiaddr: in_addr,
3003pub imr_address: in_addr,
3004pub imr_ifindex: crate::ctypes::c_int,
3005}
3006#[repr(C)]
3007#[derive(Debug, Copy, Clone)]
3008pub struct ip_mreq_source {
3009pub imr_multiaddr: __be32,
3010pub imr_interface: __be32,
3011pub imr_sourceaddr: __be32,
3012}
3013#[repr(C)]
3014pub struct ip_msfilter {
3015pub imsf_multiaddr: __be32,
3016pub imsf_interface: __be32,
3017pub imsf_fmode: __u32,
3018pub imsf_numsrc: __u32,
3019pub __bindgen_anon_1: ip_msfilter__bindgen_ty_1,
3020}
3021#[repr(C)]
3022pub struct ip_msfilter__bindgen_ty_1 {
3023pub imsf_slist: __BindgenUnionField<[__be32; 1usize]>,
3024pub __bindgen_anon_1: __BindgenUnionField<ip_msfilter__bindgen_ty_1__bindgen_ty_1>,
3025pub bindgen_union_field: u32,
3026}
3027#[repr(C)]
3028#[derive(Debug)]
3029pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1 {
3030pub __empty_imsf_slist_flex: ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
3031pub imsf_slist_flex: __IncompleteArrayField<__be32>,
3032}
3033#[repr(C)]
3034#[derive(Debug, Copy, Clone)]
3035pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {}
3036#[repr(C)]
3037#[derive(Copy, Clone)]
3038pub struct group_req {
3039pub gr_interface: __u32,
3040pub gr_group: __kernel_sockaddr_storage,
3041}
3042#[repr(C)]
3043#[derive(Copy, Clone)]
3044pub struct group_source_req {
3045pub gsr_interface: __u32,
3046pub gsr_group: __kernel_sockaddr_storage,
3047pub gsr_source: __kernel_sockaddr_storage,
3048}
3049#[repr(C)]
3050pub struct group_filter {
3051pub __bindgen_anon_1: group_filter__bindgen_ty_1,
3052}
3053#[repr(C)]
3054pub struct group_filter__bindgen_ty_1 {
3055pub __bindgen_anon_1: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_1>,
3056pub __bindgen_anon_2: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_2>,
3057pub bindgen_union_field: [u64; 34usize],
3058}
3059#[repr(C)]
3060#[derive(Copy, Clone)]
3061pub struct group_filter__bindgen_ty_1__bindgen_ty_1 {
3062pub gf_interface_aux: __u32,
3063pub gf_group_aux: __kernel_sockaddr_storage,
3064pub gf_fmode_aux: __u32,
3065pub gf_numsrc_aux: __u32,
3066pub gf_slist: [__kernel_sockaddr_storage; 1usize],
3067}
3068#[repr(C)]
3069pub struct group_filter__bindgen_ty_1__bindgen_ty_2 {
3070pub gf_interface: __u32,
3071pub gf_group: __kernel_sockaddr_storage,
3072pub gf_fmode: __u32,
3073pub gf_numsrc: __u32,
3074pub gf_slist_flex: __IncompleteArrayField<__kernel_sockaddr_storage>,
3075}
3076#[repr(C)]
3077#[derive(Debug, Copy, Clone)]
3078pub struct in_pktinfo {
3079pub ipi_ifindex: crate::ctypes::c_int,
3080pub ipi_spec_dst: in_addr,
3081pub ipi_addr: in_addr,
3082}
3083#[repr(C)]
3084#[derive(Debug, Copy, Clone)]
3085pub struct sockaddr_in {
3086pub sin_family: __kernel_sa_family_t,
3087pub sin_port: __be16,
3088pub sin_addr: in_addr,
3089pub __pad: [crate::ctypes::c_uchar; 8usize],
3090}
3091#[repr(C)]
3092#[derive(Debug)]
3093pub struct inotify_event {
3094pub wd: __s32,
3095pub mask: __u32,
3096pub cookie: __u32,
3097pub len: __u32,
3098pub name: __IncompleteArrayField<crate::ctypes::c_char>,
3099}
3100#[repr(C)]
3101#[derive(Copy, Clone)]
3102pub struct iphdr {
3103pub _bitfield_align_1: [u8; 0],
3104pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
3105pub tos: __u8,
3106pub tot_len: __be16,
3107pub id: __be16,
3108pub frag_off: __be16,
3109pub ttl: __u8,
3110pub protocol: __u8,
3111pub check: __sum16,
3112pub __bindgen_anon_1: iphdr__bindgen_ty_1,
3113}
3114#[repr(C)]
3115#[derive(Copy, Clone)]
3116pub union iphdr__bindgen_ty_1 {
3117pub __bindgen_anon_1: iphdr__bindgen_ty_1__bindgen_ty_1,
3118pub addrs: iphdr__bindgen_ty_1__bindgen_ty_2,
3119}
3120#[repr(C)]
3121#[derive(Debug, Copy, Clone)]
3122pub struct iphdr__bindgen_ty_1__bindgen_ty_1 {
3123pub saddr: __be32,
3124pub daddr: __be32,
3125}
3126#[repr(C)]
3127#[derive(Debug, Copy, Clone)]
3128pub struct iphdr__bindgen_ty_1__bindgen_ty_2 {
3129pub saddr: __be32,
3130pub daddr: __be32,
3131}
3132impl iphdr {
3133#[inline]
3134pub fn ihl(&self) -> __u8 {
3135unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
3136}
3137#[inline]
3138pub fn set_ihl(&mut self, val: __u8) {
3139unsafe {
3140let val: u8 = ::core::mem::transmute(val);
3141self._bitfield_1.set(0usize, 4u8, val as u64)
3142}
3143}
3144#[inline]
3145pub fn version(&self) -> __u8 {
3146unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
3147}
3148#[inline]
3149pub fn set_version(&mut self, val: __u8) {
3150unsafe {
3151let val: u8 = ::core::mem::transmute(val);
3152self._bitfield_1.set(4usize, 4u8, val as u64)
3153}
3154}
3155#[inline]
3156pub fn new_bitfield_1(ihl: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3157let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3158__bindgen_bitfield_unit.set(0usize, 4u8, {
3159let ihl: u8 = unsafe { ::core::mem::transmute(ihl) };
3160ihl as u64
3161});
3162__bindgen_bitfield_unit.set(4usize, 4u8, {
3163let version: u8 = unsafe { ::core::mem::transmute(version) };
3164version as u64
3165});
3166__bindgen_bitfield_unit
3167}
3168}
3169#[repr(C)]
3170#[derive(Debug)]
3171pub struct ip_auth_hdr {
3172pub nexthdr: __u8,
3173pub hdrlen: __u8,
3174pub reserved: __be16,
3175pub spi: __be32,
3176pub seq_no: __be32,
3177pub auth_data: __IncompleteArrayField<__u8>,
3178}
3179#[repr(C)]
3180#[derive(Debug)]
3181pub struct ip_esp_hdr {
3182pub spi: __be32,
3183pub seq_no: __be32,
3184pub enc_data: __IncompleteArrayField<__u8>,
3185}
3186#[repr(C)]
3187#[derive(Debug, Copy, Clone)]
3188pub struct ip_comp_hdr {
3189pub nexthdr: __u8,
3190pub flags: __u8,
3191pub cpi: __be16,
3192}
3193#[repr(C)]
3194#[derive(Debug, Copy, Clone)]
3195pub struct ip_beet_phdr {
3196pub nexthdr: __u8,
3197pub hdrlen: __u8,
3198pub padlen: __u8,
3199pub reserved: __u8,
3200}
3201pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORWARDING;
3202pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MC_FORWARDING;
3203pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP;
3204pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_REDIRECTS;
3205pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SECURE_REDIRECTS;
3206pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SEND_REDIRECTS;
3207pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SHARED_MEDIA;
3208pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_RP_FILTER;
3209pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
3210pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BOOTP_RELAY;
3211pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_LOG_MARTIANS;
3212pub const IPV4_DEVCONF_TAG: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_TAG;
3213pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARPFILTER;
3214pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MEDIUM_ID;
3215pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOXFRM;
3216pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOPOLICY;
3217pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORCE_IGMP_VERSION;
3218pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ANNOUNCE;
3219pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_IGNORE;
3220pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROMOTE_SECONDARIES;
3221pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ACCEPT;
3222pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_NOTIFY;
3223pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_LOCAL;
3224pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SRC_VMARK;
3225pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP_PVLAN;
3226pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ROUTE_LOCALNET;
3227pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
3228pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
3229pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
3230pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
3231pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
3232pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BC_FORWARDING;
3233pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
3234pub const __IPV4_DEVCONF_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IPV4_DEVCONF_MAX;
3235#[repr(u32)]
3236#[non_exhaustive]
3237#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3238pub enum _bindgen_ty_2 {
3239IPV4_DEVCONF_FORWARDING = 1,
3240IPV4_DEVCONF_MC_FORWARDING = 2,
3241IPV4_DEVCONF_PROXY_ARP = 3,
3242IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
3243IPV4_DEVCONF_SECURE_REDIRECTS = 5,
3244IPV4_DEVCONF_SEND_REDIRECTS = 6,
3245IPV4_DEVCONF_SHARED_MEDIA = 7,
3246IPV4_DEVCONF_RP_FILTER = 8,
3247IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
3248IPV4_DEVCONF_BOOTP_RELAY = 10,
3249IPV4_DEVCONF_LOG_MARTIANS = 11,
3250IPV4_DEVCONF_TAG = 12,
3251IPV4_DEVCONF_ARPFILTER = 13,
3252IPV4_DEVCONF_MEDIUM_ID = 14,
3253IPV4_DEVCONF_NOXFRM = 15,
3254IPV4_DEVCONF_NOPOLICY = 16,
3255IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
3256IPV4_DEVCONF_ARP_ANNOUNCE = 18,
3257IPV4_DEVCONF_ARP_IGNORE = 19,
3258IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
3259IPV4_DEVCONF_ARP_ACCEPT = 21,
3260IPV4_DEVCONF_ARP_NOTIFY = 22,
3261IPV4_DEVCONF_ACCEPT_LOCAL = 23,
3262IPV4_DEVCONF_SRC_VMARK = 24,
3263IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
3264IPV4_DEVCONF_ROUTE_LOCALNET = 26,
3265IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
3266IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
3267IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
3268IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
3269IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
3270IPV4_DEVCONF_BC_FORWARDING = 32,
3271IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33,
3272__IPV4_DEVCONF_MAX = 34,
3273}
3274#[repr(C)]
3275#[derive(Copy, Clone)]
3276pub struct in6_addr {
3277pub in6_u: in6_addr__bindgen_ty_1,
3278}
3279#[repr(C)]
3280#[derive(Copy, Clone)]
3281pub union in6_addr__bindgen_ty_1 {
3282pub u6_addr8: [__u8; 16usize],
3283pub u6_addr16: [__be16; 8usize],
3284pub u6_addr32: [__be32; 4usize],
3285}
3286#[repr(C)]
3287#[derive(Copy, Clone)]
3288pub struct sockaddr_in6 {
3289pub sin6_family: crate::ctypes::c_ushort,
3290pub sin6_port: __be16,
3291pub sin6_flowinfo: __be32,
3292pub sin6_addr: in6_addr,
3293pub sin6_scope_id: __u32,
3294}
3295#[repr(C)]
3296#[derive(Copy, Clone)]
3297pub struct ipv6_mreq {
3298pub ipv6mr_multiaddr: in6_addr,
3299pub ipv6mr_ifindex: crate::ctypes::c_int,
3300}
3301#[repr(C)]
3302#[derive(Copy, Clone)]
3303pub struct in6_flowlabel_req {
3304pub flr_dst: in6_addr,
3305pub flr_label: __be32,
3306pub flr_action: __u8,
3307pub flr_share: __u8,
3308pub flr_flags: __u16,
3309pub flr_expires: __u16,
3310pub flr_linger: __u16,
3311pub __flr_pad: __u32,
3312}
3313#[repr(C)]
3314#[derive(Copy, Clone)]
3315pub struct in6_pktinfo {
3316pub ipi6_addr: in6_addr,
3317pub ipi6_ifindex: crate::ctypes::c_int,
3318}
3319#[repr(C)]
3320#[derive(Copy, Clone)]
3321pub struct ip6_mtuinfo {
3322pub ip6m_addr: sockaddr_in6,
3323pub ip6m_mtu: __u32,
3324}
3325#[repr(C)]
3326#[derive(Copy, Clone)]
3327pub struct in6_ifreq {
3328pub ifr6_addr: in6_addr,
3329pub ifr6_prefixlen: __u32,
3330pub ifr6_ifindex: crate::ctypes::c_int,
3331}
3332#[repr(C)]
3333#[derive(Debug, Copy, Clone)]
3334pub struct ipv6_rt_hdr {
3335pub nexthdr: __u8,
3336pub hdrlen: __u8,
3337pub type_: __u8,
3338pub segments_left: __u8,
3339}
3340#[repr(C, packed)]
3341#[derive(Debug, Copy, Clone)]
3342pub struct ipv6_opt_hdr {
3343pub nexthdr: __u8,
3344pub hdrlen: __u8,
3345}
3346#[repr(C)]
3347pub struct rt0_hdr {
3348pub rt_hdr: ipv6_rt_hdr,
3349pub reserved: __u32,
3350pub addr: __IncompleteArrayField<in6_addr>,
3351}
3352#[repr(C)]
3353#[derive(Copy, Clone)]
3354pub struct rt2_hdr {
3355pub rt_hdr: ipv6_rt_hdr,
3356pub reserved: __u32,
3357pub addr: in6_addr,
3358}
3359#[repr(C, packed)]
3360#[derive(Copy, Clone)]
3361pub struct ipv6_destopt_hao {
3362pub type_: __u8,
3363pub length: __u8,
3364pub addr: in6_addr,
3365}
3366#[repr(C)]
3367#[derive(Copy, Clone)]
3368pub struct ipv6hdr {
3369pub _bitfield_align_1: [u8; 0],
3370pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
3371pub flow_lbl: [__u8; 3usize],
3372pub payload_len: __be16,
3373pub nexthdr: __u8,
3374pub hop_limit: __u8,
3375pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1,
3376}
3377#[repr(C)]
3378#[derive(Copy, Clone)]
3379pub union ipv6hdr__bindgen_ty_1 {
3380pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1__bindgen_ty_1,
3381pub addrs: ipv6hdr__bindgen_ty_1__bindgen_ty_2,
3382}
3383#[repr(C)]
3384#[derive(Copy, Clone)]
3385pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_1 {
3386pub saddr: in6_addr,
3387pub daddr: in6_addr,
3388}
3389#[repr(C)]
3390#[derive(Copy, Clone)]
3391pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_2 {
3392pub saddr: in6_addr,
3393pub daddr: in6_addr,
3394}
3395impl ipv6hdr {
3396#[inline]
3397pub fn priority(&self) -> __u8 {
3398unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
3399}
3400#[inline]
3401pub fn set_priority(&mut self, val: __u8) {
3402unsafe {
3403let val: u8 = ::core::mem::transmute(val);
3404self._bitfield_1.set(0usize, 4u8, val as u64)
3405}
3406}
3407#[inline]
3408pub fn version(&self) -> __u8 {
3409unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
3410}
3411#[inline]
3412pub fn set_version(&mut self, val: __u8) {
3413unsafe {
3414let val: u8 = ::core::mem::transmute(val);
3415self._bitfield_1.set(4usize, 4u8, val as u64)
3416}
3417}
3418#[inline]
3419pub fn new_bitfield_1(priority: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3420let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3421__bindgen_bitfield_unit.set(0usize, 4u8, {
3422let priority: u8 = unsafe { ::core::mem::transmute(priority) };
3423priority as u64
3424});
3425__bindgen_bitfield_unit.set(4usize, 4u8, {
3426let version: u8 = unsafe { ::core::mem::transmute(version) };
3427version as u64
3428});
3429__bindgen_bitfield_unit
3430}
3431}
3432pub const DEVCONF_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORWARDING;
3433pub const DEVCONF_HOPLIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_HOPLIMIT;
3434pub const DEVCONF_MTU6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MTU6;
3435pub const DEVCONF_ACCEPT_RA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA;
3436pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_REDIRECTS;
3437pub const DEVCONF_AUTOCONF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_AUTOCONF;
3438pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DAD_TRANSMITS;
3439pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICITS;
3440pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_INTERVAL;
3441pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_DELAY;
3442pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_TEMPADDR;
3443pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_VALID_LFT;
3444pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_PREFERED_LFT;
3445pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_REGEN_MAX_RETRY;
3446pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_DESYNC_FACTOR;
3447pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_ADDRESSES;
3448pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_MLD_VERSION;
3449pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_DEFRTR;
3450pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_PINFO;
3451pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RTR_PREF;
3452pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_PROBE_INTERVAL;
3453pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
3454pub const DEVCONF_PROXY_NDP: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_PROXY_NDP;
3455pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_OPTIMISTIC_DAD;
3456pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_SOURCE_ROUTE;
3457pub const DEVCONF_MC_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MC_FORWARDING;
3458pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_IPV6;
3459pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_DAD;
3460pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_TLLAO;
3461pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_NOTIFY;
3462pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
3463pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
3464pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SUPPRESS_FRAG_NDISC;
3465pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_FROM_LOCAL;
3466pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OPTIMISTIC;
3467pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MTU;
3468pub const DEVCONF_STABLE_SECRET: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_STABLE_SECRET;
3469pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OIF_ADDRS_ONLY;
3470pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
3471pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
3472pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
3473pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNSOLICITED_NA;
3474pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_KEEP_ADDR_ON_DOWN;
3475pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
3476pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_ENABLED;
3477pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_REQUIRE_HMAC;
3478pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ENHANCED_DAD;
3479pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ADDR_GEN_MODE;
3480pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_POLICY;
3481pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
3482pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_TCLASS;
3483pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RPL_SEG_ENABLED;
3484pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RA_DEFRTR_METRIC;
3485pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ENABLED;
3486pub const DEVCONF_IOAM6_ID: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID;
3487pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID_WIDE;
3488pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_EVICT_NOCARRIER;
3489pub const DEVCONF_ACCEPT_UNTRACKED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_UNTRACKED_NA;
3490pub const DEVCONF_MAX: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX;
3491#[repr(u32)]
3492#[non_exhaustive]
3493#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3494pub enum _bindgen_ty_3 {
3495DEVCONF_FORWARDING = 0,
3496DEVCONF_HOPLIMIT = 1,
3497DEVCONF_MTU6 = 2,
3498DEVCONF_ACCEPT_RA = 3,
3499DEVCONF_ACCEPT_REDIRECTS = 4,
3500DEVCONF_AUTOCONF = 5,
3501DEVCONF_DAD_TRANSMITS = 6,
3502DEVCONF_RTR_SOLICITS = 7,
3503DEVCONF_RTR_SOLICIT_INTERVAL = 8,
3504DEVCONF_RTR_SOLICIT_DELAY = 9,
3505DEVCONF_USE_TEMPADDR = 10,
3506DEVCONF_TEMP_VALID_LFT = 11,
3507DEVCONF_TEMP_PREFERED_LFT = 12,
3508DEVCONF_REGEN_MAX_RETRY = 13,
3509DEVCONF_MAX_DESYNC_FACTOR = 14,
3510DEVCONF_MAX_ADDRESSES = 15,
3511DEVCONF_FORCE_MLD_VERSION = 16,
3512DEVCONF_ACCEPT_RA_DEFRTR = 17,
3513DEVCONF_ACCEPT_RA_PINFO = 18,
3514DEVCONF_ACCEPT_RA_RTR_PREF = 19,
3515DEVCONF_RTR_PROBE_INTERVAL = 20,
3516DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
3517DEVCONF_PROXY_NDP = 22,
3518DEVCONF_OPTIMISTIC_DAD = 23,
3519DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
3520DEVCONF_MC_FORWARDING = 25,
3521DEVCONF_DISABLE_IPV6 = 26,
3522DEVCONF_ACCEPT_DAD = 27,
3523DEVCONF_FORCE_TLLAO = 28,
3524DEVCONF_NDISC_NOTIFY = 29,
3525DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
3526DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
3527DEVCONF_SUPPRESS_FRAG_NDISC = 32,
3528DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
3529DEVCONF_USE_OPTIMISTIC = 34,
3530DEVCONF_ACCEPT_RA_MTU = 35,
3531DEVCONF_STABLE_SECRET = 36,
3532DEVCONF_USE_OIF_ADDRS_ONLY = 37,
3533DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
3534DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
3535DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
3536DEVCONF_DROP_UNSOLICITED_NA = 41,
3537DEVCONF_KEEP_ADDR_ON_DOWN = 42,
3538DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
3539DEVCONF_SEG6_ENABLED = 44,
3540DEVCONF_SEG6_REQUIRE_HMAC = 45,
3541DEVCONF_ENHANCED_DAD = 46,
3542DEVCONF_ADDR_GEN_MODE = 47,
3543DEVCONF_DISABLE_POLICY = 48,
3544DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
3545DEVCONF_NDISC_TCLASS = 50,
3546DEVCONF_RPL_SEG_ENABLED = 51,
3547DEVCONF_RA_DEFRTR_METRIC = 52,
3548DEVCONF_IOAM6_ENABLED = 53,
3549DEVCONF_IOAM6_ID = 54,
3550DEVCONF_IOAM6_ID_WIDE = 55,
3551DEVCONF_NDISC_EVICT_NOCARRIER = 56,
3552DEVCONF_ACCEPT_UNTRACKED_NA = 57,
3553DEVCONF_MAX = 58,
3554}
3555#[repr(u32)]
3556#[non_exhaustive]
3557#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3558pub enum socket_state {
3559SS_FREE = 0,
3560SS_UNCONNECTED = 1,
3561SS_CONNECTING = 2,
3562SS_CONNECTED = 3,
3563SS_DISCONNECTING = 4,
3564}
3565#[repr(C)]
3566#[derive(Debug, Copy, Clone)]
3567pub struct pollfd {
3568pub fd: crate::ctypes::c_int,
3569pub events: crate::ctypes::c_short,
3570pub revents: crate::ctypes::c_short,
3571}
3572#[repr(C)]
3573#[derive(Debug, Copy, Clone)]
3574pub struct prctl_mm_map {
3575pub start_code: __u64,
3576pub end_code: __u64,
3577pub start_data: __u64,
3578pub end_data: __u64,
3579pub start_brk: __u64,
3580pub brk: __u64,
3581pub start_stack: __u64,
3582pub arg_start: __u64,
3583pub arg_end: __u64,
3584pub env_start: __u64,
3585pub env_end: __u64,
3586pub auxv: *mut __u64,
3587pub auxv_size: __u32,
3588pub exe_fd: __u32,
3589}
3590#[repr(C)]
3591#[derive(Debug)]
3592pub struct rand_pool_info {
3593pub entropy_count: crate::ctypes::c_int,
3594pub buf_size: crate::ctypes::c_int,
3595pub buf: __IncompleteArrayField<__u32>,
3596}
3597#[repr(C)]
3598#[derive(Debug, Copy, Clone)]
3599pub struct __kernel_timespec {
3600pub tv_sec: __kernel_time64_t,
3601pub tv_nsec: crate::ctypes::c_longlong,
3602}
3603#[repr(C)]
3604#[derive(Debug, Copy, Clone)]
3605pub struct __kernel_itimerspec {
3606pub it_interval: __kernel_timespec,
3607pub it_value: __kernel_timespec,
3608}
3609#[repr(C)]
3610#[derive(Debug, Copy, Clone)]
3611pub struct __kernel_old_timeval {
3612pub tv_sec: __kernel_long_t,
3613pub tv_usec: __kernel_long_t,
3614}
3615#[repr(C)]
3616#[derive(Debug, Copy, Clone)]
3617pub struct __kernel_old_timespec {
3618pub tv_sec: __kernel_old_time_t,
3619pub tv_nsec: crate::ctypes::c_long,
3620}
3621#[repr(C)]
3622#[derive(Debug, Copy, Clone)]
3623pub struct __kernel_old_itimerval {
3624pub it_interval: __kernel_old_timeval,
3625pub it_value: __kernel_old_timeval,
3626}
3627#[repr(C)]
3628#[derive(Debug, Copy, Clone)]
3629pub struct __kernel_sock_timeval {
3630pub tv_sec: __s64,
3631pub tv_usec: __s64,
3632}
3633#[repr(C)]
3634#[derive(Debug, Copy, Clone)]
3635pub struct timespec {
3636pub tv_sec: __kernel_old_time_t,
3637pub tv_nsec: crate::ctypes::c_long,
3638}
3639#[repr(C)]
3640#[derive(Debug, Copy, Clone)]
3641pub struct timeval {
3642pub tv_sec: __kernel_old_time_t,
3643pub tv_usec: __kernel_suseconds_t,
3644}
3645#[repr(C)]
3646#[derive(Debug, Copy, Clone)]
3647pub struct itimerspec {
3648pub it_interval: timespec,
3649pub it_value: timespec,
3650}
3651#[repr(C)]
3652#[derive(Debug, Copy, Clone)]
3653pub struct itimerval {
3654pub it_interval: timeval,
3655pub it_value: timeval,
3656}
3657#[repr(C)]
3658#[derive(Debug, Copy, Clone)]
3659pub struct timezone {
3660pub tz_minuteswest: crate::ctypes::c_int,
3661pub tz_dsttime: crate::ctypes::c_int,
3662}
3663#[repr(C)]
3664#[derive(Debug, Copy, Clone)]
3665pub struct rusage {
3666pub ru_utime: __kernel_old_timeval,
3667pub ru_stime: __kernel_old_timeval,
3668pub ru_maxrss: __kernel_long_t,
3669pub ru_ixrss: __kernel_long_t,
3670pub ru_idrss: __kernel_long_t,
3671pub ru_isrss: __kernel_long_t,
3672pub ru_minflt: __kernel_long_t,
3673pub ru_majflt: __kernel_long_t,
3674pub ru_nswap: __kernel_long_t,
3675pub ru_inblock: __kernel_long_t,
3676pub ru_oublock: __kernel_long_t,
3677pub ru_msgsnd: __kernel_long_t,
3678pub ru_msgrcv: __kernel_long_t,
3679pub ru_nsignals: __kernel_long_t,
3680pub ru_nvcsw: __kernel_long_t,
3681pub ru_nivcsw: __kernel_long_t,
3682}
3683#[repr(C)]
3684#[derive(Debug, Copy, Clone)]
3685pub struct rlimit {
3686pub rlim_cur: __kernel_ulong_t,
3687pub rlim_max: __kernel_ulong_t,
3688}
3689#[repr(C)]
3690#[derive(Debug, Copy, Clone)]
3691pub struct rlimit64 {
3692pub rlim_cur: __u64,
3693pub rlim_max: __u64,
3694}
3695#[repr(C)]
3696#[derive(Debug, Copy, Clone)]
3697pub struct clone_args {
3698pub flags: __u64,
3699pub pidfd: __u64,
3700pub child_tid: __u64,
3701pub parent_tid: __u64,
3702pub exit_signal: __u64,
3703pub stack: __u64,
3704pub stack_size: __u64,
3705pub tls: __u64,
3706pub set_tid: __u64,
3707pub set_tid_size: __u64,
3708pub cgroup: __u64,
3709}
3710pub type sigset_t = crate::ctypes::c_ulong;
3711pub type __signalfn_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>;
3712pub type __sighandler_t = __signalfn_t;
3713pub type __restorefn_t = ::core::option::Option<unsafe extern "C" fn()>;
3714pub type __sigrestore_t = __restorefn_t;
3715#[repr(C)]
3716#[derive(Debug, Copy, Clone)]
3717pub struct sigaction {
3718pub sa_handler: __sighandler_t,
3719pub sa_flags: crate::ctypes::c_ulong,
3720pub sa_restorer: __sigrestore_t,
3721pub sa_mask: sigset_t,
3722}
3723#[repr(C)]
3724#[derive(Debug, Copy, Clone)]
3725pub struct sigaltstack {
3726pub ss_sp: *mut crate::ctypes::c_void,
3727pub ss_flags: crate::ctypes::c_int,
3728pub ss_size: __kernel_size_t,
3729}
3730pub type stack_t = sigaltstack;
3731#[repr(C)]
3732#[derive(Copy, Clone)]
3733pub union sigval {
3734pub sival_int: crate::ctypes::c_int,
3735pub sival_ptr: *mut crate::ctypes::c_void,
3736}
3737pub type sigval_t = sigval;
3738#[repr(C)]
3739#[derive(Copy, Clone)]
3740pub union __sifields {
3741pub _kill: __sifields__bindgen_ty_1,
3742pub _timer: __sifields__bindgen_ty_2,
3743pub _rt: __sifields__bindgen_ty_3,
3744pub _sigchld: __sifields__bindgen_ty_4,
3745pub _sigfault: __sifields__bindgen_ty_5,
3746pub _sigpoll: __sifields__bindgen_ty_6,
3747pub _sigsys: __sifields__bindgen_ty_7,
3748}
3749#[repr(C)]
3750#[derive(Debug, Copy, Clone)]
3751pub struct __sifields__bindgen_ty_1 {
3752pub _pid: __kernel_pid_t,
3753pub _uid: __kernel_uid32_t,
3754}
3755#[repr(C)]
3756#[derive(Copy, Clone)]
3757pub struct __sifields__bindgen_ty_2 {
3758pub _tid: __kernel_timer_t,
3759pub _overrun: crate::ctypes::c_int,
3760pub _sigval: sigval_t,
3761pub _sys_private: crate::ctypes::c_int,
3762}
3763#[repr(C)]
3764#[derive(Copy, Clone)]
3765pub struct __sifields__bindgen_ty_3 {
3766pub _pid: __kernel_pid_t,
3767pub _uid: __kernel_uid32_t,
3768pub _sigval: sigval_t,
3769}
3770#[repr(C)]
3771#[derive(Debug, Copy, Clone)]
3772pub struct __sifields__bindgen_ty_4 {
3773pub _pid: __kernel_pid_t,
3774pub _uid: __kernel_uid32_t,
3775pub _status: crate::ctypes::c_int,
3776pub _utime: __kernel_clock_t,
3777pub _stime: __kernel_clock_t,
3778}
3779#[repr(C)]
3780#[derive(Copy, Clone)]
3781pub struct __sifields__bindgen_ty_5 {
3782pub _addr: *mut crate::ctypes::c_void,
3783pub __bindgen_anon_1: __sifields__bindgen_ty_5__bindgen_ty_1,
3784}
3785#[repr(C)]
3786#[derive(Copy, Clone)]
3787pub union __sifields__bindgen_ty_5__bindgen_ty_1 {
3788pub _trapno: crate::ctypes::c_int,
3789pub _addr_lsb: crate::ctypes::c_short,
3790pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3791pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
3792pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
3793}
3794#[repr(C)]
3795#[derive(Debug, Copy, Clone)]
3796pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3797pub _dummy_bnd: [crate::ctypes::c_char; 8usize],
3798pub _lower: *mut crate::ctypes::c_void,
3799pub _upper: *mut crate::ctypes::c_void,
3800}
3801#[repr(C)]
3802#[derive(Debug, Copy, Clone)]
3803pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 {
3804pub _dummy_pkey: [crate::ctypes::c_char; 8usize],
3805pub _pkey: __u32,
3806}
3807#[repr(C)]
3808#[derive(Debug, Copy, Clone)]
3809pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 {
3810pub _data: crate::ctypes::c_ulong,
3811pub _type: __u32,
3812pub _flags: __u32,
3813}
3814#[repr(C)]
3815#[derive(Debug, Copy, Clone)]
3816pub struct __sifields__bindgen_ty_6 {
3817pub _band: crate::ctypes::c_long,
3818pub _fd: crate::ctypes::c_int,
3819}
3820#[repr(C)]
3821#[derive(Debug, Copy, Clone)]
3822pub struct __sifields__bindgen_ty_7 {
3823pub _call_addr: *mut crate::ctypes::c_void,
3824pub _syscall: crate::ctypes::c_int,
3825pub _arch: crate::ctypes::c_uint,
3826}
3827#[repr(C)]
3828#[derive(Copy, Clone)]
3829pub struct siginfo {
3830pub __bindgen_anon_1: siginfo__bindgen_ty_1,
3831}
3832#[repr(C)]
3833#[derive(Copy, Clone)]
3834pub union siginfo__bindgen_ty_1 {
3835pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1,
3836pub _si_pad: [crate::ctypes::c_int; 32usize],
3837}
3838#[repr(C)]
3839#[derive(Copy, Clone)]
3840pub struct siginfo__bindgen_ty_1__bindgen_ty_1 {
3841pub si_signo: crate::ctypes::c_int,
3842pub si_errno: crate::ctypes::c_int,
3843pub si_code: crate::ctypes::c_int,
3844pub _sifields: __sifields,
3845}
3846pub type siginfo_t = siginfo;
3847#[repr(C)]
3848#[derive(Copy, Clone)]
3849pub struct sigevent {
3850pub sigev_value: sigval_t,
3851pub sigev_signo: crate::ctypes::c_int,
3852pub sigev_notify: crate::ctypes::c_int,
3853pub _sigev_un: sigevent__bindgen_ty_1,
3854}
3855#[repr(C)]
3856#[derive(Copy, Clone)]
3857pub union sigevent__bindgen_ty_1 {
3858pub _pad: [crate::ctypes::c_int; 12usize],
3859pub _tid: crate::ctypes::c_int,
3860pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1,
3861}
3862#[repr(C)]
3863#[derive(Debug, Copy, Clone)]
3864pub struct sigevent__bindgen_ty_1__bindgen_ty_1 {
3865pub _function: ::core::option::Option<unsafe extern "C" fn(arg1: sigval_t)>,
3866pub _attribute: *mut crate::ctypes::c_void,
3867}
3868pub type sigevent_t = sigevent;
3869#[repr(C)]
3870#[derive(Debug, Copy, Clone)]
3871pub struct statx_timestamp {
3872pub tv_sec: __s64,
3873pub tv_nsec: __u32,
3874pub __reserved: __s32,
3875}
3876#[repr(C)]
3877#[derive(Debug, Copy, Clone)]
3878pub struct statx {
3879pub stx_mask: __u32,
3880pub stx_blksize: __u32,
3881pub stx_attributes: __u64,
3882pub stx_nlink: __u32,
3883pub stx_uid: __u32,
3884pub stx_gid: __u32,
3885pub stx_mode: __u16,
3886pub __spare0: [__u16; 1usize],
3887pub stx_ino: __u64,
3888pub stx_size: __u64,
3889pub stx_blocks: __u64,
3890pub stx_attributes_mask: __u64,
3891pub stx_atime: statx_timestamp,
3892pub stx_btime: statx_timestamp,
3893pub stx_ctime: statx_timestamp,
3894pub stx_mtime: statx_timestamp,
3895pub stx_rdev_major: __u32,
3896pub stx_rdev_minor: __u32,
3897pub stx_dev_major: __u32,
3898pub stx_dev_minor: __u32,
3899pub stx_mnt_id: __u64,
3900pub stx_dio_mem_align: __u32,
3901pub stx_dio_offset_align: __u32,
3902pub __spare3: [__u64; 12usize],
3903}
3904#[repr(C)]
3905#[derive(Debug)]
3906pub struct sysinfo {
3907pub uptime: __kernel_long_t,
3908pub loads: [__kernel_ulong_t; 3usize],
3909pub totalram: __kernel_ulong_t,
3910pub freeram: __kernel_ulong_t,
3911pub sharedram: __kernel_ulong_t,
3912pub bufferram: __kernel_ulong_t,
3913pub totalswap: __kernel_ulong_t,
3914pub freeswap: __kernel_ulong_t,
3915pub procs: __u16,
3916pub pad: __u16,
3917pub totalhigh: __kernel_ulong_t,
3918pub freehigh: __kernel_ulong_t,
3919pub mem_unit: __u32,
3920pub _f: __IncompleteArrayField<crate::ctypes::c_char>,
3921}
3922#[repr(C)]
3923#[derive(Debug, Copy, Clone)]
3924pub struct tcphdr {
3925pub source: __be16,
3926pub dest: __be16,
3927pub seq: __be32,
3928pub ack_seq: __be32,
3929pub _bitfield_align_1: [u8; 0],
3930pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
3931pub window: __be16,
3932pub check: __sum16,
3933pub urg_ptr: __be16,
3934}
3935impl tcphdr {
3936#[inline]
3937pub fn res1(&self) -> __u16 {
3938unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u16) }
3939}
3940#[inline]
3941pub fn set_res1(&mut self, val: __u16) {
3942unsafe {
3943let val: u16 = ::core::mem::transmute(val);
3944self._bitfield_1.set(0usize, 4u8, val as u64)
3945}
3946}
3947#[inline]
3948pub fn doff(&self) -> __u16 {
3949unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u16) }
3950}
3951#[inline]
3952pub fn set_doff(&mut self, val: __u16) {
3953unsafe {
3954let val: u16 = ::core::mem::transmute(val);
3955self._bitfield_1.set(4usize, 4u8, val as u64)
3956}
3957}
3958#[inline]
3959pub fn fin(&self) -> __u16 {
3960unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
3961}
3962#[inline]
3963pub fn set_fin(&mut self, val: __u16) {
3964unsafe {
3965let val: u16 = ::core::mem::transmute(val);
3966self._bitfield_1.set(8usize, 1u8, val as u64)
3967}
3968}
3969#[inline]
3970pub fn syn(&self) -> __u16 {
3971unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
3972}
3973#[inline]
3974pub fn set_syn(&mut self, val: __u16) {
3975unsafe {
3976let val: u16 = ::core::mem::transmute(val);
3977self._bitfield_1.set(9usize, 1u8, val as u64)
3978}
3979}
3980#[inline]
3981pub fn rst(&self) -> __u16 {
3982unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
3983}
3984#[inline]
3985pub fn set_rst(&mut self, val: __u16) {
3986unsafe {
3987let val: u16 = ::core::mem::transmute(val);
3988self._bitfield_1.set(10usize, 1u8, val as u64)
3989}
3990}
3991#[inline]
3992pub fn psh(&self) -> __u16 {
3993unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u16) }
3994}
3995#[inline]
3996pub fn set_psh(&mut self, val: __u16) {
3997unsafe {
3998let val: u16 = ::core::mem::transmute(val);
3999self._bitfield_1.set(11usize, 1u8, val as u64)
4000}
4001}
4002#[inline]
4003pub fn ack(&self) -> __u16 {
4004unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u16) }
4005}
4006#[inline]
4007pub fn set_ack(&mut self, val: __u16) {
4008unsafe {
4009let val: u16 = ::core::mem::transmute(val);
4010self._bitfield_1.set(12usize, 1u8, val as u64)
4011}
4012}
4013#[inline]
4014pub fn urg(&self) -> __u16 {
4015unsafe { ::core::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u16) }
4016}
4017#[inline]
4018pub fn set_urg(&mut self, val: __u16) {
4019unsafe {
4020let val: u16 = ::core::mem::transmute(val);
4021self._bitfield_1.set(13usize, 1u8, val as u64)
4022}
4023}
4024#[inline]
4025pub fn ece(&self) -> __u16 {
4026unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
4027}
4028#[inline]
4029pub fn set_ece(&mut self, val: __u16) {
4030unsafe {
4031let val: u16 = ::core::mem::transmute(val);
4032self._bitfield_1.set(14usize, 1u8, val as u64)
4033}
4034}
4035#[inline]
4036pub fn cwr(&self) -> __u16 {
4037unsafe { ::core::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
4038}
4039#[inline]
4040pub fn set_cwr(&mut self, val: __u16) {
4041unsafe {
4042let val: u16 = ::core::mem::transmute(val);
4043self._bitfield_1.set(15usize, 1u8, val as u64)
4044}
4045}
4046#[inline]
4047pub fn new_bitfield_1(res1: __u16, doff: __u16, fin: __u16, syn: __u16, rst: __u16, psh: __u16, ack: __u16, urg: __u16, ece: __u16, cwr: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
4048let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
4049__bindgen_bitfield_unit.set(0usize, 4u8, {
4050let res1: u16 = unsafe { ::core::mem::transmute(res1) };
4051res1 as u64
4052});
4053__bindgen_bitfield_unit.set(4usize, 4u8, {
4054let doff: u16 = unsafe { ::core::mem::transmute(doff) };
4055doff as u64
4056});
4057__bindgen_bitfield_unit.set(8usize, 1u8, {
4058let fin: u16 = unsafe { ::core::mem::transmute(fin) };
4059fin as u64
4060});
4061__bindgen_bitfield_unit.set(9usize, 1u8, {
4062let syn: u16 = unsafe { ::core::mem::transmute(syn) };
4063syn as u64
4064});
4065__bindgen_bitfield_unit.set(10usize, 1u8, {
4066let rst: u16 = unsafe { ::core::mem::transmute(rst) };
4067rst as u64
4068});
4069__bindgen_bitfield_unit.set(11usize, 1u8, {
4070let psh: u16 = unsafe { ::core::mem::transmute(psh) };
4071psh as u64
4072});
4073__bindgen_bitfield_unit.set(12usize, 1u8, {
4074let ack: u16 = unsafe { ::core::mem::transmute(ack) };
4075ack as u64
4076});
4077__bindgen_bitfield_unit.set(13usize, 1u8, {
4078let urg: u16 = unsafe { ::core::mem::transmute(urg) };
4079urg as u64
4080});
4081__bindgen_bitfield_unit.set(14usize, 1u8, {
4082let ece: u16 = unsafe { ::core::mem::transmute(ece) };
4083ece as u64
4084});
4085__bindgen_bitfield_unit.set(15usize, 1u8, {
4086let cwr: u16 = unsafe { ::core::mem::transmute(cwr) };
4087cwr as u64
4088});
4089__bindgen_bitfield_unit
4090}
4091}
4092#[repr(C)]
4093#[derive(Copy, Clone)]
4094pub union tcp_word_hdr {
4095pub hdr: tcphdr,
4096pub words: [__be32; 5usize],
4097}
4098pub const TCP_FLAG_CWR: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_CWR;
4099pub const TCP_FLAG_ECE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ECE;
4100pub const TCP_FLAG_URG: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_URG;
4101pub const TCP_FLAG_ACK: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ACK;
4102pub const TCP_FLAG_PSH: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_PSH;
4103pub const TCP_FLAG_RST: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_RST;
4104pub const TCP_FLAG_SYN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_SYN;
4105pub const TCP_FLAG_FIN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_FIN;
4106pub const TCP_RESERVED_BITS: _bindgen_ty_4 = _bindgen_ty_4::TCP_RESERVED_BITS;
4107pub const TCP_DATA_OFFSET: _bindgen_ty_4 = _bindgen_ty_4::TCP_DATA_OFFSET;
4108#[repr(u32)]
4109#[non_exhaustive]
4110#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4111pub enum _bindgen_ty_4 {
4112TCP_FLAG_CWR = 32768,
4113TCP_FLAG_ECE = 16384,
4114TCP_FLAG_URG = 8192,
4115TCP_FLAG_ACK = 4096,
4116TCP_FLAG_PSH = 2048,
4117TCP_FLAG_RST = 1024,
4118TCP_FLAG_SYN = 512,
4119TCP_FLAG_FIN = 256,
4120TCP_RESERVED_BITS = 15,
4121TCP_DATA_OFFSET = 240,
4122}
4123#[repr(C)]
4124#[derive(Debug, Copy, Clone)]
4125pub struct tcp_repair_opt {
4126pub opt_code: __u32,
4127pub opt_val: __u32,
4128}
4129#[repr(C)]
4130#[derive(Debug, Copy, Clone)]
4131pub struct tcp_repair_window {
4132pub snd_wl1: __u32,
4133pub snd_wnd: __u32,
4134pub max_window: __u32,
4135pub rcv_wnd: __u32,
4136pub rcv_wup: __u32,
4137}
4138pub const TCP_NO_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_NO_QUEUE;
4139pub const TCP_RECV_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_RECV_QUEUE;
4140pub const TCP_SEND_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_SEND_QUEUE;
4141pub const TCP_QUEUES_NR: _bindgen_ty_5 = _bindgen_ty_5::TCP_QUEUES_NR;
4142#[repr(u32)]
4143#[non_exhaustive]
4144#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4145pub enum _bindgen_ty_5 {
4146TCP_NO_QUEUE = 0,
4147TCP_RECV_QUEUE = 1,
4148TCP_SEND_QUEUE = 2,
4149TCP_QUEUES_NR = 3,
4150}
4151#[repr(u32)]
4152#[non_exhaustive]
4153#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4154pub enum tcp_fastopen_client_fail {
4155TFO_STATUS_UNSPEC = 0,
4156TFO_COOKIE_UNAVAILABLE = 1,
4157TFO_DATA_NOT_ACKED = 2,
4158TFO_SYN_RETRANSMITTED = 3,
4159}
4160#[repr(u32)]
4161#[non_exhaustive]
4162#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4163pub enum tcp_ca_state {
4164TCP_CA_Open = 0,
4165TCP_CA_Disorder = 1,
4166TCP_CA_CWR = 2,
4167TCP_CA_Recovery = 3,
4168TCP_CA_Loss = 4,
4169}
4170#[repr(C)]
4171#[derive(Debug, Copy, Clone)]
4172pub struct tcp_info {
4173pub tcpi_state: __u8,
4174pub tcpi_ca_state: __u8,
4175pub tcpi_retransmits: __u8,
4176pub tcpi_probes: __u8,
4177pub tcpi_backoff: __u8,
4178pub tcpi_options: __u8,
4179pub _bitfield_align_1: [u8; 0],
4180pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
4181pub tcpi_rto: __u32,
4182pub tcpi_ato: __u32,
4183pub tcpi_snd_mss: __u32,
4184pub tcpi_rcv_mss: __u32,
4185pub tcpi_unacked: __u32,
4186pub tcpi_sacked: __u32,
4187pub tcpi_lost: __u32,
4188pub tcpi_retrans: __u32,
4189pub tcpi_fackets: __u32,
4190pub tcpi_last_data_sent: __u32,
4191pub tcpi_last_ack_sent: __u32,
4192pub tcpi_last_data_recv: __u32,
4193pub tcpi_last_ack_recv: __u32,
4194pub tcpi_pmtu: __u32,
4195pub tcpi_rcv_ssthresh: __u32,
4196pub tcpi_rtt: __u32,
4197pub tcpi_rttvar: __u32,
4198pub tcpi_snd_ssthresh: __u32,
4199pub tcpi_snd_cwnd: __u32,
4200pub tcpi_advmss: __u32,
4201pub tcpi_reordering: __u32,
4202pub tcpi_rcv_rtt: __u32,
4203pub tcpi_rcv_space: __u32,
4204pub tcpi_total_retrans: __u32,
4205pub tcpi_pacing_rate: __u64,
4206pub tcpi_max_pacing_rate: __u64,
4207pub tcpi_bytes_acked: __u64,
4208pub tcpi_bytes_received: __u64,
4209pub tcpi_segs_out: __u32,
4210pub tcpi_segs_in: __u32,
4211pub tcpi_notsent_bytes: __u32,
4212pub tcpi_min_rtt: __u32,
4213pub tcpi_data_segs_in: __u32,
4214pub tcpi_data_segs_out: __u32,
4215pub tcpi_delivery_rate: __u64,
4216pub tcpi_busy_time: __u64,
4217pub tcpi_rwnd_limited: __u64,
4218pub tcpi_sndbuf_limited: __u64,
4219pub tcpi_delivered: __u32,
4220pub tcpi_delivered_ce: __u32,
4221pub tcpi_bytes_sent: __u64,
4222pub tcpi_bytes_retrans: __u64,
4223pub tcpi_dsack_dups: __u32,
4224pub tcpi_reord_seen: __u32,
4225pub tcpi_rcv_ooopack: __u32,
4226pub tcpi_snd_wnd: __u32,
4227pub tcpi_rcv_wnd: __u32,
4228pub tcpi_rehash: __u32,
4229}
4230impl tcp_info {
4231#[inline]
4232pub fn tcpi_snd_wscale(&self) -> __u8 {
4233unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
4234}
4235#[inline]
4236pub fn set_tcpi_snd_wscale(&mut self, val: __u8) {
4237unsafe {
4238let val: u8 = ::core::mem::transmute(val);
4239self._bitfield_1.set(0usize, 4u8, val as u64)
4240}
4241}
4242#[inline]
4243pub fn tcpi_rcv_wscale(&self) -> __u8 {
4244unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
4245}
4246#[inline]
4247pub fn set_tcpi_rcv_wscale(&mut self, val: __u8) {
4248unsafe {
4249let val: u8 = ::core::mem::transmute(val);
4250self._bitfield_1.set(4usize, 4u8, val as u64)
4251}
4252}
4253#[inline]
4254pub fn tcpi_delivery_rate_app_limited(&self) -> __u8 {
4255unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
4256}
4257#[inline]
4258pub fn set_tcpi_delivery_rate_app_limited(&mut self, val: __u8) {
4259unsafe {
4260let val: u8 = ::core::mem::transmute(val);
4261self._bitfield_1.set(8usize, 1u8, val as u64)
4262}
4263}
4264#[inline]
4265pub fn tcpi_fastopen_client_fail(&self) -> __u8 {
4266unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 2u8) as u8) }
4267}
4268#[inline]
4269pub fn set_tcpi_fastopen_client_fail(&mut self, val: __u8) {
4270unsafe {
4271let val: u8 = ::core::mem::transmute(val);
4272self._bitfield_1.set(9usize, 2u8, val as u64)
4273}
4274}
4275#[inline]
4276pub fn new_bitfield_1(tcpi_snd_wscale: __u8, tcpi_rcv_wscale: __u8, tcpi_delivery_rate_app_limited: __u8, tcpi_fastopen_client_fail: __u8) -> __BindgenBitfieldUnit<[u8; 2usize]> {
4277let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
4278__bindgen_bitfield_unit.set(0usize, 4u8, {
4279let tcpi_snd_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_snd_wscale) };
4280tcpi_snd_wscale as u64
4281});
4282__bindgen_bitfield_unit.set(4usize, 4u8, {
4283let tcpi_rcv_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_rcv_wscale) };
4284tcpi_rcv_wscale as u64
4285});
4286__bindgen_bitfield_unit.set(8usize, 1u8, {
4287let tcpi_delivery_rate_app_limited: u8 = unsafe { ::core::mem::transmute(tcpi_delivery_rate_app_limited) };
4288tcpi_delivery_rate_app_limited as u64
4289});
4290__bindgen_bitfield_unit.set(9usize, 2u8, {
4291let tcpi_fastopen_client_fail: u8 = unsafe { ::core::mem::transmute(tcpi_fastopen_client_fail) };
4292tcpi_fastopen_client_fail as u64
4293});
4294__bindgen_bitfield_unit
4295}
4296}
4297pub const TCP_NLA_PAD: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PAD;
4298pub const TCP_NLA_BUSY: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BUSY;
4299pub const TCP_NLA_RWND_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RWND_LIMITED;
4300pub const TCP_NLA_SNDBUF_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDBUF_LIMITED;
4301pub const TCP_NLA_DATA_SEGS_OUT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DATA_SEGS_OUT;
4302pub const TCP_NLA_TOTAL_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TOTAL_RETRANS;
4303pub const TCP_NLA_PACING_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PACING_RATE;
4304pub const TCP_NLA_DELIVERY_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE;
4305pub const TCP_NLA_SND_CWND: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_CWND;
4306pub const TCP_NLA_REORDERING: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORDERING;
4307pub const TCP_NLA_MIN_RTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_MIN_RTT;
4308pub const TCP_NLA_RECUR_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RECUR_RETRANS;
4309pub const TCP_NLA_DELIVERY_RATE_APP_LMT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE_APP_LMT;
4310pub const TCP_NLA_SNDQ_SIZE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDQ_SIZE;
4311pub const TCP_NLA_CA_STATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_CA_STATE;
4312pub const TCP_NLA_SND_SSTHRESH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_SSTHRESH;
4313pub const TCP_NLA_DELIVERED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED;
4314pub const TCP_NLA_DELIVERED_CE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED_CE;
4315pub const TCP_NLA_BYTES_SENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_SENT;
4316pub const TCP_NLA_BYTES_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_RETRANS;
4317pub const TCP_NLA_DSACK_DUPS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DSACK_DUPS;
4318pub const TCP_NLA_REORD_SEEN: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORD_SEEN;
4319pub const TCP_NLA_SRTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SRTT;
4320pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT_REHASH;
4321pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
4322pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
4323pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
4324pub const TCP_NLA_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REHASH;
4325#[repr(u32)]
4326#[non_exhaustive]
4327#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4328pub enum _bindgen_ty_6 {
4329TCP_NLA_PAD = 0,
4330TCP_NLA_BUSY = 1,
4331TCP_NLA_RWND_LIMITED = 2,
4332TCP_NLA_SNDBUF_LIMITED = 3,
4333TCP_NLA_DATA_SEGS_OUT = 4,
4334TCP_NLA_TOTAL_RETRANS = 5,
4335TCP_NLA_PACING_RATE = 6,
4336TCP_NLA_DELIVERY_RATE = 7,
4337TCP_NLA_SND_CWND = 8,
4338TCP_NLA_REORDERING = 9,
4339TCP_NLA_MIN_RTT = 10,
4340TCP_NLA_RECUR_RETRANS = 11,
4341TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
4342TCP_NLA_SNDQ_SIZE = 13,
4343TCP_NLA_CA_STATE = 14,
4344TCP_NLA_SND_SSTHRESH = 15,
4345TCP_NLA_DELIVERED = 16,
4346TCP_NLA_DELIVERED_CE = 17,
4347TCP_NLA_BYTES_SENT = 18,
4348TCP_NLA_BYTES_RETRANS = 19,
4349TCP_NLA_DSACK_DUPS = 20,
4350TCP_NLA_REORD_SEEN = 21,
4351TCP_NLA_SRTT = 22,
4352TCP_NLA_TIMEOUT_REHASH = 23,
4353TCP_NLA_BYTES_NOTSENT = 24,
4354TCP_NLA_EDT = 25,
4355TCP_NLA_TTL = 26,
4356TCP_NLA_REHASH = 27,
4357}
4358#[repr(C)]
4359#[derive(Copy, Clone)]
4360pub struct tcp_md5sig {
4361pub tcpm_addr: __kernel_sockaddr_storage,
4362pub tcpm_flags: __u8,
4363pub tcpm_prefixlen: __u8,
4364pub tcpm_keylen: __u16,
4365pub tcpm_ifindex: crate::ctypes::c_int,
4366pub tcpm_key: [__u8; 80usize],
4367}
4368#[repr(C)]
4369#[derive(Debug, Copy, Clone)]
4370pub struct tcp_diag_md5sig {
4371pub tcpm_family: __u8,
4372pub tcpm_prefixlen: __u8,
4373pub tcpm_keylen: __u16,
4374pub tcpm_addr: [__be32; 4usize],
4375pub tcpm_key: [__u8; 80usize],
4376}
4377#[repr(C)]
4378#[derive(Debug, Copy, Clone)]
4379pub struct tcp_zerocopy_receive {
4380pub address: __u64,
4381pub length: __u32,
4382pub recv_skip_hint: __u32,
4383pub inq: __u32,
4384pub err: __s32,
4385pub copybuf_address: __u64,
4386pub copybuf_len: __s32,
4387pub flags: __u32,
4388pub msg_control: __u64,
4389pub msg_controllen: __u64,
4390pub msg_flags: __u32,
4391pub reserved: __u32,
4392}
4393pub type cc_t = crate::ctypes::c_uchar;
4394pub type speed_t = crate::ctypes::c_uint;
4395pub type tcflag_t = crate::ctypes::c_uint;
4396#[repr(C)]
4397#[derive(Debug, Copy, Clone)]
4398pub struct termios {
4399pub c_iflag: tcflag_t,
4400pub c_oflag: tcflag_t,
4401pub c_cflag: tcflag_t,
4402pub c_lflag: tcflag_t,
4403pub c_line: cc_t,
4404pub c_cc: [cc_t; 19usize],
4405}
4406#[repr(C)]
4407#[derive(Debug, Copy, Clone)]
4408pub struct termios2 {
4409pub c_iflag: tcflag_t,
4410pub c_oflag: tcflag_t,
4411pub c_cflag: tcflag_t,
4412pub c_lflag: tcflag_t,
4413pub c_line: cc_t,
4414pub c_cc: [cc_t; 19usize],
4415pub c_ispeed: speed_t,
4416pub c_ospeed: speed_t,
4417}
4418#[repr(C)]
4419#[derive(Debug, Copy, Clone)]
4420pub struct ktermios {
4421pub c_iflag: tcflag_t,
4422pub c_oflag: tcflag_t,
4423pub c_cflag: tcflag_t,
4424pub c_lflag: tcflag_t,
4425pub c_line: cc_t,
4426pub c_cc: [cc_t; 19usize],
4427pub c_ispeed: speed_t,
4428pub c_ospeed: speed_t,
4429}
4430#[repr(C)]
4431#[derive(Debug, Copy, Clone)]
4432pub struct winsize {
4433pub ws_row: crate::ctypes::c_ushort,
4434pub ws_col: crate::ctypes::c_ushort,
4435pub ws_xpixel: crate::ctypes::c_ushort,
4436pub ws_ypixel: crate::ctypes::c_ushort,
4437}
4438#[repr(C)]
4439#[derive(Debug, Copy, Clone)]
4440pub struct termio {
4441pub c_iflag: crate::ctypes::c_ushort,
4442pub c_oflag: crate::ctypes::c_ushort,
4443pub c_cflag: crate::ctypes::c_ushort,
4444pub c_lflag: crate::ctypes::c_ushort,
4445pub c_line: crate::ctypes::c_uchar,
4446pub c_cc: [crate::ctypes::c_uchar; 8usize],
4447}
4448#[repr(C)]
4449#[derive(Debug, Copy, Clone)]
4450pub struct iovec {
4451pub iov_base: *mut crate::ctypes::c_void,
4452pub iov_len: __kernel_size_t,
4453}
4454#[repr(C)]
4455#[derive(Debug, Copy, Clone)]
4456pub struct sockaddr_un {
4457pub sun_family: __kernel_sa_family_t,
4458pub sun_path: [crate::ctypes::c_char; 108usize],
4459}
4460#[repr(C)]
4461#[derive(Debug, Copy, Clone)]
4462pub struct oldold_utsname {
4463pub sysname: [crate::ctypes::c_char; 9usize],
4464pub nodename: [crate::ctypes::c_char; 9usize],
4465pub release: [crate::ctypes::c_char; 9usize],
4466pub version: [crate::ctypes::c_char; 9usize],
4467pub machine: [crate::ctypes::c_char; 9usize],
4468}
4469#[repr(C)]
4470#[derive(Debug, Copy, Clone)]
4471pub struct old_utsname {
4472pub sysname: [crate::ctypes::c_char; 65usize],
4473pub nodename: [crate::ctypes::c_char; 65usize],
4474pub release: [crate::ctypes::c_char; 65usize],
4475pub version: [crate::ctypes::c_char; 65usize],
4476pub machine: [crate::ctypes::c_char; 65usize],
4477}
4478#[repr(C)]
4479#[derive(Debug, Copy, Clone)]
4480pub struct new_utsname {
4481pub sysname: [crate::ctypes::c_char; 65usize],
4482pub nodename: [crate::ctypes::c_char; 65usize],
4483pub release: [crate::ctypes::c_char; 65usize],
4484pub version: [crate::ctypes::c_char; 65usize],
4485pub machine: [crate::ctypes::c_char; 65usize],
4486pub domainname: [crate::ctypes::c_char; 65usize],
4487}
4488impl membarrier_cmd {
4489pub const MEMBARRIER_CMD_SHARED: membarrier_cmd = membarrier_cmd::MEMBARRIER_CMD_GLOBAL;
4490}
4491#[repr(u32)]
4492#[non_exhaustive]
4493#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4494pub enum membarrier_cmd {
4495MEMBARRIER_CMD_QUERY = 0,
4496MEMBARRIER_CMD_GLOBAL = 1,
4497MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2,
4498MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4,
4499MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8,
4500MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16,
4501MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
4502MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
4503MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ = 128,
4504MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ = 256,
4505MEMBARRIER_CMD_GET_REGISTRATIONS = 512,
4506}
4507#[repr(u32)]
4508#[non_exhaustive]
4509#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4510pub enum membarrier_cmd_flag {
4511MEMBARRIER_CMD_FLAG_CPU = 1,
4512}
4513#[repr(C, packed)]
4514#[derive(Copy, Clone)]
4515pub struct uffd_msg {
4516pub event: __u8,
4517pub reserved1: __u8,
4518pub reserved2: __u16,
4519pub reserved3: __u32,
4520pub arg: uffd_msg__bindgen_ty_1,
4521}
4522#[repr(C)]
4523#[derive(Copy, Clone)]
4524pub union uffd_msg__bindgen_ty_1 {
4525pub pagefault: uffd_msg__bindgen_ty_1__bindgen_ty_1,
4526pub fork: uffd_msg__bindgen_ty_1__bindgen_ty_2,
4527pub remap: uffd_msg__bindgen_ty_1__bindgen_ty_3,
4528pub remove: uffd_msg__bindgen_ty_1__bindgen_ty_4,
4529pub reserved: uffd_msg__bindgen_ty_1__bindgen_ty_5,
4530}
4531#[repr(C)]
4532#[derive(Copy, Clone)]
4533pub struct uffd_msg__bindgen_ty_1__bindgen_ty_1 {
4534pub flags: __u64,
4535pub address: __u64,
4536pub feat: uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
4537}
4538#[repr(C)]
4539#[derive(Copy, Clone)]
4540pub union uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
4541pub ptid: __u32,
4542}
4543#[repr(C)]
4544#[derive(Debug, Copy, Clone)]
4545pub struct uffd_msg__bindgen_ty_1__bindgen_ty_2 {
4546pub ufd: __u32,
4547}
4548#[repr(C)]
4549#[derive(Debug, Copy, Clone)]
4550pub struct uffd_msg__bindgen_ty_1__bindgen_ty_3 {
4551pub from: __u64,
4552pub to: __u64,
4553pub len: __u64,
4554}
4555#[repr(C)]
4556#[derive(Debug, Copy, Clone)]
4557pub struct uffd_msg__bindgen_ty_1__bindgen_ty_4 {
4558pub start: __u64,
4559pub end: __u64,
4560}
4561#[repr(C)]
4562#[derive(Debug, Copy, Clone)]
4563pub struct uffd_msg__bindgen_ty_1__bindgen_ty_5 {
4564pub reserved1: __u64,
4565pub reserved2: __u64,
4566pub reserved3: __u64,
4567}
4568#[repr(C)]
4569#[derive(Debug, Copy, Clone)]
4570pub struct uffdio_api {
4571pub api: __u64,
4572pub features: __u64,
4573pub ioctls: __u64,
4574}
4575#[repr(C)]
4576#[derive(Debug, Copy, Clone)]
4577pub struct uffdio_range {
4578pub start: __u64,
4579pub len: __u64,
4580}
4581#[repr(C)]
4582#[derive(Debug, Copy, Clone)]
4583pub struct uffdio_register {
4584pub range: uffdio_range,
4585pub mode: __u64,
4586pub ioctls: __u64,
4587}
4588#[repr(C)]
4589#[derive(Debug, Copy, Clone)]
4590pub struct uffdio_copy {
4591pub dst: __u64,
4592pub src: __u64,
4593pub len: __u64,
4594pub mode: __u64,
4595pub copy: __s64,
4596}
4597#[repr(C)]
4598#[derive(Debug, Copy, Clone)]
4599pub struct uffdio_zeropage {
4600pub range: uffdio_range,
4601pub mode: __u64,
4602pub zeropage: __s64,
4603}
4604#[repr(C)]
4605#[derive(Debug, Copy, Clone)]
4606pub struct uffdio_writeprotect {
4607pub range: uffdio_range,
4608pub mode: __u64,
4609}
4610#[repr(C)]
4611#[derive(Debug, Copy, Clone)]
4612pub struct uffdio_continue {
4613pub range: uffdio_range,
4614pub mode: __u64,
4615pub mapped: __s64,
4616}
4617#[repr(C)]
4618pub struct io_uring_sqe {
4619pub opcode: __u8,
4620pub flags: __u8,
4621pub ioprio: __u16,
4622pub fd: __s32,
4623pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_1,
4624pub __bindgen_anon_2: io_uring_sqe__bindgen_ty_2,
4625pub len: __u32,
4626pub __bindgen_anon_3: io_uring_sqe__bindgen_ty_3,
4627pub user_data: __u64,
4628pub __bindgen_anon_4: io_uring_sqe__bindgen_ty_4,
4629pub personality: __u16,
4630pub __bindgen_anon_5: io_uring_sqe__bindgen_ty_5,
4631pub __bindgen_anon_6: io_uring_sqe__bindgen_ty_6,
4632}
4633#[repr(C)]
4634#[derive(Copy, Clone)]
4635pub union io_uring_sqe__bindgen_ty_1 {
4636pub off: __u64,
4637pub addr2: __u64,
4638pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_1__bindgen_ty_1,
4639}
4640#[repr(C)]
4641#[derive(Debug, Copy, Clone)]
4642pub struct io_uring_sqe__bindgen_ty_1__bindgen_ty_1 {
4643pub cmd_op: __u32,
4644pub __pad1: __u32,
4645}
4646#[repr(C)]
4647#[derive(Copy, Clone)]
4648pub union io_uring_sqe__bindgen_ty_2 {
4649pub addr: __u64,
4650pub splice_off_in: __u64,
4651}
4652#[repr(C)]
4653#[derive(Copy, Clone)]
4654pub union io_uring_sqe__bindgen_ty_3 {
4655pub rw_flags: __kernel_rwf_t,
4656pub fsync_flags: __u32,
4657pub poll_events: __u16,
4658pub poll32_events: __u32,
4659pub sync_range_flags: __u32,
4660pub msg_flags: __u32,
4661pub timeout_flags: __u32,
4662pub accept_flags: __u32,
4663pub cancel_flags: __u32,
4664pub open_flags: __u32,
4665pub statx_flags: __u32,
4666pub fadvise_advice: __u32,
4667pub splice_flags: __u32,
4668pub rename_flags: __u32,
4669pub unlink_flags: __u32,
4670pub hardlink_flags: __u32,
4671pub xattr_flags: __u32,
4672pub msg_ring_flags: __u32,
4673pub uring_cmd_flags: __u32,
4674}
4675#[repr(C, packed)]
4676#[derive(Copy, Clone)]
4677pub union io_uring_sqe__bindgen_ty_4 {
4678pub buf_index: __u16,
4679pub buf_group: __u16,
4680}
4681#[repr(C)]
4682#[derive(Copy, Clone)]
4683pub union io_uring_sqe__bindgen_ty_5 {
4684pub splice_fd_in: __s32,
4685pub file_index: __u32,
4686pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_5__bindgen_ty_1,
4687}
4688#[repr(C)]
4689#[derive(Debug, Copy, Clone)]
4690pub struct io_uring_sqe__bindgen_ty_5__bindgen_ty_1 {
4691pub addr_len: __u16,
4692pub __pad3: [__u16; 1usize],
4693}
4694#[repr(C)]
4695pub struct io_uring_sqe__bindgen_ty_6 {
4696pub __bindgen_anon_1: __BindgenUnionField<io_uring_sqe__bindgen_ty_6__bindgen_ty_1>,
4697pub cmd: __BindgenUnionField<[__u8; 0usize]>,
4698pub bindgen_union_field: [u64; 2usize],
4699}
4700#[repr(C)]
4701#[derive(Debug, Copy, Clone)]
4702pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_1 {
4703pub addr3: __u64,
4704pub __pad2: [__u64; 1usize],
4705}
4706pub const IOSQE_FIXED_FILE_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_FIXED_FILE_BIT;
4707pub const IOSQE_IO_DRAIN_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_DRAIN_BIT;
4708pub const IOSQE_IO_LINK_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_LINK_BIT;
4709pub const IOSQE_IO_HARDLINK_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_HARDLINK_BIT;
4710pub const IOSQE_ASYNC_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_ASYNC_BIT;
4711pub const IOSQE_BUFFER_SELECT_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_BUFFER_SELECT_BIT;
4712pub const IOSQE_CQE_SKIP_SUCCESS_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_CQE_SKIP_SUCCESS_BIT;
4713#[repr(u32)]
4714#[non_exhaustive]
4715#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4716pub enum _bindgen_ty_7 {
4717IOSQE_FIXED_FILE_BIT = 0,
4718IOSQE_IO_DRAIN_BIT = 1,
4719IOSQE_IO_LINK_BIT = 2,
4720IOSQE_IO_HARDLINK_BIT = 3,
4721IOSQE_ASYNC_BIT = 4,
4722IOSQE_BUFFER_SELECT_BIT = 5,
4723IOSQE_CQE_SKIP_SUCCESS_BIT = 6,
4724}
4725#[repr(u32)]
4726#[non_exhaustive]
4727#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4728pub enum io_uring_op {
4729IORING_OP_NOP = 0,
4730IORING_OP_READV = 1,
4731IORING_OP_WRITEV = 2,
4732IORING_OP_FSYNC = 3,
4733IORING_OP_READ_FIXED = 4,
4734IORING_OP_WRITE_FIXED = 5,
4735IORING_OP_POLL_ADD = 6,
4736IORING_OP_POLL_REMOVE = 7,
4737IORING_OP_SYNC_FILE_RANGE = 8,
4738IORING_OP_SENDMSG = 9,
4739IORING_OP_RECVMSG = 10,
4740IORING_OP_TIMEOUT = 11,
4741IORING_OP_TIMEOUT_REMOVE = 12,
4742IORING_OP_ACCEPT = 13,
4743IORING_OP_ASYNC_CANCEL = 14,
4744IORING_OP_LINK_TIMEOUT = 15,
4745IORING_OP_CONNECT = 16,
4746IORING_OP_FALLOCATE = 17,
4747IORING_OP_OPENAT = 18,
4748IORING_OP_CLOSE = 19,
4749IORING_OP_FILES_UPDATE = 20,
4750IORING_OP_STATX = 21,
4751IORING_OP_READ = 22,
4752IORING_OP_WRITE = 23,
4753IORING_OP_FADVISE = 24,
4754IORING_OP_MADVISE = 25,
4755IORING_OP_SEND = 26,
4756IORING_OP_RECV = 27,
4757IORING_OP_OPENAT2 = 28,
4758IORING_OP_EPOLL_CTL = 29,
4759IORING_OP_SPLICE = 30,
4760IORING_OP_PROVIDE_BUFFERS = 31,
4761IORING_OP_REMOVE_BUFFERS = 32,
4762IORING_OP_TEE = 33,
4763IORING_OP_SHUTDOWN = 34,
4764IORING_OP_RENAMEAT = 35,
4765IORING_OP_UNLINKAT = 36,
4766IORING_OP_MKDIRAT = 37,
4767IORING_OP_SYMLINKAT = 38,
4768IORING_OP_LINKAT = 39,
4769IORING_OP_MSG_RING = 40,
4770IORING_OP_FSETXATTR = 41,
4771IORING_OP_SETXATTR = 42,
4772IORING_OP_FGETXATTR = 43,
4773IORING_OP_GETXATTR = 44,
4774IORING_OP_SOCKET = 45,
4775IORING_OP_URING_CMD = 46,
4776IORING_OP_SEND_ZC = 47,
4777IORING_OP_SENDMSG_ZC = 48,
4778IORING_OP_LAST = 49,
4779}
4780pub const IORING_MSG_DATA: _bindgen_ty_8 = _bindgen_ty_8::IORING_MSG_DATA;
4781pub const IORING_MSG_SEND_FD: _bindgen_ty_8 = _bindgen_ty_8::IORING_MSG_SEND_FD;
4782#[repr(u32)]
4783#[non_exhaustive]
4784#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4785pub enum _bindgen_ty_8 {
4786IORING_MSG_DATA = 0,
4787IORING_MSG_SEND_FD = 1,
4788}
4789#[repr(C)]
4790#[derive(Debug)]
4791pub struct io_uring_cqe {
4792pub user_data: __u64,
4793pub res: __s32,
4794pub flags: __u32,
4795pub big_cqe: __IncompleteArrayField<__u64>,
4796}
4797pub const IORING_CQE_BUFFER_SHIFT: _bindgen_ty_9 = _bindgen_ty_9::IORING_CQE_BUFFER_SHIFT;
4798#[repr(u32)]
4799#[non_exhaustive]
4800#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4801pub enum _bindgen_ty_9 {
4802IORING_CQE_BUFFER_SHIFT = 16,
4803}
4804#[repr(C)]
4805#[derive(Debug, Copy, Clone)]
4806pub struct io_sqring_offsets {
4807pub head: __u32,
4808pub tail: __u32,
4809pub ring_mask: __u32,
4810pub ring_entries: __u32,
4811pub flags: __u32,
4812pub dropped: __u32,
4813pub array: __u32,
4814pub resv1: __u32,
4815pub resv2: __u64,
4816}
4817#[repr(C)]
4818#[derive(Debug, Copy, Clone)]
4819pub struct io_cqring_offsets {
4820pub head: __u32,
4821pub tail: __u32,
4822pub ring_mask: __u32,
4823pub ring_entries: __u32,
4824pub overflow: __u32,
4825pub cqes: __u32,
4826pub flags: __u32,
4827pub resv1: __u32,
4828pub resv2: __u64,
4829}
4830#[repr(C)]
4831#[derive(Debug, Copy, Clone)]
4832pub struct io_uring_params {
4833pub sq_entries: __u32,
4834pub cq_entries: __u32,
4835pub flags: __u32,
4836pub sq_thread_cpu: __u32,
4837pub sq_thread_idle: __u32,
4838pub features: __u32,
4839pub wq_fd: __u32,
4840pub resv: [__u32; 3usize],
4841pub sq_off: io_sqring_offsets,
4842pub cq_off: io_cqring_offsets,
4843}
4844pub const IORING_REGISTER_BUFFERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS;
4845pub const IORING_UNREGISTER_BUFFERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_BUFFERS;
4846pub const IORING_REGISTER_FILES: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES;
4847pub const IORING_UNREGISTER_FILES: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_FILES;
4848pub const IORING_REGISTER_EVENTFD: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_EVENTFD;
4849pub const IORING_UNREGISTER_EVENTFD: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_EVENTFD;
4850pub const IORING_REGISTER_FILES_UPDATE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES_UPDATE;
4851pub const IORING_REGISTER_EVENTFD_ASYNC: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_EVENTFD_ASYNC;
4852pub const IORING_REGISTER_PROBE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_PROBE;
4853pub const IORING_REGISTER_PERSONALITY: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_PERSONALITY;
4854pub const IORING_UNREGISTER_PERSONALITY: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_PERSONALITY;
4855pub const IORING_REGISTER_RESTRICTIONS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_RESTRICTIONS;
4856pub const IORING_REGISTER_ENABLE_RINGS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_ENABLE_RINGS;
4857pub const IORING_REGISTER_FILES2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES2;
4858pub const IORING_REGISTER_FILES_UPDATE2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES_UPDATE2;
4859pub const IORING_REGISTER_BUFFERS2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS2;
4860pub const IORING_REGISTER_BUFFERS_UPDATE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS_UPDATE;
4861pub const IORING_REGISTER_IOWQ_AFF: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_IOWQ_AFF;
4862pub const IORING_UNREGISTER_IOWQ_AFF: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_IOWQ_AFF;
4863pub const IORING_REGISTER_IOWQ_MAX_WORKERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_IOWQ_MAX_WORKERS;
4864pub const IORING_REGISTER_RING_FDS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_RING_FDS;
4865pub const IORING_UNREGISTER_RING_FDS: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_RING_FDS;
4866pub const IORING_REGISTER_PBUF_RING: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_PBUF_RING;
4867pub const IORING_UNREGISTER_PBUF_RING: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_PBUF_RING;
4868pub const IORING_REGISTER_SYNC_CANCEL: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_SYNC_CANCEL;
4869pub const IORING_REGISTER_FILE_ALLOC_RANGE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILE_ALLOC_RANGE;
4870pub const IORING_REGISTER_LAST: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_LAST;
4871pub const IORING_REGISTER_USE_REGISTERED_RING: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_USE_REGISTERED_RING;
4872#[repr(u32)]
4873#[non_exhaustive]
4874#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4875pub enum _bindgen_ty_10 {
4876IORING_REGISTER_BUFFERS = 0,
4877IORING_UNREGISTER_BUFFERS = 1,
4878IORING_REGISTER_FILES = 2,
4879IORING_UNREGISTER_FILES = 3,
4880IORING_REGISTER_EVENTFD = 4,
4881IORING_UNREGISTER_EVENTFD = 5,
4882IORING_REGISTER_FILES_UPDATE = 6,
4883IORING_REGISTER_EVENTFD_ASYNC = 7,
4884IORING_REGISTER_PROBE = 8,
4885IORING_REGISTER_PERSONALITY = 9,
4886IORING_UNREGISTER_PERSONALITY = 10,
4887IORING_REGISTER_RESTRICTIONS = 11,
4888IORING_REGISTER_ENABLE_RINGS = 12,
4889IORING_REGISTER_FILES2 = 13,
4890IORING_REGISTER_FILES_UPDATE2 = 14,
4891IORING_REGISTER_BUFFERS2 = 15,
4892IORING_REGISTER_BUFFERS_UPDATE = 16,
4893IORING_REGISTER_IOWQ_AFF = 17,
4894IORING_UNREGISTER_IOWQ_AFF = 18,
4895IORING_REGISTER_IOWQ_MAX_WORKERS = 19,
4896IORING_REGISTER_RING_FDS = 20,
4897IORING_UNREGISTER_RING_FDS = 21,
4898IORING_REGISTER_PBUF_RING = 22,
4899IORING_UNREGISTER_PBUF_RING = 23,
4900IORING_REGISTER_SYNC_CANCEL = 24,
4901IORING_REGISTER_FILE_ALLOC_RANGE = 25,
4902IORING_REGISTER_LAST = 26,
4903IORING_REGISTER_USE_REGISTERED_RING = 2147483648,
4904}
4905pub const IO_WQ_BOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_BOUND;
4906pub const IO_WQ_UNBOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_UNBOUND;
4907#[repr(u32)]
4908#[non_exhaustive]
4909#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4910pub enum _bindgen_ty_11 {
4911IO_WQ_BOUND = 0,
4912IO_WQ_UNBOUND = 1,
4913}
4914#[repr(C)]
4915#[derive(Debug, Copy, Clone)]
4916pub struct io_uring_files_update {
4917pub offset: __u32,
4918pub resv: __u32,
4919pub fds: __u64,
4920}
4921#[repr(C)]
4922#[derive(Debug, Copy, Clone)]
4923pub struct io_uring_rsrc_register {
4924pub nr: __u32,
4925pub flags: __u32,
4926pub resv2: __u64,
4927pub data: __u64,
4928pub tags: __u64,
4929}
4930#[repr(C)]
4931#[derive(Debug, Copy, Clone)]
4932pub struct io_uring_rsrc_update {
4933pub offset: __u32,
4934pub resv: __u32,
4935pub data: __u64,
4936}
4937#[repr(C)]
4938#[derive(Debug, Copy, Clone)]
4939pub struct io_uring_rsrc_update2 {
4940pub offset: __u32,
4941pub resv: __u32,
4942pub data: __u64,
4943pub tags: __u64,
4944pub nr: __u32,
4945pub resv2: __u32,
4946}
4947#[repr(C)]
4948#[derive(Debug, Copy, Clone)]
4949pub struct io_uring_notification_slot {
4950pub tag: __u64,
4951pub resv: [__u64; 3usize],
4952}
4953#[repr(C)]
4954#[derive(Debug, Copy, Clone)]
4955pub struct io_uring_notification_register {
4956pub nr_slots: __u32,
4957pub resv: __u32,
4958pub resv2: __u64,
4959pub data: __u64,
4960pub resv3: __u64,
4961}
4962#[repr(C)]
4963#[derive(Debug, Copy, Clone)]
4964pub struct io_uring_probe_op {
4965pub op: __u8,
4966pub resv: __u8,
4967pub flags: __u16,
4968pub resv2: __u32,
4969}
4970#[repr(C)]
4971#[derive(Debug)]
4972pub struct io_uring_probe {
4973pub last_op: __u8,
4974pub ops_len: __u8,
4975pub resv: __u16,
4976pub resv2: [__u32; 3usize],
4977pub ops: __IncompleteArrayField<io_uring_probe_op>,
4978}
4979#[repr(C)]
4980#[derive(Copy, Clone)]
4981pub struct io_uring_restriction {
4982pub opcode: __u16,
4983pub __bindgen_anon_1: io_uring_restriction__bindgen_ty_1,
4984pub resv: __u8,
4985pub resv2: [__u32; 3usize],
4986}
4987#[repr(C)]
4988#[derive(Copy, Clone)]
4989pub union io_uring_restriction__bindgen_ty_1 {
4990pub register_op: __u8,
4991pub sqe_op: __u8,
4992pub sqe_flags: __u8,
4993}
4994#[repr(C)]
4995#[derive(Debug, Copy, Clone)]
4996pub struct io_uring_buf {
4997pub addr: __u64,
4998pub len: __u32,
4999pub bid: __u16,
5000pub resv: __u16,
5001}
5002#[repr(C)]
5003pub struct io_uring_buf_ring {
5004pub __bindgen_anon_1: io_uring_buf_ring__bindgen_ty_1,
5005}
5006#[repr(C)]
5007pub struct io_uring_buf_ring__bindgen_ty_1 {
5008pub __bindgen_anon_1: __BindgenUnionField<io_uring_buf_ring__bindgen_ty_1__bindgen_ty_1>,
5009pub __bindgen_anon_2: __BindgenUnionField<io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2>,
5010pub bindgen_union_field: [u64; 2usize],
5011}
5012#[repr(C)]
5013#[derive(Debug, Copy, Clone)]
5014pub struct io_uring_buf_ring__bindgen_ty_1__bindgen_ty_1 {
5015pub resv1: __u64,
5016pub resv2: __u32,
5017pub resv3: __u16,
5018pub tail: __u16,
5019}
5020#[repr(C)]
5021#[derive(Debug)]
5022pub struct io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2 {
5023pub __empty_bufs: io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1,
5024pub bufs: __IncompleteArrayField<io_uring_buf>,
5025}
5026#[repr(C)]
5027#[derive(Debug, Copy, Clone)]
5028pub struct io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 {}
5029#[repr(C)]
5030#[derive(Debug, Copy, Clone)]
5031pub struct io_uring_buf_reg {
5032pub ring_addr: __u64,
5033pub ring_entries: __u32,
5034pub bgid: __u16,
5035pub pad: __u16,
5036pub resv: [__u64; 3usize],
5037}
5038pub const IORING_RESTRICTION_REGISTER_OP: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_REGISTER_OP;
5039pub const IORING_RESTRICTION_SQE_OP: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_OP;
5040pub const IORING_RESTRICTION_SQE_FLAGS_ALLOWED: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_FLAGS_ALLOWED;
5041pub const IORING_RESTRICTION_SQE_FLAGS_REQUIRED: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_FLAGS_REQUIRED;
5042pub const IORING_RESTRICTION_LAST: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_LAST;
5043#[repr(u32)]
5044#[non_exhaustive]
5045#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
5046pub enum _bindgen_ty_12 {
5047IORING_RESTRICTION_REGISTER_OP = 0,
5048IORING_RESTRICTION_SQE_OP = 1,
5049IORING_RESTRICTION_SQE_FLAGS_ALLOWED = 2,
5050IORING_RESTRICTION_SQE_FLAGS_REQUIRED = 3,
5051IORING_RESTRICTION_LAST = 4,
5052}
5053#[repr(C)]
5054#[derive(Debug, Copy, Clone)]
5055pub struct io_uring_getevents_arg {
5056pub sigmask: __u64,
5057pub sigmask_sz: __u32,
5058pub pad: __u32,
5059pub ts: __u64,
5060}
5061#[repr(C)]
5062#[derive(Debug, Copy, Clone)]
5063pub struct io_uring_sync_cancel_reg {
5064pub addr: __u64,
5065pub fd: __s32,
5066pub flags: __u32,
5067pub timeout: __kernel_timespec,
5068pub pad: [__u64; 4usize],
5069}
5070#[repr(C)]
5071#[derive(Debug, Copy, Clone)]
5072pub struct io_uring_file_index_range {
5073pub off: __u32,
5074pub len: __u32,
5075pub resv: __u64,
5076}
5077#[repr(C)]
5078#[derive(Debug, Copy, Clone)]
5079pub struct io_uring_recvmsg_out {
5080pub namelen: __u32,
5081pub controllen: __u32,
5082pub payloadlen: __u32,
5083pub flags: __u32,
5084}
5085#[repr(C)]
5086#[derive(Copy, Clone)]
5087pub struct sockaddr {
5088pub __storage: __kernel_sockaddr_storage,
5089}
5090#[repr(C)]
5091#[derive(Debug, Copy, Clone)]
5092pub struct linger {
5093pub l_onoff: crate::ctypes::c_int,
5094pub l_linger: crate::ctypes::c_int,
5095}
5096#[repr(C)]
5097#[derive(Debug)]
5098pub struct linux_dirent64 {
5099pub d_ino: crate::ctypes::c_ulong,
5100pub d_off: crate::ctypes::c_long,
5101pub d_reclen: __u16,
5102pub d_type: __u8,
5103pub d_name: __IncompleteArrayField<crate::ctypes::c_char>,
5104}
5105pub type socklen_t = crate::ctypes::c_uint;
5106#[repr(C)]
5107#[derive(Debug, Copy, Clone)]
5108pub struct stat {
5109pub st_dev: __kernel_ulong_t,
5110pub st_ino: __kernel_ulong_t,
5111pub st_nlink: __kernel_ulong_t,
5112pub st_mode: crate::ctypes::c_uint,
5113pub st_uid: crate::ctypes::c_uint,
5114pub st_gid: crate::ctypes::c_uint,
5115pub __pad0: crate::ctypes::c_uint,
5116pub st_rdev: __kernel_ulong_t,
5117pub st_size: __kernel_long_t,
5118pub st_blksize: __kernel_long_t,
5119pub st_blocks: __kernel_long_t,
5120pub st_atime: __kernel_ulong_t,
5121pub st_atime_nsec: __kernel_ulong_t,
5122pub st_mtime: __kernel_ulong_t,
5123pub st_mtime_nsec: __kernel_ulong_t,
5124pub st_ctime: __kernel_ulong_t,
5125pub st_ctime_nsec: __kernel_ulong_t,
5126pub __unused: [__kernel_long_t; 3usize],
5127}
5128#[repr(C)]
5129#[derive(Debug, Copy, Clone)]
5130pub struct __old_kernel_stat {
5131pub st_dev: crate::ctypes::c_ushort,
5132pub st_ino: crate::ctypes::c_ushort,
5133pub st_mode: crate::ctypes::c_ushort,
5134pub st_nlink: crate::ctypes::c_ushort,
5135pub st_uid: crate::ctypes::c_ushort,
5136pub st_gid: crate::ctypes::c_ushort,
5137pub st_rdev: crate::ctypes::c_ushort,
5138pub st_size: crate::ctypes::c_uint,
5139pub st_atime: crate::ctypes::c_uint,
5140pub st_mtime: crate::ctypes::c_uint,
5141pub st_ctime: crate::ctypes::c_uint,
5142}
5143#[repr(C)]
5144#[derive(Debug, Copy, Clone)]
5145pub struct statfs {
5146pub f_type: __kernel_long_t,
5147pub f_bsize: __kernel_long_t,
5148pub f_blocks: __kernel_long_t,
5149pub f_bfree: __kernel_long_t,
5150pub f_bavail: __kernel_long_t,
5151pub f_files: __kernel_long_t,
5152pub f_ffree: __kernel_long_t,
5153pub f_fsid: __kernel_fsid_t,
5154pub f_namelen: __kernel_long_t,
5155pub f_frsize: __kernel_long_t,
5156pub f_flags: __kernel_long_t,
5157pub f_spare: [__kernel_long_t; 4usize],
5158}
5159#[repr(C)]
5160#[derive(Debug, Copy, Clone)]
5161pub struct statfs64 {
5162pub f_type: __kernel_long_t,
5163pub f_bsize: __kernel_long_t,
5164pub f_blocks: __u64,
5165pub f_bfree: __u64,
5166pub f_bavail: __u64,
5167pub f_files: __u64,
5168pub f_ffree: __u64,
5169pub f_fsid: __kernel_fsid_t,
5170pub f_namelen: __kernel_long_t,
5171pub f_frsize: __kernel_long_t,
5172pub f_flags: __kernel_long_t,
5173pub f_spare: [__kernel_long_t; 4usize],
5174}
5175#[repr(C, packed(4))]
5176#[derive(Debug, Copy, Clone)]
5177pub struct compat_statfs64 {
5178pub f_type: __u32,
5179pub f_bsize: __u32,
5180pub f_blocks: __u64,
5181pub f_bfree: __u64,
5182pub f_bavail: __u64,
5183pub f_files: __u64,
5184pub f_ffree: __u64,
5185pub f_fsid: __kernel_fsid_t,
5186pub f_namelen: __u32,
5187pub f_frsize: __u32,
5188pub f_flags: __u32,
5189pub f_spare: [__u32; 4usize],
5190}
5191pub type __fsword_t = __kernel_long_t;
5192#[repr(C)]
5193#[derive(Debug, Copy, Clone)]
5194pub struct user_desc {
5195pub entry_number: crate::ctypes::c_uint,
5196pub base_addr: crate::ctypes::c_uint,
5197pub limit: crate::ctypes::c_uint,
5198pub _bitfield_align_1: [u8; 0],
5199pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
5200pub __bindgen_padding_0: [u8; 3usize],
5201}
5202impl user_desc {
5203#[inline]
5204pub fn seg_32bit(&self) -> crate::ctypes::c_uint {
5205unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
5206}
5207#[inline]
5208pub fn set_seg_32bit(&mut self, val: crate::ctypes::c_uint) {
5209unsafe {
5210let val: u32 = ::core::mem::transmute(val);
5211self._bitfield_1.set(0usize, 1u8, val as u64)
5212}
5213}
5214#[inline]
5215pub fn contents(&self) -> crate::ctypes::c_uint {
5216unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u32) }
5217}
5218#[inline]
5219pub fn set_contents(&mut self, val: crate::ctypes::c_uint) {
5220unsafe {
5221let val: u32 = ::core::mem::transmute(val);
5222self._bitfield_1.set(1usize, 2u8, val as u64)
5223}
5224}
5225#[inline]
5226pub fn read_exec_only(&self) -> crate::ctypes::c_uint {
5227unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
5228}
5229#[inline]
5230pub fn set_read_exec_only(&mut self, val: crate::ctypes::c_uint) {
5231unsafe {
5232let val: u32 = ::core::mem::transmute(val);
5233self._bitfield_1.set(3usize, 1u8, val as u64)
5234}
5235}
5236#[inline]
5237pub fn limit_in_pages(&self) -> crate::ctypes::c_uint {
5238unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
5239}
5240#[inline]
5241pub fn set_limit_in_pages(&mut self, val: crate::ctypes::c_uint) {
5242unsafe {
5243let val: u32 = ::core::mem::transmute(val);
5244self._bitfield_1.set(4usize, 1u8, val as u64)
5245}
5246}
5247#[inline]
5248pub fn seg_not_present(&self) -> crate::ctypes::c_uint {
5249unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
5250}
5251#[inline]
5252pub fn set_seg_not_present(&mut self, val: crate::ctypes::c_uint) {
5253unsafe {
5254let val: u32 = ::core::mem::transmute(val);
5255self._bitfield_1.set(5usize, 1u8, val as u64)
5256}
5257}
5258#[inline]
5259pub fn useable(&self) -> crate::ctypes::c_uint {
5260unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
5261}
5262#[inline]
5263pub fn set_useable(&mut self, val: crate::ctypes::c_uint) {
5264unsafe {
5265let val: u32 = ::core::mem::transmute(val);
5266self._bitfield_1.set(6usize, 1u8, val as u64)
5267}
5268}
5269#[inline]
5270pub fn lm(&self) -> crate::ctypes::c_uint {
5271unsafe { ::core::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
5272}
5273#[inline]
5274pub fn set_lm(&mut self, val: crate::ctypes::c_uint) {
5275unsafe {
5276let val: u32 = ::core::mem::transmute(val);
5277self._bitfield_1.set(7usize, 1u8, val as u64)
5278}
5279}
5280#[inline]
5281pub fn new_bitfield_1(seg_32bit: crate::ctypes::c_uint, contents: crate::ctypes::c_uint, read_exec_only: crate::ctypes::c_uint, limit_in_pages: crate::ctypes::c_uint, seg_not_present: crate::ctypes::c_uint, useable: crate::ctypes::c_uint, lm: crate::ctypes::c_uint) -> __BindgenBitfieldUnit<[u8; 1usize]> {
5282let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
5283__bindgen_bitfield_unit.set(0usize, 1u8, {
5284let seg_32bit: u32 = unsafe { ::core::mem::transmute(seg_32bit) };
5285seg_32bit as u64
5286});
5287__bindgen_bitfield_unit.set(1usize, 2u8, {
5288let contents: u32 = unsafe { ::core::mem::transmute(contents) };
5289contents as u64
5290});
5291__bindgen_bitfield_unit.set(3usize, 1u8, {
5292let read_exec_only: u32 = unsafe { ::core::mem::transmute(read_exec_only) };
5293read_exec_only as u64
5294});
5295__bindgen_bitfield_unit.set(4usize, 1u8, {
5296let limit_in_pages: u32 = unsafe { ::core::mem::transmute(limit_in_pages) };
5297limit_in_pages as u64
5298});
5299__bindgen_bitfield_unit.set(5usize, 1u8, {
5300let seg_not_present: u32 = unsafe { ::core::mem::transmute(seg_not_present) };
5301seg_not_present as u64
5302});
5303__bindgen_bitfield_unit.set(6usize, 1u8, {
5304let useable: u32 = unsafe { ::core::mem::transmute(useable) };
5305useable as u64
5306});
5307__bindgen_bitfield_unit.set(7usize, 1u8, {
5308let lm: u32 = unsafe { ::core::mem::transmute(lm) };
5309lm as u64
5310});
5311__bindgen_bitfield_unit
5312}
5313}
5314#[repr(C)]
5315#[derive(Debug, Copy, Clone)]
5316pub struct msghdr {
5317pub msg_name: *mut crate::ctypes::c_void,
5318pub msg_namelen: crate::ctypes::c_int,
5319pub msg_iov: *mut iovec,
5320pub msg_iovlen: size_t,
5321pub msg_control: *mut crate::ctypes::c_void,
5322pub msg_controllen: size_t,
5323pub msg_flags: crate::ctypes::c_uint,
5324}
5325#[repr(C)]
5326#[derive(Debug, Copy, Clone)]
5327pub struct cmsghdr {
5328pub cmsg_len: size_t,
5329pub cmsg_level: crate::ctypes::c_int,
5330pub cmsg_type: crate::ctypes::c_int,
5331}
5332#[repr(C)]
5333#[derive(Debug, Copy, Clone)]
5334pub struct ucred {
5335pub pid: __u32,
5336pub uid: __u32,
5337pub gid: __u32,
5338}
5339#[repr(C)]
5340#[derive(Debug, Copy, Clone)]
5341pub struct mmsghdr {
5342pub msg_hdr: msghdr,
5343pub msg_len: crate::ctypes::c_uint,
5344}
5345#[repr(C)]
5346#[derive(Debug, Copy, Clone)]
5347pub struct kernel_sigset_t {
5348pub sig: [crate::ctypes::c_ulong; 1usize],
5349}
5350#[repr(C)]
5351#[derive(Debug, Copy, Clone)]
5352pub struct kernel_sigaction {
5353pub sa_handler_kernel: __kernel_sighandler_t,
5354pub sa_flags: crate::ctypes::c_ulong,
5355pub sa_restorer: __sigrestore_t,
5356pub sa_mask: kernel_sigset_t,
5357}
5358