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