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