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