| /* automatically generated by rust-bindgen 0.69.4 */ |
| |
| // Copyright 2024 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #![allow(dead_code)] |
| #![allow(non_camel_case_types)] |
| #![allow(non_snake_case)] |
| #![allow(non_upper_case_globals)] |
| |
| use zerocopy::{AsBytes, FromBytes, FromZeros, NoCell}; |
| |
| unsafe impl<Storage> AsBytes for __BindgenBitfieldUnit<Storage> |
| where |
| Storage: AsBytes, |
| { |
| fn only_derive_is_allowed_to_implement_this_trait() {} |
| } |
| |
| unsafe impl<Storage> FromBytes for __BindgenBitfieldUnit<Storage> |
| where |
| Storage: FromBytes, |
| { |
| fn only_derive_is_allowed_to_implement_this_trait() {} |
| } |
| |
| unsafe impl<Storage> FromZeros for __BindgenBitfieldUnit<Storage> |
| where |
| Storage: FromZeros, |
| { |
| fn only_derive_is_allowed_to_implement_this_trait() {} |
| } |
| |
| #[repr(transparent)] |
| #[derive( |
| Debug, |
| Default, |
| Clone, |
| Copy, |
| Eq, |
| PartialEq, |
| Hash, |
| Ord, |
| PartialOrd, |
| AsBytes, |
| FromBytes, |
| FromZeros, |
| NoCell, |
| )] |
| pub struct uaddr { |
| pub addr: u64, |
| } |
| |
| #[derive( |
| Debug, |
| Default, |
| Clone, |
| Copy, |
| Eq, |
| PartialEq, |
| Hash, |
| Ord, |
| PartialOrd, |
| AsBytes, |
| FromBytes, |
| FromZeros, |
| NoCell, |
| )] |
| #[repr(transparent)] |
| pub struct uref<T> { |
| pub addr: uaddr, |
| _phantom: std::marker::PhantomData<T>, |
| } |
| |
| impl<T> From<uaddr> for uref<T> { |
| fn from(addr: uaddr) -> Self { |
| Self { addr, _phantom: Default::default() } |
| } |
| } |
| |
| #[repr(C)] |
| #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd, NoCell)] |
| pub struct __BindgenBitfieldUnit<Storage> { |
| storage: Storage, |
| } |
| impl<Storage> __BindgenBitfieldUnit<Storage> { |
| #[inline] |
| pub const fn new(storage: Storage) -> Self { |
| Self { storage } |
| } |
| } |
| impl<Storage> __BindgenBitfieldUnit<Storage> |
| where |
| Storage: AsRef<[u8]> + AsMut<[u8]>, |
| { |
| #[inline] |
| pub fn get_bit(&self, index: usize) -> bool { |
| debug_assert!(index / 8 < self.storage.as_ref().len()); |
| let byte_index = index / 8; |
| let byte = self.storage.as_ref()[byte_index]; |
| let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 }; |
| let mask = 1 << bit_index; |
| byte & mask == mask |
| } |
| #[inline] |
| pub fn set_bit(&mut self, index: usize, val: bool) { |
| debug_assert!(index / 8 < self.storage.as_ref().len()); |
| let byte_index = index / 8; |
| let byte = &mut self.storage.as_mut()[byte_index]; |
| let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 }; |
| let mask = 1 << bit_index; |
| if val { |
| *byte |= mask; |
| } else { |
| *byte &= !mask; |
| } |
| } |
| #[inline] |
| pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 { |
| debug_assert!(bit_width <= 64); |
| debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
| debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
| let mut val = 0; |
| for i in 0..(bit_width as usize) { |
| if self.get_bit(i + bit_offset) { |
| let index = |
| if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i }; |
| val |= 1 << index; |
| } |
| } |
| val |
| } |
| #[inline] |
| pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) { |
| debug_assert!(bit_width <= 64); |
| debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); |
| debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len()); |
| for i in 0..(bit_width as usize) { |
| let mask = 1 << i; |
| let val_bit_is_set = val & mask == mask; |
| let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i }; |
| self.set_bit(index + bit_offset, val_bit_is_set); |
| } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(Default, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]); |
| impl<T> __IncompleteArrayField<T> { |
| #[inline] |
| pub const fn new() -> Self { |
| __IncompleteArrayField(::std::marker::PhantomData, []) |
| } |
| #[inline] |
| pub fn as_ptr(&self) -> *const T { |
| self as *const _ as *const T |
| } |
| #[inline] |
| pub fn as_mut_ptr(&mut self) -> *mut T { |
| self as *mut _ as *mut T |
| } |
| #[inline] |
| pub unsafe fn as_slice(&self, len: usize) -> &[T] { |
| ::std::slice::from_raw_parts(self.as_ptr(), len) |
| } |
| #[inline] |
| pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { |
| ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len) |
| } |
| } |
| impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> { |
| fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { |
| fmt.write_str("__IncompleteArrayField") |
| } |
| } |
| #[repr(transparent)] |
| #[derive(AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>); |
| impl<T> __BindgenUnionField<T> { |
| #[inline] |
| pub const fn new() -> Self { |
| __BindgenUnionField(::std::marker::PhantomData) |
| } |
| #[inline] |
| pub unsafe fn as_ref(&self) -> &T { |
| ::std::mem::transmute(self) |
| } |
| #[inline] |
| pub unsafe fn as_mut(&mut self) -> &mut T { |
| ::std::mem::transmute(self) |
| } |
| } |
| impl<T> ::std::default::Default for __BindgenUnionField<T> { |
| #[inline] |
| fn default() -> Self { |
| Self::new() |
| } |
| } |
| impl<T> ::std::clone::Clone for __BindgenUnionField<T> { |
| #[inline] |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl<T> ::std::marker::Copy for __BindgenUnionField<T> {} |
| impl<T> ::std::fmt::Debug for __BindgenUnionField<T> { |
| fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { |
| fmt.write_str("__BindgenUnionField") |
| } |
| } |
| impl<T> ::std::hash::Hash for __BindgenUnionField<T> { |
| fn hash<H: ::std::hash::Hasher>(&self, _state: &mut H) {} |
| } |
| impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> { |
| fn eq(&self, _other: &__BindgenUnionField<T>) -> bool { |
| true |
| } |
| } |
| impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {} |
| pub const _K_SS_MAXSIZE: u32 = 128; |
| pub const SOCK_SNDBUF_LOCK: u32 = 1; |
| pub const SOCK_RCVBUF_LOCK: u32 = 2; |
| pub const SOCK_BUF_LOCK_MASK: u32 = 3; |
| pub const SOCK_TXREHASH_DEFAULT: u32 = 255; |
| pub const SOCK_TXREHASH_DISABLED: u32 = 0; |
| pub const SOCK_TXREHASH_ENABLED: u32 = 1; |
| pub const __BITS_PER_LONG: u32 = 64; |
| pub const __FD_SETSIZE: u32 = 1024; |
| pub const _IOC_NRBITS: u32 = 8; |
| pub const _IOC_TYPEBITS: u32 = 8; |
| pub const _IOC_SIZEBITS: u32 = 14; |
| pub const _IOC_DIRBITS: u32 = 2; |
| pub const _IOC_NRMASK: u32 = 255; |
| pub const _IOC_TYPEMASK: u32 = 255; |
| pub const _IOC_SIZEMASK: u32 = 16383; |
| pub const _IOC_DIRMASK: u32 = 3; |
| pub const _IOC_NRSHIFT: u32 = 0; |
| pub const _IOC_TYPESHIFT: u32 = 8; |
| pub const _IOC_SIZESHIFT: u32 = 16; |
| pub const _IOC_DIRSHIFT: u32 = 30; |
| pub const _IOC_NONE: u32 = 0; |
| pub const _IOC_WRITE: u32 = 1; |
| pub const _IOC_READ: u32 = 2; |
| pub const IOC_IN: u32 = 1073741824; |
| pub const IOC_OUT: u32 = 2147483648; |
| pub const IOC_INOUT: u32 = 3221225472; |
| pub const IOCSIZE_MASK: u32 = 1073676288; |
| pub const IOCSIZE_SHIFT: u32 = 16; |
| pub const TCGETS: u32 = 21505; |
| pub const TCSETS: u32 = 21506; |
| pub const TCSETSW: u32 = 21507; |
| pub const TCSETSF: u32 = 21508; |
| pub const TCGETA: u32 = 21509; |
| pub const TCSETA: u32 = 21510; |
| pub const TCSETAW: u32 = 21511; |
| pub const TCSETAF: u32 = 21512; |
| pub const TCSBRK: u32 = 21513; |
| pub const TCXONC: u32 = 21514; |
| pub const TCFLSH: u32 = 21515; |
| pub const TIOCEXCL: u32 = 21516; |
| pub const TIOCNXCL: u32 = 21517; |
| pub const TIOCSCTTY: u32 = 21518; |
| pub const TIOCGPGRP: u32 = 21519; |
| pub const TIOCSPGRP: u32 = 21520; |
| pub const TIOCOUTQ: u32 = 21521; |
| pub const TIOCSTI: u32 = 21522; |
| pub const TIOCGWINSZ: u32 = 21523; |
| pub const TIOCSWINSZ: u32 = 21524; |
| pub const TIOCMGET: u32 = 21525; |
| pub const TIOCMBIS: u32 = 21526; |
| pub const TIOCMBIC: u32 = 21527; |
| pub const TIOCMSET: u32 = 21528; |
| pub const TIOCGSOFTCAR: u32 = 21529; |
| pub const TIOCSSOFTCAR: u32 = 21530; |
| pub const FIONREAD: u32 = 21531; |
| pub const TIOCINQ: u32 = 21531; |
| pub const TIOCLINUX: u32 = 21532; |
| pub const TIOCCONS: u32 = 21533; |
| pub const TIOCGSERIAL: u32 = 21534; |
| pub const TIOCSSERIAL: u32 = 21535; |
| pub const TIOCPKT: u32 = 21536; |
| pub const FIONBIO: u32 = 21537; |
| pub const TIOCNOTTY: u32 = 21538; |
| pub const TIOCSETD: u32 = 21539; |
| pub const TIOCGETD: u32 = 21540; |
| pub const TCSBRKP: u32 = 21541; |
| pub const TIOCSBRK: u32 = 21543; |
| pub const TIOCCBRK: u32 = 21544; |
| pub const TIOCGSID: u32 = 21545; |
| pub const TIOCGRS485: u32 = 21550; |
| pub const TIOCSRS485: u32 = 21551; |
| pub const TCGETX: u32 = 21554; |
| pub const TCSETX: u32 = 21555; |
| pub const TCSETXF: u32 = 21556; |
| pub const TCSETXW: u32 = 21557; |
| pub const TIOCVHANGUP: u32 = 21559; |
| pub const FIONCLEX: u32 = 21584; |
| pub const FIOCLEX: u32 = 21585; |
| pub const FIOASYNC: u32 = 21586; |
| pub const TIOCSERCONFIG: u32 = 21587; |
| pub const TIOCSERGWILD: u32 = 21588; |
| pub const TIOCSERSWILD: u32 = 21589; |
| pub const TIOCGLCKTRMIOS: u32 = 21590; |
| pub const TIOCSLCKTRMIOS: u32 = 21591; |
| pub const TIOCSERGSTRUCT: u32 = 21592; |
| pub const TIOCSERGETLSR: u32 = 21593; |
| pub const TIOCSERGETMULTI: u32 = 21594; |
| pub const TIOCSERSETMULTI: u32 = 21595; |
| pub const TIOCMIWAIT: u32 = 21596; |
| pub const TIOCGICOUNT: u32 = 21597; |
| pub const FIOQSIZE: u32 = 21600; |
| pub const TIOCPKT_DATA: u32 = 0; |
| pub const TIOCPKT_FLUSHREAD: u32 = 1; |
| pub const TIOCPKT_FLUSHWRITE: u32 = 2; |
| pub const TIOCPKT_STOP: u32 = 4; |
| pub const TIOCPKT_START: u32 = 8; |
| pub const TIOCPKT_NOSTOP: u32 = 16; |
| pub const TIOCPKT_DOSTOP: u32 = 32; |
| pub const TIOCPKT_IOCTL: u32 = 64; |
| pub const TIOCSER_TEMT: u32 = 1; |
| pub const POLLIN: u32 = 1; |
| pub const POLLPRI: u32 = 2; |
| pub const POLLOUT: u32 = 4; |
| pub const POLLERR: u32 = 8; |
| pub const POLLHUP: u32 = 16; |
| pub const POLLNVAL: u32 = 32; |
| pub const POLLRDNORM: u32 = 64; |
| pub const POLLRDBAND: u32 = 128; |
| pub const POLLWRNORM: u32 = 256; |
| pub const POLLWRBAND: u32 = 512; |
| pub const POLLMSG: u32 = 1024; |
| pub const POLLREMOVE: u32 = 4096; |
| pub const POLLRDHUP: u32 = 8192; |
| pub const FP_XSTATE_MAGIC1: u32 = 1179670611; |
| pub const FP_XSTATE_MAGIC2: u32 = 1179670597; |
| pub const X86_FXSR_MAGIC: u32 = 0; |
| pub const ITIMER_REAL: u32 = 0; |
| pub const ITIMER_VIRTUAL: u32 = 1; |
| pub const ITIMER_PROF: u32 = 2; |
| pub const CLOCK_REALTIME: u32 = 0; |
| pub const CLOCK_MONOTONIC: u32 = 1; |
| pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2; |
| pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3; |
| pub const CLOCK_MONOTONIC_RAW: u32 = 4; |
| pub const CLOCK_REALTIME_COARSE: u32 = 5; |
| pub const CLOCK_MONOTONIC_COARSE: u32 = 6; |
| pub const CLOCK_BOOTTIME: u32 = 7; |
| pub const CLOCK_REALTIME_ALARM: u32 = 8; |
| pub const CLOCK_BOOTTIME_ALARM: u32 = 9; |
| pub const CLOCK_SGI_CYCLE: u32 = 10; |
| pub const CLOCK_TAI: u32 = 11; |
| pub const MAX_CLOCKS: u32 = 16; |
| pub const CLOCKS_MASK: u32 = 1; |
| pub const CLOCKS_MONO: u32 = 1; |
| pub const TIMER_ABSTIME: u32 = 1; |
| pub const _KERNEL_NSIG: u32 = 32; |
| pub const SIGHUP: u32 = 1; |
| pub const SIGINT: u32 = 2; |
| pub const SIGQUIT: u32 = 3; |
| pub const SIGILL: u32 = 4; |
| pub const SIGTRAP: u32 = 5; |
| pub const SIGABRT: u32 = 6; |
| pub const SIGIOT: u32 = 6; |
| pub const SIGBUS: u32 = 7; |
| pub const SIGFPE: u32 = 8; |
| pub const SIGKILL: u32 = 9; |
| pub const SIGUSR1: u32 = 10; |
| pub const SIGSEGV: u32 = 11; |
| pub const SIGUSR2: u32 = 12; |
| pub const SIGPIPE: u32 = 13; |
| pub const SIGALRM: u32 = 14; |
| pub const SIGTERM: u32 = 15; |
| pub const SIGSTKFLT: u32 = 16; |
| pub const SIGCHLD: u32 = 17; |
| pub const SIGCONT: u32 = 18; |
| pub const SIGSTOP: u32 = 19; |
| pub const SIGTSTP: u32 = 20; |
| pub const SIGTTIN: u32 = 21; |
| pub const SIGTTOU: u32 = 22; |
| pub const SIGURG: u32 = 23; |
| pub const SIGXCPU: u32 = 24; |
| pub const SIGXFSZ: u32 = 25; |
| pub const SIGVTALRM: u32 = 26; |
| pub const SIGPROF: u32 = 27; |
| pub const SIGWINCH: u32 = 28; |
| pub const SIGIO: u32 = 29; |
| pub const SIGPOLL: u32 = 29; |
| pub const SIGPWR: u32 = 30; |
| pub const SIGSYS: u32 = 31; |
| pub const SIGUNUSED: u32 = 31; |
| pub const __SIGRTMIN: u32 = 32; |
| pub const SA_RESTORER: u32 = 67108864; |
| pub const MINSIGSTKSZ: u32 = 2048; |
| pub const SIGSTKSZ: u32 = 8192; |
| pub const SA_NOCLDSTOP: u32 = 1; |
| pub const SA_NOCLDWAIT: u32 = 2; |
| pub const SA_SIGINFO: u32 = 4; |
| pub const SA_UNSUPPORTED: u32 = 1024; |
| pub const SA_EXPOSE_TAGBITS: u32 = 2048; |
| pub const SA_ONSTACK: u32 = 134217728; |
| pub const SA_RESTART: u32 = 268435456; |
| pub const SA_NODEFER: u32 = 1073741824; |
| pub const SA_RESETHAND: u32 = 2147483648; |
| pub const SA_NOMASK: u32 = 1073741824; |
| pub const SA_ONESHOT: u32 = 2147483648; |
| pub const SIG_BLOCK: u32 = 0; |
| pub const SIG_UNBLOCK: u32 = 1; |
| pub const SIG_SETMASK: u32 = 2; |
| pub const FIOSETOWN: u32 = 35073; |
| pub const SIOCSPGRP: u32 = 35074; |
| pub const FIOGETOWN: u32 = 35075; |
| pub const SIOCGPGRP: u32 = 35076; |
| pub const SIOCATMARK: u32 = 35077; |
| pub const SIOCGSTAMP_OLD: u32 = 35078; |
| pub const SIOCGSTAMPNS_OLD: u32 = 35079; |
| pub const SOL_SOCKET: u32 = 1; |
| pub const SO_DEBUG: u32 = 1; |
| pub const SO_REUSEADDR: u32 = 2; |
| pub const SO_TYPE: u32 = 3; |
| pub const SO_ERROR: u32 = 4; |
| pub const SO_DONTROUTE: u32 = 5; |
| pub const SO_BROADCAST: u32 = 6; |
| pub const SO_SNDBUF: u32 = 7; |
| pub const SO_RCVBUF: u32 = 8; |
| pub const SO_SNDBUFFORCE: u32 = 32; |
| pub const SO_RCVBUFFORCE: u32 = 33; |
| pub const SO_KEEPALIVE: u32 = 9; |
| pub const SO_OOBINLINE: u32 = 10; |
| pub const SO_NO_CHECK: u32 = 11; |
| pub const SO_PRIORITY: u32 = 12; |
| pub const SO_LINGER: u32 = 13; |
| pub const SO_BSDCOMPAT: u32 = 14; |
| pub const SO_REUSEPORT: u32 = 15; |
| pub const SO_PASSCRED: u32 = 16; |
| pub const SO_PEERCRED: u32 = 17; |
| pub const SO_RCVLOWAT: u32 = 18; |
| pub const SO_SNDLOWAT: u32 = 19; |
| pub const SO_RCVTIMEO_OLD: u32 = 20; |
| pub const SO_SNDTIMEO_OLD: u32 = 21; |
| pub const SO_SECURITY_AUTHENTICATION: u32 = 22; |
| pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23; |
| pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24; |
| pub const SO_BINDTODEVICE: u32 = 25; |
| pub const SO_ATTACH_FILTER: u32 = 26; |
| pub const SO_DETACH_FILTER: u32 = 27; |
| pub const SO_GET_FILTER: u32 = 26; |
| pub const SO_PEERNAME: u32 = 28; |
| pub const SO_ACCEPTCONN: u32 = 30; |
| pub const SO_PEERSEC: u32 = 31; |
| pub const SO_PASSSEC: u32 = 34; |
| pub const SO_MARK: u32 = 36; |
| pub const SO_PROTOCOL: u32 = 38; |
| pub const SO_DOMAIN: u32 = 39; |
| pub const SO_RXQ_OVFL: u32 = 40; |
| pub const SO_WIFI_STATUS: u32 = 41; |
| pub const SCM_WIFI_STATUS: u32 = 41; |
| pub const SO_PEEK_OFF: u32 = 42; |
| pub const SO_NOFCS: u32 = 43; |
| pub const SO_LOCK_FILTER: u32 = 44; |
| pub const SO_SELECT_ERR_QUEUE: u32 = 45; |
| pub const SO_BUSY_POLL: u32 = 46; |
| pub const SO_MAX_PACING_RATE: u32 = 47; |
| pub const SO_BPF_EXTENSIONS: u32 = 48; |
| pub const SO_INCOMING_CPU: u32 = 49; |
| pub const SO_ATTACH_BPF: u32 = 50; |
| pub const SO_DETACH_BPF: u32 = 27; |
| pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51; |
| pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52; |
| pub const SO_CNX_ADVICE: u32 = 53; |
| pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54; |
| pub const SO_MEMINFO: u32 = 55; |
| pub const SO_INCOMING_NAPI_ID: u32 = 56; |
| pub const SO_COOKIE: u32 = 57; |
| pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58; |
| pub const SO_PEERGROUPS: u32 = 59; |
| pub const SO_ZEROCOPY: u32 = 60; |
| pub const SO_TXTIME: u32 = 61; |
| pub const SCM_TXTIME: u32 = 61; |
| pub const SO_BINDTOIFINDEX: u32 = 62; |
| pub const SO_TIMESTAMP_OLD: u32 = 29; |
| pub const SO_TIMESTAMPNS_OLD: u32 = 35; |
| pub const SO_TIMESTAMPING_OLD: u32 = 37; |
| pub const SO_TIMESTAMP_NEW: u32 = 63; |
| pub const SO_TIMESTAMPNS_NEW: u32 = 64; |
| pub const SO_TIMESTAMPING_NEW: u32 = 65; |
| pub const SO_RCVTIMEO_NEW: u32 = 66; |
| pub const SO_SNDTIMEO_NEW: u32 = 67; |
| pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; |
| pub const SO_PREFER_BUSY_POLL: u32 = 69; |
| pub const SO_BUSY_POLL_BUDGET: u32 = 70; |
| pub const SO_NETNS_COOKIE: u32 = 71; |
| pub const SO_BUF_LOCK: u32 = 72; |
| pub const SO_RESERVE_MEM: u32 = 73; |
| pub const SO_TXREHASH: u32 = 74; |
| pub const SO_RCVMARK: u32 = 75; |
| pub const SO_PASSPIDFD: u32 = 76; |
| pub const SO_PEERPIDFD: u32 = 77; |
| pub const SO_TIMESTAMP: u32 = 29; |
| pub const SO_TIMESTAMPNS: u32 = 35; |
| pub const SO_TIMESTAMPING: u32 = 37; |
| pub const SO_RCVTIMEO: u32 = 20; |
| pub const SO_SNDTIMEO: u32 = 21; |
| pub const SCM_TIMESTAMP: u32 = 29; |
| pub const SCM_TIMESTAMPNS: u32 = 35; |
| pub const SCM_TIMESTAMPING: u32 = 37; |
| pub const STAT_HAVE_NSEC: u32 = 1; |
| pub const UC_FP_XSTATE: u32 = 1; |
| pub const UC_SIGCONTEXT_SS: u32 = 2; |
| pub const UC_STRICT_RESTORE_SS: u32 = 4; |
| pub const NR_OPEN: u32 = 1024; |
| pub const NGROUPS_MAX: u32 = 65536; |
| pub const ARG_MAX: u32 = 131072; |
| pub const LINK_MAX: u32 = 127; |
| pub const MAX_CANON: u32 = 255; |
| pub const MAX_INPUT: u32 = 255; |
| pub const NAME_MAX: u32 = 255; |
| pub const PATH_MAX: u32 = 4096; |
| pub const PIPE_BUF: u32 = 4096; |
| pub const XATTR_NAME_MAX: u32 = 255; |
| pub const XATTR_SIZE_MAX: u32 = 65536; |
| pub const XATTR_LIST_MAX: u32 = 65536; |
| pub const RTSIG_MAX: u32 = 32; |
| pub const FSCRYPT_POLICY_FLAGS_PAD_4: u32 = 0; |
| pub const FSCRYPT_POLICY_FLAGS_PAD_8: u32 = 1; |
| pub const FSCRYPT_POLICY_FLAGS_PAD_16: u32 = 2; |
| pub const FSCRYPT_POLICY_FLAGS_PAD_32: u32 = 3; |
| pub const FSCRYPT_POLICY_FLAGS_PAD_MASK: u32 = 3; |
| pub const FSCRYPT_POLICY_FLAG_DIRECT_KEY: u32 = 4; |
| pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64: u32 = 8; |
| pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32: u32 = 16; |
| pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1; |
| pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4; |
| pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5; |
| pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6; |
| pub const FSCRYPT_MODE_SM4_XTS: u32 = 7; |
| pub const FSCRYPT_MODE_SM4_CTS: u32 = 8; |
| pub const FSCRYPT_MODE_ADIANTUM: u32 = 9; |
| pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10; |
| pub const FSCRYPT_POLICY_V1: u32 = 0; |
| pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8; |
| pub const FSCRYPT_KEY_DESC_PREFIX: &'static std::ffi::CStr = c"fscrypt:"; |
| pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8; |
| pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64; |
| pub const FSCRYPT_POLICY_V2: u32 = 2; |
| pub const FSCRYPT_KEY_IDENTIFIER_SIZE: u32 = 16; |
| pub const FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR: u32 = 1; |
| pub const FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER: u32 = 2; |
| pub const __FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED: u32 = 1; |
| pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY: u32 = 1; |
| pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS: u32 = 2; |
| pub const FSCRYPT_KEY_STATUS_ABSENT: u32 = 1; |
| pub const FSCRYPT_KEY_STATUS_PRESENT: u32 = 2; |
| pub const FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED: u32 = 3; |
| pub const FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF: u32 = 1; |
| pub const FS_KEY_DESCRIPTOR_SIZE: u32 = 8; |
| pub const FS_POLICY_FLAGS_PAD_4: u32 = 0; |
| pub const FS_POLICY_FLAGS_PAD_8: u32 = 1; |
| pub const FS_POLICY_FLAGS_PAD_16: u32 = 2; |
| pub const FS_POLICY_FLAGS_PAD_32: u32 = 3; |
| pub const FS_POLICY_FLAGS_PAD_MASK: u32 = 3; |
| pub const FS_POLICY_FLAG_DIRECT_KEY: u32 = 4; |
| pub const FS_POLICY_FLAGS_VALID: u32 = 7; |
| pub const FS_ENCRYPTION_MODE_INVALID: u32 = 0; |
| pub const FS_ENCRYPTION_MODE_AES_256_XTS: u32 = 1; |
| pub const FS_ENCRYPTION_MODE_AES_256_GCM: u32 = 2; |
| pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3; |
| pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4; |
| pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5; |
| pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6; |
| pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9; |
| pub const FS_KEY_DESC_PREFIX: &'static std::ffi::CStr = c"fscrypt:"; |
| pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8; |
| pub const FS_MAX_KEY_SIZE: u32 = 64; |
| pub const MS_RDONLY: u32 = 1; |
| pub const MS_NOSUID: u32 = 2; |
| pub const MS_NODEV: u32 = 4; |
| pub const MS_NOEXEC: u32 = 8; |
| pub const MS_SYNCHRONOUS: u32 = 16; |
| pub const MS_REMOUNT: u32 = 32; |
| pub const MS_MANDLOCK: u32 = 64; |
| pub const MS_DIRSYNC: u32 = 128; |
| pub const MS_NOSYMFOLLOW: u32 = 256; |
| pub const MS_NOATIME: u32 = 1024; |
| pub const MS_NODIRATIME: u32 = 2048; |
| pub const MS_BIND: u32 = 4096; |
| pub const MS_MOVE: u32 = 8192; |
| pub const MS_REC: u32 = 16384; |
| pub const MS_VERBOSE: u32 = 32768; |
| pub const MS_SILENT: u32 = 32768; |
| pub const MS_POSIXACL: u32 = 65536; |
| pub const MS_UNBINDABLE: u32 = 131072; |
| pub const MS_PRIVATE: u32 = 262144; |
| pub const MS_SLAVE: u32 = 524288; |
| pub const MS_SHARED: u32 = 1048576; |
| pub const MS_RELATIME: u32 = 2097152; |
| pub const MS_KERNMOUNT: u32 = 4194304; |
| pub const MS_I_VERSION: u32 = 8388608; |
| pub const MS_STRICTATIME: u32 = 16777216; |
| pub const MS_LAZYTIME: u32 = 33554432; |
| pub const MS_SUBMOUNT: u32 = 67108864; |
| pub const MS_NOREMOTELOCK: u32 = 134217728; |
| pub const MS_NOSEC: u32 = 268435456; |
| pub const MS_BORN: u32 = 536870912; |
| pub const MS_ACTIVE: u32 = 1073741824; |
| pub const MS_NOUSER: u32 = 2147483648; |
| pub const MS_RMT_MASK: u32 = 41943121; |
| pub const MS_MGC_VAL: u32 = 3236757504; |
| pub const MS_MGC_MSK: u32 = 4294901760; |
| pub const OPEN_TREE_CLONE: u32 = 1; |
| pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1; |
| pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2; |
| pub const MOVE_MOUNT_F_EMPTY_PATH: u32 = 4; |
| pub const MOVE_MOUNT_T_SYMLINKS: u32 = 16; |
| pub const MOVE_MOUNT_T_AUTOMOUNTS: u32 = 32; |
| pub const MOVE_MOUNT_T_EMPTY_PATH: u32 = 64; |
| pub const MOVE_MOUNT_SET_GROUP: u32 = 256; |
| pub const MOVE_MOUNT_BENEATH: u32 = 512; |
| pub const MOVE_MOUNT__MASK: u32 = 887; |
| pub const FSOPEN_CLOEXEC: u32 = 1; |
| pub const FSPICK_CLOEXEC: u32 = 1; |
| pub const FSPICK_SYMLINK_NOFOLLOW: u32 = 2; |
| pub const FSPICK_NO_AUTOMOUNT: u32 = 4; |
| pub const FSPICK_EMPTY_PATH: u32 = 8; |
| pub const FSMOUNT_CLOEXEC: u32 = 1; |
| pub const MOUNT_ATTR_RDONLY: u32 = 1; |
| pub const MOUNT_ATTR_NOSUID: u32 = 2; |
| pub const MOUNT_ATTR_NODEV: u32 = 4; |
| pub const MOUNT_ATTR_NOEXEC: u32 = 8; |
| pub const MOUNT_ATTR__ATIME: u32 = 112; |
| pub const MOUNT_ATTR_RELATIME: u32 = 0; |
| pub const MOUNT_ATTR_NOATIME: u32 = 16; |
| pub const MOUNT_ATTR_STRICTATIME: u32 = 32; |
| pub const MOUNT_ATTR_NODIRATIME: u32 = 128; |
| pub const MOUNT_ATTR_IDMAP: u32 = 1048576; |
| pub const MOUNT_ATTR_NOSYMFOLLOW: u32 = 2097152; |
| pub const MOUNT_ATTR_SIZE_VER0: u32 = 32; |
| pub const INR_OPEN_CUR: u32 = 1024; |
| pub const INR_OPEN_MAX: u32 = 4096; |
| pub const BLOCK_SIZE_BITS: u32 = 10; |
| pub const BLOCK_SIZE: u32 = 1024; |
| pub const SEEK_SET: u32 = 0; |
| pub const SEEK_CUR: u32 = 1; |
| pub const SEEK_END: u32 = 2; |
| pub const SEEK_DATA: u32 = 3; |
| pub const SEEK_HOLE: u32 = 4; |
| pub const SEEK_MAX: u32 = 4; |
| pub const RENAME_NOREPLACE: u32 = 1; |
| pub const RENAME_EXCHANGE: u32 = 2; |
| pub const RENAME_WHITEOUT: u32 = 4; |
| pub const FILE_DEDUPE_RANGE_SAME: u32 = 0; |
| pub const FILE_DEDUPE_RANGE_DIFFERS: u32 = 1; |
| pub const NR_FILE: u32 = 8192; |
| pub const FS_XFLAG_REALTIME: u32 = 1; |
| pub const FS_XFLAG_PREALLOC: u32 = 2; |
| pub const FS_XFLAG_IMMUTABLE: u32 = 8; |
| pub const FS_XFLAG_APPEND: u32 = 16; |
| pub const FS_XFLAG_SYNC: u32 = 32; |
| pub const FS_XFLAG_NOATIME: u32 = 64; |
| pub const FS_XFLAG_NODUMP: u32 = 128; |
| pub const FS_XFLAG_RTINHERIT: u32 = 256; |
| pub const FS_XFLAG_PROJINHERIT: u32 = 512; |
| pub const FS_XFLAG_NOSYMLINKS: u32 = 1024; |
| pub const FS_XFLAG_EXTSIZE: u32 = 2048; |
| pub const FS_XFLAG_EXTSZINHERIT: u32 = 4096; |
| pub const FS_XFLAG_NODEFRAG: u32 = 8192; |
| pub const FS_XFLAG_FILESTREAM: u32 = 16384; |
| pub const FS_XFLAG_DAX: u32 = 32768; |
| pub const FS_XFLAG_COWEXTSIZE: u32 = 65536; |
| pub const FS_XFLAG_HASATTR: u32 = 2147483648; |
| pub const BMAP_IOCTL: u32 = 1; |
| pub const FSLABEL_MAX: u32 = 256; |
| pub const FS_SECRM_FL: u32 = 1; |
| pub const FS_UNRM_FL: u32 = 2; |
| pub const FS_COMPR_FL: u32 = 4; |
| pub const FS_SYNC_FL: u32 = 8; |
| pub const FS_IMMUTABLE_FL: u32 = 16; |
| pub const FS_APPEND_FL: u32 = 32; |
| pub const FS_NODUMP_FL: u32 = 64; |
| pub const FS_NOATIME_FL: u32 = 128; |
| pub const FS_DIRTY_FL: u32 = 256; |
| pub const FS_COMPRBLK_FL: u32 = 512; |
| pub const FS_NOCOMP_FL: u32 = 1024; |
| pub const FS_ENCRYPT_FL: u32 = 2048; |
| pub const FS_BTREE_FL: u32 = 4096; |
| pub const FS_INDEX_FL: u32 = 4096; |
| pub const FS_IMAGIC_FL: u32 = 8192; |
| pub const FS_JOURNAL_DATA_FL: u32 = 16384; |
| pub const FS_NOTAIL_FL: u32 = 32768; |
| pub const FS_DIRSYNC_FL: u32 = 65536; |
| pub const FS_TOPDIR_FL: u32 = 131072; |
| pub const FS_HUGE_FILE_FL: u32 = 262144; |
| pub const FS_EXTENT_FL: u32 = 524288; |
| pub const FS_VERITY_FL: u32 = 1048576; |
| pub const FS_EA_INODE_FL: u32 = 2097152; |
| pub const FS_EOFBLOCKS_FL: u32 = 4194304; |
| pub const FS_NOCOW_FL: u32 = 8388608; |
| pub const FS_DAX_FL: u32 = 33554432; |
| pub const FS_INLINE_DATA_FL: u32 = 268435456; |
| pub const FS_PROJINHERIT_FL: u32 = 536870912; |
| pub const FS_CASEFOLD_FL: u32 = 1073741824; |
| pub const FS_RESERVED_FL: u32 = 2147483648; |
| pub const FS_FL_USER_VISIBLE: u32 = 253951; |
| pub const FS_FL_USER_MODIFIABLE: u32 = 229631; |
| pub const SYNC_FILE_RANGE_WAIT_BEFORE: u32 = 1; |
| pub const SYNC_FILE_RANGE_WRITE: u32 = 2; |
| pub const SYNC_FILE_RANGE_WAIT_AFTER: u32 = 4; |
| pub const SYNC_FILE_RANGE_WRITE_AND_WAIT: u32 = 7; |
| pub const __LITTLE_ENDIAN: u32 = 1234; |
| pub const IOCB_FLAG_RESFD: u32 = 1; |
| pub const IOCB_FLAG_IOPRIO: u32 = 2; |
| pub const B_TYPE_LARGE: u32 = 133; |
| pub const BINDER_CURRENT_PROTOCOL_VERSION: u32 = 8; |
| pub const ASHMEM_NAME_LEN: u32 = 256; |
| pub const ASHMEM_NAME_DEF: &'static std::ffi::CStr = c"dev/ashmem"; |
| pub const ASHMEM_NOT_PURGED: u32 = 0; |
| pub const ASHMEM_WAS_PURGED: u32 = 1; |
| pub const ASHMEM_IS_UNPINNED: u32 = 0; |
| pub const ASHMEM_IS_PINNED: u32 = 1; |
| pub const __ASHMEMIOC: u32 = 119; |
| pub const EM_NONE: u32 = 0; |
| pub const EM_M32: u32 = 1; |
| pub const EM_SPARC: u32 = 2; |
| pub const EM_386: u32 = 3; |
| pub const EM_68K: u32 = 4; |
| pub const EM_88K: u32 = 5; |
| pub const EM_486: u32 = 6; |
| pub const EM_860: u32 = 7; |
| pub const EM_MIPS: u32 = 8; |
| pub const EM_MIPS_RS3_LE: u32 = 10; |
| pub const EM_MIPS_RS4_BE: u32 = 10; |
| pub const EM_PARISC: u32 = 15; |
| pub const EM_SPARC32PLUS: u32 = 18; |
| pub const EM_PPC: u32 = 20; |
| pub const EM_PPC64: u32 = 21; |
| pub const EM_SPU: u32 = 23; |
| pub const EM_ARM: u32 = 40; |
| pub const EM_SH: u32 = 42; |
| pub const EM_SPARCV9: u32 = 43; |
| pub const EM_H8_300: u32 = 46; |
| pub const EM_IA_64: u32 = 50; |
| pub const EM_X86_64: u32 = 62; |
| pub const EM_S390: u32 = 22; |
| pub const EM_CRIS: u32 = 76; |
| pub const EM_M32R: u32 = 88; |
| pub const EM_MN10300: u32 = 89; |
| pub const EM_OPENRISC: u32 = 92; |
| pub const EM_ARCOMPACT: u32 = 93; |
| pub const EM_XTENSA: u32 = 94; |
| pub const EM_BLACKFIN: u32 = 106; |
| pub const EM_UNICORE: u32 = 110; |
| pub const EM_ALTERA_NIOS2: u32 = 113; |
| pub const EM_TI_C6000: u32 = 140; |
| pub const EM_HEXAGON: u32 = 164; |
| pub const EM_NDS32: u32 = 167; |
| pub const EM_AARCH64: u32 = 183; |
| pub const EM_TILEPRO: u32 = 188; |
| pub const EM_MICROBLAZE: u32 = 189; |
| pub const EM_TILEGX: u32 = 191; |
| pub const EM_ARCV2: u32 = 195; |
| pub const EM_RISCV: u32 = 243; |
| pub const EM_BPF: u32 = 247; |
| pub const EM_CSKY: u32 = 252; |
| pub const EM_LOONGARCH: u32 = 258; |
| pub const EM_FRV: u32 = 21569; |
| pub const EM_ALPHA: u32 = 36902; |
| pub const EM_CYGNUS_M32R: u32 = 36929; |
| pub const EM_S390_OLD: u32 = 41872; |
| pub const EM_CYGNUS_MN10300: u32 = 48879; |
| pub const AUDIT_GET: u32 = 1000; |
| pub const AUDIT_SET: u32 = 1001; |
| pub const AUDIT_LIST: u32 = 1002; |
| pub const AUDIT_ADD: u32 = 1003; |
| pub const AUDIT_DEL: u32 = 1004; |
| pub const AUDIT_USER: u32 = 1005; |
| pub const AUDIT_LOGIN: u32 = 1006; |
| pub const AUDIT_WATCH_INS: u32 = 1007; |
| pub const AUDIT_WATCH_REM: u32 = 1008; |
| pub const AUDIT_WATCH_LIST: u32 = 1009; |
| pub const AUDIT_SIGNAL_INFO: u32 = 1010; |
| pub const AUDIT_ADD_RULE: u32 = 1011; |
| pub const AUDIT_DEL_RULE: u32 = 1012; |
| pub const AUDIT_LIST_RULES: u32 = 1013; |
| pub const AUDIT_TRIM: u32 = 1014; |
| pub const AUDIT_MAKE_EQUIV: u32 = 1015; |
| pub const AUDIT_TTY_GET: u32 = 1016; |
| pub const AUDIT_TTY_SET: u32 = 1017; |
| pub const AUDIT_SET_FEATURE: u32 = 1018; |
| pub const AUDIT_GET_FEATURE: u32 = 1019; |
| pub const AUDIT_FIRST_USER_MSG: u32 = 1100; |
| pub const AUDIT_USER_AVC: u32 = 1107; |
| pub const AUDIT_USER_TTY: u32 = 1124; |
| pub const AUDIT_LAST_USER_MSG: u32 = 1199; |
| pub const AUDIT_FIRST_USER_MSG2: u32 = 2100; |
| pub const AUDIT_LAST_USER_MSG2: u32 = 2999; |
| pub const AUDIT_DAEMON_START: u32 = 1200; |
| pub const AUDIT_DAEMON_END: u32 = 1201; |
| pub const AUDIT_DAEMON_ABORT: u32 = 1202; |
| pub const AUDIT_DAEMON_CONFIG: u32 = 1203; |
| pub const AUDIT_SYSCALL: u32 = 1300; |
| pub const AUDIT_PATH: u32 = 1302; |
| pub const AUDIT_IPC: u32 = 1303; |
| pub const AUDIT_SOCKETCALL: u32 = 1304; |
| pub const AUDIT_CONFIG_CHANGE: u32 = 1305; |
| pub const AUDIT_SOCKADDR: u32 = 1306; |
| pub const AUDIT_CWD: u32 = 1307; |
| pub const AUDIT_EXECVE: u32 = 1309; |
| pub const AUDIT_IPC_SET_PERM: u32 = 1311; |
| pub const AUDIT_MQ_OPEN: u32 = 1312; |
| pub const AUDIT_MQ_SENDRECV: u32 = 1313; |
| pub const AUDIT_MQ_NOTIFY: u32 = 1314; |
| pub const AUDIT_MQ_GETSETATTR: u32 = 1315; |
| pub const AUDIT_KERNEL_OTHER: u32 = 1316; |
| pub const AUDIT_FD_PAIR: u32 = 1317; |
| pub const AUDIT_OBJ_PID: u32 = 1318; |
| pub const AUDIT_TTY: u32 = 1319; |
| pub const AUDIT_EOE: u32 = 1320; |
| pub const AUDIT_BPRM_FCAPS: u32 = 1321; |
| pub const AUDIT_CAPSET: u32 = 1322; |
| pub const AUDIT_MMAP: u32 = 1323; |
| pub const AUDIT_NETFILTER_PKT: u32 = 1324; |
| pub const AUDIT_NETFILTER_CFG: u32 = 1325; |
| pub const AUDIT_SECCOMP: u32 = 1326; |
| pub const AUDIT_PROCTITLE: u32 = 1327; |
| pub const AUDIT_FEATURE_CHANGE: u32 = 1328; |
| pub const AUDIT_REPLACE: u32 = 1329; |
| pub const AUDIT_KERN_MODULE: u32 = 1330; |
| pub const AUDIT_FANOTIFY: u32 = 1331; |
| pub const AUDIT_TIME_INJOFFSET: u32 = 1332; |
| pub const AUDIT_TIME_ADJNTPVAL: u32 = 1333; |
| pub const AUDIT_BPF: u32 = 1334; |
| pub const AUDIT_EVENT_LISTENER: u32 = 1335; |
| pub const AUDIT_URINGOP: u32 = 1336; |
| pub const AUDIT_OPENAT2: u32 = 1337; |
| pub const AUDIT_DM_CTRL: u32 = 1338; |
| pub const AUDIT_DM_EVENT: u32 = 1339; |
| pub const AUDIT_AVC: u32 = 1400; |
| pub const AUDIT_SELINUX_ERR: u32 = 1401; |
| pub const AUDIT_AVC_PATH: u32 = 1402; |
| pub const AUDIT_MAC_POLICY_LOAD: u32 = 1403; |
| pub const AUDIT_MAC_STATUS: u32 = 1404; |
| pub const AUDIT_MAC_CONFIG_CHANGE: u32 = 1405; |
| pub const AUDIT_MAC_UNLBL_ALLOW: u32 = 1406; |
| pub const AUDIT_MAC_CIPSOV4_ADD: u32 = 1407; |
| pub const AUDIT_MAC_CIPSOV4_DEL: u32 = 1408; |
| pub const AUDIT_MAC_MAP_ADD: u32 = 1409; |
| pub const AUDIT_MAC_MAP_DEL: u32 = 1410; |
| pub const AUDIT_MAC_IPSEC_ADDSA: u32 = 1411; |
| pub const AUDIT_MAC_IPSEC_DELSA: u32 = 1412; |
| pub const AUDIT_MAC_IPSEC_ADDSPD: u32 = 1413; |
| pub const AUDIT_MAC_IPSEC_DELSPD: u32 = 1414; |
| pub const AUDIT_MAC_IPSEC_EVENT: u32 = 1415; |
| pub const AUDIT_MAC_UNLBL_STCADD: u32 = 1416; |
| pub const AUDIT_MAC_UNLBL_STCDEL: u32 = 1417; |
| pub const AUDIT_MAC_CALIPSO_ADD: u32 = 1418; |
| pub const AUDIT_MAC_CALIPSO_DEL: u32 = 1419; |
| pub const AUDIT_FIRST_KERN_ANOM_MSG: u32 = 1700; |
| pub const AUDIT_LAST_KERN_ANOM_MSG: u32 = 1799; |
| pub const AUDIT_ANOM_PROMISCUOUS: u32 = 1700; |
| pub const AUDIT_ANOM_ABEND: u32 = 1701; |
| pub const AUDIT_ANOM_LINK: u32 = 1702; |
| pub const AUDIT_ANOM_CREAT: u32 = 1703; |
| pub const AUDIT_INTEGRITY_DATA: u32 = 1800; |
| pub const AUDIT_INTEGRITY_METADATA: u32 = 1801; |
| pub const AUDIT_INTEGRITY_STATUS: u32 = 1802; |
| pub const AUDIT_INTEGRITY_HASH: u32 = 1803; |
| pub const AUDIT_INTEGRITY_PCR: u32 = 1804; |
| pub const AUDIT_INTEGRITY_RULE: u32 = 1805; |
| pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; |
| pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; |
| pub const AUDIT_KERNEL: u32 = 2000; |
| pub const AUDIT_FILTER_USER: u32 = 0; |
| pub const AUDIT_FILTER_TASK: u32 = 1; |
| pub const AUDIT_FILTER_ENTRY: u32 = 2; |
| pub const AUDIT_FILTER_WATCH: u32 = 3; |
| pub const AUDIT_FILTER_EXIT: u32 = 4; |
| pub const AUDIT_FILTER_EXCLUDE: u32 = 5; |
| pub const AUDIT_FILTER_TYPE: u32 = 5; |
| pub const AUDIT_FILTER_FS: u32 = 6; |
| pub const AUDIT_FILTER_URING_EXIT: u32 = 7; |
| pub const AUDIT_NR_FILTERS: u32 = 8; |
| pub const AUDIT_FILTER_PREPEND: u32 = 16; |
| pub const AUDIT_NEVER: u32 = 0; |
| pub const AUDIT_POSSIBLE: u32 = 1; |
| pub const AUDIT_ALWAYS: u32 = 2; |
| pub const AUDIT_MAX_FIELDS: u32 = 64; |
| pub const AUDIT_MAX_KEY_LEN: u32 = 256; |
| pub const AUDIT_BITMASK_SIZE: u32 = 64; |
| pub const AUDIT_SYSCALL_CLASSES: u32 = 16; |
| pub const AUDIT_CLASS_DIR_WRITE: u32 = 0; |
| pub const AUDIT_CLASS_DIR_WRITE_32: u32 = 1; |
| pub const AUDIT_CLASS_CHATTR: u32 = 2; |
| pub const AUDIT_CLASS_CHATTR_32: u32 = 3; |
| pub const AUDIT_CLASS_READ: u32 = 4; |
| pub const AUDIT_CLASS_READ_32: u32 = 5; |
| pub const AUDIT_CLASS_WRITE: u32 = 6; |
| pub const AUDIT_CLASS_WRITE_32: u32 = 7; |
| pub const AUDIT_CLASS_SIGNAL: u32 = 8; |
| pub const AUDIT_CLASS_SIGNAL_32: u32 = 9; |
| pub const AUDIT_UNUSED_BITS: u32 = 134216704; |
| pub const AUDIT_COMPARE_UID_TO_OBJ_UID: u32 = 1; |
| pub const AUDIT_COMPARE_GID_TO_OBJ_GID: u32 = 2; |
| pub const AUDIT_COMPARE_EUID_TO_OBJ_UID: u32 = 3; |
| pub const AUDIT_COMPARE_EGID_TO_OBJ_GID: u32 = 4; |
| pub const AUDIT_COMPARE_AUID_TO_OBJ_UID: u32 = 5; |
| pub const AUDIT_COMPARE_SUID_TO_OBJ_UID: u32 = 6; |
| pub const AUDIT_COMPARE_SGID_TO_OBJ_GID: u32 = 7; |
| pub const AUDIT_COMPARE_FSUID_TO_OBJ_UID: u32 = 8; |
| pub const AUDIT_COMPARE_FSGID_TO_OBJ_GID: u32 = 9; |
| pub const AUDIT_COMPARE_UID_TO_AUID: u32 = 10; |
| pub const AUDIT_COMPARE_UID_TO_EUID: u32 = 11; |
| pub const AUDIT_COMPARE_UID_TO_FSUID: u32 = 12; |
| pub const AUDIT_COMPARE_UID_TO_SUID: u32 = 13; |
| pub const AUDIT_COMPARE_AUID_TO_FSUID: u32 = 14; |
| pub const AUDIT_COMPARE_AUID_TO_SUID: u32 = 15; |
| pub const AUDIT_COMPARE_AUID_TO_EUID: u32 = 16; |
| pub const AUDIT_COMPARE_EUID_TO_SUID: u32 = 17; |
| pub const AUDIT_COMPARE_EUID_TO_FSUID: u32 = 18; |
| pub const AUDIT_COMPARE_SUID_TO_FSUID: u32 = 19; |
| pub const AUDIT_COMPARE_GID_TO_EGID: u32 = 20; |
| pub const AUDIT_COMPARE_GID_TO_FSGID: u32 = 21; |
| pub const AUDIT_COMPARE_GID_TO_SGID: u32 = 22; |
| pub const AUDIT_COMPARE_EGID_TO_FSGID: u32 = 23; |
| pub const AUDIT_COMPARE_EGID_TO_SGID: u32 = 24; |
| pub const AUDIT_COMPARE_SGID_TO_FSGID: u32 = 25; |
| pub const AUDIT_MAX_FIELD_COMPARE: u32 = 25; |
| pub const AUDIT_PID: u32 = 0; |
| pub const AUDIT_UID: u32 = 1; |
| pub const AUDIT_EUID: u32 = 2; |
| pub const AUDIT_SUID: u32 = 3; |
| pub const AUDIT_FSUID: u32 = 4; |
| pub const AUDIT_GID: u32 = 5; |
| pub const AUDIT_EGID: u32 = 6; |
| pub const AUDIT_SGID: u32 = 7; |
| pub const AUDIT_FSGID: u32 = 8; |
| pub const AUDIT_LOGINUID: u32 = 9; |
| pub const AUDIT_PERS: u32 = 10; |
| pub const AUDIT_ARCH: u32 = 11; |
| pub const AUDIT_MSGTYPE: u32 = 12; |
| pub const AUDIT_SUBJ_USER: u32 = 13; |
| pub const AUDIT_SUBJ_ROLE: u32 = 14; |
| pub const AUDIT_SUBJ_TYPE: u32 = 15; |
| pub const AUDIT_SUBJ_SEN: u32 = 16; |
| pub const AUDIT_SUBJ_CLR: u32 = 17; |
| pub const AUDIT_PPID: u32 = 18; |
| pub const AUDIT_OBJ_USER: u32 = 19; |
| pub const AUDIT_OBJ_ROLE: u32 = 20; |
| pub const AUDIT_OBJ_TYPE: u32 = 21; |
| pub const AUDIT_OBJ_LEV_LOW: u32 = 22; |
| pub const AUDIT_OBJ_LEV_HIGH: u32 = 23; |
| pub const AUDIT_LOGINUID_SET: u32 = 24; |
| pub const AUDIT_SESSIONID: u32 = 25; |
| pub const AUDIT_FSTYPE: u32 = 26; |
| pub const AUDIT_DEVMAJOR: u32 = 100; |
| pub const AUDIT_DEVMINOR: u32 = 101; |
| pub const AUDIT_INODE: u32 = 102; |
| pub const AUDIT_EXIT: u32 = 103; |
| pub const AUDIT_SUCCESS: u32 = 104; |
| pub const AUDIT_WATCH: u32 = 105; |
| pub const AUDIT_PERM: u32 = 106; |
| pub const AUDIT_DIR: u32 = 107; |
| pub const AUDIT_FILETYPE: u32 = 108; |
| pub const AUDIT_OBJ_UID: u32 = 109; |
| pub const AUDIT_OBJ_GID: u32 = 110; |
| pub const AUDIT_FIELD_COMPARE: u32 = 111; |
| pub const AUDIT_EXE: u32 = 112; |
| pub const AUDIT_SADDR_FAM: u32 = 113; |
| pub const AUDIT_ARG0: u32 = 200; |
| pub const AUDIT_ARG1: u32 = 201; |
| pub const AUDIT_ARG2: u32 = 202; |
| pub const AUDIT_ARG3: u32 = 203; |
| pub const AUDIT_FILTERKEY: u32 = 210; |
| pub const AUDIT_NEGATE: u32 = 2147483648; |
| pub const AUDIT_BIT_MASK: u32 = 134217728; |
| pub const AUDIT_LESS_THAN: u32 = 268435456; |
| pub const AUDIT_GREATER_THAN: u32 = 536870912; |
| pub const AUDIT_NOT_EQUAL: u32 = 805306368; |
| pub const AUDIT_EQUAL: u32 = 1073741824; |
| pub const AUDIT_BIT_TEST: u32 = 1207959552; |
| pub const AUDIT_LESS_THAN_OR_EQUAL: u32 = 1342177280; |
| pub const AUDIT_GREATER_THAN_OR_EQUAL: u32 = 1610612736; |
| pub const AUDIT_OPERATORS: u32 = 2013265920; |
| pub const AUDIT_STATUS_ENABLED: u32 = 1; |
| pub const AUDIT_STATUS_FAILURE: u32 = 2; |
| pub const AUDIT_STATUS_PID: u32 = 4; |
| pub const AUDIT_STATUS_RATE_LIMIT: u32 = 8; |
| pub const AUDIT_STATUS_BACKLOG_LIMIT: u32 = 16; |
| pub const AUDIT_STATUS_BACKLOG_WAIT_TIME: u32 = 32; |
| pub const AUDIT_STATUS_LOST: u32 = 64; |
| pub const AUDIT_STATUS_BACKLOG_WAIT_TIME_ACTUAL: u32 = 128; |
| pub const AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT: u32 = 1; |
| pub const AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME: u32 = 2; |
| pub const AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH: u32 = 4; |
| pub const AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND: u32 = 8; |
| pub const AUDIT_FEATURE_BITMAP_SESSIONID_FILTER: u32 = 16; |
| pub const AUDIT_FEATURE_BITMAP_LOST_RESET: u32 = 32; |
| pub const AUDIT_FEATURE_BITMAP_FILTER_FS: u32 = 64; |
| pub const AUDIT_FEATURE_BITMAP_ALL: u32 = 127; |
| pub const AUDIT_VERSION_LATEST: u32 = 127; |
| pub const AUDIT_VERSION_BACKLOG_LIMIT: u32 = 1; |
| pub const AUDIT_VERSION_BACKLOG_WAIT_TIME: u32 = 2; |
| pub const AUDIT_FAIL_SILENT: u32 = 0; |
| pub const AUDIT_FAIL_PRINTK: u32 = 1; |
| pub const AUDIT_FAIL_PANIC: u32 = 2; |
| pub const __AUDIT_ARCH_CONVENTION_MASK: u32 = 805306368; |
| pub const __AUDIT_ARCH_CONVENTION_MIPS64_N32: u32 = 536870912; |
| pub const __AUDIT_ARCH_64BIT: u32 = 2147483648; |
| pub const __AUDIT_ARCH_LE: u32 = 1073741824; |
| pub const AUDIT_ARCH_AARCH64: u32 = 3221225655; |
| pub const AUDIT_ARCH_ALPHA: u32 = 3221262374; |
| pub const AUDIT_ARCH_ARCOMPACT: u32 = 1073741917; |
| pub const AUDIT_ARCH_ARCOMPACTBE: u32 = 93; |
| pub const AUDIT_ARCH_ARCV2: u32 = 1073742019; |
| pub const AUDIT_ARCH_ARCV2BE: u32 = 195; |
| pub const AUDIT_ARCH_ARM: u32 = 1073741864; |
| pub const AUDIT_ARCH_ARMEB: u32 = 40; |
| pub const AUDIT_ARCH_C6X: u32 = 1073741964; |
| pub const AUDIT_ARCH_C6XBE: u32 = 140; |
| pub const AUDIT_ARCH_CRIS: u32 = 1073741900; |
| pub const AUDIT_ARCH_CSKY: u32 = 1073742076; |
| pub const AUDIT_ARCH_FRV: u32 = 21569; |
| pub const AUDIT_ARCH_H8300: u32 = 46; |
| pub const AUDIT_ARCH_HEXAGON: u32 = 164; |
| pub const AUDIT_ARCH_I386: u32 = 1073741827; |
| pub const AUDIT_ARCH_IA64: u32 = 3221225522; |
| pub const AUDIT_ARCH_M32R: u32 = 88; |
| pub const AUDIT_ARCH_M68K: u32 = 4; |
| pub const AUDIT_ARCH_MICROBLAZE: u32 = 189; |
| pub const AUDIT_ARCH_MIPS: u32 = 8; |
| pub const AUDIT_ARCH_MIPSEL: u32 = 1073741832; |
| pub const AUDIT_ARCH_MIPS64: u32 = 2147483656; |
| pub const AUDIT_ARCH_MIPS64N32: u32 = 2684354568; |
| pub const AUDIT_ARCH_MIPSEL64: u32 = 3221225480; |
| pub const AUDIT_ARCH_MIPSEL64N32: u32 = 3758096392; |
| pub const AUDIT_ARCH_NDS32: u32 = 1073741991; |
| pub const AUDIT_ARCH_NDS32BE: u32 = 167; |
| pub const AUDIT_ARCH_NIOS2: u32 = 1073741937; |
| pub const AUDIT_ARCH_OPENRISC: u32 = 92; |
| pub const AUDIT_ARCH_PARISC: u32 = 15; |
| pub const AUDIT_ARCH_PARISC64: u32 = 2147483663; |
| pub const AUDIT_ARCH_PPC: u32 = 20; |
| pub const AUDIT_ARCH_PPC64: u32 = 2147483669; |
| pub const AUDIT_ARCH_PPC64LE: u32 = 3221225493; |
| pub const AUDIT_ARCH_RISCV32: u32 = 1073742067; |
| pub const AUDIT_ARCH_RISCV64: u32 = 3221225715; |
| pub const AUDIT_ARCH_S390: u32 = 22; |
| pub const AUDIT_ARCH_S390X: u32 = 2147483670; |
| pub const AUDIT_ARCH_SH: u32 = 42; |
| pub const AUDIT_ARCH_SHEL: u32 = 1073741866; |
| pub const AUDIT_ARCH_SH64: u32 = 2147483690; |
| pub const AUDIT_ARCH_SHEL64: u32 = 3221225514; |
| pub const AUDIT_ARCH_SPARC: u32 = 2; |
| pub const AUDIT_ARCH_SPARC64: u32 = 2147483691; |
| pub const AUDIT_ARCH_TILEGX: u32 = 3221225663; |
| pub const AUDIT_ARCH_TILEGX32: u32 = 1073742015; |
| pub const AUDIT_ARCH_TILEPRO: u32 = 1073742012; |
| pub const AUDIT_ARCH_UNICORE: u32 = 1073741934; |
| pub const AUDIT_ARCH_X86_64: u32 = 3221225534; |
| pub const AUDIT_ARCH_XTENSA: u32 = 94; |
| pub const AUDIT_ARCH_LOONGARCH32: u32 = 1073742082; |
| pub const AUDIT_ARCH_LOONGARCH64: u32 = 3221225730; |
| pub const AUDIT_PERM_EXEC: u32 = 1; |
| pub const AUDIT_PERM_WRITE: u32 = 2; |
| pub const AUDIT_PERM_READ: u32 = 4; |
| pub const AUDIT_PERM_ATTR: u32 = 8; |
| pub const AUDIT_MESSAGE_TEXT_MAX: u32 = 8560; |
| pub const AUDIT_FEATURE_VERSION: u32 = 1; |
| pub const AUDIT_FEATURE_ONLY_UNSET_LOGINUID: u32 = 0; |
| pub const AUDIT_FEATURE_LOGINUID_IMMUTABLE: u32 = 1; |
| pub const AUDIT_LAST_FEATURE: u32 = 1; |
| pub const AT_SYSINFO_EHDR: u32 = 33; |
| pub const AT_VECTOR_SIZE_ARCH: u32 = 3; |
| pub const AT_NULL: u32 = 0; |
| pub const AT_IGNORE: u32 = 1; |
| pub const AT_EXECFD: u32 = 2; |
| pub const AT_PHDR: u32 = 3; |
| pub const AT_PHENT: u32 = 4; |
| pub const AT_PHNUM: u32 = 5; |
| pub const AT_PAGESZ: u32 = 6; |
| pub const AT_BASE: u32 = 7; |
| pub const AT_FLAGS: u32 = 8; |
| pub const AT_ENTRY: u32 = 9; |
| pub const AT_NOTELF: u32 = 10; |
| pub const AT_UID: u32 = 11; |
| pub const AT_EUID: u32 = 12; |
| pub const AT_GID: u32 = 13; |
| pub const AT_EGID: u32 = 14; |
| pub const AT_PLATFORM: u32 = 15; |
| pub const AT_HWCAP: u32 = 16; |
| pub const AT_CLKTCK: u32 = 17; |
| pub const AT_SECURE: u32 = 23; |
| pub const AT_BASE_PLATFORM: u32 = 24; |
| pub const AT_RANDOM: u32 = 25; |
| pub const AT_HWCAP2: u32 = 26; |
| pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; |
| pub const AT_RSEQ_ALIGN: u32 = 28; |
| pub const AT_EXECFN: u32 = 31; |
| pub const AT_MINSIGSTKSZ: u32 = 51; |
| pub const BPF_LD: u32 = 0; |
| pub const BPF_LDX: u32 = 1; |
| pub const BPF_ST: u32 = 2; |
| pub const BPF_STX: u32 = 3; |
| pub const BPF_ALU: u32 = 4; |
| pub const BPF_JMP: u32 = 5; |
| pub const BPF_RET: u32 = 6; |
| pub const BPF_MISC: u32 = 7; |
| pub const BPF_W: u32 = 0; |
| pub const BPF_H: u32 = 8; |
| pub const BPF_B: u32 = 16; |
| pub const BPF_IMM: u32 = 0; |
| pub const BPF_ABS: u32 = 32; |
| pub const BPF_IND: u32 = 64; |
| pub const BPF_MEM: u32 = 96; |
| pub const BPF_LEN: u32 = 128; |
| pub const BPF_MSH: u32 = 160; |
| pub const BPF_ADD: u32 = 0; |
| pub const BPF_SUB: u32 = 16; |
| pub const BPF_MUL: u32 = 32; |
| pub const BPF_DIV: u32 = 48; |
| pub const BPF_OR: u32 = 64; |
| pub const BPF_AND: u32 = 80; |
| pub const BPF_LSH: u32 = 96; |
| pub const BPF_RSH: u32 = 112; |
| pub const BPF_NEG: u32 = 128; |
| pub const BPF_MOD: u32 = 144; |
| pub const BPF_XOR: u32 = 160; |
| pub const BPF_JA: u32 = 0; |
| pub const BPF_JEQ: u32 = 16; |
| pub const BPF_JGT: u32 = 32; |
| pub const BPF_JGE: u32 = 48; |
| pub const BPF_JSET: u32 = 64; |
| pub const BPF_K: u32 = 0; |
| pub const BPF_X: u32 = 8; |
| pub const BPF_MAXINSNS: u32 = 4096; |
| pub const BPF_JMP32: u32 = 6; |
| pub const BPF_ALU64: u32 = 7; |
| pub const BPF_DW: u32 = 24; |
| pub const BPF_ATOMIC: u32 = 192; |
| pub const BPF_XADD: u32 = 192; |
| pub const BPF_MOV: u32 = 176; |
| pub const BPF_ARSH: u32 = 192; |
| pub const BPF_END: u32 = 208; |
| pub const BPF_TO_LE: u32 = 0; |
| pub const BPF_TO_BE: u32 = 8; |
| pub const BPF_FROM_LE: u32 = 0; |
| pub const BPF_FROM_BE: u32 = 8; |
| pub const BPF_JNE: u32 = 80; |
| pub const BPF_JLT: u32 = 160; |
| pub const BPF_JLE: u32 = 176; |
| pub const BPF_JSGT: u32 = 96; |
| pub const BPF_JSGE: u32 = 112; |
| pub const BPF_JSLT: u32 = 192; |
| pub const BPF_JSLE: u32 = 208; |
| pub const BPF_CALL: u32 = 128; |
| pub const BPF_EXIT: u32 = 144; |
| pub const BPF_FETCH: u32 = 1; |
| pub const BPF_XCHG: u32 = 225; |
| pub const BPF_CMPXCHG: u32 = 241; |
| pub const BPF_F_ALLOW_OVERRIDE: u32 = 1; |
| pub const BPF_F_ALLOW_MULTI: u32 = 2; |
| pub const BPF_F_REPLACE: u32 = 4; |
| pub const BPF_F_STRICT_ALIGNMENT: u32 = 1; |
| pub const BPF_F_ANY_ALIGNMENT: u32 = 2; |
| pub const BPF_F_TEST_RND_HI32: u32 = 4; |
| pub const BPF_F_TEST_STATE_FREQ: u32 = 8; |
| pub const BPF_F_SLEEPABLE: u32 = 16; |
| pub const BPF_F_XDP_HAS_FRAGS: u32 = 32; |
| pub const BPF_F_XDP_DEV_BOUND_ONLY: u32 = 64; |
| pub const BPF_F_KPROBE_MULTI_RETURN: u32 = 1; |
| pub const BPF_PSEUDO_MAP_FD: u32 = 1; |
| pub const BPF_PSEUDO_MAP_IDX: u32 = 5; |
| pub const BPF_PSEUDO_MAP_VALUE: u32 = 2; |
| pub const BPF_PSEUDO_MAP_IDX_VALUE: u32 = 6; |
| pub const BPF_PSEUDO_BTF_ID: u32 = 3; |
| pub const BPF_PSEUDO_FUNC: u32 = 4; |
| pub const BPF_PSEUDO_CALL: u32 = 1; |
| pub const BPF_PSEUDO_KFUNC_CALL: u32 = 2; |
| pub const BPF_F_QUERY_EFFECTIVE: u32 = 1; |
| pub const BPF_F_TEST_RUN_ON_CPU: u32 = 1; |
| pub const BPF_F_TEST_XDP_LIVE_FRAMES: u32 = 2; |
| pub const BPF_BUILD_ID_SIZE: u32 = 20; |
| pub const BPF_OBJ_NAME_LEN: u32 = 16; |
| pub const XDP_PACKET_HEADROOM: u32 = 256; |
| pub const BPF_TAG_SIZE: u32 = 8; |
| pub const PTRACE_TRACEME: u32 = 0; |
| pub const PTRACE_PEEKTEXT: u32 = 1; |
| pub const PTRACE_PEEKDATA: u32 = 2; |
| pub const PTRACE_PEEKUSR: u32 = 3; |
| pub const PTRACE_POKETEXT: u32 = 4; |
| pub const PTRACE_POKEDATA: u32 = 5; |
| pub const PTRACE_POKEUSR: u32 = 6; |
| pub const PTRACE_CONT: u32 = 7; |
| pub const PTRACE_KILL: u32 = 8; |
| pub const PTRACE_SINGLESTEP: u32 = 9; |
| pub const PTRACE_ATTACH: u32 = 16; |
| pub const PTRACE_DETACH: u32 = 17; |
| pub const PTRACE_SYSCALL: u32 = 24; |
| pub const PTRACE_SETOPTIONS: u32 = 16896; |
| pub const PTRACE_GETEVENTMSG: u32 = 16897; |
| pub const PTRACE_GETSIGINFO: u32 = 16898; |
| pub const PTRACE_SETSIGINFO: u32 = 16899; |
| pub const PTRACE_GETREGSET: u32 = 16900; |
| pub const PTRACE_SETREGSET: u32 = 16901; |
| pub const PTRACE_SEIZE: u32 = 16902; |
| pub const PTRACE_INTERRUPT: u32 = 16903; |
| pub const PTRACE_LISTEN: u32 = 16904; |
| pub const PTRACE_PEEKSIGINFO: u32 = 16905; |
| pub const PTRACE_GETSIGMASK: u32 = 16906; |
| pub const PTRACE_SETSIGMASK: u32 = 16907; |
| pub const PTRACE_SECCOMP_GET_FILTER: u32 = 16908; |
| pub const PTRACE_SECCOMP_GET_METADATA: u32 = 16909; |
| pub const PTRACE_GET_SYSCALL_INFO: u32 = 16910; |
| pub const PTRACE_SYSCALL_INFO_NONE: u32 = 0; |
| pub const PTRACE_SYSCALL_INFO_ENTRY: u32 = 1; |
| pub const PTRACE_SYSCALL_INFO_EXIT: u32 = 2; |
| pub const PTRACE_SYSCALL_INFO_SECCOMP: u32 = 3; |
| pub const PTRACE_GET_RSEQ_CONFIGURATION: u32 = 16911; |
| pub const PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG: u32 = 16912; |
| pub const PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG: u32 = 16913; |
| pub const PTRACE_EVENTMSG_SYSCALL_ENTRY: u32 = 1; |
| pub const PTRACE_EVENTMSG_SYSCALL_EXIT: u32 = 2; |
| pub const PTRACE_PEEKSIGINFO_SHARED: u32 = 1; |
| pub const PTRACE_EVENT_FORK: u32 = 1; |
| pub const PTRACE_EVENT_VFORK: u32 = 2; |
| pub const PTRACE_EVENT_CLONE: u32 = 3; |
| pub const PTRACE_EVENT_EXEC: u32 = 4; |
| pub const PTRACE_EVENT_VFORK_DONE: u32 = 5; |
| pub const PTRACE_EVENT_EXIT: u32 = 6; |
| pub const PTRACE_EVENT_SECCOMP: u32 = 7; |
| pub const PTRACE_EVENT_STOP: u32 = 128; |
| pub const PTRACE_O_TRACESYSGOOD: u32 = 1; |
| pub const PTRACE_O_TRACEFORK: u32 = 2; |
| pub const PTRACE_O_TRACEVFORK: u32 = 4; |
| pub const PTRACE_O_TRACECLONE: u32 = 8; |
| pub const PTRACE_O_TRACEEXEC: u32 = 16; |
| pub const PTRACE_O_TRACEVFORKDONE: u32 = 32; |
| pub const PTRACE_O_TRACEEXIT: u32 = 64; |
| pub const PTRACE_O_TRACESECCOMP: u32 = 128; |
| pub const PTRACE_O_EXITKILL: u32 = 1048576; |
| pub const PTRACE_O_SUSPEND_SECCOMP: u32 = 2097152; |
| pub const PTRACE_O_MASK: u32 = 3145983; |
| pub const FRAME_SIZE: u32 = 168; |
| pub const PTRACE_GETREGS: u32 = 12; |
| pub const PTRACE_SETREGS: u32 = 13; |
| pub const PTRACE_GETFPREGS: u32 = 14; |
| pub const PTRACE_SETFPREGS: u32 = 15; |
| pub const PTRACE_GETFPXREGS: u32 = 18; |
| pub const PTRACE_SETFPXREGS: u32 = 19; |
| pub const PTRACE_OLDSETOPTIONS: u32 = 21; |
| pub const PTRACE_GET_THREAD_AREA: u32 = 25; |
| pub const PTRACE_SET_THREAD_AREA: u32 = 26; |
| pub const PTRACE_ARCH_PRCTL: u32 = 30; |
| pub const PTRACE_SYSEMU: u32 = 31; |
| pub const PTRACE_SYSEMU_SINGLESTEP: u32 = 32; |
| pub const PTRACE_SINGLEBLOCK: u32 = 33; |
| pub const X86_EFLAGS_CF_BIT: u32 = 0; |
| pub const X86_EFLAGS_FIXED_BIT: u32 = 1; |
| pub const X86_EFLAGS_PF_BIT: u32 = 2; |
| pub const X86_EFLAGS_AF_BIT: u32 = 4; |
| pub const X86_EFLAGS_ZF_BIT: u32 = 6; |
| pub const X86_EFLAGS_SF_BIT: u32 = 7; |
| pub const X86_EFLAGS_TF_BIT: u32 = 8; |
| pub const X86_EFLAGS_IF_BIT: u32 = 9; |
| pub const X86_EFLAGS_DF_BIT: u32 = 10; |
| pub const X86_EFLAGS_OF_BIT: u32 = 11; |
| pub const X86_EFLAGS_IOPL_BIT: u32 = 12; |
| pub const X86_EFLAGS_NT_BIT: u32 = 14; |
| pub const X86_EFLAGS_RF_BIT: u32 = 16; |
| pub const X86_EFLAGS_VM_BIT: u32 = 17; |
| pub const X86_EFLAGS_AC_BIT: u32 = 18; |
| pub const X86_EFLAGS_VIF_BIT: u32 = 19; |
| pub const X86_EFLAGS_VIP_BIT: u32 = 20; |
| pub const X86_EFLAGS_ID_BIT: u32 = 21; |
| pub const X86_CR0_PE_BIT: u32 = 0; |
| pub const X86_CR0_MP_BIT: u32 = 1; |
| pub const X86_CR0_EM_BIT: u32 = 2; |
| pub const X86_CR0_TS_BIT: u32 = 3; |
| pub const X86_CR0_ET_BIT: u32 = 4; |
| pub const X86_CR0_NE_BIT: u32 = 5; |
| pub const X86_CR0_WP_BIT: u32 = 16; |
| pub const X86_CR0_AM_BIT: u32 = 18; |
| pub const X86_CR0_NW_BIT: u32 = 29; |
| pub const X86_CR0_CD_BIT: u32 = 30; |
| pub const X86_CR0_PG_BIT: u32 = 31; |
| pub const X86_CR3_PWT_BIT: u32 = 3; |
| pub const X86_CR3_PCD_BIT: u32 = 4; |
| pub const X86_CR3_PCID_BITS: u32 = 12; |
| pub const X86_CR3_LAM_U57_BIT: u32 = 61; |
| pub const X86_CR3_LAM_U48_BIT: u32 = 62; |
| pub const X86_CR3_PCID_NOFLUSH_BIT: u32 = 63; |
| pub const X86_CR4_VME_BIT: u32 = 0; |
| pub const X86_CR4_PVI_BIT: u32 = 1; |
| pub const X86_CR4_TSD_BIT: u32 = 2; |
| pub const X86_CR4_DE_BIT: u32 = 3; |
| pub const X86_CR4_PSE_BIT: u32 = 4; |
| pub const X86_CR4_PAE_BIT: u32 = 5; |
| pub const X86_CR4_MCE_BIT: u32 = 6; |
| pub const X86_CR4_PGE_BIT: u32 = 7; |
| pub const X86_CR4_PCE_BIT: u32 = 8; |
| pub const X86_CR4_OSFXSR_BIT: u32 = 9; |
| pub const X86_CR4_OSXMMEXCPT_BIT: u32 = 10; |
| pub const X86_CR4_UMIP_BIT: u32 = 11; |
| pub const X86_CR4_LA57_BIT: u32 = 12; |
| pub const X86_CR4_VMXE_BIT: u32 = 13; |
| pub const X86_CR4_SMXE_BIT: u32 = 14; |
| pub const X86_CR4_FSGSBASE_BIT: u32 = 16; |
| pub const X86_CR4_PCIDE_BIT: u32 = 17; |
| pub const X86_CR4_OSXSAVE_BIT: u32 = 18; |
| pub const X86_CR4_SMEP_BIT: u32 = 20; |
| pub const X86_CR4_SMAP_BIT: u32 = 21; |
| pub const X86_CR4_PKE_BIT: u32 = 22; |
| pub const X86_CR4_CET_BIT: u32 = 23; |
| pub const X86_CR4_LAM_SUP_BIT: u32 = 28; |
| pub const CX86_PCR0: u32 = 32; |
| pub const CX86_GCR: u32 = 184; |
| pub const CX86_CCR0: u32 = 192; |
| pub const CX86_CCR1: u32 = 193; |
| pub const CX86_CCR2: u32 = 194; |
| pub const CX86_CCR3: u32 = 195; |
| pub const CX86_CCR4: u32 = 232; |
| pub const CX86_CCR5: u32 = 233; |
| pub const CX86_CCR6: u32 = 234; |
| pub const CX86_CCR7: u32 = 235; |
| pub const CX86_PCR1: u32 = 240; |
| pub const CX86_DIR0: u32 = 254; |
| pub const CX86_DIR1: u32 = 255; |
| pub const CX86_ARR_BASE: u32 = 196; |
| pub const CX86_RCR_BASE: u32 = 220; |
| pub const _LINUX_CAPABILITY_VERSION_1: u32 = 429392688; |
| pub const _LINUX_CAPABILITY_U32S_1: u32 = 1; |
| pub const _LINUX_CAPABILITY_VERSION_2: u32 = 537333798; |
| pub const _LINUX_CAPABILITY_U32S_2: u32 = 2; |
| pub const _LINUX_CAPABILITY_VERSION_3: u32 = 537396514; |
| pub const _LINUX_CAPABILITY_U32S_3: u32 = 2; |
| pub const VFS_CAP_REVISION_MASK: u32 = 4278190080; |
| pub const VFS_CAP_REVISION_SHIFT: u32 = 24; |
| pub const VFS_CAP_FLAGS_MASK: i64 = -4278190081; |
| pub const VFS_CAP_FLAGS_EFFECTIVE: u32 = 1; |
| pub const VFS_CAP_REVISION_1: u32 = 16777216; |
| pub const VFS_CAP_U32_1: u32 = 1; |
| pub const VFS_CAP_REVISION_2: u32 = 33554432; |
| pub const VFS_CAP_U32_2: u32 = 2; |
| pub const VFS_CAP_REVISION_3: u32 = 50331648; |
| pub const VFS_CAP_U32_3: u32 = 2; |
| pub const VFS_CAP_U32: u32 = 2; |
| pub const VFS_CAP_REVISION: u32 = 50331648; |
| pub const _LINUX_CAPABILITY_VERSION: u32 = 429392688; |
| pub const _LINUX_CAPABILITY_U32S: u32 = 1; |
| pub const CAP_CHOWN: u32 = 0; |
| pub const CAP_DAC_OVERRIDE: u32 = 1; |
| pub const CAP_DAC_READ_SEARCH: u32 = 2; |
| pub const CAP_FOWNER: u32 = 3; |
| pub const CAP_FSETID: u32 = 4; |
| pub const CAP_KILL: u32 = 5; |
| pub const CAP_SETGID: u32 = 6; |
| pub const CAP_SETUID: u32 = 7; |
| pub const CAP_SETPCAP: u32 = 8; |
| pub const CAP_LINUX_IMMUTABLE: u32 = 9; |
| pub const CAP_NET_BIND_SERVICE: u32 = 10; |
| pub const CAP_NET_BROADCAST: u32 = 11; |
| pub const CAP_NET_ADMIN: u32 = 12; |
| pub const CAP_NET_RAW: u32 = 13; |
| pub const CAP_IPC_LOCK: u32 = 14; |
| pub const CAP_IPC_OWNER: u32 = 15; |
| pub const CAP_SYS_MODULE: u32 = 16; |
| pub const CAP_SYS_RAWIO: u32 = 17; |
| pub const CAP_SYS_CHROOT: u32 = 18; |
| pub const CAP_SYS_PTRACE: u32 = 19; |
| pub const CAP_SYS_PACCT: u32 = 20; |
| pub const CAP_SYS_ADMIN: u32 = 21; |
| pub const CAP_SYS_BOOT: u32 = 22; |
| pub const CAP_SYS_NICE: u32 = 23; |
| pub const CAP_SYS_RESOURCE: u32 = 24; |
| pub const CAP_SYS_TIME: u32 = 25; |
| pub const CAP_SYS_TTY_CONFIG: u32 = 26; |
| pub const CAP_MKNOD: u32 = 27; |
| pub const CAP_LEASE: u32 = 28; |
| pub const CAP_AUDIT_WRITE: u32 = 29; |
| pub const CAP_AUDIT_CONTROL: u32 = 30; |
| pub const CAP_SETFCAP: u32 = 31; |
| pub const CAP_MAC_OVERRIDE: u32 = 32; |
| pub const CAP_MAC_ADMIN: u32 = 33; |
| pub const CAP_SYSLOG: u32 = 34; |
| pub const CAP_WAKE_ALARM: u32 = 35; |
| pub const CAP_BLOCK_SUSPEND: u32 = 36; |
| pub const CAP_AUDIT_READ: u32 = 37; |
| pub const CAP_PERFMON: u32 = 38; |
| pub const CAP_BPF: u32 = 39; |
| pub const CAP_CHECKPOINT_RESTORE: u32 = 40; |
| pub const CAP_LAST_CAP: u32 = 40; |
| pub const CLOSE_RANGE_UNSHARE: u32 = 2; |
| pub const CLOSE_RANGE_CLOEXEC: u32 = 4; |
| pub const EPERM: u32 = 1; |
| pub const ENOENT: u32 = 2; |
| pub const ESRCH: u32 = 3; |
| pub const EINTR: u32 = 4; |
| pub const EIO: u32 = 5; |
| pub const ENXIO: u32 = 6; |
| pub const E2BIG: u32 = 7; |
| pub const ENOEXEC: u32 = 8; |
| pub const EBADF: u32 = 9; |
| pub const ECHILD: u32 = 10; |
| pub const EAGAIN: u32 = 11; |
| pub const ENOMEM: u32 = 12; |
| pub const EACCES: u32 = 13; |
| pub const EFAULT: u32 = 14; |
| pub const ENOTBLK: u32 = 15; |
| pub const EBUSY: u32 = 16; |
| pub const EEXIST: u32 = 17; |
| pub const EXDEV: u32 = 18; |
| pub const ENODEV: u32 = 19; |
| pub const ENOTDIR: u32 = 20; |
| pub const EISDIR: u32 = 21; |
| pub const EINVAL: u32 = 22; |
| pub const ENFILE: u32 = 23; |
| pub const EMFILE: u32 = 24; |
| pub const ENOTTY: u32 = 25; |
| pub const ETXTBSY: u32 = 26; |
| pub const EFBIG: u32 = 27; |
| pub const ENOSPC: u32 = 28; |
| pub const ESPIPE: u32 = 29; |
| pub const EROFS: u32 = 30; |
| pub const EMLINK: u32 = 31; |
| pub const EPIPE: u32 = 32; |
| pub const EDOM: u32 = 33; |
| pub const ERANGE: u32 = 34; |
| pub const EDEADLK: u32 = 35; |
| pub const ENAMETOOLONG: u32 = 36; |
| pub const ENOLCK: u32 = 37; |
| pub const ENOSYS: u32 = 38; |
| pub const ENOTEMPTY: u32 = 39; |
| pub const ELOOP: u32 = 40; |
| pub const EWOULDBLOCK: u32 = 11; |
| pub const ENOMSG: u32 = 42; |
| pub const EIDRM: u32 = 43; |
| pub const ECHRNG: u32 = 44; |
| pub const EL2NSYNC: u32 = 45; |
| pub const EL3HLT: u32 = 46; |
| pub const EL3RST: u32 = 47; |
| pub const ELNRNG: u32 = 48; |
| pub const EUNATCH: u32 = 49; |
| pub const ENOCSI: u32 = 50; |
| pub const EL2HLT: u32 = 51; |
| pub const EBADE: u32 = 52; |
| pub const EBADR: u32 = 53; |
| pub const EXFULL: u32 = 54; |
| pub const ENOANO: u32 = 55; |
| pub const EBADRQC: u32 = 56; |
| pub const EBADSLT: u32 = 57; |
| pub const EDEADLOCK: u32 = 35; |
| pub const EBFONT: u32 = 59; |
| pub const ENOSTR: u32 = 60; |
| pub const ENODATA: u32 = 61; |
| pub const ETIME: u32 = 62; |
| pub const ENOSR: u32 = 63; |
| pub const ENONET: u32 = 64; |
| pub const ENOPKG: u32 = 65; |
| pub const EREMOTE: u32 = 66; |
| pub const ENOLINK: u32 = 67; |
| pub const EADV: u32 = 68; |
| pub const ESRMNT: u32 = 69; |
| pub const ECOMM: u32 = 70; |
| pub const EPROTO: u32 = 71; |
| pub const EMULTIHOP: u32 = 72; |
| pub const EDOTDOT: u32 = 73; |
| pub const EBADMSG: u32 = 74; |
| pub const EOVERFLOW: u32 = 75; |
| pub const ENOTUNIQ: u32 = 76; |
| pub const EBADFD: u32 = 77; |
| pub const EREMCHG: u32 = 78; |
| pub const ELIBACC: u32 = 79; |
| pub const ELIBBAD: u32 = 80; |
| pub const ELIBSCN: u32 = 81; |
| pub const ELIBMAX: u32 = 82; |
| pub const ELIBEXEC: u32 = 83; |
| pub const EILSEQ: u32 = 84; |
| pub const ERESTART: u32 = 85; |
| pub const ESTRPIPE: u32 = 86; |
| pub const EUSERS: u32 = 87; |
| pub const ENOTSOCK: u32 = 88; |
| pub const EDESTADDRREQ: u32 = 89; |
| pub const EMSGSIZE: u32 = 90; |
| pub const EPROTOTYPE: u32 = 91; |
| pub const ENOPROTOOPT: u32 = 92; |
| pub const EPROTONOSUPPORT: u32 = 93; |
| pub const ESOCKTNOSUPPORT: u32 = 94; |
| pub const EOPNOTSUPP: u32 = 95; |
| pub const EPFNOSUPPORT: u32 = 96; |
| pub const EAFNOSUPPORT: u32 = 97; |
| pub const EADDRINUSE: u32 = 98; |
| pub const EADDRNOTAVAIL: u32 = 99; |
| pub const ENETDOWN: u32 = 100; |
| pub const ENETUNREACH: u32 = 101; |
| pub const ENETRESET: u32 = 102; |
| pub const ECONNABORTED: u32 = 103; |
| pub const ECONNRESET: u32 = 104; |
| pub const ENOBUFS: u32 = 105; |
| pub const EISCONN: u32 = 106; |
| pub const ENOTCONN: u32 = 107; |
| pub const ESHUTDOWN: u32 = 108; |
| pub const ETOOMANYREFS: u32 = 109; |
| pub const ETIMEDOUT: u32 = 110; |
| pub const ECONNREFUSED: u32 = 111; |
| pub const EHOSTDOWN: u32 = 112; |
| pub const EHOSTUNREACH: u32 = 113; |
| pub const EALREADY: u32 = 114; |
| pub const EINPROGRESS: u32 = 115; |
| pub const ESTALE: u32 = 116; |
| pub const EUCLEAN: u32 = 117; |
| pub const ENOTNAM: u32 = 118; |
| pub const ENAVAIL: u32 = 119; |
| pub const EISNAM: u32 = 120; |
| pub const EREMOTEIO: u32 = 121; |
| pub const EDQUOT: u32 = 122; |
| pub const ENOMEDIUM: u32 = 123; |
| pub const EMEDIUMTYPE: u32 = 124; |
| pub const ECANCELED: u32 = 125; |
| pub const ENOKEY: u32 = 126; |
| pub const EKEYEXPIRED: u32 = 127; |
| pub const EKEYREVOKED: u32 = 128; |
| pub const EKEYREJECTED: u32 = 129; |
| pub const EOWNERDEAD: u32 = 130; |
| pub const ENOTRECOVERABLE: u32 = 131; |
| pub const ERFKILL: u32 = 132; |
| pub const EHWPOISON: u32 = 133; |
| pub const O_ACCMODE: u32 = 3; |
| pub const O_RDONLY: u32 = 0; |
| pub const O_WRONLY: u32 = 1; |
| pub const O_RDWR: u32 = 2; |
| pub const O_CREAT: u32 = 64; |
| pub const O_EXCL: u32 = 128; |
| pub const O_NOCTTY: u32 = 256; |
| pub const O_TRUNC: u32 = 512; |
| pub const O_APPEND: u32 = 1024; |
| pub const O_NONBLOCK: u32 = 2048; |
| pub const O_DSYNC: u32 = 4096; |
| pub const FASYNC: u32 = 8192; |
| pub const O_DIRECT: u32 = 16384; |
| pub const O_LARGEFILE: u32 = 32768; |
| pub const O_DIRECTORY: u32 = 65536; |
| pub const O_NOFOLLOW: u32 = 131072; |
| pub const O_NOATIME: u32 = 262144; |
| pub const O_CLOEXEC: u32 = 524288; |
| pub const __O_SYNC: u32 = 1048576; |
| pub const O_SYNC: u32 = 1052672; |
| pub const O_PATH: u32 = 2097152; |
| pub const __O_TMPFILE: u32 = 4194304; |
| pub const O_TMPFILE: u32 = 4259840; |
| pub const O_NDELAY: u32 = 2048; |
| pub const F_DUPFD: u32 = 0; |
| pub const F_GETFD: u32 = 1; |
| pub const F_SETFD: u32 = 2; |
| pub const F_GETFL: u32 = 3; |
| pub const F_SETFL: u32 = 4; |
| pub const F_GETLK: u32 = 5; |
| pub const F_SETLK: u32 = 6; |
| pub const F_SETLKW: u32 = 7; |
| pub const F_SETOWN: u32 = 8; |
| pub const F_GETOWN: u32 = 9; |
| pub const F_SETSIG: u32 = 10; |
| pub const F_GETSIG: u32 = 11; |
| pub const F_SETOWN_EX: u32 = 15; |
| pub const F_GETOWN_EX: u32 = 16; |
| pub const F_GETOWNER_UIDS: u32 = 17; |
| pub const F_OFD_GETLK: u32 = 36; |
| pub const F_OFD_SETLK: u32 = 37; |
| pub const F_OFD_SETLKW: u32 = 38; |
| pub const F_OWNER_TID: u32 = 0; |
| pub const F_OWNER_PID: u32 = 1; |
| pub const F_OWNER_PGRP: u32 = 2; |
| pub const FD_CLOEXEC: u32 = 1; |
| pub const F_RDLCK: u32 = 0; |
| pub const F_WRLCK: u32 = 1; |
| pub const F_UNLCK: u32 = 2; |
| pub const F_EXLCK: u32 = 4; |
| pub const F_SHLCK: u32 = 8; |
| pub const LOCK_SH: u32 = 1; |
| pub const LOCK_EX: u32 = 2; |
| pub const LOCK_NB: u32 = 4; |
| pub const LOCK_UN: u32 = 8; |
| pub const LOCK_MAND: u32 = 32; |
| pub const LOCK_READ: u32 = 64; |
| pub const LOCK_WRITE: u32 = 128; |
| pub const LOCK_RW: u32 = 192; |
| pub const F_LINUX_SPECIFIC_BASE: u32 = 1024; |
| pub const RESOLVE_NO_XDEV: u32 = 1; |
| pub const RESOLVE_NO_MAGICLINKS: u32 = 2; |
| pub const RESOLVE_NO_SYMLINKS: u32 = 4; |
| pub const RESOLVE_BENEATH: u32 = 8; |
| pub const RESOLVE_IN_ROOT: u32 = 16; |
| pub const RESOLVE_CACHED: u32 = 32; |
| pub const F_SETLEASE: u32 = 1024; |
| pub const F_GETLEASE: u32 = 1025; |
| pub const F_CANCELLK: u32 = 1029; |
| pub const F_DUPFD_CLOEXEC: u32 = 1030; |
| pub const F_NOTIFY: u32 = 1026; |
| pub const F_SETPIPE_SZ: u32 = 1031; |
| pub const F_GETPIPE_SZ: u32 = 1032; |
| pub const F_ADD_SEALS: u32 = 1033; |
| pub const F_GET_SEALS: u32 = 1034; |
| pub const F_SEAL_SEAL: u32 = 1; |
| pub const F_SEAL_SHRINK: u32 = 2; |
| pub const F_SEAL_GROW: u32 = 4; |
| pub const F_SEAL_WRITE: u32 = 8; |
| pub const F_SEAL_FUTURE_WRITE: u32 = 16; |
| pub const F_SEAL_EXEC: u32 = 32; |
| pub const F_GET_RW_HINT: u32 = 1035; |
| pub const F_SET_RW_HINT: u32 = 1036; |
| pub const F_GET_FILE_RW_HINT: u32 = 1037; |
| pub const F_SET_FILE_RW_HINT: u32 = 1038; |
| pub const RWH_WRITE_LIFE_NOT_SET: u32 = 0; |
| pub const RWH_WRITE_LIFE_NONE: u32 = 1; |
| pub const RWH_WRITE_LIFE_SHORT: u32 = 2; |
| pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3; |
| pub const RWH_WRITE_LIFE_LONG: u32 = 4; |
| pub const RWH_WRITE_LIFE_EXTREME: u32 = 5; |
| pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0; |
| pub const DN_ACCESS: u32 = 1; |
| pub const DN_MODIFY: u32 = 2; |
| pub const DN_CREATE: u32 = 4; |
| pub const DN_DELETE: u32 = 8; |
| pub const DN_RENAME: u32 = 16; |
| pub const DN_ATTRIB: u32 = 32; |
| pub const DN_MULTISHOT: u32 = 2147483648; |
| pub const AT_FDCWD: i32 = -100; |
| pub const AT_SYMLINK_NOFOLLOW: u32 = 256; |
| pub const AT_EACCESS: u32 = 512; |
| pub const AT_REMOVEDIR: u32 = 512; |
| pub const AT_SYMLINK_FOLLOW: u32 = 1024; |
| pub const AT_NO_AUTOMOUNT: u32 = 2048; |
| pub const AT_EMPTY_PATH: u32 = 4096; |
| pub const AT_STATX_SYNC_TYPE: u32 = 24576; |
| pub const AT_STATX_SYNC_AS_STAT: u32 = 0; |
| pub const AT_STATX_FORCE_SYNC: u32 = 8192; |
| pub const AT_STATX_DONT_SYNC: u32 = 16384; |
| pub const AT_RECURSIVE: u32 = 32768; |
| pub const AT_HANDLE_FID: u32 = 512; |
| pub const EPOLL_CLOEXEC: u32 = 524288; |
| pub const EPOLL_CTL_ADD: u32 = 1; |
| pub const EPOLL_CTL_DEL: u32 = 2; |
| pub const EPOLL_CTL_MOD: u32 = 3; |
| pub const POSIX_FADV_NORMAL: u32 = 0; |
| pub const POSIX_FADV_RANDOM: u32 = 1; |
| pub const POSIX_FADV_SEQUENTIAL: u32 = 2; |
| pub const POSIX_FADV_WILLNEED: u32 = 3; |
| pub const POSIX_FADV_DONTNEED: u32 = 4; |
| pub const POSIX_FADV_NOREUSE: u32 = 5; |
| pub const FALLOC_FL_KEEP_SIZE: u32 = 1; |
| pub const FALLOC_FL_PUNCH_HOLE: u32 = 2; |
| pub const FALLOC_FL_NO_HIDE_STALE: u32 = 4; |
| pub const FALLOC_FL_COLLAPSE_RANGE: u32 = 8; |
| pub const FALLOC_FL_ZERO_RANGE: u32 = 16; |
| pub const FALLOC_FL_INSERT_RANGE: u32 = 32; |
| pub const FALLOC_FL_UNSHARE_RANGE: u32 = 64; |
| pub const I2C_M_RD: u32 = 1; |
| pub const I2C_M_TEN: u32 = 16; |
| pub const I2C_M_DMA_SAFE: u32 = 512; |
| pub const I2C_M_RECV_LEN: u32 = 1024; |
| pub const I2C_M_NO_RD_ACK: u32 = 2048; |
| pub const I2C_M_IGNORE_NAK: u32 = 4096; |
| pub const I2C_M_REV_DIR_ADDR: u32 = 8192; |
| pub const I2C_M_NOSTART: u32 = 16384; |
| pub const I2C_M_STOP: u32 = 32768; |
| pub const I2C_FUNC_I2C: u32 = 1; |
| pub const I2C_FUNC_10BIT_ADDR: u32 = 2; |
| pub const I2C_FUNC_PROTOCOL_MANGLING: u32 = 4; |
| pub const I2C_FUNC_SMBUS_PEC: u32 = 8; |
| pub const I2C_FUNC_NOSTART: u32 = 16; |
| pub const I2C_FUNC_SLAVE: u32 = 32; |
| pub const I2C_FUNC_SMBUS_BLOCK_PROC_CALL: u32 = 32768; |
| pub const I2C_FUNC_SMBUS_QUICK: u32 = 65536; |
| pub const I2C_FUNC_SMBUS_READ_BYTE: u32 = 131072; |
| pub const I2C_FUNC_SMBUS_WRITE_BYTE: u32 = 262144; |
| pub const I2C_FUNC_SMBUS_READ_BYTE_DATA: u32 = 524288; |
| pub const I2C_FUNC_SMBUS_WRITE_BYTE_DATA: u32 = 1048576; |
| pub const I2C_FUNC_SMBUS_READ_WORD_DATA: u32 = 2097152; |
| pub const I2C_FUNC_SMBUS_WRITE_WORD_DATA: u32 = 4194304; |
| pub const I2C_FUNC_SMBUS_PROC_CALL: u32 = 8388608; |
| pub const I2C_FUNC_SMBUS_READ_BLOCK_DATA: u32 = 16777216; |
| pub const I2C_FUNC_SMBUS_WRITE_BLOCK_DATA: u32 = 33554432; |
| pub const I2C_FUNC_SMBUS_READ_I2C_BLOCK: u32 = 67108864; |
| pub const I2C_FUNC_SMBUS_WRITE_I2C_BLOCK: u32 = 134217728; |
| pub const I2C_FUNC_SMBUS_HOST_NOTIFY: u32 = 268435456; |
| pub const I2C_FUNC_SMBUS_BYTE: u32 = 393216; |
| pub const I2C_FUNC_SMBUS_BYTE_DATA: u32 = 1572864; |
| pub const I2C_FUNC_SMBUS_WORD_DATA: u32 = 6291456; |
| pub const I2C_FUNC_SMBUS_BLOCK_DATA: u32 = 50331648; |
| pub const I2C_FUNC_SMBUS_I2C_BLOCK: u32 = 201326592; |
| pub const I2C_FUNC_SMBUS_EMUL: u32 = 251592712; |
| pub const I2C_FUNC_SMBUS_EMUL_ALL: u32 = 268402696; |
| pub const I2C_SMBUS_BLOCK_MAX: u32 = 32; |
| pub const I2C_SMBUS_READ: u32 = 1; |
| pub const I2C_SMBUS_WRITE: u32 = 0; |
| pub const I2C_SMBUS_QUICK: u32 = 0; |
| pub const I2C_SMBUS_BYTE: u32 = 1; |
| pub const I2C_SMBUS_BYTE_DATA: u32 = 2; |
| pub const I2C_SMBUS_WORD_DATA: u32 = 3; |
| pub const I2C_SMBUS_PROC_CALL: u32 = 4; |
| pub const I2C_SMBUS_BLOCK_DATA: u32 = 5; |
| pub const I2C_SMBUS_I2C_BLOCK_BROKEN: u32 = 6; |
| pub const I2C_SMBUS_BLOCK_PROC_CALL: u32 = 7; |
| pub const I2C_SMBUS_I2C_BLOCK_DATA: u32 = 8; |
| pub const FB_MAX: u32 = 32; |
| pub const FBIOGET_VSCREENINFO: u32 = 17920; |
| pub const FBIOPUT_VSCREENINFO: u32 = 17921; |
| pub const FBIOGET_FSCREENINFO: u32 = 17922; |
| pub const FBIOGETCMAP: u32 = 17924; |
| pub const FBIOPUTCMAP: u32 = 17925; |
| pub const FBIOPAN_DISPLAY: u32 = 17926; |
| pub const FBIOGET_CON2FBMAP: u32 = 17935; |
| pub const FBIOPUT_CON2FBMAP: u32 = 17936; |
| pub const FBIOBLANK: u32 = 17937; |
| pub const FBIO_ALLOC: u32 = 17939; |
| pub const FBIO_FREE: u32 = 17940; |
| pub const FBIOGET_GLYPH: u32 = 17941; |
| pub const FBIOGET_HWCINFO: u32 = 17942; |
| pub const FBIOPUT_MODEINFO: u32 = 17943; |
| pub const FBIOGET_DISPINFO: u32 = 17944; |
| pub const FB_TYPE_PACKED_PIXELS: u32 = 0; |
| pub const FB_TYPE_PLANES: u32 = 1; |
| pub const FB_TYPE_INTERLEAVED_PLANES: u32 = 2; |
| pub const FB_TYPE_TEXT: u32 = 3; |
| pub const FB_TYPE_VGA_PLANES: u32 = 4; |
| pub const FB_TYPE_FOURCC: u32 = 5; |
| pub const FB_AUX_TEXT_MDA: u32 = 0; |
| pub const FB_AUX_TEXT_CGA: u32 = 1; |
| pub const FB_AUX_TEXT_S3_MMIO: u32 = 2; |
| pub const FB_AUX_TEXT_MGA_STEP16: u32 = 3; |
| pub const FB_AUX_TEXT_MGA_STEP8: u32 = 4; |
| pub const FB_AUX_TEXT_SVGA_GROUP: u32 = 8; |
| pub const FB_AUX_TEXT_SVGA_MASK: u32 = 7; |
| pub const FB_AUX_TEXT_SVGA_STEP2: u32 = 8; |
| pub const FB_AUX_TEXT_SVGA_STEP4: u32 = 9; |
| pub const FB_AUX_TEXT_SVGA_STEP8: u32 = 10; |
| pub const FB_AUX_TEXT_SVGA_STEP16: u32 = 11; |
| pub const FB_AUX_TEXT_SVGA_LAST: u32 = 15; |
| pub const FB_AUX_VGA_PLANES_VGA4: u32 = 0; |
| pub const FB_AUX_VGA_PLANES_CFB4: u32 = 1; |
| pub const FB_AUX_VGA_PLANES_CFB8: u32 = 2; |
| pub const FB_VISUAL_MONO01: u32 = 0; |
| pub const FB_VISUAL_MONO10: u32 = 1; |
| pub const FB_VISUAL_TRUECOLOR: u32 = 2; |
| pub const FB_VISUAL_PSEUDOCOLOR: u32 = 3; |
| pub const FB_VISUAL_DIRECTCOLOR: u32 = 4; |
| pub const FB_VISUAL_STATIC_PSEUDOCOLOR: u32 = 5; |
| pub const FB_VISUAL_FOURCC: u32 = 6; |
| pub const FB_ACCEL_NONE: u32 = 0; |
| pub const FB_ACCEL_ATARIBLITT: u32 = 1; |
| pub const FB_ACCEL_AMIGABLITT: u32 = 2; |
| pub const FB_ACCEL_S3_TRIO64: u32 = 3; |
| pub const FB_ACCEL_NCR_77C32BLT: u32 = 4; |
| pub const FB_ACCEL_S3_VIRGE: u32 = 5; |
| pub const FB_ACCEL_ATI_MACH64GX: u32 = 6; |
| pub const FB_ACCEL_DEC_TGA: u32 = 7; |
| pub const FB_ACCEL_ATI_MACH64CT: u32 = 8; |
| pub const FB_ACCEL_ATI_MACH64VT: u32 = 9; |
| pub const FB_ACCEL_ATI_MACH64GT: u32 = 10; |
| pub const FB_ACCEL_SUN_CREATOR: u32 = 11; |
| pub const FB_ACCEL_SUN_CGSIX: u32 = 12; |
| pub const FB_ACCEL_SUN_LEO: u32 = 13; |
| pub const FB_ACCEL_IMS_TWINTURBO: u32 = 14; |
| pub const FB_ACCEL_3DLABS_PERMEDIA2: u32 = 15; |
| pub const FB_ACCEL_MATROX_MGA2064W: u32 = 16; |
| pub const FB_ACCEL_MATROX_MGA1064SG: u32 = 17; |
| pub const FB_ACCEL_MATROX_MGA2164W: u32 = 18; |
| pub const FB_ACCEL_MATROX_MGA2164W_AGP: u32 = 19; |
| pub const FB_ACCEL_MATROX_MGAG100: u32 = 20; |
| pub const FB_ACCEL_MATROX_MGAG200: u32 = 21; |
| pub const FB_ACCEL_SUN_CG14: u32 = 22; |
| pub const FB_ACCEL_SUN_BWTWO: u32 = 23; |
| pub const FB_ACCEL_SUN_CGTHREE: u32 = 24; |
| pub const FB_ACCEL_SUN_TCX: u32 = 25; |
| pub const FB_ACCEL_MATROX_MGAG400: u32 = 26; |
| pub const FB_ACCEL_NV3: u32 = 27; |
| pub const FB_ACCEL_NV4: u32 = 28; |
| pub const FB_ACCEL_NV5: u32 = 29; |
| pub const FB_ACCEL_CT_6555x: u32 = 30; |
| pub const FB_ACCEL_3DFX_BANSHEE: u32 = 31; |
| pub const FB_ACCEL_ATI_RAGE128: u32 = 32; |
| pub const FB_ACCEL_IGS_CYBER2000: u32 = 33; |
| pub const FB_ACCEL_IGS_CYBER2010: u32 = 34; |
| pub const FB_ACCEL_IGS_CYBER5000: u32 = 35; |
| pub const FB_ACCEL_SIS_GLAMOUR: u32 = 36; |
| pub const FB_ACCEL_3DLABS_PERMEDIA3: u32 = 37; |
| pub const FB_ACCEL_ATI_RADEON: u32 = 38; |
| pub const FB_ACCEL_I810: u32 = 39; |
| pub const FB_ACCEL_SIS_GLAMOUR_2: u32 = 40; |
| pub const FB_ACCEL_SIS_XABRE: u32 = 41; |
| pub const FB_ACCEL_I830: u32 = 42; |
| pub const FB_ACCEL_NV_10: u32 = 43; |
| pub const FB_ACCEL_NV_20: u32 = 44; |
| pub const FB_ACCEL_NV_30: u32 = 45; |
| pub const FB_ACCEL_NV_40: u32 = 46; |
| pub const FB_ACCEL_XGI_VOLARI_V: u32 = 47; |
| pub const FB_ACCEL_XGI_VOLARI_Z: u32 = 48; |
| pub const FB_ACCEL_OMAP1610: u32 = 49; |
| pub const FB_ACCEL_TRIDENT_TGUI: u32 = 50; |
| pub const FB_ACCEL_TRIDENT_3DIMAGE: u32 = 51; |
| pub const FB_ACCEL_TRIDENT_BLADE3D: u32 = 52; |
| pub const FB_ACCEL_TRIDENT_BLADEXP: u32 = 53; |
| pub const FB_ACCEL_CIRRUS_ALPINE: u32 = 53; |
| pub const FB_ACCEL_NEOMAGIC_NM2070: u32 = 90; |
| pub const FB_ACCEL_NEOMAGIC_NM2090: u32 = 91; |
| pub const FB_ACCEL_NEOMAGIC_NM2093: u32 = 92; |
| pub const FB_ACCEL_NEOMAGIC_NM2097: u32 = 93; |
| pub const FB_ACCEL_NEOMAGIC_NM2160: u32 = 94; |
| pub const FB_ACCEL_NEOMAGIC_NM2200: u32 = 95; |
| pub const FB_ACCEL_NEOMAGIC_NM2230: u32 = 96; |
| pub const FB_ACCEL_NEOMAGIC_NM2360: u32 = 97; |
| pub const FB_ACCEL_NEOMAGIC_NM2380: u32 = 98; |
| pub const FB_ACCEL_PXA3XX: u32 = 99; |
| pub const FB_ACCEL_SAVAGE4: u32 = 128; |
| pub const FB_ACCEL_SAVAGE3D: u32 = 129; |
| pub const FB_ACCEL_SAVAGE3D_MV: u32 = 130; |
| pub const FB_ACCEL_SAVAGE2000: u32 = 131; |
| pub const FB_ACCEL_SAVAGE_MX_MV: u32 = 132; |
| pub const FB_ACCEL_SAVAGE_MX: u32 = 133; |
| pub const FB_ACCEL_SAVAGE_IX_MV: u32 = 134; |
| pub const FB_ACCEL_SAVAGE_IX: u32 = 135; |
| pub const FB_ACCEL_PROSAVAGE_PM: u32 = 136; |
| pub const FB_ACCEL_PROSAVAGE_KM: u32 = 137; |
| pub const FB_ACCEL_S3TWISTER_P: u32 = 138; |
| pub const FB_ACCEL_S3TWISTER_K: u32 = 139; |
| pub const FB_ACCEL_SUPERSAVAGE: u32 = 140; |
| pub const FB_ACCEL_PROSAVAGE_DDR: u32 = 141; |
| pub const FB_ACCEL_PROSAVAGE_DDRK: u32 = 142; |
| pub const FB_ACCEL_PUV3_UNIGFX: u32 = 160; |
| pub const FB_CAP_FOURCC: u32 = 1; |
| pub const FB_NONSTD_HAM: u32 = 1; |
| pub const FB_NONSTD_REV_PIX_IN_B: u32 = 2; |
| pub const FB_ACTIVATE_NOW: u32 = 0; |
| pub const FB_ACTIVATE_NXTOPEN: u32 = 1; |
| pub const FB_ACTIVATE_TEST: u32 = 2; |
| pub const FB_ACTIVATE_MASK: u32 = 15; |
| pub const FB_ACTIVATE_VBL: u32 = 16; |
| pub const FB_CHANGE_CMAP_VBL: u32 = 32; |
| pub const FB_ACTIVATE_ALL: u32 = 64; |
| pub const FB_ACTIVATE_FORCE: u32 = 128; |
| pub const FB_ACTIVATE_INV_MODE: u32 = 256; |
| pub const FB_ACTIVATE_KD_TEXT: u32 = 512; |
| pub const FB_ACCELF_TEXT: u32 = 1; |
| pub const FB_SYNC_HOR_HIGH_ACT: u32 = 1; |
| pub const FB_SYNC_VERT_HIGH_ACT: u32 = 2; |
| pub const FB_SYNC_EXT: u32 = 4; |
| pub const FB_SYNC_COMP_HIGH_ACT: u32 = 8; |
| pub const FB_SYNC_BROADCAST: u32 = 16; |
| pub const FB_SYNC_ON_GREEN: u32 = 32; |
| pub const FB_VMODE_NONINTERLACED: u32 = 0; |
| pub const FB_VMODE_INTERLACED: u32 = 1; |
| pub const FB_VMODE_DOUBLE: u32 = 2; |
| pub const FB_VMODE_ODD_FLD_FIRST: u32 = 4; |
| pub const FB_VMODE_MASK: u32 = 255; |
| pub const FB_VMODE_YWRAP: u32 = 256; |
| pub const FB_VMODE_SMOOTH_XPAN: u32 = 512; |
| pub const FB_VMODE_CONUPDATE: u32 = 512; |
| pub const FB_ROTATE_UR: u32 = 0; |
| pub const FB_ROTATE_CW: u32 = 1; |
| pub const FB_ROTATE_UD: u32 = 2; |
| pub const FB_ROTATE_CCW: u32 = 3; |
| pub const VESA_NO_BLANKING: u32 = 0; |
| pub const VESA_VSYNC_SUSPEND: u32 = 1; |
| pub const VESA_HSYNC_SUSPEND: u32 = 2; |
| pub const VESA_POWERDOWN: u32 = 3; |
| pub const FB_VBLANK_VBLANKING: u32 = 1; |
| pub const FB_VBLANK_HBLANKING: u32 = 2; |
| pub const FB_VBLANK_HAVE_VBLANK: u32 = 4; |
| pub const FB_VBLANK_HAVE_HBLANK: u32 = 8; |
| pub const FB_VBLANK_HAVE_COUNT: u32 = 16; |
| pub const FB_VBLANK_HAVE_VCOUNT: u32 = 32; |
| pub const FB_VBLANK_HAVE_HCOUNT: u32 = 64; |
| pub const FB_VBLANK_VSYNCING: u32 = 128; |
| pub const FB_VBLANK_HAVE_VSYNC: u32 = 256; |
| pub const ROP_COPY: u32 = 0; |
| pub const ROP_XOR: u32 = 1; |
| pub const FB_CUR_SETIMAGE: u32 = 1; |
| pub const FB_CUR_SETPOS: u32 = 2; |
| pub const FB_CUR_SETHOT: u32 = 4; |
| pub const FB_CUR_SETCMAP: u32 = 8; |
| pub const FB_CUR_SETSHAPE: u32 = 16; |
| pub const FB_CUR_SETSIZE: u32 = 32; |
| pub const FB_CUR_SETALL: u32 = 255; |
| pub const FB_BACKLIGHT_LEVELS: u32 = 128; |
| pub const FB_BACKLIGHT_MAX: u32 = 255; |
| pub const BPF_MAJOR_VERSION: u32 = 1; |
| pub const BPF_MINOR_VERSION: u32 = 1; |
| pub const BPF_A: u32 = 16; |
| pub const BPF_TAX: u32 = 0; |
| pub const BPF_TXA: u32 = 128; |
| pub const BPF_MEMWORDS: u32 = 16; |
| pub const SKF_AD_OFF: i32 = -4096; |
| pub const SKF_AD_PROTOCOL: u32 = 0; |
| pub const SKF_AD_PKTTYPE: u32 = 4; |
| pub const SKF_AD_IFINDEX: u32 = 8; |
| pub const SKF_AD_NLATTR: u32 = 12; |
| pub const SKF_AD_NLATTR_NEST: u32 = 16; |
| pub const SKF_AD_MARK: u32 = 20; |
| pub const SKF_AD_QUEUE: u32 = 24; |
| pub const SKF_AD_HATYPE: u32 = 28; |
| pub const SKF_AD_RXHASH: u32 = 32; |
| pub const SKF_AD_CPU: u32 = 36; |
| pub const SKF_AD_ALU_XOR_X: u32 = 40; |
| pub const SKF_AD_VLAN_TAG: u32 = 44; |
| pub const SKF_AD_VLAN_TAG_PRESENT: u32 = 48; |
| pub const SKF_AD_PAY_OFFSET: u32 = 52; |
| pub const SKF_AD_RANDOM: u32 = 56; |
| pub const SKF_AD_VLAN_TPID: u32 = 60; |
| pub const SKF_AD_MAX: u32 = 64; |
| pub const SKF_NET_OFF: i32 = -1048576; |
| pub const SKF_LL_OFF: i32 = -2097152; |
| pub const BPF_NET_OFF: i32 = -1048576; |
| pub const BPF_LL_OFF: i32 = -2097152; |
| pub const FS_VERITY_HASH_ALG_SHA256: u32 = 1; |
| pub const FS_VERITY_HASH_ALG_SHA512: u32 = 2; |
| pub const FS_VERITY_METADATA_TYPE_MERKLE_TREE: u32 = 1; |
| pub const FS_VERITY_METADATA_TYPE_DESCRIPTOR: u32 = 2; |
| pub const FS_VERITY_METADATA_TYPE_SIGNATURE: u32 = 3; |
| pub const FUSE_KERNEL_VERSION: u32 = 7; |
| pub const FUSE_KERNEL_MINOR_VERSION: u32 = 38; |
| pub const FUSE_ROOT_ID: u32 = 1; |
| pub const FATTR_MODE: u32 = 1; |
| pub const FATTR_UID: u32 = 2; |
| pub const FATTR_GID: u32 = 4; |
| pub const FATTR_SIZE: u32 = 8; |
| pub const FATTR_ATIME: u32 = 16; |
| pub const FATTR_MTIME: u32 = 32; |
| pub const FATTR_FH: u32 = 64; |
| pub const FATTR_ATIME_NOW: u32 = 128; |
| pub const FATTR_MTIME_NOW: u32 = 256; |
| pub const FATTR_LOCKOWNER: u32 = 512; |
| pub const FATTR_CTIME: u32 = 1024; |
| pub const FATTR_KILL_SUIDGID: u32 = 2048; |
| pub const FOPEN_DIRECT_IO: u32 = 1; |
| pub const FOPEN_KEEP_CACHE: u32 = 2; |
| pub const FOPEN_NONSEEKABLE: u32 = 4; |
| pub const FOPEN_CACHE_DIR: u32 = 8; |
| pub const FOPEN_STREAM: u32 = 16; |
| pub const FOPEN_NOFLUSH: u32 = 32; |
| pub const FOPEN_PARALLEL_DIRECT_WRITES: u32 = 64; |
| pub const FUSE_ASYNC_READ: u32 = 1; |
| pub const FUSE_POSIX_LOCKS: u32 = 2; |
| pub const FUSE_FILE_OPS: u32 = 4; |
| pub const FUSE_ATOMIC_O_TRUNC: u32 = 8; |
| pub const FUSE_EXPORT_SUPPORT: u32 = 16; |
| pub const FUSE_BIG_WRITES: u32 = 32; |
| pub const FUSE_DONT_MASK: u32 = 64; |
| pub const FUSE_SPLICE_WRITE: u32 = 128; |
| pub const FUSE_SPLICE_MOVE: u32 = 256; |
| pub const FUSE_SPLICE_READ: u32 = 512; |
| pub const FUSE_FLOCK_LOCKS: u32 = 1024; |
| pub const FUSE_HAS_IOCTL_DIR: u32 = 2048; |
| pub const FUSE_AUTO_INVAL_DATA: u32 = 4096; |
| pub const FUSE_DO_READDIRPLUS: u32 = 8192; |
| pub const FUSE_READDIRPLUS_AUTO: u32 = 16384; |
| pub const FUSE_ASYNC_DIO: u32 = 32768; |
| pub const FUSE_WRITEBACK_CACHE: u32 = 65536; |
| pub const FUSE_NO_OPEN_SUPPORT: u32 = 131072; |
| pub const FUSE_PARALLEL_DIROPS: u32 = 262144; |
| pub const FUSE_HANDLE_KILLPRIV: u32 = 524288; |
| pub const FUSE_POSIX_ACL: u32 = 1048576; |
| pub const FUSE_ABORT_ERROR: u32 = 2097152; |
| pub const FUSE_MAX_PAGES: u32 = 4194304; |
| pub const FUSE_CACHE_SYMLINKS: u32 = 8388608; |
| pub const FUSE_NO_OPENDIR_SUPPORT: u32 = 16777216; |
| pub const FUSE_EXPLICIT_INVAL_DATA: u32 = 33554432; |
| pub const FUSE_MAP_ALIGNMENT: u32 = 67108864; |
| pub const FUSE_SUBMOUNTS: u32 = 134217728; |
| pub const FUSE_HANDLE_KILLPRIV_V2: u32 = 268435456; |
| pub const FUSE_SETXATTR_EXT: u32 = 536870912; |
| pub const FUSE_INIT_EXT: u32 = 1073741824; |
| pub const FUSE_INIT_RESERVED: u32 = 2147483648; |
| pub const FUSE_SECURITY_CTX: u64 = 4294967296; |
| pub const FUSE_HAS_INODE_DAX: u64 = 8589934592; |
| pub const FUSE_CREATE_SUPP_GROUP: u64 = 17179869184; |
| pub const FUSE_HAS_EXPIRE_ONLY: u64 = 34359738368; |
| pub const FUSE_PASSTHROUGH: i64 = -9223372036854775808; |
| pub const CUSE_UNRESTRICTED_IOCTL: u32 = 1; |
| pub const FUSE_RELEASE_FLUSH: u32 = 1; |
| pub const FUSE_RELEASE_FLOCK_UNLOCK: u32 = 2; |
| pub const FUSE_GETATTR_FH: u32 = 1; |
| pub const FUSE_LK_FLOCK: u32 = 1; |
| pub const FUSE_WRITE_CACHE: u32 = 1; |
| pub const FUSE_WRITE_LOCKOWNER: u32 = 2; |
| pub const FUSE_WRITE_KILL_SUIDGID: u32 = 4; |
| pub const FUSE_WRITE_KILL_PRIV: u32 = 4; |
| pub const FUSE_READ_LOCKOWNER: u32 = 2; |
| pub const FUSE_IOCTL_COMPAT: u32 = 1; |
| pub const FUSE_IOCTL_UNRESTRICTED: u32 = 2; |
| pub const FUSE_IOCTL_RETRY: u32 = 4; |
| pub const FUSE_IOCTL_32BIT: u32 = 8; |
| pub const FUSE_IOCTL_DIR: u32 = 16; |
| pub const FUSE_IOCTL_COMPAT_X32: u32 = 32; |
| pub const FUSE_IOCTL_MAX_IOV: u32 = 256; |
| pub const FUSE_POLL_SCHEDULE_NOTIFY: u32 = 1; |
| pub const FUSE_FSYNC_FDATASYNC: u32 = 1; |
| pub const FUSE_ATTR_SUBMOUNT: u32 = 1; |
| pub const FUSE_ATTR_DAX: u32 = 2; |
| pub const FUSE_OPEN_KILL_SUIDGID: u32 = 1; |
| pub const FUSE_SETXATTR_ACL_KILL_SGID: u32 = 1; |
| pub const FUSE_EXPIRE_ONLY: u32 = 1; |
| pub const FUSE_MIN_READ_BUFFER: u32 = 8192; |
| pub const FUSE_COMPAT_ENTRY_OUT_SIZE: u32 = 120; |
| pub const FUSE_COMPAT_ATTR_OUT_SIZE: u32 = 96; |
| pub const FUSE_COMPAT_MKNOD_IN_SIZE: u32 = 8; |
| pub const FUSE_COMPAT_WRITE_IN_SIZE: u32 = 24; |
| pub const FUSE_COMPAT_STATFS_SIZE: u32 = 48; |
| pub const FUSE_COMPAT_SETXATTR_IN_SIZE: u32 = 8; |
| pub const FUSE_COMPAT_INIT_OUT_SIZE: u32 = 8; |
| pub const FUSE_COMPAT_22_INIT_OUT_SIZE: u32 = 24; |
| pub const CUSE_INIT_INFO_MAX: u32 = 4096; |
| pub const FUSE_DEV_IOC_MAGIC: u32 = 229; |
| pub const FUSE_SETUPMAPPING_FLAG_WRITE: u32 = 1; |
| pub const FUSE_SETUPMAPPING_FLAG_READ: u32 = 2; |
| pub const FUTEX_WAIT: u32 = 0; |
| pub const FUTEX_WAKE: u32 = 1; |
| pub const FUTEX_FD: u32 = 2; |
| pub const FUTEX_REQUEUE: u32 = 3; |
| pub const FUTEX_CMP_REQUEUE: u32 = 4; |
| pub const FUTEX_WAKE_OP: u32 = 5; |
| pub const FUTEX_LOCK_PI: u32 = 6; |
| pub const FUTEX_UNLOCK_PI: u32 = 7; |
| pub const FUTEX_TRYLOCK_PI: u32 = 8; |
| pub const FUTEX_WAIT_BITSET: u32 = 9; |
| pub const FUTEX_WAKE_BITSET: u32 = 10; |
| pub const FUTEX_WAIT_REQUEUE_PI: u32 = 11; |
| pub const FUTEX_CMP_REQUEUE_PI: u32 = 12; |
| pub const FUTEX_LOCK_PI2: u32 = 13; |
| pub const FUTEX_PRIVATE_FLAG: u32 = 128; |
| pub const FUTEX_CLOCK_REALTIME: u32 = 256; |
| pub const FUTEX_CMD_MASK: i32 = -385; |
| pub const FUTEX_WAIT_PRIVATE: u32 = 128; |
| pub const FUTEX_WAKE_PRIVATE: u32 = 129; |
| pub const FUTEX_REQUEUE_PRIVATE: u32 = 131; |
| pub const FUTEX_CMP_REQUEUE_PRIVATE: u32 = 132; |
| pub const FUTEX_WAKE_OP_PRIVATE: u32 = 133; |
| pub const FUTEX_LOCK_PI_PRIVATE: u32 = 134; |
| pub const FUTEX_LOCK_PI2_PRIVATE: u32 = 141; |
| pub const FUTEX_UNLOCK_PI_PRIVATE: u32 = 135; |
| pub const FUTEX_TRYLOCK_PI_PRIVATE: u32 = 136; |
| pub const FUTEX_WAIT_BITSET_PRIVATE: u32 = 137; |
| pub const FUTEX_WAKE_BITSET_PRIVATE: u32 = 138; |
| pub const FUTEX_WAIT_REQUEUE_PI_PRIVATE: u32 = 139; |
| pub const FUTEX_CMP_REQUEUE_PI_PRIVATE: u32 = 140; |
| pub const FUTEX_32: u32 = 2; |
| pub const FUTEX_WAITV_MAX: u32 = 128; |
| pub const FUTEX_WAITERS: u32 = 2147483648; |
| pub const FUTEX_OWNER_DIED: u32 = 1073741824; |
| pub const FUTEX_TID_MASK: u32 = 1073741823; |
| pub const ROBUST_LIST_LIMIT: u32 = 2048; |
| pub const FUTEX_BITSET_MATCH_ANY: u32 = 4294967295; |
| pub const FUTEX_OP_SET: u32 = 0; |
| pub const FUTEX_OP_ADD: u32 = 1; |
| pub const FUTEX_OP_OR: u32 = 2; |
| pub const FUTEX_OP_ANDN: u32 = 3; |
| pub const FUTEX_OP_XOR: u32 = 4; |
| pub const FUTEX_OP_OPARG_SHIFT: u32 = 8; |
| pub const FUTEX_OP_CMP_EQ: u32 = 0; |
| pub const FUTEX_OP_CMP_NE: u32 = 1; |
| pub const FUTEX_OP_CMP_LT: u32 = 2; |
| pub const FUTEX_OP_CMP_LE: u32 = 3; |
| pub const FUTEX_OP_CMP_GT: u32 = 4; |
| pub const FUTEX_OP_CMP_GE: u32 = 5; |
| pub const PACKET_HOST: u32 = 0; |
| pub const PACKET_BROADCAST: u32 = 1; |
| pub const PACKET_MULTICAST: u32 = 2; |
| pub const PACKET_OTHERHOST: u32 = 3; |
| pub const PACKET_OUTGOING: u32 = 4; |
| pub const PACKET_LOOPBACK: u32 = 5; |
| pub const PACKET_USER: u32 = 6; |
| pub const PACKET_KERNEL: u32 = 7; |
| pub const PACKET_FASTROUTE: u32 = 6; |
| pub const PACKET_ADD_MEMBERSHIP: u32 = 1; |
| pub const PACKET_DROP_MEMBERSHIP: u32 = 2; |
| pub const PACKET_RECV_OUTPUT: u32 = 3; |
| pub const PACKET_RX_RING: u32 = 5; |
| pub const PACKET_STATISTICS: u32 = 6; |
| pub const PACKET_COPY_THRESH: u32 = 7; |
| pub const PACKET_AUXDATA: u32 = 8; |
| pub const PACKET_ORIGDEV: u32 = 9; |
| pub const PACKET_VERSION: u32 = 10; |
| pub const PACKET_HDRLEN: u32 = 11; |
| pub const PACKET_RESERVE: u32 = 12; |
| pub const PACKET_TX_RING: u32 = 13; |
| pub const PACKET_LOSS: u32 = 14; |
| pub const PACKET_VNET_HDR: u32 = 15; |
| pub const PACKET_TX_TIMESTAMP: u32 = 16; |
| pub const PACKET_TIMESTAMP: u32 = 17; |
| pub const PACKET_FANOUT: u32 = 18; |
| pub const PACKET_TX_HAS_OFF: u32 = 19; |
| pub const PACKET_QDISC_BYPASS: u32 = 20; |
| pub const PACKET_ROLLOVER_STATS: u32 = 21; |
| pub const PACKET_FANOUT_DATA: u32 = 22; |
| pub const PACKET_IGNORE_OUTGOING: u32 = 23; |
| pub const PACKET_VNET_HDR_SZ: u32 = 24; |
| pub const PACKET_FANOUT_HASH: u32 = 0; |
| pub const PACKET_FANOUT_LB: u32 = 1; |
| pub const PACKET_FANOUT_CPU: u32 = 2; |
| pub const PACKET_FANOUT_ROLLOVER: u32 = 3; |
| pub const PACKET_FANOUT_RND: u32 = 4; |
| pub const PACKET_FANOUT_QM: u32 = 5; |
| pub const PACKET_FANOUT_CBPF: u32 = 6; |
| pub const PACKET_FANOUT_EBPF: u32 = 7; |
| pub const PACKET_FANOUT_FLAG_ROLLOVER: u32 = 4096; |
| pub const PACKET_FANOUT_FLAG_UNIQUEID: u32 = 8192; |
| pub const PACKET_FANOUT_FLAG_IGNORE_OUTGOING: u32 = 16384; |
| pub const PACKET_FANOUT_FLAG_DEFRAG: u32 = 32768; |
| pub const TP_STATUS_KERNEL: u32 = 0; |
| pub const TP_STATUS_USER: u32 = 1; |
| pub const TP_STATUS_COPY: u32 = 2; |
| pub const TP_STATUS_LOSING: u32 = 4; |
| pub const TP_STATUS_CSUMNOTREADY: u32 = 8; |
| pub const TP_STATUS_VLAN_VALID: u32 = 16; |
| pub const TP_STATUS_BLK_TMO: u32 = 32; |
| pub const TP_STATUS_VLAN_TPID_VALID: u32 = 64; |
| pub const TP_STATUS_CSUM_VALID: u32 = 128; |
| pub const TP_STATUS_GSO_TCP: u32 = 256; |
| pub const TP_STATUS_AVAILABLE: u32 = 0; |
| pub const TP_STATUS_SEND_REQUEST: u32 = 1; |
| pub const TP_STATUS_SENDING: u32 = 2; |
| pub const TP_STATUS_WRONG_FORMAT: u32 = 4; |
| pub const TP_STATUS_TS_SOFTWARE: u32 = 536870912; |
| pub const TP_STATUS_TS_SYS_HARDWARE: u32 = 1073741824; |
| pub const TP_STATUS_TS_RAW_HARDWARE: u32 = 2147483648; |
| pub const TP_FT_REQ_FILL_RXHASH: u32 = 1; |
| pub const TPACKET_ALIGNMENT: u32 = 16; |
| pub const PACKET_MR_MULTICAST: u32 = 0; |
| pub const PACKET_MR_PROMISC: u32 = 1; |
| pub const PACKET_MR_ALLMULTI: u32 = 2; |
| pub const PACKET_MR_UNICAST: u32 = 3; |
| pub const IN_ACCESS: u32 = 1; |
| pub const IN_MODIFY: u32 = 2; |
| pub const IN_ATTRIB: u32 = 4; |
| pub const IN_CLOSE_WRITE: u32 = 8; |
| pub const IN_CLOSE_NOWRITE: u32 = 16; |
| pub const IN_OPEN: u32 = 32; |
| pub const IN_MOVED_FROM: u32 = 64; |
| pub const IN_MOVED_TO: u32 = 128; |
| pub const IN_CREATE: u32 = 256; |
| pub const IN_DELETE: u32 = 512; |
| pub const IN_DELETE_SELF: u32 = 1024; |
| pub const IN_MOVE_SELF: u32 = 2048; |
| pub const IN_UNMOUNT: u32 = 8192; |
| pub const IN_Q_OVERFLOW: u32 = 16384; |
| pub const IN_IGNORED: u32 = 32768; |
| pub const IN_CLOSE: u32 = 24; |
| pub const IN_MOVE: u32 = 192; |
| pub const IN_ONLYDIR: u32 = 16777216; |
| pub const IN_DONT_FOLLOW: u32 = 33554432; |
| pub const IN_EXCL_UNLINK: u32 = 67108864; |
| pub const IN_MASK_CREATE: u32 = 268435456; |
| pub const IN_MASK_ADD: u32 = 536870912; |
| pub const IN_ISDIR: u32 = 1073741824; |
| pub const IN_ONESHOT: u32 = 2147483648; |
| pub const IN_ALL_EVENTS: u32 = 4095; |
| pub const IN_CLOEXEC: u32 = 524288; |
| pub const IN_NONBLOCK: u32 = 2048; |
| pub const INPUT_PROP_POINTER: u32 = 0; |
| pub const INPUT_PROP_DIRECT: u32 = 1; |
| pub const INPUT_PROP_BUTTONPAD: u32 = 2; |
| pub const INPUT_PROP_SEMI_MT: u32 = 3; |
| pub const INPUT_PROP_TOPBUTTONPAD: u32 = 4; |
| pub const INPUT_PROP_POINTING_STICK: u32 = 5; |
| pub const INPUT_PROP_ACCELEROMETER: u32 = 6; |
| pub const INPUT_PROP_MAX: u32 = 31; |
| pub const INPUT_PROP_CNT: u32 = 32; |
| pub const EV_SYN: u32 = 0; |
| pub const EV_KEY: u32 = 1; |
| pub const EV_REL: u32 = 2; |
| pub const EV_ABS: u32 = 3; |
| pub const EV_MSC: u32 = 4; |
| pub const EV_SW: u32 = 5; |
| pub const EV_LED: u32 = 17; |
| pub const EV_SND: u32 = 18; |
| pub const EV_REP: u32 = 20; |
| pub const EV_FF: u32 = 21; |
| pub const EV_PWR: u32 = 22; |
| pub const EV_FF_STATUS: u32 = 23; |
| pub const EV_MAX: u32 = 31; |
| pub const EV_CNT: u32 = 32; |
| pub const SYN_REPORT: u32 = 0; |
| pub const SYN_CONFIG: u32 = 1; |
| pub const SYN_MT_REPORT: u32 = 2; |
| pub const SYN_DROPPED: u32 = 3; |
| pub const SYN_MAX: u32 = 15; |
| pub const SYN_CNT: u32 = 16; |
| pub const KEY_RESERVED: u32 = 0; |
| pub const KEY_ESC: u32 = 1; |
| pub const KEY_1: u32 = 2; |
| pub const KEY_2: u32 = 3; |
| pub const KEY_3: u32 = 4; |
| pub const KEY_4: u32 = 5; |
| pub const KEY_5: u32 = 6; |
| pub const KEY_6: u32 = 7; |
| pub const KEY_7: u32 = 8; |
| pub const KEY_8: u32 = 9; |
| pub const KEY_9: u32 = 10; |
| pub const KEY_0: u32 = 11; |
| pub const KEY_MINUS: u32 = 12; |
| pub const KEY_EQUAL: u32 = 13; |
| pub const KEY_BACKSPACE: u32 = 14; |
| pub const KEY_TAB: u32 = 15; |
| pub const KEY_Q: u32 = 16; |
| pub const KEY_W: u32 = 17; |
| pub const KEY_E: u32 = 18; |
| pub const KEY_R: u32 = 19; |
| pub const KEY_T: u32 = 20; |
| pub const KEY_Y: u32 = 21; |
| pub const KEY_U: u32 = 22; |
| pub const KEY_I: u32 = 23; |
| pub const KEY_O: u32 = 24; |
| pub const KEY_P: u32 = 25; |
| pub const KEY_LEFTBRACE: u32 = 26; |
| pub const KEY_RIGHTBRACE: u32 = 27; |
| pub const KEY_ENTER: u32 = 28; |
| pub const KEY_LEFTCTRL: u32 = 29; |
| pub const KEY_A: u32 = 30; |
| pub const KEY_S: u32 = 31; |
| pub const KEY_D: u32 = 32; |
| pub const KEY_F: u32 = 33; |
| pub const KEY_G: u32 = 34; |
| pub const KEY_H: u32 = 35; |
| pub const KEY_J: u32 = 36; |
| pub const KEY_K: u32 = 37; |
| pub const KEY_L: u32 = 38; |
| pub const KEY_SEMICOLON: u32 = 39; |
| pub const KEY_APOSTROPHE: u32 = 40; |
| pub const KEY_GRAVE: u32 = 41; |
| pub const KEY_LEFTSHIFT: u32 = 42; |
| pub const KEY_BACKSLASH: u32 = 43; |
| pub const KEY_Z: u32 = 44; |
| pub const KEY_X: u32 = 45; |
| pub const KEY_C: u32 = 46; |
| pub const KEY_V: u32 = 47; |
| pub const KEY_B: u32 = 48; |
| pub const KEY_N: u32 = 49; |
| pub const KEY_M: u32 = 50; |
| pub const KEY_COMMA: u32 = 51; |
| pub const KEY_DOT: u32 = 52; |
| pub const KEY_SLASH: u32 = 53; |
| pub const KEY_RIGHTSHIFT: u32 = 54; |
| pub const KEY_KPASTERISK: u32 = 55; |
| pub const KEY_LEFTALT: u32 = 56; |
| pub const KEY_SPACE: u32 = 57; |
| pub const KEY_CAPSLOCK: u32 = 58; |
| pub const KEY_F1: u32 = 59; |
| pub const KEY_F2: u32 = 60; |
| pub const KEY_F3: u32 = 61; |
| pub const KEY_F4: u32 = 62; |
| pub const KEY_F5: u32 = 63; |
| pub const KEY_F6: u32 = 64; |
| pub const KEY_F7: u32 = 65; |
| pub const KEY_F8: u32 = 66; |
| pub const KEY_F9: u32 = 67; |
| pub const KEY_F10: u32 = 68; |
| pub const KEY_NUMLOCK: u32 = 69; |
| pub const KEY_SCROLLLOCK: u32 = 70; |
| pub const KEY_KP7: u32 = 71; |
| pub const KEY_KP8: u32 = 72; |
| pub const KEY_KP9: u32 = 73; |
| pub const KEY_KPMINUS: u32 = 74; |
| pub const KEY_KP4: u32 = 75; |
| pub const KEY_KP5: u32 = 76; |
| pub const KEY_KP6: u32 = 77; |
| pub const KEY_KPPLUS: u32 = 78; |
| pub const KEY_KP1: u32 = 79; |
| pub const KEY_KP2: u32 = 80; |
| pub const KEY_KP3: u32 = 81; |
| pub const KEY_KP0: u32 = 82; |
| pub const KEY_KPDOT: u32 = 83; |
| pub const KEY_ZENKAKUHANKAKU: u32 = 85; |
| pub const KEY_102ND: u32 = 86; |
| pub const KEY_F11: u32 = 87; |
| pub const KEY_F12: u32 = 88; |
| pub const KEY_RO: u32 = 89; |
| pub const KEY_KATAKANA: u32 = 90; |
| pub const KEY_HIRAGANA: u32 = 91; |
| pub const KEY_HENKAN: u32 = 92; |
| pub const KEY_KATAKANAHIRAGANA: u32 = 93; |
| pub const KEY_MUHENKAN: u32 = 94; |
| pub const KEY_KPJPCOMMA: u32 = 95; |
| pub const KEY_KPENTER: u32 = 96; |
| pub const KEY_RIGHTCTRL: u32 = 97; |
| pub const KEY_KPSLASH: u32 = 98; |
| pub const KEY_SYSRQ: u32 = 99; |
| pub const KEY_RIGHTALT: u32 = 100; |
| pub const KEY_LINEFEED: u32 = 101; |
| pub const KEY_HOME: u32 = 102; |
| pub const KEY_UP: u32 = 103; |
| pub const KEY_PAGEUP: u32 = 104; |
| pub const KEY_LEFT: u32 = 105; |
| pub const KEY_RIGHT: u32 = 106; |
| pub const KEY_END: u32 = 107; |
| pub const KEY_DOWN: u32 = 108; |
| pub const KEY_PAGEDOWN: u32 = 109; |
| pub const KEY_INSERT: u32 = 110; |
| pub const KEY_DELETE: u32 = 111; |
| pub const KEY_MACRO: u32 = 112; |
| pub const KEY_MUTE: u32 = 113; |
| pub const KEY_VOLUMEDOWN: u32 = 114; |
| pub const KEY_VOLUMEUP: u32 = 115; |
| pub const KEY_POWER: u32 = 116; |
| pub const KEY_KPEQUAL: u32 = 117; |
| pub const KEY_KPPLUSMINUS: u32 = 118; |
| pub const KEY_PAUSE: u32 = 119; |
| pub const KEY_SCALE: u32 = 120; |
| pub const KEY_KPCOMMA: u32 = 121; |
| pub const KEY_HANGEUL: u32 = 122; |
| pub const KEY_HANGUEL: u32 = 122; |
| pub const KEY_HANJA: u32 = 123; |
| pub const KEY_YEN: u32 = 124; |
| pub const KEY_LEFTMETA: u32 = 125; |
| pub const KEY_RIGHTMETA: u32 = 126; |
| pub const KEY_COMPOSE: u32 = 127; |
| pub const KEY_STOP: u32 = 128; |
| pub const KEY_AGAIN: u32 = 129; |
| pub const KEY_PROPS: u32 = 130; |
| pub const KEY_UNDO: u32 = 131; |
| pub const KEY_FRONT: u32 = 132; |
| pub const KEY_COPY: u32 = 133; |
| pub const KEY_OPEN: u32 = 134; |
| pub const KEY_PASTE: u32 = 135; |
| pub const KEY_FIND: u32 = 136; |
| pub const KEY_CUT: u32 = 137; |
| pub const KEY_HELP: u32 = 138; |
| pub const KEY_MENU: u32 = 139; |
| pub const KEY_CALC: u32 = 140; |
| pub const KEY_SETUP: u32 = 141; |
| pub const KEY_SLEEP: u32 = 142; |
| pub const KEY_WAKEUP: u32 = 143; |
| pub const KEY_FILE: u32 = 144; |
| pub const KEY_SENDFILE: u32 = 145; |
| pub const KEY_DELETEFILE: u32 = 146; |
| pub const KEY_XFER: u32 = 147; |
| pub const KEY_PROG1: u32 = 148; |
| pub const KEY_PROG2: u32 = 149; |
| pub const KEY_WWW: u32 = 150; |
| pub const KEY_MSDOS: u32 = 151; |
| pub const KEY_COFFEE: u32 = 152; |
| pub const KEY_SCREENLOCK: u32 = 152; |
| pub const KEY_ROTATE_DISPLAY: u32 = 153; |
| pub const KEY_DIRECTION: u32 = 153; |
| pub const KEY_CYCLEWINDOWS: u32 = 154; |
| pub const KEY_MAIL: u32 = 155; |
| pub const KEY_BOOKMARKS: u32 = 156; |
| pub const KEY_COMPUTER: u32 = 157; |
| pub const KEY_BACK: u32 = 158; |
| pub const KEY_FORWARD: u32 = 159; |
| pub const KEY_CLOSECD: u32 = 160; |
| pub const KEY_EJECTCD: u32 = 161; |
| pub const KEY_EJECTCLOSECD: u32 = 162; |
| pub const KEY_NEXTSONG: u32 = 163; |
| pub const KEY_PLAYPAUSE: u32 = 164; |
| pub const KEY_PREVIOUSSONG: u32 = 165; |
| pub const KEY_STOPCD: u32 = 166; |
| pub const KEY_RECORD: u32 = 167; |
| pub const KEY_REWIND: u32 = 168; |
| pub const KEY_PHONE: u32 = 169; |
| pub const KEY_ISO: u32 = 170; |
| pub const KEY_CONFIG: u32 = 171; |
| pub const KEY_HOMEPAGE: u32 = 172; |
| pub const KEY_REFRESH: u32 = 173; |
| pub const KEY_EXIT: u32 = 174; |
| pub const KEY_MOVE: u32 = 175; |
| pub const KEY_EDIT: u32 = 176; |
| pub const KEY_SCROLLUP: u32 = 177; |
| pub const KEY_SCROLLDOWN: u32 = 178; |
| pub const KEY_KPLEFTPAREN: u32 = 179; |
| pub const KEY_KPRIGHTPAREN: u32 = 180; |
| pub const KEY_NEW: u32 = 181; |
| pub const KEY_REDO: u32 = 182; |
| pub const KEY_F13: u32 = 183; |
| pub const KEY_F14: u32 = 184; |
| pub const KEY_F15: u32 = 185; |
| pub const KEY_F16: u32 = 186; |
| pub const KEY_F17: u32 = 187; |
| pub const KEY_F18: u32 = 188; |
| pub const KEY_F19: u32 = 189; |
| pub const KEY_F20: u32 = 190; |
| pub const KEY_F21: u32 = 191; |
| pub const KEY_F22: u32 = 192; |
| pub const KEY_F23: u32 = 193; |
| pub const KEY_F24: u32 = 194; |
| pub const KEY_PLAYCD: u32 = 200; |
| pub const KEY_PAUSECD: u32 = 201; |
| pub const KEY_PROG3: u32 = 202; |
| pub const KEY_PROG4: u32 = 203; |
| pub const KEY_ALL_APPLICATIONS: u32 = 204; |
| pub const KEY_DASHBOARD: u32 = 204; |
| pub const KEY_SUSPEND: u32 = 205; |
| pub const KEY_CLOSE: u32 = 206; |
| pub const KEY_PLAY: u32 = 207; |
| pub const KEY_FASTFORWARD: u32 = 208; |
| pub const KEY_BASSBOOST: u32 = 209; |
| pub const KEY_PRINT: u32 = 210; |
| pub const KEY_HP: u32 = 211; |
| pub const KEY_CAMERA: u32 = 212; |
| pub const KEY_SOUND: u32 = 213; |
| pub const KEY_QUESTION: u32 = 214; |
| pub const KEY_EMAIL: u32 = 215; |
| pub const KEY_CHAT: u32 = 216; |
| pub const KEY_SEARCH: u32 = 217; |
| pub const KEY_CONNECT: u32 = 218; |
| pub const KEY_FINANCE: u32 = 219; |
| pub const KEY_SPORT: u32 = 220; |
| pub const KEY_SHOP: u32 = 221; |
| pub const KEY_ALTERASE: u32 = 222; |
| pub const KEY_CANCEL: u32 = 223; |
| pub const KEY_BRIGHTNESSDOWN: u32 = 224; |
| pub const KEY_BRIGHTNESSUP: u32 = 225; |
| pub const KEY_MEDIA: u32 = 226; |
| pub const KEY_SWITCHVIDEOMODE: u32 = 227; |
| pub const KEY_KBDILLUMTOGGLE: u32 = 228; |
| pub const KEY_KBDILLUMDOWN: u32 = 229; |
| pub const KEY_KBDILLUMUP: u32 = 230; |
| pub const KEY_SEND: u32 = 231; |
| pub const KEY_REPLY: u32 = 232; |
| pub const KEY_FORWARDMAIL: u32 = 233; |
| pub const KEY_SAVE: u32 = 234; |
| pub const KEY_DOCUMENTS: u32 = 235; |
| pub const KEY_BATTERY: u32 = 236; |
| pub const KEY_BLUETOOTH: u32 = 237; |
| pub const KEY_WLAN: u32 = 238; |
| pub const KEY_UWB: u32 = 239; |
| pub const KEY_UNKNOWN: u32 = 240; |
| pub const KEY_VIDEO_NEXT: u32 = 241; |
| pub const KEY_VIDEO_PREV: u32 = 242; |
| pub const KEY_BRIGHTNESS_CYCLE: u32 = 243; |
| pub const KEY_BRIGHTNESS_AUTO: u32 = 244; |
| pub const KEY_BRIGHTNESS_ZERO: u32 = 244; |
| pub const KEY_DISPLAY_OFF: u32 = 245; |
| pub const KEY_WWAN: u32 = 246; |
| pub const KEY_WIMAX: u32 = 246; |
| pub const KEY_RFKILL: u32 = 247; |
| pub const KEY_MICMUTE: u32 = 248; |
| pub const BTN_MISC: u32 = 256; |
| pub const BTN_0: u32 = 256; |
| pub const BTN_1: u32 = 257; |
| pub const BTN_2: u32 = 258; |
| pub const BTN_3: u32 = 259; |
| pub const BTN_4: u32 = 260; |
| pub const BTN_5: u32 = 261; |
| pub const BTN_6: u32 = 262; |
| pub const BTN_7: u32 = 263; |
| pub const BTN_8: u32 = 264; |
| pub const BTN_9: u32 = 265; |
| pub const BTN_MOUSE: u32 = 272; |
| pub const BTN_LEFT: u32 = 272; |
| pub const BTN_RIGHT: u32 = 273; |
| pub const BTN_MIDDLE: u32 = 274; |
| pub const BTN_SIDE: u32 = 275; |
| pub const BTN_EXTRA: u32 = 276; |
| pub const BTN_FORWARD: u32 = 277; |
| pub const BTN_BACK: u32 = 278; |
| pub const BTN_TASK: u32 = 279; |
| pub const BTN_JOYSTICK: u32 = 288; |
| pub const BTN_TRIGGER: u32 = 288; |
| pub const BTN_THUMB: u32 = 289; |
| pub const BTN_THUMB2: u32 = 290; |
| pub const BTN_TOP: u32 = 291; |
| pub const BTN_TOP2: u32 = 292; |
| pub const BTN_PINKIE: u32 = 293; |
| pub const BTN_BASE: u32 = 294; |
| pub const BTN_BASE2: u32 = 295; |
| pub const BTN_BASE3: u32 = 296; |
| pub const BTN_BASE4: u32 = 297; |
| pub const BTN_BASE5: u32 = 298; |
| pub const BTN_BASE6: u32 = 299; |
| pub const BTN_DEAD: u32 = 303; |
| pub const BTN_GAMEPAD: u32 = 304; |
| pub const BTN_SOUTH: u32 = 304; |
| pub const BTN_A: u32 = 304; |
| pub const BTN_EAST: u32 = 305; |
| pub const BTN_B: u32 = 305; |
| pub const BTN_C: u32 = 306; |
| pub const BTN_NORTH: u32 = 307; |
| pub const BTN_X: u32 = 307; |
| pub const BTN_WEST: u32 = 308; |
| pub const BTN_Y: u32 = 308; |
| pub const BTN_Z: u32 = 309; |
| pub const BTN_TL: u32 = 310; |
| pub const BTN_TR: u32 = 311; |
| pub const BTN_TL2: u32 = 312; |
| pub const BTN_TR2: u32 = 313; |
| pub const BTN_SELECT: u32 = 314; |
| pub const BTN_START: u32 = 315; |
| pub const BTN_MODE: u32 = 316; |
| pub const BTN_THUMBL: u32 = 317; |
| pub const BTN_THUMBR: u32 = 318; |
| pub const BTN_DIGI: u32 = 320; |
| pub const BTN_TOOL_PEN: u32 = 320; |
| pub const BTN_TOOL_RUBBER: u32 = 321; |
| pub const BTN_TOOL_BRUSH: u32 = 322; |
| pub const BTN_TOOL_PENCIL: u32 = 323; |
| pub const BTN_TOOL_AIRBRUSH: u32 = 324; |
| pub const BTN_TOOL_FINGER: u32 = 325; |
| pub const BTN_TOOL_MOUSE: u32 = 326; |
| pub const BTN_TOOL_LENS: u32 = 327; |
| pub const BTN_TOOL_QUINTTAP: u32 = 328; |
| pub const BTN_STYLUS3: u32 = 329; |
| pub const BTN_TOUCH: u32 = 330; |
| pub const BTN_STYLUS: u32 = 331; |
| pub const BTN_STYLUS2: u32 = 332; |
| pub const BTN_TOOL_DOUBLETAP: u32 = 333; |
| pub const BTN_TOOL_TRIPLETAP: u32 = 334; |
| pub const BTN_TOOL_QUADTAP: u32 = 335; |
| pub const BTN_WHEEL: u32 = 336; |
| pub const BTN_GEAR_DOWN: u32 = 336; |
| pub const BTN_GEAR_UP: u32 = 337; |
| pub const KEY_OK: u32 = 352; |
| pub const KEY_SELECT: u32 = 353; |
| pub const KEY_GOTO: u32 = 354; |
| pub const KEY_CLEAR: u32 = 355; |
| pub const KEY_POWER2: u32 = 356; |
| pub const KEY_OPTION: u32 = 357; |
| pub const KEY_INFO: u32 = 358; |
| pub const KEY_TIME: u32 = 359; |
| pub const KEY_VENDOR: u32 = 360; |
| pub const KEY_ARCHIVE: u32 = 361; |
| pub const KEY_PROGRAM: u32 = 362; |
| pub const KEY_CHANNEL: u32 = 363; |
| pub const KEY_FAVORITES: u32 = 364; |
| pub const KEY_EPG: u32 = 365; |
| pub const KEY_PVR: u32 = 366; |
| pub const KEY_MHP: u32 = 367; |
| pub const KEY_LANGUAGE: u32 = 368; |
| pub const KEY_TITLE: u32 = 369; |
| pub const KEY_SUBTITLE: u32 = 370; |
| pub const KEY_ANGLE: u32 = 371; |
| pub const KEY_FULL_SCREEN: u32 = 372; |
| pub const KEY_ZOOM: u32 = 372; |
| pub const KEY_MODE: u32 = 373; |
| pub const KEY_KEYBOARD: u32 = 374; |
| pub const KEY_ASPECT_RATIO: u32 = 375; |
| pub const KEY_SCREEN: u32 = 375; |
| pub const KEY_PC: u32 = 376; |
| pub const KEY_TV: u32 = 377; |
| pub const KEY_TV2: u32 = 378; |
| pub const KEY_VCR: u32 = 379; |
| pub const KEY_VCR2: u32 = 380; |
| pub const KEY_SAT: u32 = 381; |
| pub const KEY_SAT2: u32 = 382; |
| pub const KEY_CD: u32 = 383; |
| pub const KEY_TAPE: u32 = 384; |
| pub const KEY_RADIO: u32 = 385; |
| pub const KEY_TUNER: u32 = 386; |
| pub const KEY_PLAYER: u32 = 387; |
| pub const KEY_TEXT: u32 = 388; |
| pub const KEY_DVD: u32 = 389; |
| pub const KEY_AUX: u32 = 390; |
| pub const KEY_MP3: u32 = 391; |
| pub const KEY_AUDIO: u32 = 392; |
| pub const KEY_VIDEO: u32 = 393; |
| pub const KEY_DIRECTORY: u32 = 394; |
| pub const KEY_LIST: u32 = 395; |
| pub const KEY_MEMO: u32 = 396; |
| pub const KEY_CALENDAR: u32 = 397; |
| pub const KEY_RED: u32 = 398; |
| pub const KEY_GREEN: u32 = 399; |
| pub const KEY_YELLOW: u32 = 400; |
| pub const KEY_BLUE: u32 = 401; |
| pub const KEY_CHANNELUP: u32 = 402; |
| pub const KEY_CHANNELDOWN: u32 = 403; |
| pub const KEY_FIRST: u32 = 404; |
| pub const KEY_LAST: u32 = 405; |
| pub const KEY_AB: u32 = 406; |
| pub const KEY_NEXT: u32 = 407; |
| pub const KEY_RESTART: u32 = 408; |
| pub const KEY_SLOW: u32 = 409; |
| pub const KEY_SHUFFLE: u32 = 410; |
| pub const KEY_BREAK: u32 = 411; |
| pub const KEY_PREVIOUS: u32 = 412; |
| pub const KEY_DIGITS: u32 = 413; |
| pub const KEY_TEEN: u32 = 414; |
| pub const KEY_TWEN: u32 = 415; |
| pub const KEY_VIDEOPHONE: u32 = 416; |
| pub const KEY_GAMES: u32 = 417; |
| pub const KEY_ZOOMIN: u32 = 418; |
| pub const KEY_ZOOMOUT: u32 = 419; |
| pub const KEY_ZOOMRESET: u32 = 420; |
| pub const KEY_WORDPROCESSOR: u32 = 421; |
| pub const KEY_EDITOR: u32 = 422; |
| pub const KEY_SPREADSHEET: u32 = 423; |
| pub const KEY_GRAPHICSEDITOR: u32 = 424; |
| pub const KEY_PRESENTATION: u32 = 425; |
| pub const KEY_DATABASE: u32 = 426; |
| pub const KEY_NEWS: u32 = 427; |
| pub const KEY_VOICEMAIL: u32 = 428; |
| pub const KEY_ADDRESSBOOK: u32 = 429; |
| pub const KEY_MESSENGER: u32 = 430; |
| pub const KEY_DISPLAYTOGGLE: u32 = 431; |
| pub const KEY_BRIGHTNESS_TOGGLE: u32 = 431; |
| pub const KEY_SPELLCHECK: u32 = 432; |
| pub const KEY_LOGOFF: u32 = 433; |
| pub const KEY_DOLLAR: u32 = 434; |
| pub const KEY_EURO: u32 = 435; |
| pub const KEY_FRAMEBACK: u32 = 436; |
| pub const KEY_FRAMEFORWARD: u32 = 437; |
| pub const KEY_CONTEXT_MENU: u32 = 438; |
| pub const KEY_MEDIA_REPEAT: u32 = 439; |
| pub const KEY_10CHANNELSUP: u32 = 440; |
| pub const KEY_10CHANNELSDOWN: u32 = 441; |
| pub const KEY_IMAGES: u32 = 442; |
| pub const KEY_NOTIFICATION_CENTER: u32 = 444; |
| pub const KEY_PICKUP_PHONE: u32 = 445; |
| pub const KEY_HANGUP_PHONE: u32 = 446; |
| pub const KEY_DEL_EOL: u32 = 448; |
| pub const KEY_DEL_EOS: u32 = 449; |
| pub const KEY_INS_LINE: u32 = 450; |
| pub const KEY_DEL_LINE: u32 = 451; |
| pub const KEY_FN: u32 = 464; |
| pub const KEY_FN_ESC: u32 = 465; |
| pub const KEY_FN_F1: u32 = 466; |
| pub const KEY_FN_F2: u32 = 467; |
| pub const KEY_FN_F3: u32 = 468; |
| pub const KEY_FN_F4: u32 = 469; |
| pub const KEY_FN_F5: u32 = 470; |
| pub const KEY_FN_F6: u32 = 471; |
| pub const KEY_FN_F7: u32 = 472; |
| pub const KEY_FN_F8: u32 = 473; |
| pub const KEY_FN_F9: u32 = 474; |
| pub const KEY_FN_F10: u32 = 475; |
| pub const KEY_FN_F11: u32 = 476; |
| pub const KEY_FN_F12: u32 = 477; |
| pub const KEY_FN_1: u32 = 478; |
| pub const KEY_FN_2: u32 = 479; |
| pub const KEY_FN_D: u32 = 480; |
| pub const KEY_FN_E: u32 = 481; |
| pub const KEY_FN_F: u32 = 482; |
| pub const KEY_FN_S: u32 = 483; |
| pub const KEY_FN_B: u32 = 484; |
| pub const KEY_FN_RIGHT_SHIFT: u32 = 485; |
| pub const KEY_BRL_DOT1: u32 = 497; |
| pub const KEY_BRL_DOT2: u32 = 498; |
| pub const KEY_BRL_DOT3: u32 = 499; |
| pub const KEY_BRL_DOT4: u32 = 500; |
| pub const KEY_BRL_DOT5: u32 = 501; |
| pub const KEY_BRL_DOT6: u32 = 502; |
| pub const KEY_BRL_DOT7: u32 = 503; |
| pub const KEY_BRL_DOT8: u32 = 504; |
| pub const KEY_BRL_DOT9: u32 = 505; |
| pub const KEY_BRL_DOT10: u32 = 506; |
| pub const KEY_NUMERIC_0: u32 = 512; |
| pub const KEY_NUMERIC_1: u32 = 513; |
| pub const KEY_NUMERIC_2: u32 = 514; |
| pub const KEY_NUMERIC_3: u32 = 515; |
| pub const KEY_NUMERIC_4: u32 = 516; |
| pub const KEY_NUMERIC_5: u32 = 517; |
| pub const KEY_NUMERIC_6: u32 = 518; |
| pub const KEY_NUMERIC_7: u32 = 519; |
| pub const KEY_NUMERIC_8: u32 = 520; |
| pub const KEY_NUMERIC_9: u32 = 521; |
| pub const KEY_NUMERIC_STAR: u32 = 522; |
| pub const KEY_NUMERIC_POUND: u32 = 523; |
| pub const KEY_NUMERIC_A: u32 = 524; |
| pub const KEY_NUMERIC_B: u32 = 525; |
| pub const KEY_NUMERIC_C: u32 = 526; |
| pub const KEY_NUMERIC_D: u32 = 527; |
| pub const KEY_CAMERA_FOCUS: u32 = 528; |
| pub const KEY_WPS_BUTTON: u32 = 529; |
| pub const KEY_TOUCHPAD_TOGGLE: u32 = 530; |
| pub const KEY_TOUCHPAD_ON: u32 = 531; |
| pub const KEY_TOUCHPAD_OFF: u32 = 532; |
| pub const KEY_CAMERA_ZOOMIN: u32 = 533; |
| pub const KEY_CAMERA_ZOOMOUT: u32 = 534; |
| pub const KEY_CAMERA_UP: u32 = 535; |
| pub const KEY_CAMERA_DOWN: u32 = 536; |
| pub const KEY_CAMERA_LEFT: u32 = 537; |
| pub const KEY_CAMERA_RIGHT: u32 = 538; |
| pub const KEY_ATTENDANT_ON: u32 = 539; |
| pub const KEY_ATTENDANT_OFF: u32 = 540; |
| pub const KEY_ATTENDANT_TOGGLE: u32 = 541; |
| pub const KEY_LIGHTS_TOGGLE: u32 = 542; |
| pub const BTN_DPAD_UP: u32 = 544; |
| pub const BTN_DPAD_DOWN: u32 = 545; |
| pub const BTN_DPAD_LEFT: u32 = 546; |
| pub const BTN_DPAD_RIGHT: u32 = 547; |
| pub const KEY_ALS_TOGGLE: u32 = 560; |
| pub const KEY_ROTATE_LOCK_TOGGLE: u32 = 561; |
| pub const KEY_BUTTONCONFIG: u32 = 576; |
| pub const KEY_TASKMANAGER: u32 = 577; |
| pub const KEY_JOURNAL: u32 = 578; |
| pub const KEY_CONTROLPANEL: u32 = 579; |
| pub const KEY_APPSELECT: u32 = 580; |
| pub const KEY_SCREENSAVER: u32 = 581; |
| pub const KEY_VOICECOMMAND: u32 = 582; |
| pub const KEY_ASSISTANT: u32 = 583; |
| pub const KEY_KBD_LAYOUT_NEXT: u32 = 584; |
| pub const KEY_EMOJI_PICKER: u32 = 585; |
| pub const KEY_DICTATE: u32 = 586; |
| pub const KEY_CAMERA_ACCESS_ENABLE: u32 = 587; |
| pub const KEY_CAMERA_ACCESS_DISABLE: u32 = 588; |
| pub const KEY_CAMERA_ACCESS_TOGGLE: u32 = 589; |
| pub const KEY_BRIGHTNESS_MIN: u32 = 592; |
| pub const KEY_BRIGHTNESS_MAX: u32 = 593; |
| pub const KEY_KBDINPUTASSIST_PREV: u32 = 608; |
| pub const KEY_KBDINPUTASSIST_NEXT: u32 = 609; |
| pub const KEY_KBDINPUTASSIST_PREVGROUP: u32 = 610; |
| pub const KEY_KBDINPUTASSIST_NEXTGROUP: u32 = 611; |
| pub const KEY_KBDINPUTASSIST_ACCEPT: u32 = 612; |
| pub const KEY_KBDINPUTASSIST_CANCEL: u32 = 613; |
| pub const KEY_RIGHT_UP: u32 = 614; |
| pub const KEY_RIGHT_DOWN: u32 = 615; |
| pub const KEY_LEFT_UP: u32 = 616; |
| pub const KEY_LEFT_DOWN: u32 = 617; |
| pub const KEY_ROOT_MENU: u32 = 618; |
| pub const KEY_MEDIA_TOP_MENU: u32 = 619; |
| pub const KEY_NUMERIC_11: u32 = 620; |
| pub const KEY_NUMERIC_12: u32 = 621; |
| pub const KEY_AUDIO_DESC: u32 = 622; |
| pub const KEY_3D_MODE: u32 = 623; |
| pub const KEY_NEXT_FAVORITE: u32 = 624; |
| pub const KEY_STOP_RECORD: u32 = 625; |
| pub const KEY_PAUSE_RECORD: u32 = 626; |
| pub const KEY_VOD: u32 = 627; |
| pub const KEY_UNMUTE: u32 = 628; |
| pub const KEY_FASTREVERSE: u32 = 629; |
| pub const KEY_SLOWREVERSE: u32 = 630; |
| pub const KEY_DATA: u32 = 631; |
| pub const KEY_ONSCREEN_KEYBOARD: u32 = 632; |
| pub const KEY_PRIVACY_SCREEN_TOGGLE: u32 = 633; |
| pub const KEY_SELECTIVE_SCREENSHOT: u32 = 634; |
| pub const KEY_NEXT_ELEMENT: u32 = 635; |
| pub const KEY_PREVIOUS_ELEMENT: u32 = 636; |
| pub const KEY_AUTOPILOT_ENGAGE_TOGGLE: u32 = 637; |
| pub const KEY_MARK_WAYPOINT: u32 = 638; |
| pub const KEY_SOS: u32 = 639; |
| pub const KEY_NAV_CHART: u32 = 640; |
| pub const KEY_FISHING_CHART: u32 = 641; |
| pub const KEY_SINGLE_RANGE_RADAR: u32 = 642; |
| pub const KEY_DUAL_RANGE_RADAR: u32 = 643; |
| pub const KEY_RADAR_OVERLAY: u32 = 644; |
| pub const KEY_TRADITIONAL_SONAR: u32 = 645; |
| pub const KEY_CLEARVU_SONAR: u32 = 646; |
| pub const KEY_SIDEVU_SONAR: u32 = 647; |
| pub const KEY_NAV_INFO: u32 = 648; |
| pub const KEY_BRIGHTNESS_MENU: u32 = 649; |
| pub const KEY_MACRO1: u32 = 656; |
| pub const KEY_MACRO2: u32 = 657; |
| pub const KEY_MACRO3: u32 = 658; |
| pub const KEY_MACRO4: u32 = 659; |
| pub const KEY_MACRO5: u32 = 660; |
| pub const KEY_MACRO6: u32 = 661; |
| pub const KEY_MACRO7: u32 = 662; |
| pub const KEY_MACRO8: u32 = 663; |
| pub const KEY_MACRO9: u32 = 664; |
| pub const KEY_MACRO10: u32 = 665; |
| pub const KEY_MACRO11: u32 = 666; |
| pub const KEY_MACRO12: u32 = 667; |
| pub const KEY_MACRO13: u32 = 668; |
| pub const KEY_MACRO14: u32 = 669; |
| pub const KEY_MACRO15: u32 = 670; |
| pub const KEY_MACRO16: u32 = 671; |
| pub const KEY_MACRO17: u32 = 672; |
| pub const KEY_MACRO18: u32 = 673; |
| pub const KEY_MACRO19: u32 = 674; |
| pub const KEY_MACRO20: u32 = 675; |
| pub const KEY_MACRO21: u32 = 676; |
| pub const KEY_MACRO22: u32 = 677; |
| pub const KEY_MACRO23: u32 = 678; |
| pub const KEY_MACRO24: u32 = 679; |
| pub const KEY_MACRO25: u32 = 680; |
| pub const KEY_MACRO26: u32 = 681; |
| pub const KEY_MACRO27: u32 = 682; |
| pub const KEY_MACRO28: u32 = 683; |
| pub const KEY_MACRO29: u32 = 684; |
| pub const KEY_MACRO30: u32 = 685; |
| pub const KEY_MACRO_RECORD_START: u32 = 688; |
| pub const KEY_MACRO_RECORD_STOP: u32 = 689; |
| pub const KEY_MACRO_PRESET_CYCLE: u32 = 690; |
| pub const KEY_MACRO_PRESET1: u32 = 691; |
| pub const KEY_MACRO_PRESET2: u32 = 692; |
| pub const KEY_MACRO_PRESET3: u32 = 693; |
| pub const KEY_KBD_LCD_MENU1: u32 = 696; |
| pub const KEY_KBD_LCD_MENU2: u32 = 697; |
| pub const KEY_KBD_LCD_MENU3: u32 = 698; |
| pub const KEY_KBD_LCD_MENU4: u32 = 699; |
| pub const KEY_KBD_LCD_MENU5: u32 = 700; |
| pub const BTN_TRIGGER_HAPPY: u32 = 704; |
| pub const BTN_TRIGGER_HAPPY1: u32 = 704; |
| pub const BTN_TRIGGER_HAPPY2: u32 = 705; |
| pub const BTN_TRIGGER_HAPPY3: u32 = 706; |
| pub const BTN_TRIGGER_HAPPY4: u32 = 707; |
| pub const BTN_TRIGGER_HAPPY5: u32 = 708; |
| pub const BTN_TRIGGER_HAPPY6: u32 = 709; |
| pub const BTN_TRIGGER_HAPPY7: u32 = 710; |
| pub const BTN_TRIGGER_HAPPY8: u32 = 711; |
| pub const BTN_TRIGGER_HAPPY9: u32 = 712; |
| pub const BTN_TRIGGER_HAPPY10: u32 = 713; |
| pub const BTN_TRIGGER_HAPPY11: u32 = 714; |
| pub const BTN_TRIGGER_HAPPY12: u32 = 715; |
| pub const BTN_TRIGGER_HAPPY13: u32 = 716; |
| pub const BTN_TRIGGER_HAPPY14: u32 = 717; |
| pub const BTN_TRIGGER_HAPPY15: u32 = 718; |
| pub const BTN_TRIGGER_HAPPY16: u32 = 719; |
| pub const BTN_TRIGGER_HAPPY17: u32 = 720; |
| pub const BTN_TRIGGER_HAPPY18: u32 = 721; |
| pub const BTN_TRIGGER_HAPPY19: u32 = 722; |
| pub const BTN_TRIGGER_HAPPY20: u32 = 723; |
| pub const BTN_TRIGGER_HAPPY21: u32 = 724; |
| pub const BTN_TRIGGER_HAPPY22: u32 = 725; |
| pub const BTN_TRIGGER_HAPPY23: u32 = 726; |
| pub const BTN_TRIGGER_HAPPY24: u32 = 727; |
| pub const BTN_TRIGGER_HAPPY25: u32 = 728; |
| pub const BTN_TRIGGER_HAPPY26: u32 = 729; |
| pub const BTN_TRIGGER_HAPPY27: u32 = 730; |
| pub const BTN_TRIGGER_HAPPY28: u32 = 731; |
| pub const BTN_TRIGGER_HAPPY29: u32 = 732; |
| pub const BTN_TRIGGER_HAPPY30: u32 = 733; |
| pub const BTN_TRIGGER_HAPPY31: u32 = 734; |
| pub const BTN_TRIGGER_HAPPY32: u32 = 735; |
| pub const BTN_TRIGGER_HAPPY33: u32 = 736; |
| pub const BTN_TRIGGER_HAPPY34: u32 = 737; |
| pub const BTN_TRIGGER_HAPPY35: u32 = 738; |
| pub const BTN_TRIGGER_HAPPY36: u32 = 739; |
| pub const BTN_TRIGGER_HAPPY37: u32 = 740; |
| pub const BTN_TRIGGER_HAPPY38: u32 = 741; |
| pub const BTN_TRIGGER_HAPPY39: u32 = 742; |
| pub const BTN_TRIGGER_HAPPY40: u32 = 743; |
| pub const KEY_MIN_INTERESTING: u32 = 113; |
| pub const KEY_MAX: u32 = 767; |
| pub const KEY_CNT: u32 = 768; |
| pub const REL_X: u32 = 0; |
| pub const REL_Y: u32 = 1; |
| pub const REL_Z: u32 = 2; |
| pub const REL_RX: u32 = 3; |
| pub const REL_RY: u32 = 4; |
| pub const REL_RZ: u32 = 5; |
| pub const REL_HWHEEL: u32 = 6; |
| pub const REL_DIAL: u32 = 7; |
| pub const REL_WHEEL: u32 = 8; |
| pub const REL_MISC: u32 = 9; |
| pub const REL_RESERVED: u32 = 10; |
| pub const REL_WHEEL_HI_RES: u32 = 11; |
| pub const REL_HWHEEL_HI_RES: u32 = 12; |
| pub const REL_MAX: u32 = 15; |
| pub const REL_CNT: u32 = 16; |
| pub const ABS_X: u32 = 0; |
| pub const ABS_Y: u32 = 1; |
| pub const ABS_Z: u32 = 2; |
| pub const ABS_RX: u32 = 3; |
| pub const ABS_RY: u32 = 4; |
| pub const ABS_RZ: u32 = 5; |
| pub const ABS_THROTTLE: u32 = 6; |
| pub const ABS_RUDDER: u32 = 7; |
| pub const ABS_WHEEL: u32 = 8; |
| pub const ABS_GAS: u32 = 9; |
| pub const ABS_BRAKE: u32 = 10; |
| pub const ABS_HAT0X: u32 = 16; |
| pub const ABS_HAT0Y: u32 = 17; |
| pub const ABS_HAT1X: u32 = 18; |
| pub const ABS_HAT1Y: u32 = 19; |
| pub const ABS_HAT2X: u32 = 20; |
| pub const ABS_HAT2Y: u32 = 21; |
| pub const ABS_HAT3X: u32 = 22; |
| pub const ABS_HAT3Y: u32 = 23; |
| pub const ABS_PRESSURE: u32 = 24; |
| pub const ABS_DISTANCE: u32 = 25; |
| pub const ABS_TILT_X: u32 = 26; |
| pub const ABS_TILT_Y: u32 = 27; |
| pub const ABS_TOOL_WIDTH: u32 = 28; |
| pub const ABS_VOLUME: u32 = 32; |
| pub const ABS_PROFILE: u32 = 33; |
| pub const ABS_MISC: u32 = 40; |
| pub const ABS_RESERVED: u32 = 46; |
| pub const ABS_MT_SLOT: u32 = 47; |
| pub const ABS_MT_TOUCH_MAJOR: u32 = 48; |
| pub const ABS_MT_TOUCH_MINOR: u32 = 49; |
| pub const ABS_MT_WIDTH_MAJOR: u32 = 50; |
| pub const ABS_MT_WIDTH_MINOR: u32 = 51; |
| pub const ABS_MT_ORIENTATION: u32 = 52; |
| pub const ABS_MT_POSITION_X: u32 = 53; |
| pub const ABS_MT_POSITION_Y: u32 = 54; |
| pub const ABS_MT_TOOL_TYPE: u32 = 55; |
| pub const ABS_MT_BLOB_ID: u32 = 56; |
| pub const ABS_MT_TRACKING_ID: u32 = 57; |
| pub const ABS_MT_PRESSURE: u32 = 58; |
| pub const ABS_MT_DISTANCE: u32 = 59; |
| pub const ABS_MT_TOOL_X: u32 = 60; |
| pub const ABS_MT_TOOL_Y: u32 = 61; |
| pub const ABS_MAX: u32 = 63; |
| pub const ABS_CNT: u32 = 64; |
| pub const SW_LID: u32 = 0; |
| pub const SW_TABLET_MODE: u32 = 1; |
| pub const SW_HEADPHONE_INSERT: u32 = 2; |
| pub const SW_RFKILL_ALL: u32 = 3; |
| pub const SW_RADIO: u32 = 3; |
| pub const SW_MICROPHONE_INSERT: u32 = 4; |
| pub const SW_DOCK: u32 = 5; |
| pub const SW_LINEOUT_INSERT: u32 = 6; |
| pub const SW_JACK_PHYSICAL_INSERT: u32 = 7; |
| pub const SW_VIDEOOUT_INSERT: u32 = 8; |
| pub const SW_CAMERA_LENS_COVER: u32 = 9; |
| pub const SW_KEYPAD_SLIDE: u32 = 10; |
| pub const SW_FRONT_PROXIMITY: u32 = 11; |
| pub const SW_ROTATE_LOCK: u32 = 12; |
| pub const SW_LINEIN_INSERT: u32 = 13; |
| pub const SW_MUTE_DEVICE: u32 = 14; |
| pub const SW_PEN_INSERTED: u32 = 15; |
| pub const SW_MACHINE_COVER: u32 = 16; |
| pub const SW_MAX: u32 = 16; |
| pub const SW_CNT: u32 = 17; |
| pub const MSC_SERIAL: u32 = 0; |
| pub const MSC_PULSELED: u32 = 1; |
| pub const MSC_GESTURE: u32 = 2; |
| pub const MSC_RAW: u32 = 3; |
| pub const MSC_SCAN: u32 = 4; |
| pub const MSC_TIMESTAMP: u32 = 5; |
| pub const MSC_MAX: u32 = 7; |
| pub const MSC_CNT: u32 = 8; |
| pub const LED_NUML: u32 = 0; |
| pub const LED_CAPSL: u32 = 1; |
| pub const LED_SCROLLL: u32 = 2; |
| pub const LED_COMPOSE: u32 = 3; |
| pub const LED_KANA: u32 = 4; |
| pub const LED_SLEEP: u32 = 5; |
| pub const LED_SUSPEND: u32 = 6; |
| pub const LED_MUTE: u32 = 7; |
| pub const LED_MISC: u32 = 8; |
| pub const LED_MAIL: u32 = 9; |
| pub const LED_CHARGING: u32 = 10; |
| pub const LED_MAX: u32 = 15; |
| pub const LED_CNT: u32 = 16; |
| pub const REP_DELAY: u32 = 0; |
| pub const REP_PERIOD: u32 = 1; |
| pub const REP_MAX: u32 = 1; |
| pub const REP_CNT: u32 = 2; |
| pub const SND_CLICK: u32 = 0; |
| pub const SND_BELL: u32 = 1; |
| pub const SND_TONE: u32 = 2; |
| pub const SND_MAX: u32 = 7; |
| pub const SND_CNT: u32 = 8; |
| pub const EV_VERSION: u32 = 65537; |
| pub const INPUT_KEYMAP_BY_INDEX: u32 = 1; |
| pub const ID_BUS: u32 = 0; |
| pub const ID_VENDOR: u32 = 1; |
| pub const ID_PRODUCT: u32 = 2; |
| pub const ID_VERSION: u32 = 3; |
| pub const BUS_PCI: u32 = 1; |
| pub const BUS_ISAPNP: u32 = 2; |
| pub const BUS_USB: u32 = 3; |
| pub const BUS_HIL: u32 = 4; |
| pub const BUS_BLUETOOTH: u32 = 5; |
| pub const BUS_VIRTUAL: u32 = 6; |
| pub const BUS_ISA: u32 = 16; |
| pub const BUS_I8042: u32 = 17; |
| pub const BUS_XTKBD: u32 = 18; |
| pub const BUS_RS232: u32 = 19; |
| pub const BUS_GAMEPORT: u32 = 20; |
| pub const BUS_PARPORT: u32 = 21; |
| pub const BUS_AMIGA: u32 = 22; |
| pub const BUS_ADB: u32 = 23; |
| pub const BUS_I2C: u32 = 24; |
| pub const BUS_HOST: u32 = 25; |
| pub const BUS_GSC: u32 = 26; |
| pub const BUS_ATARI: u32 = 27; |
| pub const BUS_SPI: u32 = 28; |
| pub const BUS_RMI: u32 = 29; |
| pub const BUS_CEC: u32 = 30; |
| pub const BUS_INTEL_ISHTP: u32 = 31; |
| pub const BUS_AMD_SFH: u32 = 32; |
| pub const MT_TOOL_FINGER: u32 = 0; |
| pub const MT_TOOL_PEN: u32 = 1; |
| pub const MT_TOOL_PALM: u32 = 2; |
| pub const MT_TOOL_DIAL: u32 = 10; |
| pub const MT_TOOL_MAX: u32 = 15; |
| pub const FF_STATUS_STOPPED: u32 = 0; |
| pub const FF_STATUS_PLAYING: u32 = 1; |
| pub const FF_STATUS_MAX: u32 = 1; |
| pub const FF_RUMBLE: u32 = 80; |
| pub const FF_PERIODIC: u32 = 81; |
| pub const FF_CONSTANT: u32 = 82; |
| pub const FF_SPRING: u32 = 83; |
| pub const FF_FRICTION: u32 = 84; |
| pub const FF_DAMPER: u32 = 85; |
| pub const FF_INERTIA: u32 = 86; |
| pub const FF_RAMP: u32 = 87; |
| pub const FF_EFFECT_MIN: u32 = 80; |
| pub const FF_EFFECT_MAX: u32 = 87; |
| pub const FF_SQUARE: u32 = 88; |
| pub const FF_TRIANGLE: u32 = 89; |
| pub const FF_SINE: u32 = 90; |
| pub const FF_SAW_UP: u32 = 91; |
| pub const FF_SAW_DOWN: u32 = 92; |
| pub const FF_CUSTOM: u32 = 93; |
| pub const FF_WAVEFORM_MIN: u32 = 88; |
| pub const FF_WAVEFORM_MAX: u32 = 93; |
| pub const FF_GAIN: u32 = 96; |
| pub const FF_AUTOCENTER: u32 = 97; |
| pub const FF_MAX_EFFECTS: u32 = 96; |
| pub const FF_MAX: u32 = 127; |
| pub const FF_CNT: u32 = 128; |
| pub const IPTOS_TOS_MASK: u32 = 30; |
| pub const IPTOS_LOWDELAY: u32 = 16; |
| pub const IPTOS_THROUGHPUT: u32 = 8; |
| pub const IPTOS_RELIABILITY: u32 = 4; |
| pub const IPTOS_MINCOST: u32 = 2; |
| pub const IPTOS_PREC_MASK: u32 = 224; |
| pub const IPTOS_PREC_NETCONTROL: u32 = 224; |
| pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192; |
| pub const IPTOS_PREC_CRITIC_ECP: u32 = 160; |
| pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128; |
| pub const IPTOS_PREC_FLASH: u32 = 96; |
| pub const IPTOS_PREC_IMMEDIATE: u32 = 64; |
| pub const IPTOS_PREC_PRIORITY: u32 = 32; |
| pub const IPTOS_PREC_ROUTINE: u32 = 0; |
| pub const IPOPT_COPY: u32 = 128; |
| pub const IPOPT_CLASS_MASK: u32 = 96; |
| pub const IPOPT_NUMBER_MASK: u32 = 31; |
| pub const IPOPT_CONTROL: u32 = 0; |
| pub const IPOPT_RESERVED1: u32 = 32; |
| pub const IPOPT_MEASUREMENT: u32 = 64; |
| pub const IPOPT_RESERVED2: u32 = 96; |
| pub const IPOPT_END: u32 = 0; |
| pub const IPOPT_NOOP: u32 = 1; |
| pub const IPOPT_SEC: u32 = 130; |
| pub const IPOPT_LSRR: u32 = 131; |
| pub const IPOPT_TIMESTAMP: u32 = 68; |
| pub const IPOPT_CIPSO: u32 = 134; |
| pub const IPOPT_RR: u32 = 7; |
| pub const IPOPT_SID: u32 = 136; |
| pub const IPOPT_SSRR: u32 = 137; |
| pub const IPOPT_RA: u32 = 148; |
| pub const IPVERSION: u32 = 4; |
| pub const MAXTTL: u32 = 255; |
| pub const IPDEFTTL: u32 = 64; |
| pub const IPOPT_OPTVAL: u32 = 0; |
| pub const IPOPT_OLEN: u32 = 1; |
| pub const IPOPT_OFFSET: u32 = 2; |
| pub const IPOPT_MINOFF: u32 = 4; |
| pub const MAX_IPOPTLEN: u32 = 40; |
| pub const IPOPT_NOP: u32 = 1; |
| pub const IPOPT_EOL: u32 = 0; |
| pub const IPOPT_TS: u32 = 68; |
| pub const IPOPT_TS_TSONLY: u32 = 0; |
| pub const IPOPT_TS_TSANDADDR: u32 = 1; |
| pub const IPOPT_TS_PRESPEC: u32 = 3; |
| pub const IPV4_BEET_PHMAXLEN: u32 = 8; |
| pub const __UAPI_DEF_IF_IFCONF: u32 = 1; |
| pub const __UAPI_DEF_IF_IFMAP: u32 = 1; |
| pub const __UAPI_DEF_IF_IFNAMSIZ: u32 = 1; |
| pub const __UAPI_DEF_IF_IFREQ: u32 = 1; |
| pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS: u32 = 1; |
| pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO: u32 = 1; |
| pub const __UAPI_DEF_IN_ADDR: u32 = 1; |
| pub const __UAPI_DEF_IN_IPPROTO: u32 = 1; |
| pub const __UAPI_DEF_IN_PKTINFO: u32 = 1; |
| pub const __UAPI_DEF_IP_MREQ: u32 = 1; |
| pub const __UAPI_DEF_SOCKADDR_IN: u32 = 1; |
| pub const __UAPI_DEF_IN_CLASS: u32 = 1; |
| pub const __UAPI_DEF_IN6_ADDR: u32 = 1; |
| pub const __UAPI_DEF_IN6_ADDR_ALT: u32 = 1; |
| pub const __UAPI_DEF_SOCKADDR_IN6: u32 = 1; |
| pub const __UAPI_DEF_IPV6_MREQ: u32 = 1; |
| pub const __UAPI_DEF_IPPROTO_V6: u32 = 1; |
| pub const __UAPI_DEF_IPV6_OPTIONS: u32 = 1; |
| pub const __UAPI_DEF_IN6_PKTINFO: u32 = 1; |
| pub const __UAPI_DEF_IP6_MTUINFO: u32 = 1; |
| pub const __UAPI_DEF_SOCKADDR_IPX: u32 = 1; |
| pub const __UAPI_DEF_IPX_ROUTE_DEFINITION: u32 = 1; |
| pub const __UAPI_DEF_IPX_INTERFACE_DEFINITION: u32 = 1; |
| pub const __UAPI_DEF_IPX_CONFIG_DATA: u32 = 1; |
| pub const __UAPI_DEF_IPX_ROUTE_DEF: u32 = 1; |
| pub const __UAPI_DEF_XATTR: u32 = 1; |
| pub const IPV6_FL_A_GET: u32 = 0; |
| pub const IPV6_FL_A_PUT: u32 = 1; |
| pub const IPV6_FL_A_RENEW: u32 = 2; |
| pub const IPV6_FL_F_CREATE: u32 = 1; |
| pub const IPV6_FL_F_EXCL: u32 = 2; |
| pub const IPV6_FL_F_REFLECT: u32 = 4; |
| pub const IPV6_FL_F_REMOTE: u32 = 8; |
| pub const IPV6_FL_S_NONE: u32 = 0; |
| pub const IPV6_FL_S_EXCL: u32 = 1; |
| pub const IPV6_FL_S_PROCESS: u32 = 2; |
| pub const IPV6_FL_S_USER: u32 = 3; |
| pub const IPV6_FL_S_ANY: u32 = 255; |
| pub const IPV6_FLOWINFO_FLOWLABEL: u32 = 1048575; |
| pub const IPV6_FLOWINFO_PRIORITY: u32 = 267386880; |
| pub const IPV6_PRIORITY_UNCHARACTERIZED: u32 = 0; |
| pub const IPV6_PRIORITY_FILLER: u32 = 256; |
| pub const IPV6_PRIORITY_UNATTENDED: u32 = 512; |
| pub const IPV6_PRIORITY_RESERVED1: u32 = 768; |
| pub const IPV6_PRIORITY_BULK: u32 = 1024; |
| pub const IPV6_PRIORITY_RESERVED2: u32 = 1280; |
| pub const IPV6_PRIORITY_INTERACTIVE: u32 = 1536; |
| pub const IPV6_PRIORITY_CONTROL: u32 = 1792; |
| pub const IPV6_PRIORITY_8: u32 = 2048; |
| pub const IPV6_PRIORITY_9: u32 = 2304; |
| pub const IPV6_PRIORITY_10: u32 = 2560; |
| pub const IPV6_PRIORITY_11: u32 = 2816; |
| pub const IPV6_PRIORITY_12: u32 = 3072; |
| pub const IPV6_PRIORITY_13: u32 = 3328; |
| pub const IPV6_PRIORITY_14: u32 = 3584; |
| pub const IPV6_PRIORITY_15: u32 = 3840; |
| pub const IPPROTO_HOPOPTS: u32 = 0; |
| pub const IPPROTO_ROUTING: u32 = 43; |
| pub const IPPROTO_FRAGMENT: u32 = 44; |
| pub const IPPROTO_ICMPV6: u32 = 58; |
| pub const IPPROTO_NONE: u32 = 59; |
| pub const IPPROTO_DSTOPTS: u32 = 60; |
| pub const IPPROTO_MH: u32 = 135; |
| pub const IPV6_TLV_PAD1: u32 = 0; |
| pub const IPV6_TLV_PADN: u32 = 1; |
| pub const IPV6_TLV_ROUTERALERT: u32 = 5; |
| pub const IPV6_TLV_CALIPSO: u32 = 7; |
| pub const IPV6_TLV_IOAM: u32 = 49; |
| pub const IPV6_TLV_JUMBO: u32 = 194; |
| pub const IPV6_TLV_HAO: u32 = 201; |
| pub const IPV6_ADDRFORM: u32 = 1; |
| pub const IPV6_2292PKTINFO: u32 = 2; |
| pub const IPV6_2292HOPOPTS: u32 = 3; |
| pub const IPV6_2292DSTOPTS: u32 = 4; |
| pub const IPV6_2292RTHDR: u32 = 5; |
| pub const IPV6_2292PKTOPTIONS: u32 = 6; |
| pub const IPV6_CHECKSUM: u32 = 7; |
| pub const IPV6_2292HOPLIMIT: u32 = 8; |
| pub const IPV6_NEXTHOP: u32 = 9; |
| pub const IPV6_AUTHHDR: u32 = 10; |
| pub const IPV6_FLOWINFO: u32 = 11; |
| pub const IPV6_UNICAST_HOPS: u32 = 16; |
| pub const IPV6_MULTICAST_IF: u32 = 17; |
| pub const IPV6_MULTICAST_HOPS: u32 = 18; |
| pub const IPV6_MULTICAST_LOOP: u32 = 19; |
| pub const IPV6_ADD_MEMBERSHIP: u32 = 20; |
| pub const IPV6_DROP_MEMBERSHIP: u32 = 21; |
| pub const IPV6_ROUTER_ALERT: u32 = 22; |
| pub const IPV6_MTU_DISCOVER: u32 = 23; |
| pub const IPV6_MTU: u32 = 24; |
| pub const IPV6_RECVERR: u32 = 25; |
| pub const IPV6_V6ONLY: u32 = 26; |
| pub const IPV6_JOIN_ANYCAST: u32 = 27; |
| pub const IPV6_LEAVE_ANYCAST: u32 = 28; |
| pub const IPV6_MULTICAST_ALL: u32 = 29; |
| pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; |
| pub const IPV6_RECVERR_RFC4884: u32 = 31; |
| pub const IPV6_PMTUDISC_DONT: u32 = 0; |
| pub const IPV6_PMTUDISC_WANT: u32 = 1; |
| pub const IPV6_PMTUDISC_DO: u32 = 2; |
| pub const IPV6_PMTUDISC_PROBE: u32 = 3; |
| pub const IPV6_PMTUDISC_INTERFACE: u32 = 4; |
| pub const IPV6_PMTUDISC_OMIT: u32 = 5; |
| pub const IPV6_FLOWLABEL_MGR: u32 = 32; |
| pub const IPV6_FLOWINFO_SEND: u32 = 33; |
| pub const IPV6_IPSEC_POLICY: u32 = 34; |
| pub const IPV6_XFRM_POLICY: u32 = 35; |
| pub const IPV6_HDRINCL: u32 = 36; |
| pub const IPV6_RECVPKTINFO: u32 = 49; |
| pub const IPV6_PKTINFO: u32 = 50; |
| pub const IPV6_RECVHOPLIMIT: u32 = 51; |
| pub const IPV6_HOPLIMIT: u32 = 52; |
| pub const IPV6_RECVHOPOPTS: u32 = 53; |
| pub const IPV6_HOPOPTS: u32 = 54; |
| pub const IPV6_RTHDRDSTOPTS: u32 = 55; |
| pub const IPV6_RECVRTHDR: u32 = 56; |
| pub const IPV6_RTHDR: u32 = 57; |
| pub const IPV6_RECVDSTOPTS: u32 = 58; |
| pub const IPV6_DSTOPTS: u32 = 59; |
| pub const IPV6_RECVPATHMTU: u32 = 60; |
| pub const IPV6_PATHMTU: u32 = 61; |
| pub const IPV6_DONTFRAG: u32 = 62; |
| pub const IPV6_RECVTCLASS: u32 = 66; |
| pub const IPV6_TCLASS: u32 = 67; |
| pub const IPV6_AUTOFLOWLABEL: u32 = 70; |
| pub const IPV6_ADDR_PREFERENCES: u32 = 72; |
| pub const IPV6_PREFER_SRC_TMP: u32 = 1; |
| pub const IPV6_PREFER_SRC_PUBLIC: u32 = 2; |
| pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: u32 = 256; |
| pub const IPV6_PREFER_SRC_COA: u32 = 4; |
| pub const IPV6_PREFER_SRC_HOME: u32 = 1024; |
| pub const IPV6_PREFER_SRC_CGA: u32 = 8; |
| pub const IPV6_PREFER_SRC_NONCGA: u32 = 2048; |
| pub const IPV6_MINHOPCOUNT: u32 = 73; |
| pub const IPV6_ORIGDSTADDR: u32 = 74; |
| pub const IPV6_RECVORIGDSTADDR: u32 = 74; |
| pub const IPV6_TRANSPARENT: u32 = 75; |
| pub const IPV6_UNICAST_IF: u32 = 76; |
| pub const IPV6_RECVFRAGSIZE: u32 = 77; |
| pub const IPV6_FREEBIND: u32 = 78; |
| pub const IPV6_MIN_MTU: u32 = 1280; |
| pub const IPV6_SRCRT_STRICT: u32 = 1; |
| pub const IPV6_SRCRT_TYPE_0: u32 = 0; |
| pub const IPV6_SRCRT_TYPE_2: u32 = 2; |
| pub const IPV6_SRCRT_TYPE_3: u32 = 3; |
| pub const IPV6_SRCRT_TYPE_4: u32 = 4; |
| pub const IPV6_OPT_ROUTERALERT_MLD: u32 = 0; |
| pub const LO_NAME_SIZE: u32 = 64; |
| pub const LO_KEY_SIZE: u32 = 32; |
| pub const LO_CRYPT_NONE: u32 = 0; |
| pub const LO_CRYPT_XOR: u32 = 1; |
| pub const LO_CRYPT_DES: u32 = 2; |
| pub const LO_CRYPT_FISH2: u32 = 3; |
| pub const LO_CRYPT_BLOW: u32 = 4; |
| pub const LO_CRYPT_CAST128: u32 = 5; |
| pub const LO_CRYPT_IDEA: u32 = 6; |
| pub const LO_CRYPT_DUMMY: u32 = 9; |
| pub const LO_CRYPT_SKIPJACK: u32 = 10; |
| pub const LO_CRYPT_CRYPTOAPI: u32 = 18; |
| pub const MAX_LO_CRYPT: u32 = 20; |
| pub const LOOP_SET_FD: u32 = 19456; |
| pub const LOOP_CLR_FD: u32 = 19457; |
| pub const LOOP_SET_STATUS: u32 = 19458; |
| pub const LOOP_GET_STATUS: u32 = 19459; |
| pub const LOOP_SET_STATUS64: u32 = 19460; |
| pub const LOOP_GET_STATUS64: u32 = 19461; |
| pub const LOOP_CHANGE_FD: u32 = 19462; |
| pub const LOOP_SET_CAPACITY: u32 = 19463; |
| pub const LOOP_SET_DIRECT_IO: u32 = 19464; |
| pub const LOOP_SET_BLOCK_SIZE: u32 = 19465; |
| pub const LOOP_CONFIGURE: u32 = 19466; |
| pub const LOOP_CTL_ADD: u32 = 19584; |
| pub const LOOP_CTL_REMOVE: u32 = 19585; |
| pub const LOOP_CTL_GET_FREE: u32 = 19586; |
| pub const ADFS_SUPER_MAGIC: u32 = 44533; |
| pub const AFFS_SUPER_MAGIC: u32 = 44543; |
| pub const AFS_SUPER_MAGIC: u32 = 1397113167; |
| pub const AUTOFS_SUPER_MAGIC: u32 = 391; |
| pub const CEPH_SUPER_MAGIC: u32 = 12805120; |
| pub const CODA_SUPER_MAGIC: u32 = 1937076805; |
| pub const CRAMFS_MAGIC: u32 = 684539205; |
| pub const CRAMFS_MAGIC_WEND: u32 = 1161678120; |
| pub const DEBUGFS_MAGIC: u32 = 1684170528; |
| pub const SECURITYFS_MAGIC: u32 = 1935894131; |
| pub const SELINUX_MAGIC: u32 = 4185718668; |
| pub const SMACK_MAGIC: u32 = 1128357203; |
| pub const RAMFS_MAGIC: u32 = 2240043254; |
| pub const TMPFS_MAGIC: u32 = 16914836; |
| pub const HUGETLBFS_MAGIC: u32 = 2508478710; |
| pub const SQUASHFS_MAGIC: u32 = 1936814952; |
| pub const ECRYPTFS_SUPER_MAGIC: u32 = 61791; |
| pub const EFS_SUPER_MAGIC: u32 = 4278867; |
| pub const EROFS_SUPER_MAGIC_V1: u32 = 3774210530; |
| pub const EXT2_SUPER_MAGIC: u32 = 61267; |
| pub const EXT3_SUPER_MAGIC: u32 = 61267; |
| pub const XENFS_SUPER_MAGIC: u32 = 2881100148; |
| pub const EXT4_SUPER_MAGIC: u32 = 61267; |
| pub const BTRFS_SUPER_MAGIC: u32 = 2435016766; |
| pub const NILFS_SUPER_MAGIC: u32 = 13364; |
| pub const F2FS_SUPER_MAGIC: u32 = 4076150800; |
| pub const HPFS_SUPER_MAGIC: u32 = 4187351113; |
| pub const ISOFS_SUPER_MAGIC: u32 = 38496; |
| pub const JFFS2_SUPER_MAGIC: u32 = 29366; |
| pub const XFS_SUPER_MAGIC: u32 = 1481003842; |
| pub const PSTOREFS_MAGIC: u32 = 1634035564; |
| pub const EFIVARFS_MAGIC: u32 = 3730735588; |
| pub const HOSTFS_SUPER_MAGIC: u32 = 12648430; |
| pub const OVERLAYFS_SUPER_MAGIC: u32 = 2035054128; |
| pub const FUSE_SUPER_MAGIC: u32 = 1702057286; |
| pub const MINIX_SUPER_MAGIC: u32 = 4991; |
| pub const MINIX_SUPER_MAGIC2: u32 = 5007; |
| pub const MINIX2_SUPER_MAGIC: u32 = 9320; |
| pub const MINIX2_SUPER_MAGIC2: u32 = 9336; |
| pub const MINIX3_SUPER_MAGIC: u32 = 19802; |
| pub const MSDOS_SUPER_MAGIC: u32 = 19780; |
| pub const EXFAT_SUPER_MAGIC: u32 = 538032816; |
| pub const NCP_SUPER_MAGIC: u32 = 22092; |
| pub const NFS_SUPER_MAGIC: u32 = 26985; |
| pub const OCFS2_SUPER_MAGIC: u32 = 1952539503; |
| pub const OPENPROM_SUPER_MAGIC: u32 = 40865; |
| pub const QNX4_SUPER_MAGIC: u32 = 47; |
| pub const QNX6_SUPER_MAGIC: u32 = 1746473250; |
| pub const AFS_FS_MAGIC: u32 = 1799439955; |
| pub const REISERFS_SUPER_MAGIC: u32 = 1382369651; |
| pub const REISERFS_SUPER_MAGIC_STRING: &'static std::ffi::CStr = c"ReIsErFs"; |
| pub const REISER2FS_SUPER_MAGIC_STRING: &'static std::ffi::CStr = c"ReIsEr2Fs"; |
| pub const REISER2FS_JR_SUPER_MAGIC_STRING: &'static std::ffi::CStr = c"ReIsEr3Fs"; |
| pub const SMB_SUPER_MAGIC: u32 = 20859; |
| pub const CIFS_SUPER_MAGIC: u32 = 4283649346; |
| pub const SMB2_SUPER_MAGIC: u32 = 4266872130; |
| pub const CGROUP_SUPER_MAGIC: u32 = 2613483; |
| pub const CGROUP2_SUPER_MAGIC: u32 = 1667723888; |
| pub const RDTGROUP_SUPER_MAGIC: u32 = 124082209; |
| pub const STACK_END_MAGIC: u32 = 1470918301; |
| pub const TRACEFS_MAGIC: u32 = 1953653091; |
| pub const V9FS_MAGIC: u32 = 16914839; |
| pub const BDEVFS_MAGIC: u32 = 1650746742; |
| pub const DAXFS_MAGIC: u32 = 1684300152; |
| pub const BINFMTFS_MAGIC: u32 = 1112100429; |
| pub const DEVPTS_SUPER_MAGIC: u32 = 7377; |
| pub const BINDERFS_SUPER_MAGIC: u32 = 1819242352; |
| pub const FUTEXFS_SUPER_MAGIC: u32 = 195894762; |
| pub const PIPEFS_MAGIC: u32 = 1346981957; |
| pub const PROC_SUPER_MAGIC: u32 = 40864; |
| pub const SOCKFS_MAGIC: u32 = 1397703499; |
| pub const SYSFS_MAGIC: u32 = 1650812274; |
| pub const USBDEVICE_SUPER_MAGIC: u32 = 40866; |
| pub const MTD_INODE_FS_MAGIC: u32 = 288389204; |
| pub const ANON_INODE_FS_MAGIC: u32 = 151263540; |
| pub const BTRFS_TEST_MAGIC: u32 = 1936880249; |
| pub const NSFS_MAGIC: u32 = 1853056627; |
| pub const BPF_FS_MAGIC: u32 = 3405662737; |
| pub const AAFS_MAGIC: u32 = 1513908720; |
| pub const ZONEFS_MAGIC: u32 = 1515144787; |
| pub const UDF_SUPER_MAGIC: u32 = 352400198; |
| pub const DMA_BUF_MAGIC: u32 = 1145913666; |
| pub const DEVMEM_MAGIC: u32 = 1162691661; |
| pub const SECRETMEM_MAGIC: u32 = 1397048141; |
| pub const HUGETLB_FLAG_ENCODE_SHIFT: u32 = 26; |
| pub const HUGETLB_FLAG_ENCODE_MASK: u32 = 63; |
| pub const HUGETLB_FLAG_ENCODE_16KB: u32 = 939524096; |
| pub const HUGETLB_FLAG_ENCODE_64KB: u32 = 1073741824; |
| pub const HUGETLB_FLAG_ENCODE_512KB: u32 = 1275068416; |
| pub const HUGETLB_FLAG_ENCODE_1MB: u32 = 1342177280; |
| pub const HUGETLB_FLAG_ENCODE_2MB: u32 = 1409286144; |
| pub const HUGETLB_FLAG_ENCODE_8MB: u32 = 1543503872; |
| pub const HUGETLB_FLAG_ENCODE_16MB: u32 = 1610612736; |
| pub const HUGETLB_FLAG_ENCODE_32MB: u32 = 1677721600; |
| pub const HUGETLB_FLAG_ENCODE_256MB: u32 = 1879048192; |
| pub const HUGETLB_FLAG_ENCODE_512MB: u32 = 1946157056; |
| pub const HUGETLB_FLAG_ENCODE_1GB: u32 = 2013265920; |
| pub const HUGETLB_FLAG_ENCODE_2GB: u32 = 2080374784; |
| pub const HUGETLB_FLAG_ENCODE_16GB: u32 = 2281701376; |
| pub const MFD_CLOEXEC: u32 = 1; |
| pub const MFD_ALLOW_SEALING: u32 = 2; |
| pub const MFD_HUGETLB: u32 = 4; |
| pub const MFD_NOEXEC_SEAL: u32 = 8; |
| pub const MFD_EXEC: u32 = 16; |
| pub const MFD_HUGE_SHIFT: u32 = 26; |
| pub const MFD_HUGE_MASK: u32 = 63; |
| pub const MFD_HUGE_64KB: u32 = 1073741824; |
| pub const MFD_HUGE_512KB: u32 = 1275068416; |
| pub const MFD_HUGE_1MB: u32 = 1342177280; |
| pub const MFD_HUGE_2MB: u32 = 1409286144; |
| pub const MFD_HUGE_8MB: u32 = 1543503872; |
| pub const MFD_HUGE_16MB: u32 = 1610612736; |
| pub const MFD_HUGE_32MB: u32 = 1677721600; |
| pub const MFD_HUGE_256MB: u32 = 1879048192; |
| pub const MFD_HUGE_512MB: u32 = 1946157056; |
| pub const MFD_HUGE_1GB: u32 = 2013265920; |
| pub const MFD_HUGE_2GB: u32 = 2080374784; |
| pub const MFD_HUGE_16GB: u32 = 2281701376; |
| pub const MAP_32BIT: u32 = 64; |
| pub const PROT_READ: u32 = 1; |
| pub const PROT_WRITE: u32 = 2; |
| pub const PROT_EXEC: u32 = 4; |
| pub const PROT_SEM: u32 = 8; |
| pub const PROT_NONE: u32 = 0; |
| pub const PROT_GROWSDOWN: u32 = 16777216; |
| pub const PROT_GROWSUP: u32 = 33554432; |
| pub const MAP_TYPE: u32 = 15; |
| pub const MAP_FIXED: u32 = 16; |
| pub const MAP_ANONYMOUS: u32 = 32; |
| pub const MAP_POPULATE: u32 = 32768; |
| pub const MAP_NONBLOCK: u32 = 65536; |
| pub const MAP_STACK: u32 = 131072; |
| pub const MAP_HUGETLB: u32 = 262144; |
| pub const MAP_SYNC: u32 = 524288; |
| pub const MAP_FIXED_NOREPLACE: u32 = 1048576; |
| pub const MAP_UNINITIALIZED: u32 = 67108864; |
| pub const MLOCK_ONFAULT: u32 = 1; |
| pub const MS_ASYNC: u32 = 1; |
| pub const MS_INVALIDATE: u32 = 2; |
| pub const MS_SYNC: u32 = 4; |
| pub const MADV_NORMAL: u32 = 0; |
| pub const MADV_RANDOM: u32 = 1; |
| pub const MADV_SEQUENTIAL: u32 = 2; |
| pub const MADV_WILLNEED: u32 = 3; |
| pub const MADV_DONTNEED: u32 = 4; |
| pub const MADV_FREE: u32 = 8; |
| pub const MADV_REMOVE: u32 = 9; |
| pub const MADV_DONTFORK: u32 = 10; |
| pub const MADV_DOFORK: u32 = 11; |
| pub const MADV_HWPOISON: u32 = 100; |
| pub const MADV_SOFT_OFFLINE: u32 = 101; |
| pub const MADV_MERGEABLE: u32 = 12; |
| pub const MADV_UNMERGEABLE: u32 = 13; |
| pub const MADV_HUGEPAGE: u32 = 14; |
| pub const MADV_NOHUGEPAGE: u32 = 15; |
| pub const MADV_DONTDUMP: u32 = 16; |
| pub const MADV_DODUMP: u32 = 17; |
| pub const MADV_WIPEONFORK: u32 = 18; |
| pub const MADV_KEEPONFORK: u32 = 19; |
| pub const MADV_COLD: u32 = 20; |
| pub const MADV_PAGEOUT: u32 = 21; |
| pub const MADV_POPULATE_READ: u32 = 22; |
| pub const MADV_POPULATE_WRITE: u32 = 23; |
| pub const MADV_DONTNEED_LOCKED: u32 = 24; |
| pub const MADV_COLLAPSE: u32 = 25; |
| pub const MAP_FILE: u32 = 0; |
| pub const PKEY_DISABLE_ACCESS: u32 = 1; |
| pub const PKEY_DISABLE_WRITE: u32 = 2; |
| pub const PKEY_ACCESS_MASK: u32 = 3; |
| pub const MAP_GROWSDOWN: u32 = 256; |
| pub const MAP_DENYWRITE: u32 = 2048; |
| pub const MAP_EXECUTABLE: u32 = 4096; |
| pub const MAP_LOCKED: u32 = 8192; |
| pub const MAP_NORESERVE: u32 = 16384; |
| pub const MCL_CURRENT: u32 = 1; |
| pub const MCL_FUTURE: u32 = 2; |
| pub const MCL_ONFAULT: u32 = 4; |
| pub const MREMAP_MAYMOVE: u32 = 1; |
| pub const MREMAP_FIXED: u32 = 2; |
| pub const MREMAP_DONTUNMAP: u32 = 4; |
| pub const OVERCOMMIT_GUESS: u32 = 0; |
| pub const OVERCOMMIT_ALWAYS: u32 = 1; |
| pub const OVERCOMMIT_NEVER: u32 = 2; |
| pub const MAP_SHARED: u32 = 1; |
| pub const MAP_PRIVATE: u32 = 2; |
| pub const MAP_SHARED_VALIDATE: u32 = 3; |
| pub const MAP_HUGE_SHIFT: u32 = 26; |
| pub const MAP_HUGE_MASK: u32 = 63; |
| pub const MAP_HUGE_16KB: u32 = 939524096; |
| pub const MAP_HUGE_64KB: u32 = 1073741824; |
| pub const MAP_HUGE_512KB: u32 = 1275068416; |
| pub const MAP_HUGE_1MB: u32 = 1342177280; |
| pub const MAP_HUGE_2MB: u32 = 1409286144; |
| pub const MAP_HUGE_8MB: u32 = 1543503872; |
| pub const MAP_HUGE_16MB: u32 = 1610612736; |
| pub const MAP_HUGE_32MB: u32 = 1677721600; |
| pub const MAP_HUGE_256MB: u32 = 1879048192; |
| pub const MAP_HUGE_512MB: u32 = 1946157056; |
| pub const MAP_HUGE_1GB: u32 = 2013265920; |
| pub const MAP_HUGE_2GB: u32 = 2080374784; |
| pub const MAP_HUGE_16GB: u32 = 2281701376; |
| pub const MQ_PRIO_MAX: u32 = 32768; |
| pub const MQ_BYTES_MAX: u32 = 819200; |
| pub const NOTIFY_NONE: u32 = 0; |
| pub const NOTIFY_WOKENUP: u32 = 1; |
| pub const NOTIFY_REMOVED: u32 = 2; |
| pub const NOTIFY_COOKIE_LEN: u32 = 32; |
| pub const IFNAMSIZ: u32 = 16; |
| pub const IFALIASZ: u32 = 256; |
| pub const ALTIFNAMSIZ: u32 = 128; |
| pub const GENERIC_HDLC_VERSION: u32 = 4; |
| pub const CLOCK_DEFAULT: u32 = 0; |
| pub const CLOCK_EXT: u32 = 1; |
| pub const CLOCK_INT: u32 = 2; |
| pub const CLOCK_TXINT: u32 = 3; |
| pub const CLOCK_TXFROMRX: u32 = 4; |
| pub const ENCODING_DEFAULT: u32 = 0; |
| pub const ENCODING_NRZ: u32 = 1; |
| pub const ENCODING_NRZI: u32 = 2; |
| pub const ENCODING_FM_MARK: u32 = 3; |
| pub const ENCODING_FM_SPACE: u32 = 4; |
| pub const ENCODING_MANCHESTER: u32 = 5; |
| pub const PARITY_DEFAULT: u32 = 0; |
| pub const PARITY_NONE: u32 = 1; |
| pub const PARITY_CRC16_PR0: u32 = 2; |
| pub const PARITY_CRC16_PR1: u32 = 3; |
| pub const PARITY_CRC16_PR0_CCITT: u32 = 4; |
| pub const PARITY_CRC16_PR1_CCITT: u32 = 5; |
| pub const PARITY_CRC32_PR0_CCITT: u32 = 6; |
| pub const PARITY_CRC32_PR1_CCITT: u32 = 7; |
| pub const LMI_DEFAULT: u32 = 0; |
| pub const LMI_NONE: u32 = 1; |
| pub const LMI_ANSI: u32 = 2; |
| pub const LMI_CCITT: u32 = 3; |
| pub const LMI_CISCO: u32 = 4; |
| pub const IF_GET_IFACE: u32 = 1; |
| pub const IF_GET_PROTO: u32 = 2; |
| pub const IF_IFACE_V35: u32 = 4096; |
| pub const IF_IFACE_V24: u32 = 4097; |
| pub const IF_IFACE_X21: u32 = 4098; |
| pub const IF_IFACE_T1: u32 = 4099; |
| pub const IF_IFACE_E1: u32 = 4100; |
| pub const IF_IFACE_SYNC_SERIAL: u32 = 4101; |
| pub const IF_IFACE_X21D: u32 = 4102; |
| pub const IF_PROTO_HDLC: u32 = 8192; |
| pub const IF_PROTO_PPP: u32 = 8193; |
| pub const IF_PROTO_CISCO: u32 = 8194; |
| pub const IF_PROTO_FR: u32 = 8195; |
| pub const IF_PROTO_FR_ADD_PVC: u32 = 8196; |
| pub const IF_PROTO_FR_DEL_PVC: u32 = 8197; |
| pub const IF_PROTO_X25: u32 = 8198; |
| pub const IF_PROTO_HDLC_ETH: u32 = 8199; |
| pub const IF_PROTO_FR_ADD_ETH_PVC: u32 = 8200; |
| pub const IF_PROTO_FR_DEL_ETH_PVC: u32 = 8201; |
| pub const IF_PROTO_FR_PVC: u32 = 8202; |
| pub const IF_PROTO_FR_ETH_PVC: u32 = 8203; |
| pub const IF_PROTO_RAW: u32 = 8204; |
| pub const IFHWADDRLEN: u32 = 6; |
| pub const IP_TOS: u32 = 1; |
| pub const IP_TTL: u32 = 2; |
| pub const IP_HDRINCL: u32 = 3; |
| pub const IP_OPTIONS: u32 = 4; |
| pub const IP_ROUTER_ALERT: u32 = 5; |
| pub const IP_RECVOPTS: u32 = 6; |
| pub const IP_RETOPTS: u32 = 7; |
| pub const IP_PKTINFO: u32 = 8; |
| pub const IP_PKTOPTIONS: u32 = 9; |
| pub const IP_MTU_DISCOVER: u32 = 10; |
| pub const IP_RECVERR: u32 = 11; |
| pub const IP_RECVTTL: u32 = 12; |
| pub const IP_RECVTOS: u32 = 13; |
| pub const IP_MTU: u32 = 14; |
| pub const IP_FREEBIND: u32 = 15; |
| pub const IP_IPSEC_POLICY: u32 = 16; |
| pub const IP_XFRM_POLICY: u32 = 17; |
| pub const IP_PASSSEC: u32 = 18; |
| pub const IP_TRANSPARENT: u32 = 19; |
| pub const IP_RECVRETOPTS: u32 = 7; |
| pub const IP_ORIGDSTADDR: u32 = 20; |
| pub const IP_RECVORIGDSTADDR: u32 = 20; |
| pub const IP_MINTTL: u32 = 21; |
| pub const IP_NODEFRAG: u32 = 22; |
| pub const IP_CHECKSUM: u32 = 23; |
| pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; |
| pub const IP_RECVFRAGSIZE: u32 = 25; |
| pub const IP_RECVERR_RFC4884: u32 = 26; |
| pub const IP_PMTUDISC_DONT: u32 = 0; |
| pub const IP_PMTUDISC_WANT: u32 = 1; |
| pub const IP_PMTUDISC_DO: u32 = 2; |
| pub const IP_PMTUDISC_PROBE: u32 = 3; |
| pub const IP_PMTUDISC_INTERFACE: u32 = 4; |
| pub const IP_PMTUDISC_OMIT: u32 = 5; |
| pub const IP_MULTICAST_IF: u32 = 32; |
| pub const IP_MULTICAST_TTL: u32 = 33; |
| pub const IP_MULTICAST_LOOP: u32 = 34; |
| pub const IP_ADD_MEMBERSHIP: u32 = 35; |
| pub const IP_DROP_MEMBERSHIP: u32 = 36; |
| pub const IP_UNBLOCK_SOURCE: u32 = 37; |
| pub const IP_BLOCK_SOURCE: u32 = 38; |
| pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39; |
| pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40; |
| pub const IP_MSFILTER: u32 = 41; |
| pub const MCAST_JOIN_GROUP: u32 = 42; |
| pub const MCAST_BLOCK_SOURCE: u32 = 43; |
| pub const MCAST_UNBLOCK_SOURCE: u32 = 44; |
| pub const MCAST_LEAVE_GROUP: u32 = 45; |
| pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46; |
| pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47; |
| pub const MCAST_MSFILTER: u32 = 48; |
| pub const IP_MULTICAST_ALL: u32 = 49; |
| pub const IP_UNICAST_IF: u32 = 50; |
| pub const IP_LOCAL_PORT_RANGE: u32 = 51; |
| pub const IP_PROTOCOL: u32 = 52; |
| pub const MCAST_EXCLUDE: u32 = 0; |
| pub const MCAST_INCLUDE: u32 = 1; |
| pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; |
| pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; |
| pub const __SOCK_SIZE__: u32 = 16; |
| pub const IN_CLASSA_NET: u32 = 4278190080; |
| pub const IN_CLASSA_NSHIFT: u32 = 24; |
| pub const IN_CLASSA_HOST: u32 = 16777215; |
| pub const IN_CLASSA_MAX: u32 = 128; |
| pub const IN_CLASSB_NET: u32 = 4294901760; |
| pub const IN_CLASSB_NSHIFT: u32 = 16; |
| pub const IN_CLASSB_HOST: u32 = 65535; |
| pub const IN_CLASSB_MAX: u32 = 65536; |
| pub const IN_CLASSC_NET: u32 = 4294967040; |
| pub const IN_CLASSC_NSHIFT: u32 = 8; |
| pub const IN_CLASSC_HOST: u32 = 255; |
| pub const IN_MULTICAST_NET: u32 = 3758096384; |
| pub const IN_CLASSE_NET: u32 = 4294967295; |
| pub const IN_CLASSE_NSHIFT: u32 = 0; |
| pub const IN_LOOPBACKNET: u32 = 127; |
| pub const INADDR_LOOPBACK: u32 = 2130706433; |
| pub const INADDR_UNSPEC_GROUP: u32 = 3758096384; |
| pub const INADDR_ALLHOSTS_GROUP: u32 = 3758096385; |
| pub const INADDR_ALLRTRS_GROUP: u32 = 3758096386; |
| pub const INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490; |
| pub const INADDR_MAX_LOCAL_GROUP: u32 = 3758096639; |
| pub const NF_DROP: u32 = 0; |
| pub const NF_ACCEPT: u32 = 1; |
| pub const NF_STOLEN: u32 = 2; |
| pub const NF_QUEUE: u32 = 3; |
| pub const NF_REPEAT: u32 = 4; |
| pub const NF_STOP: u32 = 5; |
| pub const NF_MAX_VERDICT: u32 = 5; |
| pub const NF_VERDICT_MASK: u32 = 255; |
| pub const NF_VERDICT_FLAG_QUEUE_BYPASS: u32 = 32768; |
| pub const NF_VERDICT_QMASK: u32 = 4294901760; |
| pub const NF_VERDICT_QBITS: u32 = 16; |
| pub const NF_VERDICT_BITS: u32 = 16; |
| pub const MB_LEN_MAX: u32 = 1; |
| pub const NF_IP_PRE_ROUTING: u32 = 0; |
| pub const NF_IP_LOCAL_IN: u32 = 1; |
| pub const NF_IP_FORWARD: u32 = 2; |
| pub const NF_IP_LOCAL_OUT: u32 = 3; |
| pub const NF_IP_POST_ROUTING: u32 = 4; |
| pub const NF_IP_NUMHOOKS: u32 = 5; |
| pub const SO_ORIGINAL_DST: u32 = 80; |
| pub const XT_FUNCTION_MAXNAMELEN: u32 = 30; |
| pub const XT_EXTENSION_MAXNAMELEN: u32 = 29; |
| pub const XT_TABLE_MAXNAMELEN: u32 = 32; |
| pub const XT_CONTINUE: u32 = 4294967295; |
| pub const XT_RETURN: i32 = -5; |
| pub const XT_STANDARD_TARGET: &'static std::ffi::CStr = c""; |
| pub const XT_ERROR_TARGET: &'static std::ffi::CStr = c"ERROR"; |
| pub const XT_INV_PROTO: u32 = 64; |
| pub const IPT_FUNCTION_MAXNAMELEN: u32 = 30; |
| pub const IPT_TABLE_MAXNAMELEN: u32 = 32; |
| pub const IPT_CONTINUE: u32 = 4294967295; |
| pub const IPT_RETURN: i32 = -5; |
| pub const XT_TCP_INV_SRCPT: u32 = 1; |
| pub const XT_TCP_INV_DSTPT: u32 = 2; |
| pub const XT_TCP_INV_FLAGS: u32 = 4; |
| pub const XT_TCP_INV_OPTION: u32 = 8; |
| pub const XT_TCP_INV_MASK: u32 = 15; |
| pub const XT_UDP_INV_SRCPT: u32 = 1; |
| pub const XT_UDP_INV_DSTPT: u32 = 2; |
| pub const XT_UDP_INV_MASK: u32 = 3; |
| pub const IPT_TCP_INV_SRCPT: u32 = 1; |
| pub const IPT_TCP_INV_DSTPT: u32 = 2; |
| pub const IPT_TCP_INV_FLAGS: u32 = 4; |
| pub const IPT_TCP_INV_OPTION: u32 = 8; |
| pub const IPT_TCP_INV_MASK: u32 = 15; |
| pub const IPT_UDP_INV_SRCPT: u32 = 1; |
| pub const IPT_UDP_INV_DSTPT: u32 = 2; |
| pub const IPT_UDP_INV_MASK: u32 = 3; |
| pub const IPT_STANDARD_TARGET: &'static std::ffi::CStr = c""; |
| pub const IPT_ERROR_TARGET: &'static std::ffi::CStr = c"ERROR"; |
| pub const IPT_F_FRAG: u32 = 1; |
| pub const IPT_F_GOTO: u32 = 2; |
| pub const IPT_F_MASK: u32 = 3; |
| pub const IPT_INV_VIA_IN: u32 = 1; |
| pub const IPT_INV_VIA_OUT: u32 = 2; |
| pub const IPT_INV_TOS: u32 = 4; |
| pub const IPT_INV_SRCIP: u32 = 8; |
| pub const IPT_INV_DSTIP: u32 = 16; |
| pub const IPT_INV_FRAG: u32 = 32; |
| pub const IPT_INV_PROTO: u32 = 64; |
| pub const IPT_INV_MASK: u32 = 127; |
| pub const IPT_BASE_CTL: u32 = 64; |
| pub const IPT_SO_SET_REPLACE: u32 = 64; |
| pub const IPT_SO_SET_ADD_COUNTERS: u32 = 65; |
| pub const IPT_SO_SET_MAX: u32 = 65; |
| pub const IPT_SO_GET_INFO: u32 = 64; |
| pub const IPT_SO_GET_ENTRIES: u32 = 65; |
| pub const IPT_SO_GET_REVISION_MATCH: u32 = 66; |
| pub const IPT_SO_GET_REVISION_TARGET: u32 = 67; |
| pub const IPT_SO_GET_MAX: u32 = 67; |
| pub const IPT_ICMP_INV: u32 = 1; |
| pub const NF_IP6_PRE_ROUTING: u32 = 0; |
| pub const NF_IP6_LOCAL_IN: u32 = 1; |
| pub const NF_IP6_FORWARD: u32 = 2; |
| pub const NF_IP6_LOCAL_OUT: u32 = 3; |
| pub const NF_IP6_POST_ROUTING: u32 = 4; |
| pub const NF_IP6_NUMHOOKS: u32 = 5; |
| pub const IP6T_FUNCTION_MAXNAMELEN: u32 = 30; |
| pub const IP6T_TABLE_MAXNAMELEN: u32 = 32; |
| pub const IP6T_CONTINUE: u32 = 4294967295; |
| pub const IP6T_RETURN: i32 = -5; |
| pub const IP6T_TCP_INV_SRCPT: u32 = 1; |
| pub const IP6T_TCP_INV_DSTPT: u32 = 2; |
| pub const IP6T_TCP_INV_FLAGS: u32 = 4; |
| pub const IP6T_TCP_INV_OPTION: u32 = 8; |
| pub const IP6T_TCP_INV_MASK: u32 = 15; |
| pub const IP6T_UDP_INV_SRCPT: u32 = 1; |
| pub const IP6T_UDP_INV_DSTPT: u32 = 2; |
| pub const IP6T_UDP_INV_MASK: u32 = 3; |
| pub const IP6T_STANDARD_TARGET: &'static std::ffi::CStr = c""; |
| pub const IP6T_ERROR_TARGET: &'static std::ffi::CStr = c"ERROR"; |
| pub const IP6T_F_PROTO: u32 = 1; |
| pub const IP6T_F_TOS: u32 = 2; |
| pub const IP6T_F_GOTO: u32 = 4; |
| pub const IP6T_F_MASK: u32 = 7; |
| pub const IP6T_INV_VIA_IN: u32 = 1; |
| pub const IP6T_INV_VIA_OUT: u32 = 2; |
| pub const IP6T_INV_TOS: u32 = 4; |
| pub const IP6T_INV_SRCIP: u32 = 8; |
| pub const IP6T_INV_DSTIP: u32 = 16; |
| pub const IP6T_INV_FRAG: u32 = 32; |
| pub const IP6T_INV_PROTO: u32 = 64; |
| pub const IP6T_INV_MASK: u32 = 127; |
| pub const IP6T_BASE_CTL: u32 = 64; |
| pub const IP6T_SO_SET_REPLACE: u32 = 64; |
| pub const IP6T_SO_SET_ADD_COUNTERS: u32 = 65; |
| pub const IP6T_SO_SET_MAX: u32 = 65; |
| pub const IP6T_SO_GET_INFO: u32 = 64; |
| pub const IP6T_SO_GET_ENTRIES: u32 = 65; |
| pub const IP6T_SO_GET_REVISION_MATCH: u32 = 68; |
| pub const IP6T_SO_GET_REVISION_TARGET: u32 = 69; |
| pub const IP6T_SO_GET_MAX: u32 = 69; |
| pub const IP6T_SO_ORIGINAL_DST: u32 = 80; |
| pub const IP6T_ICMP_INV: u32 = 1; |
| pub const NETLINK_ROUTE: u32 = 0; |
| pub const NETLINK_UNUSED: u32 = 1; |
| pub const NETLINK_USERSOCK: u32 = 2; |
| pub const NETLINK_FIREWALL: u32 = 3; |
| pub const NETLINK_SOCK_DIAG: u32 = 4; |
| pub const NETLINK_NFLOG: u32 = 5; |
| pub const NETLINK_XFRM: u32 = 6; |
| pub const NETLINK_SELINUX: u32 = 7; |
| pub const NETLINK_ISCSI: u32 = 8; |
| pub const NETLINK_AUDIT: u32 = 9; |
| pub const NETLINK_FIB_LOOKUP: u32 = 10; |
| pub const NETLINK_CONNECTOR: u32 = 11; |
| pub const NETLINK_NETFILTER: u32 = 12; |
| pub const NETLINK_IP6_FW: u32 = 13; |
| pub const NETLINK_DNRTMSG: u32 = 14; |
| pub const NETLINK_KOBJECT_UEVENT: u32 = 15; |
| pub const NETLINK_GENERIC: u32 = 16; |
| pub const NETLINK_SCSITRANSPORT: u32 = 18; |
| pub const NETLINK_ECRYPTFS: u32 = 19; |
| pub const NETLINK_RDMA: u32 = 20; |
| pub const NETLINK_CRYPTO: u32 = 21; |
| pub const NETLINK_SMC: u32 = 22; |
| pub const NETLINK_INET_DIAG: u32 = 4; |
| pub const MAX_LINKS: u32 = 32; |
| pub const NLM_F_REQUEST: u32 = 1; |
| pub const NLM_F_MULTI: u32 = 2; |
| pub const NLM_F_ACK: u32 = 4; |
| pub const NLM_F_ECHO: u32 = 8; |
| pub const NLM_F_DUMP_INTR: u32 = 16; |
| pub const NLM_F_DUMP_FILTERED: u32 = 32; |
| pub const NLM_F_ROOT: u32 = 256; |
| pub const NLM_F_MATCH: u32 = 512; |
| pub const NLM_F_ATOMIC: u32 = 1024; |
| pub const NLM_F_DUMP: u32 = 768; |
| pub const NLM_F_REPLACE: u32 = 256; |
| pub const NLM_F_EXCL: u32 = 512; |
| pub const NLM_F_CREATE: u32 = 1024; |
| pub const NLM_F_APPEND: u32 = 2048; |
| pub const NLM_F_NONREC: u32 = 256; |
| pub const NLM_F_BULK: u32 = 512; |
| pub const NLM_F_CAPPED: u32 = 256; |
| pub const NLM_F_ACK_TLVS: u32 = 512; |
| pub const NLMSG_ALIGNTO: u32 = 4; |
| pub const NLMSG_NOOP: u32 = 1; |
| pub const NLMSG_ERROR: u32 = 2; |
| pub const NLMSG_DONE: u32 = 3; |
| pub const NLMSG_OVERRUN: u32 = 4; |
| pub const NLMSG_MIN_TYPE: u32 = 16; |
| pub const NETLINK_ADD_MEMBERSHIP: u32 = 1; |
| pub const NETLINK_DROP_MEMBERSHIP: u32 = 2; |
| pub const NETLINK_PKTINFO: u32 = 3; |
| pub const NETLINK_BROADCAST_ERROR: u32 = 4; |
| pub const NETLINK_NO_ENOBUFS: u32 = 5; |
| pub const NETLINK_RX_RING: u32 = 6; |
| pub const NETLINK_TX_RING: u32 = 7; |
| pub const NETLINK_LISTEN_ALL_NSID: u32 = 8; |
| pub const NETLINK_LIST_MEMBERSHIPS: u32 = 9; |
| pub const NETLINK_CAP_ACK: u32 = 10; |
| pub const NETLINK_EXT_ACK: u32 = 11; |
| pub const NETLINK_GET_STRICT_CHK: u32 = 12; |
| pub const NL_MMAP_MSG_ALIGNMENT: u32 = 4; |
| pub const NET_MAJOR: u32 = 36; |
| pub const NLA_F_NESTED: u32 = 32768; |
| pub const NLA_F_NET_BYTEORDER: u32 = 16384; |
| pub const NLA_TYPE_MASK: i32 = -49153; |
| pub const NLA_ALIGNTO: u32 = 4; |
| pub const OOM_SCORE_ADJ_MIN: i32 = -1000; |
| pub const OOM_SCORE_ADJ_MAX: u32 = 1000; |
| pub const OOM_DISABLE: i32 = -17; |
| pub const OOM_ADJUST_MIN: i32 = -16; |
| pub const OOM_ADJUST_MAX: u32 = 15; |
| pub const PERF_PMU_TYPE_SHIFT: u32 = 32; |
| pub const PERF_HW_EVENT_MASK: u32 = 4294967295; |
| pub const PERF_ATTR_SIZE_VER0: u32 = 64; |
| pub const PERF_ATTR_SIZE_VER1: u32 = 72; |
| pub const PERF_ATTR_SIZE_VER2: u32 = 80; |
| pub const PERF_ATTR_SIZE_VER3: u32 = 96; |
| pub const PERF_ATTR_SIZE_VER4: u32 = 104; |
| pub const PERF_ATTR_SIZE_VER5: u32 = 112; |
| pub const PERF_ATTR_SIZE_VER6: u32 = 120; |
| pub const PERF_ATTR_SIZE_VER7: u32 = 128; |
| pub const PERF_ATTR_SIZE_VER8: u32 = 136; |
| pub const PERF_RECORD_MISC_CPUMODE_MASK: u32 = 7; |
| pub const PERF_RECORD_MISC_CPUMODE_UNKNOWN: u32 = 0; |
| pub const PERF_RECORD_MISC_KERNEL: u32 = 1; |
| pub const PERF_RECORD_MISC_USER: u32 = 2; |
| pub const PERF_RECORD_MISC_HYPERVISOR: u32 = 3; |
| pub const PERF_RECORD_MISC_GUEST_KERNEL: u32 = 4; |
| pub const PERF_RECORD_MISC_GUEST_USER: u32 = 5; |
| pub const PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT: u32 = 4096; |
| pub const PERF_RECORD_MISC_MMAP_DATA: u32 = 8192; |
| pub const PERF_RECORD_MISC_COMM_EXEC: u32 = 8192; |
| pub const PERF_RECORD_MISC_FORK_EXEC: u32 = 8192; |
| pub const PERF_RECORD_MISC_SWITCH_OUT: u32 = 8192; |
| pub const PERF_RECORD_MISC_EXACT_IP: u32 = 16384; |
| pub const PERF_RECORD_MISC_SWITCH_OUT_PREEMPT: u32 = 16384; |
| pub const PERF_RECORD_MISC_MMAP_BUILD_ID: u32 = 16384; |
| pub const PERF_RECORD_MISC_EXT_RESERVED: u32 = 32768; |
| pub const PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER: u32 = 1; |
| pub const PERF_MAX_STACK_DEPTH: u32 = 127; |
| pub const PERF_MAX_CONTEXTS_PER_STACK: u32 = 8; |
| pub const PERF_AUX_FLAG_TRUNCATED: u32 = 1; |
| pub const PERF_AUX_FLAG_OVERWRITE: u32 = 2; |
| pub const PERF_AUX_FLAG_PARTIAL: u32 = 4; |
| pub const PERF_AUX_FLAG_COLLISION: u32 = 8; |
| pub const PERF_AUX_FLAG_PMU_FORMAT_TYPE_MASK: u32 = 65280; |
| pub const PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT: u32 = 0; |
| pub const PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW: u32 = 256; |
| pub const PERF_FLAG_FD_NO_GROUP: u32 = 1; |
| pub const PERF_FLAG_FD_OUTPUT: u32 = 2; |
| pub const PERF_FLAG_PID_CGROUP: u32 = 4; |
| pub const PERF_FLAG_FD_CLOEXEC: u32 = 8; |
| pub const PERF_MEM_OP_NA: u32 = 1; |
| pub const PERF_MEM_OP_LOAD: u32 = 2; |
| pub const PERF_MEM_OP_STORE: u32 = 4; |
| pub const PERF_MEM_OP_PFETCH: u32 = 8; |
| pub const PERF_MEM_OP_EXEC: u32 = 16; |
| pub const PERF_MEM_OP_SHIFT: u32 = 0; |
| pub const PERF_MEM_LVL_NA: u32 = 1; |
| pub const PERF_MEM_LVL_HIT: u32 = 2; |
| pub const PERF_MEM_LVL_MISS: u32 = 4; |
| pub const PERF_MEM_LVL_L1: u32 = 8; |
| pub const PERF_MEM_LVL_LFB: u32 = 16; |
| pub const PERF_MEM_LVL_L2: u32 = 32; |
| pub const PERF_MEM_LVL_L3: u32 = 64; |
| pub const PERF_MEM_LVL_LOC_RAM: u32 = 128; |
| pub const PERF_MEM_LVL_REM_RAM1: u32 = 256; |
| pub const PERF_MEM_LVL_REM_RAM2: u32 = 512; |
| pub const PERF_MEM_LVL_REM_CCE1: u32 = 1024; |
| pub const PERF_MEM_LVL_REM_CCE2: u32 = 2048; |
| pub const PERF_MEM_LVL_IO: u32 = 4096; |
| pub const PERF_MEM_LVL_UNC: u32 = 8192; |
| pub const PERF_MEM_LVL_SHIFT: u32 = 5; |
| pub const PERF_MEM_REMOTE_REMOTE: u32 = 1; |
| pub const PERF_MEM_REMOTE_SHIFT: u32 = 37; |
| pub const PERF_MEM_LVLNUM_L1: u32 = 1; |
| pub const PERF_MEM_LVLNUM_L2: u32 = 2; |
| pub const PERF_MEM_LVLNUM_L3: u32 = 3; |
| pub const PERF_MEM_LVLNUM_L4: u32 = 4; |
| pub const PERF_MEM_LVLNUM_CXL: u32 = 9; |
| pub const PERF_MEM_LVLNUM_IO: u32 = 10; |
| pub const PERF_MEM_LVLNUM_ANY_CACHE: u32 = 11; |
| pub const PERF_MEM_LVLNUM_LFB: u32 = 12; |
| pub const PERF_MEM_LVLNUM_RAM: u32 = 13; |
| pub const PERF_MEM_LVLNUM_PMEM: u32 = 14; |
| pub const PERF_MEM_LVLNUM_NA: u32 = 15; |
| pub const PERF_MEM_LVLNUM_SHIFT: u32 = 33; |
| pub const PERF_MEM_SNOOP_NA: u32 = 1; |
| pub const PERF_MEM_SNOOP_NONE: u32 = 2; |
| pub const PERF_MEM_SNOOP_HIT: u32 = 4; |
| pub const PERF_MEM_SNOOP_MISS: u32 = 8; |
| pub const PERF_MEM_SNOOP_HITM: u32 = 16; |
| pub const PERF_MEM_SNOOP_SHIFT: u32 = 19; |
| pub const PERF_MEM_SNOOPX_FWD: u32 = 1; |
| pub const PERF_MEM_SNOOPX_PEER: u32 = 2; |
| pub const PERF_MEM_SNOOPX_SHIFT: u32 = 38; |
| pub const PERF_MEM_LOCK_NA: u32 = 1; |
| pub const PERF_MEM_LOCK_LOCKED: u32 = 2; |
| pub const PERF_MEM_LOCK_SHIFT: u32 = 24; |
| pub const PERF_MEM_TLB_NA: u32 = 1; |
| pub const PERF_MEM_TLB_HIT: u32 = 2; |
| pub const PERF_MEM_TLB_MISS: u32 = 4; |
| pub const PERF_MEM_TLB_L1: u32 = 8; |
| pub const PERF_MEM_TLB_L2: u32 = 16; |
| pub const PERF_MEM_TLB_WK: u32 = 32; |
| pub const PERF_MEM_TLB_OS: u32 = 64; |
| pub const PERF_MEM_TLB_SHIFT: u32 = 26; |
| pub const PERF_MEM_BLK_NA: u32 = 1; |
| pub const PERF_MEM_BLK_DATA: u32 = 2; |
| pub const PERF_MEM_BLK_ADDR: u32 = 4; |
| pub const PERF_MEM_BLK_SHIFT: u32 = 40; |
| pub const PERF_MEM_HOPS_0: u32 = 1; |
| pub const PERF_MEM_HOPS_1: u32 = 2; |
| pub const PERF_MEM_HOPS_2: u32 = 3; |
| pub const PERF_MEM_HOPS_3: u32 = 4; |
| pub const PERF_MEM_HOPS_SHIFT: u32 = 43; |
| pub const PF_KEY_V2: u32 = 2; |
| pub const PFKEYV2_REVISION: u32 = 199806; |
| pub const SADB_RESERVED: u32 = 0; |
| pub const SADB_GETSPI: u32 = 1; |
| pub const SADB_UPDATE: u32 = 2; |
| pub const SADB_ADD: u32 = 3; |
| pub const SADB_DELETE: u32 = 4; |
| pub const SADB_GET: u32 = 5; |
| pub const SADB_ACQUIRE: u32 = 6; |
| pub const SADB_REGISTER: u32 = 7; |
| pub const SADB_EXPIRE: u32 = 8; |
| pub const SADB_FLUSH: u32 = 9; |
| pub const SADB_DUMP: u32 = 10; |
| pub const SADB_X_PROMISC: u32 = 11; |
| pub const SADB_X_PCHANGE: u32 = 12; |
| pub const SADB_X_SPDUPDATE: u32 = 13; |
| pub const SADB_X_SPDADD: u32 = 14; |
| pub const SADB_X_SPDDELETE: u32 = 15; |
| pub const SADB_X_SPDGET: u32 = 16; |
| pub const SADB_X_SPDACQUIRE: u32 = 17; |
| pub const SADB_X_SPDDUMP: u32 = 18; |
| pub const SADB_X_SPDFLUSH: u32 = 19; |
| pub const SADB_X_SPDSETIDX: u32 = 20; |
| pub const SADB_X_SPDEXPIRE: u32 = 21; |
| pub const SADB_X_SPDDELETE2: u32 = 22; |
| pub const SADB_X_NAT_T_NEW_MAPPING: u32 = 23; |
| pub const SADB_X_MIGRATE: u32 = 24; |
| pub const SADB_MAX: u32 = 24; |
| pub const SADB_SAFLAGS_PFS: u32 = 1; |
| pub const SADB_SAFLAGS_NOPMTUDISC: u32 = 536870912; |
| pub const SADB_SAFLAGS_DECAP_DSCP: u32 = 1073741824; |
| pub const SADB_SAFLAGS_NOECN: u32 = 2147483648; |
| pub const SADB_SASTATE_LARVAL: u32 = 0; |
| pub const SADB_SASTATE_MATURE: u32 = 1; |
| pub const SADB_SASTATE_DYING: u32 = 2; |
| pub const SADB_SASTATE_DEAD: u32 = 3; |
| pub const SADB_SASTATE_MAX: u32 = 3; |
| pub const SADB_SATYPE_UNSPEC: u32 = 0; |
| pub const SADB_SATYPE_AH: u32 = 2; |
| pub const SADB_SATYPE_ESP: u32 = 3; |
| pub const SADB_SATYPE_RSVP: u32 = 5; |
| pub const SADB_SATYPE_OSPFV2: u32 = 6; |
| pub const SADB_SATYPE_RIPV2: u32 = 7; |
| pub const SADB_SATYPE_MIP: u32 = 8; |
| pub const SADB_X_SATYPE_IPCOMP: u32 = 9; |
| pub const SADB_SATYPE_MAX: u32 = 9; |
| pub const SADB_AALG_NONE: u32 = 0; |
| pub const SADB_AALG_MD5HMAC: u32 = 2; |
| pub const SADB_AALG_SHA1HMAC: u32 = 3; |
| pub const SADB_X_AALG_SHA2_256HMAC: u32 = 5; |
| pub const SADB_X_AALG_SHA2_384HMAC: u32 = 6; |
| pub const SADB_X_AALG_SHA2_512HMAC: u32 = 7; |
| pub const SADB_X_AALG_RIPEMD160HMAC: u32 = 8; |
| pub const SADB_X_AALG_AES_XCBC_MAC: u32 = 9; |
| pub const SADB_X_AALG_SM3_256HMAC: u32 = 10; |
| pub const SADB_X_AALG_NULL: u32 = 251; |
| pub const SADB_AALG_MAX: u32 = 251; |
| pub const SADB_EALG_NONE: u32 = 0; |
| pub const SADB_EALG_DESCBC: u32 = 2; |
| pub const SADB_EALG_3DESCBC: u32 = 3; |
| pub const SADB_X_EALG_CASTCBC: u32 = 6; |
| pub const SADB_X_EALG_BLOWFISHCBC: u32 = 7; |
| pub const SADB_EALG_NULL: u32 = 11; |
| pub const SADB_X_EALG_AESCBC: u32 = 12; |
| pub const SADB_X_EALG_AESCTR: u32 = 13; |
| pub const SADB_X_EALG_AES_CCM_ICV8: u32 = 14; |
| pub const SADB_X_EALG_AES_CCM_ICV12: u32 = 15; |
| pub const SADB_X_EALG_AES_CCM_ICV16: u32 = 16; |
| pub const SADB_X_EALG_AES_GCM_ICV8: u32 = 18; |
| pub const SADB_X_EALG_AES_GCM_ICV12: u32 = 19; |
| pub const SADB_X_EALG_AES_GCM_ICV16: u32 = 20; |
| pub const SADB_X_EALG_CAMELLIACBC: u32 = 22; |
| pub const SADB_X_EALG_NULL_AES_GMAC: u32 = 23; |
| pub const SADB_X_EALG_SM4CBC: u32 = 24; |
| pub const SADB_EALG_MAX: u32 = 253; |
| pub const SADB_X_EALG_SERPENTCBC: u32 = 252; |
| pub const SADB_X_EALG_TWOFISHCBC: u32 = 253; |
| pub const SADB_X_CALG_NONE: u32 = 0; |
| pub const SADB_X_CALG_OUI: u32 = 1; |
| pub const SADB_X_CALG_DEFLATE: u32 = 2; |
| pub const SADB_X_CALG_LZS: u32 = 3; |
| pub const SADB_X_CALG_LZJH: u32 = 4; |
| pub const SADB_X_CALG_MAX: u32 = 4; |
| pub const SADB_EXT_RESERVED: u32 = 0; |
| pub const SADB_EXT_SA: u32 = 1; |
| pub const SADB_EXT_LIFETIME_CURRENT: u32 = 2; |
| pub const SADB_EXT_LIFETIME_HARD: u32 = 3; |
| pub const SADB_EXT_LIFETIME_SOFT: u32 = 4; |
| pub const SADB_EXT_ADDRESS_SRC: u32 = 5; |
| pub const SADB_EXT_ADDRESS_DST: u32 = 6; |
| pub const SADB_EXT_ADDRESS_PROXY: u32 = 7; |
| pub const SADB_EXT_KEY_AUTH: u32 = 8; |
| pub const SADB_EXT_KEY_ENCRYPT: u32 = 9; |
| pub const SADB_EXT_IDENTITY_SRC: u32 = 10; |
| pub const SADB_EXT_IDENTITY_DST: u32 = 11; |
| pub const SADB_EXT_SENSITIVITY: u32 = 12; |
| pub const SADB_EXT_PROPOSAL: u32 = 13; |
| pub const SADB_EXT_SUPPORTED_AUTH: u32 = 14; |
| pub const SADB_EXT_SUPPORTED_ENCRYPT: u32 = 15; |
| pub const SADB_EXT_SPIRANGE: u32 = 16; |
| pub const SADB_X_EXT_KMPRIVATE: u32 = 17; |
| pub const SADB_X_EXT_POLICY: u32 = 18; |
| pub const SADB_X_EXT_SA2: u32 = 19; |
| pub const SADB_X_EXT_NAT_T_TYPE: u32 = 20; |
| pub const SADB_X_EXT_NAT_T_SPORT: u32 = 21; |
| pub const SADB_X_EXT_NAT_T_DPORT: u32 = 22; |
| pub const SADB_X_EXT_NAT_T_OA: u32 = 23; |
| pub const SADB_X_EXT_SEC_CTX: u32 = 24; |
| pub const SADB_X_EXT_KMADDRESS: u32 = 25; |
| pub const SADB_X_EXT_FILTER: u32 = 26; |
| pub const SADB_EXT_MAX: u32 = 26; |
| pub const SADB_IDENTTYPE_RESERVED: u32 = 0; |
| pub const SADB_IDENTTYPE_PREFIX: u32 = 1; |
| pub const SADB_IDENTTYPE_FQDN: u32 = 2; |
| pub const SADB_IDENTTYPE_USERFQDN: u32 = 3; |
| pub const SADB_IDENTTYPE_MAX: u32 = 3; |
| pub const PIDFD_NONBLOCK: u32 = 2048; |
| pub const PR_SET_PDEATHSIG: u32 = 1; |
| pub const PR_GET_PDEATHSIG: u32 = 2; |
| pub const PR_GET_DUMPABLE: u32 = 3; |
| pub const PR_SET_DUMPABLE: u32 = 4; |
| pub const PR_GET_UNALIGN: u32 = 5; |
| pub const PR_SET_UNALIGN: u32 = 6; |
| pub const PR_UNALIGN_NOPRINT: u32 = 1; |
| pub const PR_UNALIGN_SIGBUS: u32 = 2; |
| pub const PR_GET_KEEPCAPS: u32 = 7; |
| pub const PR_SET_KEEPCAPS: u32 = 8; |
| pub const PR_GET_FPEMU: u32 = 9; |
| pub const PR_SET_FPEMU: u32 = 10; |
| pub const PR_FPEMU_NOPRINT: u32 = 1; |
| pub const PR_FPEMU_SIGFPE: u32 = 2; |
| pub const PR_GET_FPEXC: u32 = 11; |
| pub const PR_SET_FPEXC: u32 = 12; |
| pub const PR_FP_EXC_SW_ENABLE: u32 = 128; |
| pub const PR_FP_EXC_DIV: u32 = 65536; |
| pub const PR_FP_EXC_OVF: u32 = 131072; |
| pub const PR_FP_EXC_UND: u32 = 262144; |
| pub const PR_FP_EXC_RES: u32 = 524288; |
| pub const PR_FP_EXC_INV: u32 = 1048576; |
| pub const PR_FP_EXC_DISABLED: u32 = 0; |
| pub const PR_FP_EXC_NONRECOV: u32 = 1; |
| pub const PR_FP_EXC_ASYNC: u32 = 2; |
| pub const PR_FP_EXC_PRECISE: u32 = 3; |
| pub const PR_GET_TIMING: u32 = 13; |
| pub const PR_SET_TIMING: u32 = 14; |
| pub const PR_TIMING_STATISTICAL: u32 = 0; |
| pub const PR_TIMING_TIMESTAMP: u32 = 1; |
| pub const PR_SET_NAME: u32 = 15; |
| pub const PR_GET_NAME: u32 = 16; |
| pub const PR_GET_ENDIAN: u32 = 19; |
| pub const PR_SET_ENDIAN: u32 = 20; |
| pub const PR_ENDIAN_BIG: u32 = 0; |
| pub const PR_ENDIAN_LITTLE: u32 = 1; |
| pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; |
| pub const PR_GET_SECCOMP: u32 = 21; |
| pub const PR_SET_SECCOMP: u32 = 22; |
| pub const PR_CAPBSET_READ: u32 = 23; |
| pub const PR_CAPBSET_DROP: u32 = 24; |
| pub const PR_GET_TSC: u32 = 25; |
| pub const PR_SET_TSC: u32 = 26; |
| pub const PR_TSC_ENABLE: u32 = 1; |
| pub const PR_TSC_SIGSEGV: u32 = 2; |
| pub const PR_GET_SECUREBITS: u32 = 27; |
| pub const PR_SET_SECUREBITS: u32 = 28; |
| pub const PR_SET_TIMERSLACK: u32 = 29; |
| pub const PR_GET_TIMERSLACK: u32 = 30; |
| pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; |
| pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; |
| pub const PR_MCE_KILL: u32 = 33; |
| pub const PR_MCE_KILL_CLEAR: u32 = 0; |
| pub const PR_MCE_KILL_SET: u32 = 1; |
| pub const PR_MCE_KILL_LATE: u32 = 0; |
| pub const PR_MCE_KILL_EARLY: u32 = 1; |
| pub const PR_MCE_KILL_DEFAULT: u32 = 2; |
| pub const PR_MCE_KILL_GET: u32 = 34; |
| pub const PR_SET_MM: u32 = 35; |
| pub const PR_SET_MM_START_CODE: u32 = 1; |
| pub const PR_SET_MM_END_CODE: u32 = 2; |
| pub const PR_SET_MM_START_DATA: u32 = 3; |
| pub const PR_SET_MM_END_DATA: u32 = 4; |
| pub const PR_SET_MM_START_STACK: u32 = 5; |
| pub const PR_SET_MM_START_BRK: u32 = 6; |
| pub const PR_SET_MM_BRK: u32 = 7; |
| pub const PR_SET_MM_ARG_START: u32 = 8; |
| pub const PR_SET_MM_ARG_END: u32 = 9; |
| pub const PR_SET_MM_ENV_START: u32 = 10; |
| pub const PR_SET_MM_ENV_END: u32 = 11; |
| pub const PR_SET_MM_AUXV: u32 = 12; |
| pub const PR_SET_MM_EXE_FILE: u32 = 13; |
| pub const PR_SET_MM_MAP: u32 = 14; |
| pub const PR_SET_MM_MAP_SIZE: u32 = 15; |
| pub const PR_SET_PTRACER: u32 = 1499557217; |
| pub const PR_SET_CHILD_SUBREAPER: u32 = 36; |
| pub const PR_GET_CHILD_SUBREAPER: u32 = 37; |
| pub const PR_SET_NO_NEW_PRIVS: u32 = 38; |
| pub const PR_GET_NO_NEW_PRIVS: u32 = 39; |
| pub const PR_GET_TID_ADDRESS: u32 = 40; |
| pub const PR_SET_THP_DISABLE: u32 = 41; |
| pub const PR_GET_THP_DISABLE: u32 = 42; |
| pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; |
| pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; |
| pub const PR_SET_FP_MODE: u32 = 45; |
| pub const PR_GET_FP_MODE: u32 = 46; |
| pub const PR_FP_MODE_FR: u32 = 1; |
| pub const PR_FP_MODE_FRE: u32 = 2; |
| pub const PR_CAP_AMBIENT: u32 = 47; |
| pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; |
| pub const PR_CAP_AMBIENT_RAISE: u32 = 2; |
| pub const PR_CAP_AMBIENT_LOWER: u32 = 3; |
| pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; |
| pub const PR_SVE_SET_VL: u32 = 50; |
| pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; |
| pub const PR_SVE_GET_VL: u32 = 51; |
| pub const PR_SVE_VL_LEN_MASK: u32 = 65535; |
| pub const PR_SVE_VL_INHERIT: u32 = 131072; |
| pub const PR_GET_SPECULATION_CTRL: u32 = 52; |
| pub const PR_SET_SPECULATION_CTRL: u32 = 53; |
| pub const PR_SPEC_STORE_BYPASS: u32 = 0; |
| pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; |
| pub const PR_SPEC_L1D_FLUSH: u32 = 2; |
| pub const PR_SPEC_NOT_AFFECTED: u32 = 0; |
| pub const PR_SPEC_PRCTL: u32 = 1; |
| pub const PR_SPEC_ENABLE: u32 = 2; |
| pub const PR_SPEC_DISABLE: u32 = 4; |
| pub const PR_SPEC_FORCE_DISABLE: u32 = 8; |
| pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; |
| pub const PR_PAC_RESET_KEYS: u32 = 54; |
| pub const PR_PAC_APIAKEY: u32 = 1; |
| pub const PR_PAC_APIBKEY: u32 = 2; |
| pub const PR_PAC_APDAKEY: u32 = 4; |
| pub const PR_PAC_APDBKEY: u32 = 8; |
| pub const PR_PAC_APGAKEY: u32 = 16; |
| pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; |
| pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; |
| pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; |
| pub const PR_MTE_TCF_NONE: u32 = 0; |
| pub const PR_MTE_TCF_SYNC: u32 = 2; |
| pub const PR_MTE_TCF_ASYNC: u32 = 4; |
| pub const PR_MTE_TCF_MASK: u32 = 6; |
| pub const PR_MTE_TAG_SHIFT: u32 = 3; |
| pub const PR_MTE_TAG_MASK: u32 = 524280; |
| pub const PR_MTE_TCF_SHIFT: u32 = 1; |
| pub const PR_SET_IO_FLUSHER: u32 = 57; |
| pub const PR_GET_IO_FLUSHER: u32 = 58; |
| pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; |
| pub const PR_SYS_DISPATCH_OFF: u32 = 0; |
| pub const PR_SYS_DISPATCH_ON: u32 = 1; |
| pub const SYSCALL_DISPATCH_FILTER_ALLOW: u32 = 0; |
| pub const SYSCALL_DISPATCH_FILTER_BLOCK: u32 = 1; |
| pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; |
| pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; |
| pub const PR_SCHED_CORE: u32 = 62; |
| pub const PR_SCHED_CORE_GET: u32 = 0; |
| pub const PR_SCHED_CORE_CREATE: u32 = 1; |
| pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; |
| pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; |
| pub const PR_SCHED_CORE_MAX: u32 = 4; |
| pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; |
| pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; |
| pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; |
| pub const PR_SME_SET_VL: u32 = 63; |
| pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; |
| pub const PR_SME_GET_VL: u32 = 64; |
| pub const PR_SME_VL_LEN_MASK: u32 = 65535; |
| pub const PR_SME_VL_INHERIT: u32 = 131072; |
| pub const PR_SET_MDWE: u32 = 65; |
| pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; |
| pub const PR_GET_MDWE: u32 = 66; |
| pub const PR_SET_VMA: u32 = 1398164801; |
| pub const PR_SET_VMA_ANON_NAME: u32 = 0; |
| pub const PR_GET_AUXV: u32 = 1096112214; |
| pub const PR_SET_MEMORY_MERGE: u32 = 67; |
| pub const PR_GET_MEMORY_MERGE: u32 = 68; |
| pub const PR_RISCV_V_SET_CONTROL: u32 = 69; |
| pub const PR_RISCV_V_GET_CONTROL: u32 = 70; |
| pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; |
| pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; |
| pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; |
| pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; |
| pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; |
| pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; |
| pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; |
| pub const GRND_NONBLOCK: u32 = 1; |
| pub const GRND_RANDOM: u32 = 2; |
| pub const GRND_INSECURE: u32 = 4; |
| pub const LINUX_REBOOT_MAGIC1: u32 = 4276215469; |
| pub const LINUX_REBOOT_MAGIC2: u32 = 672274793; |
| pub const LINUX_REBOOT_MAGIC2A: u32 = 85072278; |
| pub const LINUX_REBOOT_MAGIC2B: u32 = 369367448; |
| pub const LINUX_REBOOT_MAGIC2C: u32 = 537993216; |
| pub const LINUX_REBOOT_CMD_RESTART: u32 = 19088743; |
| pub const LINUX_REBOOT_CMD_HALT: u32 = 3454992675; |
| pub const LINUX_REBOOT_CMD_CAD_ON: u32 = 2309737967; |
| pub const LINUX_REBOOT_CMD_CAD_OFF: u32 = 0; |
| pub const LINUX_REBOOT_CMD_POWER_OFF: u32 = 1126301404; |
| pub const LINUX_REBOOT_CMD_RESTART2: u32 = 2712847316; |
| pub const LINUX_REBOOT_CMD_SW_SUSPEND: u32 = 3489725666; |
| pub const LINUX_REBOOT_CMD_KEXEC: u32 = 1163412803; |
| pub const RUSAGE_SELF: u32 = 0; |
| pub const RUSAGE_CHILDREN: i32 = -1; |
| pub const RUSAGE_BOTH: i32 = -2; |
| pub const RUSAGE_THREAD: u32 = 1; |
| pub const RLIM64_INFINITY: i32 = -1; |
| pub const PRIO_MIN: i32 = -20; |
| pub const PRIO_MAX: u32 = 20; |
| pub const PRIO_PROCESS: u32 = 0; |
| pub const PRIO_PGRP: u32 = 1; |
| pub const PRIO_USER: u32 = 2; |
| pub const _STK_LIM: u32 = 8388608; |
| pub const MLOCK_LIMIT: u32 = 8388608; |
| pub const RLIMIT_CPU: u32 = 0; |
| pub const RLIMIT_FSIZE: u32 = 1; |
| pub const RLIMIT_DATA: u32 = 2; |
| pub const RLIMIT_STACK: u32 = 3; |
| pub const RLIMIT_CORE: u32 = 4; |
| pub const RLIMIT_RSS: u32 = 5; |
| pub const RLIMIT_NPROC: u32 = 6; |
| pub const RLIMIT_NOFILE: u32 = 7; |
| pub const RLIMIT_MEMLOCK: u32 = 8; |
| pub const RLIMIT_AS: u32 = 9; |
| pub const RLIMIT_LOCKS: u32 = 10; |
| pub const RLIMIT_SIGPENDING: u32 = 11; |
| pub const RLIMIT_MSGQUEUE: u32 = 12; |
| pub const RLIMIT_NICE: u32 = 13; |
| pub const RLIMIT_RTPRIO: u32 = 14; |
| pub const RLIMIT_RTTIME: u32 = 15; |
| pub const RLIM_NLIMITS: u32 = 16; |
| pub const RLIM_INFINITY: i32 = -1; |
| pub const CSIGNAL: u32 = 255; |
| pub const CLONE_VM: u32 = 256; |
| pub const CLONE_FS: u32 = 512; |
| pub const CLONE_FILES: u32 = 1024; |
| pub const CLONE_SIGHAND: u32 = 2048; |
| pub const CLONE_PIDFD: u32 = 4096; |
| pub const CLONE_PTRACE: u32 = 8192; |
| pub const CLONE_VFORK: u32 = 16384; |
| pub const CLONE_PARENT: u32 = 32768; |
| pub const CLONE_THREAD: u32 = 65536; |
| pub const CLONE_NEWNS: u32 = 131072; |
| pub const CLONE_SYSVSEM: u32 = 262144; |
| pub const CLONE_SETTLS: u32 = 524288; |
| pub const CLONE_PARENT_SETTID: u32 = 1048576; |
| pub const CLONE_CHILD_CLEARTID: u32 = 2097152; |
| pub const CLONE_DETACHED: u32 = 4194304; |
| pub const CLONE_UNTRACED: u32 = 8388608; |
| pub const CLONE_CHILD_SETTID: u32 = 16777216; |
| pub const CLONE_NEWCGROUP: u32 = 33554432; |
| pub const CLONE_NEWUTS: u32 = 67108864; |
| pub const CLONE_NEWIPC: u32 = 134217728; |
| pub const CLONE_NEWUSER: u32 = 268435456; |
| pub const CLONE_NEWPID: u32 = 536870912; |
| pub const CLONE_NEWNET: u32 = 1073741824; |
| pub const CLONE_IO: u32 = 2147483648; |
| pub const CLONE_CLEAR_SIGHAND: u64 = 4294967296; |
| pub const CLONE_INTO_CGROUP: u64 = 8589934592; |
| pub const CLONE_NEWTIME: u32 = 128; |
| pub const CLONE_ARGS_SIZE_VER0: u32 = 64; |
| pub const CLONE_ARGS_SIZE_VER1: u32 = 80; |
| pub const CLONE_ARGS_SIZE_VER2: u32 = 88; |
| pub const SCHED_NORMAL: u32 = 0; |
| pub const SCHED_FIFO: u32 = 1; |
| pub const SCHED_RR: u32 = 2; |
| pub const SCHED_BATCH: u32 = 3; |
| pub const SCHED_IDLE: u32 = 5; |
| pub const SCHED_DEADLINE: u32 = 6; |
| pub const SCHED_RESET_ON_FORK: u32 = 1073741824; |
| pub const SCHED_FLAG_RESET_ON_FORK: u32 = 1; |
| pub const SCHED_FLAG_RECLAIM: u32 = 2; |
| pub const SCHED_FLAG_DL_OVERRUN: u32 = 4; |
| pub const SCHED_FLAG_KEEP_POLICY: u32 = 8; |
| pub const SCHED_FLAG_KEEP_PARAMS: u32 = 16; |
| pub const SCHED_FLAG_UTIL_CLAMP_MIN: u32 = 32; |
| pub const SCHED_FLAG_UTIL_CLAMP_MAX: u32 = 64; |
| pub const SCHED_FLAG_KEEP_ALL: u32 = 24; |
| pub const SCHED_FLAG_UTIL_CLAMP: u32 = 96; |
| pub const SCHED_FLAG_ALL: u32 = 127; |
| pub const SCHED_ATTR_SIZE_VER0: u32 = 48; |
| pub const SCHED_ATTR_SIZE_VER1: u32 = 56; |
| pub const SECCOMP_MODE_DISABLED: u32 = 0; |
| pub const SECCOMP_MODE_STRICT: u32 = 1; |
| pub const SECCOMP_MODE_FILTER: u32 = 2; |
| pub const SECCOMP_SET_MODE_STRICT: u32 = 0; |
| pub const SECCOMP_SET_MODE_FILTER: u32 = 1; |
| pub const SECCOMP_GET_ACTION_AVAIL: u32 = 2; |
| pub const SECCOMP_GET_NOTIF_SIZES: u32 = 3; |
| pub const SECCOMP_FILTER_FLAG_TSYNC: u32 = 1; |
| pub const SECCOMP_FILTER_FLAG_LOG: u32 = 2; |
| pub const SECCOMP_FILTER_FLAG_SPEC_ALLOW: u32 = 4; |
| pub const SECCOMP_FILTER_FLAG_NEW_LISTENER: u32 = 8; |
| pub const SECCOMP_FILTER_FLAG_TSYNC_ESRCH: u32 = 16; |
| pub const SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV: u32 = 32; |
| pub const SECCOMP_RET_KILL_PROCESS: u32 = 2147483648; |
| pub const SECCOMP_RET_KILL_THREAD: u32 = 0; |
| pub const SECCOMP_RET_KILL: u32 = 0; |
| pub const SECCOMP_RET_TRAP: u32 = 196608; |
| pub const SECCOMP_RET_ERRNO: u32 = 327680; |
| pub const SECCOMP_RET_USER_NOTIF: u32 = 2143289344; |
| pub const SECCOMP_RET_TRACE: u32 = 2146435072; |
| pub const SECCOMP_RET_LOG: u32 = 2147221504; |
| pub const SECCOMP_RET_ALLOW: u32 = 2147418112; |
| pub const SECCOMP_RET_ACTION_FULL: u32 = 4294901760; |
| pub const SECCOMP_RET_ACTION: u32 = 2147418112; |
| pub const SECCOMP_RET_DATA: u32 = 65535; |
| pub const SECCOMP_USER_NOTIF_FLAG_CONTINUE: u32 = 1; |
| pub const SECCOMP_ADDFD_FLAG_SETFD: u32 = 1; |
| pub const SECCOMP_ADDFD_FLAG_SEND: u32 = 2; |
| pub const SECCOMP_IOC_MAGIC: u8 = 33u8; |
| pub const SECUREBITS_DEFAULT: u32 = 0; |
| pub const SECURE_NOROOT: u32 = 0; |
| pub const SECURE_NOROOT_LOCKED: u32 = 1; |
| pub const SECURE_NO_SETUID_FIXUP: u32 = 2; |
| pub const SECURE_NO_SETUID_FIXUP_LOCKED: u32 = 3; |
| pub const SECURE_KEEP_CAPS: u32 = 4; |
| pub const SECURE_KEEP_CAPS_LOCKED: u32 = 5; |
| pub const SECURE_NO_CAP_AMBIENT_RAISE: u32 = 6; |
| pub const SECURE_NO_CAP_AMBIENT_RAISE_LOCKED: u32 = 7; |
| pub const SI_MAX_SIZE: u32 = 128; |
| pub const SI_USER: u32 = 0; |
| pub const SI_KERNEL: u32 = 128; |
| pub const SI_QUEUE: i32 = -1; |
| pub const SI_TIMER: i32 = -2; |
| pub const SI_MESGQ: i32 = -3; |
| pub const SI_ASYNCIO: i32 = -4; |
| pub const SI_SIGIO: i32 = -5; |
| pub const SI_TKILL: i32 = -6; |
| pub const SI_DETHREAD: i32 = -7; |
| pub const SI_ASYNCNL: i32 = -60; |
| pub const ILL_ILLOPC: u32 = 1; |
| pub const ILL_ILLOPN: u32 = 2; |
| pub const ILL_ILLADR: u32 = 3; |
| pub const ILL_ILLTRP: u32 = 4; |
| pub const ILL_PRVOPC: u32 = 5; |
| pub const ILL_PRVREG: u32 = 6; |
| pub const ILL_COPROC: u32 = 7; |
| pub const ILL_BADSTK: u32 = 8; |
| pub const ILL_BADIADDR: u32 = 9; |
| pub const __ILL_BREAK: u32 = 10; |
| pub const __ILL_BNDMOD: u32 = 11; |
| pub const NSIGILL: u32 = 11; |
| pub const FPE_INTDIV: u32 = 1; |
| pub const FPE_INTOVF: u32 = 2; |
| pub const FPE_FLTDIV: u32 = 3; |
| pub const FPE_FLTOVF: u32 = 4; |
| pub const FPE_FLTUND: u32 = 5; |
| pub const FPE_FLTRES: u32 = 6; |
| pub const FPE_FLTINV: u32 = 7; |
| pub const FPE_FLTSUB: u32 = 8; |
| pub const __FPE_DECOVF: u32 = 9; |
| pub const __FPE_DECDIV: u32 = 10; |
| pub const __FPE_DECERR: u32 = 11; |
| pub const __FPE_INVASC: u32 = 12; |
| pub const __FPE_INVDEC: u32 = 13; |
| pub const FPE_FLTUNK: u32 = 14; |
| pub const FPE_CONDTRAP: u32 = 15; |
| pub const NSIGFPE: u32 = 15; |
| pub const SEGV_MAPERR: u32 = 1; |
| pub const SEGV_ACCERR: u32 = 2; |
| pub const SEGV_BNDERR: u32 = 3; |
| pub const SEGV_PKUERR: u32 = 4; |
| pub const SEGV_ACCADI: u32 = 5; |
| pub const SEGV_ADIDERR: u32 = 6; |
| pub const SEGV_ADIPERR: u32 = 7; |
| pub const SEGV_MTEAERR: u32 = 8; |
| pub const SEGV_MTESERR: u32 = 9; |
| pub const NSIGSEGV: u32 = 9; |
| pub const BUS_ADRALN: u32 = 1; |
| pub const BUS_ADRERR: u32 = 2; |
| pub const BUS_OBJERR: u32 = 3; |
| pub const BUS_MCEERR_AR: u32 = 4; |
| pub const BUS_MCEERR_AO: u32 = 5; |
| pub const NSIGBUS: u32 = 5; |
| pub const TRAP_BRKPT: u32 = 1; |
| pub const TRAP_TRACE: u32 = 2; |
| pub const TRAP_BRANCH: u32 = 3; |
| pub const TRAP_HWBKPT: u32 = 4; |
| pub const TRAP_UNK: u32 = 5; |
| pub const TRAP_PERF: u32 = 6; |
| pub const NSIGTRAP: u32 = 6; |
| pub const TRAP_PERF_FLAG_ASYNC: u32 = 1; |
| pub const CLD_EXITED: u32 = 1; |
| pub const CLD_KILLED: u32 = 2; |
| pub const CLD_DUMPED: u32 = 3; |
| pub const CLD_TRAPPED: u32 = 4; |
| pub const CLD_STOPPED: u32 = 5; |
| pub const CLD_CONTINUED: u32 = 6; |
| pub const NSIGCHLD: u32 = 6; |
| pub const POLL_IN: u32 = 1; |
| pub const POLL_OUT: u32 = 2; |
| pub const POLL_MSG: u32 = 3; |
| pub const POLL_ERR: u32 = 4; |
| pub const POLL_PRI: u32 = 5; |
| pub const POLL_HUP: u32 = 6; |
| pub const NSIGPOLL: u32 = 6; |
| pub const SYS_SECCOMP: u32 = 1; |
| pub const SYS_USER_DISPATCH: u32 = 2; |
| pub const NSIGSYS: u32 = 2; |
| pub const EMT_TAGOVF: u32 = 1; |
| pub const NSIGEMT: u32 = 1; |
| pub const SIGEV_SIGNAL: u32 = 0; |
| pub const SIGEV_NONE: u32 = 1; |
| pub const SIGEV_THREAD: u32 = 2; |
| pub const SIGEV_THREAD_ID: u32 = 4; |
| pub const SIGEV_MAX_SIZE: u32 = 64; |
| pub const SS_ONSTACK: u32 = 1; |
| pub const SS_DISABLE: u32 = 2; |
| pub const SS_AUTODISARM: u32 = 2147483648; |
| pub const SS_FLAG_BITS: u32 = 2147483648; |
| pub const SFD_CLOEXEC: u32 = 524288; |
| pub const SFD_NONBLOCK: u32 = 2048; |
| pub const SIOCINQ: u32 = 21531; |
| pub const SIOCOUTQ: u32 = 21521; |
| pub const SOCK_IOC_TYPE: u32 = 137; |
| pub const SIOCGSTAMP: u32 = 35078; |
| pub const SIOCGSTAMPNS: u32 = 35079; |
| pub const SIOCADDRT: u32 = 35083; |
| pub const SIOCDELRT: u32 = 35084; |
| pub const SIOCRTMSG: u32 = 35085; |
| pub const SIOCGIFNAME: u32 = 35088; |
| pub const SIOCSIFLINK: u32 = 35089; |
| pub const SIOCGIFCONF: u32 = 35090; |
| pub const SIOCGIFFLAGS: u32 = 35091; |
| pub const SIOCSIFFLAGS: u32 = 35092; |
| pub const SIOCGIFADDR: u32 = 35093; |
| pub const SIOCSIFADDR: u32 = 35094; |
| pub const SIOCGIFDSTADDR: u32 = 35095; |
| pub const SIOCSIFDSTADDR: u32 = 35096; |
| pub const SIOCGIFBRDADDR: u32 = 35097; |
| pub const SIOCSIFBRDADDR: u32 = 35098; |
| pub const SIOCGIFNETMASK: u32 = 35099; |
| pub const SIOCSIFNETMASK: u32 = 35100; |
| pub const SIOCGIFMETRIC: u32 = 35101; |
| pub const SIOCSIFMETRIC: u32 = 35102; |
| pub const SIOCGIFMEM: u32 = 35103; |
| pub const SIOCSIFMEM: u32 = 35104; |
| pub const SIOCGIFMTU: u32 = 35105; |
| pub const SIOCSIFMTU: u32 = 35106; |
| pub const SIOCSIFNAME: u32 = 35107; |
| pub const SIOCSIFHWADDR: u32 = 35108; |
| pub const SIOCGIFENCAP: u32 = 35109; |
| pub const SIOCSIFENCAP: u32 = 35110; |
| pub const SIOCGIFHWADDR: u32 = 35111; |
| pub const SIOCGIFSLAVE: u32 = 35113; |
| pub const SIOCSIFSLAVE: u32 = 35120; |
| pub const SIOCADDMULTI: u32 = 35121; |
| pub const SIOCDELMULTI: u32 = 35122; |
| pub const SIOCGIFINDEX: u32 = 35123; |
| pub const SIOGIFINDEX: u32 = 35123; |
| pub const SIOCSIFPFLAGS: u32 = 35124; |
| pub const SIOCGIFPFLAGS: u32 = 35125; |
| pub const SIOCDIFADDR: u32 = 35126; |
| pub const SIOCSIFHWBROADCAST: u32 = 35127; |
| pub const SIOCGIFCOUNT: u32 = 35128; |
| pub const SIOCGIFBR: u32 = 35136; |
| pub const SIOCSIFBR: u32 = 35137; |
| pub const SIOCGIFTXQLEN: u32 = 35138; |
| pub const SIOCSIFTXQLEN: u32 = 35139; |
| pub const SIOCETHTOOL: u32 = 35142; |
| pub const SIOCGMIIPHY: u32 = 35143; |
| pub const SIOCGMIIREG: u32 = 35144; |
| pub const SIOCSMIIREG: u32 = 35145; |
| pub const SIOCWANDEV: u32 = 35146; |
| pub const SIOCOUTQNSD: u32 = 35147; |
| pub const SIOCGSKNS: u32 = 35148; |
| pub const SIOCDARP: u32 = 35155; |
| pub const SIOCGARP: u32 = 35156; |
| pub const SIOCSARP: u32 = 35157; |
| pub const SIOCDRARP: u32 = 35168; |
| pub const SIOCGRARP: u32 = 35169; |
| pub const SIOCSRARP: u32 = 35170; |
| pub const SIOCGIFMAP: u32 = 35184; |
| pub const SIOCSIFMAP: u32 = 35185; |
| pub const SIOCADDDLCI: u32 = 35200; |
| pub const SIOCDELDLCI: u32 = 35201; |
| pub const SIOCGIFVLAN: u32 = 35202; |
| pub const SIOCSIFVLAN: u32 = 35203; |
| pub const SIOCBONDENSLAVE: u32 = 35216; |
| pub const SIOCBONDRELEASE: u32 = 35217; |
| pub const SIOCBONDSETHWADDR: u32 = 35218; |
| pub const SIOCBONDSLAVEINFOQUERY: u32 = 35219; |
| pub const SIOCBONDINFOQUERY: u32 = 35220; |
| pub const SIOCBONDCHANGEACTIVE: u32 = 35221; |
| pub const SIOCBRADDBR: u32 = 35232; |
| pub const SIOCBRDELBR: u32 = 35233; |
| pub const SIOCBRADDIF: u32 = 35234; |
| pub const SIOCBRDELIF: u32 = 35235; |
| pub const SIOCSHWTSTAMP: u32 = 35248; |
| pub const SIOCGHWTSTAMP: u32 = 35249; |
| pub const SIOCDEVPRIVATE: u32 = 35312; |
| pub const SIOCPROTOPRIVATE: u32 = 35296; |
| pub const S_IFMT: u32 = 61440; |
| pub const S_IFSOCK: u32 = 49152; |
| pub const S_IFLNK: u32 = 40960; |
| pub const S_IFREG: u32 = 32768; |
| pub const S_IFBLK: u32 = 24576; |
| pub const S_IFDIR: u32 = 16384; |
| pub const S_IFCHR: u32 = 8192; |
| pub const S_IFIFO: u32 = 4096; |
| pub const S_ISUID: u32 = 2048; |
| pub const S_ISGID: u32 = 1024; |
| pub const S_ISVTX: u32 = 512; |
| pub const S_IRWXU: u32 = 448; |
| pub const S_IRUSR: u32 = 256; |
| pub const S_IWUSR: u32 = 128; |
| pub const S_IXUSR: u32 = 64; |
| pub const S_IRWXG: u32 = 56; |
| pub const S_IRGRP: u32 = 32; |
| pub const S_IWGRP: u32 = 16; |
| pub const S_IXGRP: u32 = 8; |
| pub const S_IRWXO: u32 = 7; |
| pub const S_IROTH: u32 = 4; |
| pub const S_IWOTH: u32 = 2; |
| pub const S_IXOTH: u32 = 1; |
| pub const STATX_TYPE: u32 = 1; |
| pub const STATX_MODE: u32 = 2; |
| pub const STATX_NLINK: u32 = 4; |
| pub const STATX_UID: u32 = 8; |
| pub const STATX_GID: u32 = 16; |
| pub const STATX_ATIME: u32 = 32; |
| pub const STATX_MTIME: u32 = 64; |
| pub const STATX_CTIME: u32 = 128; |
| pub const STATX_INO: u32 = 256; |
| pub const STATX_SIZE: u32 = 512; |
| pub const STATX_BLOCKS: u32 = 1024; |
| pub const STATX_BASIC_STATS: u32 = 2047; |
| pub const STATX_BTIME: u32 = 2048; |
| pub const STATX_MNT_ID: u32 = 4096; |
| pub const STATX_DIOALIGN: u32 = 8192; |
| pub const STATX__RESERVED: u32 = 2147483648; |
| pub const STATX_ALL: u32 = 4095; |
| pub const STATX_ATTR_COMPRESSED: u32 = 4; |
| pub const STATX_ATTR_IMMUTABLE: u32 = 16; |
| pub const STATX_ATTR_APPEND: u32 = 32; |
| pub const STATX_ATTR_NODUMP: u32 = 64; |
| pub const STATX_ATTR_ENCRYPTED: u32 = 2048; |
| pub const STATX_ATTR_AUTOMOUNT: u32 = 4096; |
| pub const STATX_ATTR_MOUNT_ROOT: u32 = 8192; |
| pub const STATX_ATTR_VERITY: u32 = 1048576; |
| pub const STATX_ATTR_DAX: u32 = 2097152; |
| pub const SYNC_IOC_MAGIC: u8 = 62u8; |
| pub const SI_LOAD_SHIFT: u32 = 16; |
| pub const IGNBRK: u32 = 1; |
| pub const BRKINT: u32 = 2; |
| pub const IGNPAR: u32 = 4; |
| pub const PARMRK: u32 = 8; |
| pub const INPCK: u32 = 16; |
| pub const ISTRIP: u32 = 32; |
| pub const INLCR: u32 = 64; |
| pub const IGNCR: u32 = 128; |
| pub const ICRNL: u32 = 256; |
| pub const IXANY: u32 = 2048; |
| pub const OPOST: u32 = 1; |
| pub const OCRNL: u32 = 8; |
| pub const ONOCR: u32 = 16; |
| pub const ONLRET: u32 = 32; |
| pub const OFILL: u32 = 64; |
| pub const OFDEL: u32 = 128; |
| pub const B0: u32 = 0; |
| pub const B50: u32 = 1; |
| pub const B75: u32 = 2; |
| pub const B110: u32 = 3; |
| pub const B134: u32 = 4; |
| pub const B150: u32 = 5; |
| pub const B200: u32 = 6; |
| pub const B300: u32 = 7; |
| pub const B600: u32 = 8; |
| pub const B1200: u32 = 9; |
| pub const B1800: u32 = 10; |
| pub const B2400: u32 = 11; |
| pub const B4800: u32 = 12; |
| pub const B9600: u32 = 13; |
| pub const B19200: u32 = 14; |
| pub const B38400: u32 = 15; |
| pub const EXTA: u32 = 14; |
| pub const EXTB: u32 = 15; |
| pub const ADDRB: u32 = 536870912; |
| pub const CMSPAR: u32 = 1073741824; |
| pub const CRTSCTS: u32 = 2147483648; |
| pub const IBSHIFT: u32 = 16; |
| pub const TCOOFF: u32 = 0; |
| pub const TCOON: u32 = 1; |
| pub const TCIOFF: u32 = 2; |
| pub const TCION: u32 = 3; |
| pub const TCIFLUSH: u32 = 0; |
| pub const TCOFLUSH: u32 = 1; |
| pub const TCIOFLUSH: u32 = 2; |
| pub const NCCS: u32 = 19; |
| pub const VINTR: u32 = 0; |
| pub const VQUIT: u32 = 1; |
| pub const VERASE: u32 = 2; |
| pub const VKILL: u32 = 3; |
| pub const VEOF: u32 = 4; |
| pub const VTIME: u32 = 5; |
| pub const VMIN: u32 = 6; |
| pub const VSWTC: u32 = 7; |
| pub const VSTART: u32 = 8; |
| pub const VSTOP: u32 = 9; |
| pub const VSUSP: u32 = 10; |
| pub const VEOL: u32 = 11; |
| pub const VREPRINT: u32 = 12; |
| pub const VDISCARD: u32 = 13; |
| pub const VWERASE: u32 = 14; |
| pub const VLNEXT: u32 = 15; |
| pub const VEOL2: u32 = 16; |
| pub const IUCLC: u32 = 512; |
| pub const IXON: u32 = 1024; |
| pub const IXOFF: u32 = 4096; |
| pub const IMAXBEL: u32 = 8192; |
| pub const IUTF8: u32 = 16384; |
| pub const OLCUC: u32 = 2; |
| pub const ONLCR: u32 = 4; |
| pub const NLDLY: u32 = 256; |
| pub const NL0: u32 = 0; |
| pub const NL1: u32 = 256; |
| pub const CRDLY: u32 = 1536; |
| pub const CR0: u32 = 0; |
| pub const CR1: u32 = 512; |
| pub const CR2: u32 = 1024; |
| pub const CR3: u32 = 1536; |
| pub const TABDLY: u32 = 6144; |
| pub const TAB0: u32 = 0; |
| pub const TAB1: u32 = 2048; |
| pub const TAB2: u32 = 4096; |
| pub const TAB3: u32 = 6144; |
| pub const XTABS: u32 = 6144; |
| pub const BSDLY: u32 = 8192; |
| pub const BS0: u32 = 0; |
| pub const BS1: u32 = 8192; |
| pub const VTDLY: u32 = 16384; |
| pub const VT0: u32 = 0; |
| pub const VT1: u32 = 16384; |
| pub const FFDLY: u32 = 32768; |
| pub const FF0: u32 = 0; |
| pub const FF1: u32 = 32768; |
| pub const CBAUD: u32 = 4111; |
| pub const CSIZE: u32 = 48; |
| pub const CS5: u32 = 0; |
| pub const CS6: u32 = 16; |
| pub const CS7: u32 = 32; |
| pub const CS8: u32 = 48; |
| pub const CSTOPB: u32 = 64; |
| pub const CREAD: u32 = 128; |
| pub const PARENB: u32 = 256; |
| pub const PARODD: u32 = 512; |
| pub const HUPCL: u32 = 1024; |
| pub const CLOCAL: u32 = 2048; |
| pub const CBAUDEX: u32 = 4096; |
| pub const BOTHER: u32 = 4096; |
| pub const B57600: u32 = 4097; |
| pub const B115200: u32 = 4098; |
| pub const B230400: u32 = 4099; |
| pub const B460800: u32 = 4100; |
| pub const B500000: u32 = 4101; |
| pub const B576000: u32 = 4102; |
| pub const B921600: u32 = 4103; |
| pub const B1000000: u32 = 4104; |
| pub const B1152000: u32 = 4105; |
| pub const B1500000: u32 = 4106; |
| pub const B2000000: u32 = 4107; |
| pub const B2500000: u32 = 4108; |
| pub const B3000000: u32 = 4109; |
| pub const B3500000: u32 = 4110; |
| pub const B4000000: u32 = 4111; |
| pub const CIBAUD: u32 = 269418496; |
| pub const ISIG: u32 = 1; |
| pub const ICANON: u32 = 2; |
| pub const XCASE: u32 = 4; |
| pub const ECHO: u32 = 8; |
| pub const ECHOE: u32 = 16; |
| pub const ECHOK: u32 = 32; |
| pub const ECHONL: u32 = 64; |
| pub const NOFLSH: u32 = 128; |
| pub const TOSTOP: u32 = 256; |
| pub const ECHOCTL: u32 = 512; |
| pub const ECHOPRT: u32 = 1024; |
| pub const ECHOKE: u32 = 2048; |
| pub const FLUSHO: u32 = 4096; |
| pub const PENDIN: u32 = 16384; |
| pub const IEXTEN: u32 = 32768; |
| pub const EXTPROC: u32 = 65536; |
| pub const TCSANOW: u32 = 0; |
| pub const TCSADRAIN: u32 = 1; |
| pub const TCSAFLUSH: u32 = 2; |
| pub const NCC: u32 = 8; |
| pub const TIOCM_LE: u32 = 1; |
| pub const TIOCM_DTR: u32 = 2; |
| pub const TIOCM_RTS: u32 = 4; |
| pub const TIOCM_ST: u32 = 8; |
| pub const TIOCM_SR: u32 = 16; |
| pub const TIOCM_CTS: u32 = 32; |
| pub const TIOCM_CAR: u32 = 64; |
| pub const TIOCM_RNG: u32 = 128; |
| pub const TIOCM_DSR: u32 = 256; |
| pub const TIOCM_CD: u32 = 64; |
| pub const TIOCM_RI: u32 = 128; |
| pub const TIOCM_OUT1: u32 = 8192; |
| pub const TIOCM_OUT2: u32 = 16384; |
| pub const TIOCM_LOOP: u32 = 32768; |
| pub const TFD_TIMER_ABSTIME: u32 = 1; |
| pub const TFD_TIMER_CANCEL_ON_SET: u32 = 2; |
| pub const TFD_CLOEXEC: u32 = 524288; |
| pub const TFD_NONBLOCK: u32 = 2048; |
| pub const UINPUT_VERSION: u32 = 5; |
| pub const UINPUT_MAX_NAME_SIZE: u32 = 80; |
| pub const UINPUT_IOCTL_BASE: u8 = 85u8; |
| pub const EV_UINPUT: u32 = 257; |
| pub const UI_FF_UPLOAD: u32 = 1; |
| pub const UI_FF_ERASE: u32 = 2; |
| pub const UIO_FASTIOV: u32 = 8; |
| pub const UIO_MAXIOV: u32 = 1024; |
| pub const UNIX_PATH_MAX: u32 = 108; |
| pub const SIOCUNIXFILE: u32 = 35296; |
| pub const __X32_SYSCALL_BIT: u32 = 1073741824; |
| pub const __NR_read: u32 = 0; |
| pub const __NR_write: u32 = 1; |
| pub const __NR_open: u32 = 2; |
| pub const __NR_close: u32 = 3; |
| pub const __NR_stat: u32 = 4; |
| pub const __NR_fstat: u32 = 5; |
| pub const __NR_lstat: u32 = 6; |
| pub const __NR_poll: u32 = 7; |
| pub const __NR_lseek: u32 = 8; |
| pub const __NR_mmap: u32 = 9; |
| pub const __NR_mprotect: u32 = 10; |
| pub const __NR_munmap: u32 = 11; |
| pub const __NR_brk: u32 = 12; |
| pub const __NR_rt_sigaction: u32 = 13; |
| pub const __NR_rt_sigprocmask: u32 = 14; |
| pub const __NR_rt_sigreturn: u32 = 15; |
| pub const __NR_ioctl: u32 = 16; |
| pub const __NR_pread64: u32 = 17; |
| pub const __NR_pwrite64: u32 = 18; |
| pub const __NR_readv: u32 = 19; |
| pub const __NR_writev: u32 = 20; |
| pub const __NR_access: u32 = 21; |
| pub const __NR_pipe: u32 = 22; |
| pub const __NR_select: u32 = 23; |
| pub const __NR_sched_yield: u32 = 24; |
| pub const __NR_mremap: u32 = 25; |
| pub const __NR_msync: u32 = 26; |
| pub const __NR_mincore: u32 = 27; |
| pub const __NR_madvise: u32 = 28; |
| pub const __NR_shmget: u32 = 29; |
| pub const __NR_shmat: u32 = 30; |
| pub const __NR_shmctl: u32 = 31; |
| pub const __NR_dup: u32 = 32; |
| pub const __NR_dup2: u32 = 33; |
| pub const __NR_pause: u32 = 34; |
| pub const __NR_nanosleep: u32 = 35; |
| pub const __NR_getitimer: u32 = 36; |
| pub const __NR_alarm: u32 = 37; |
| pub const __NR_setitimer: u32 = 38; |
| pub const __NR_getpid: u32 = 39; |
| pub const __NR_sendfile: u32 = 40; |
| pub const __NR_socket: u32 = 41; |
| pub const __NR_connect: u32 = 42; |
| pub const __NR_accept: u32 = 43; |
| pub const __NR_sendto: u32 = 44; |
| pub const __NR_recvfrom: u32 = 45; |
| pub const __NR_sendmsg: u32 = 46; |
| pub const __NR_recvmsg: u32 = 47; |
| pub const __NR_shutdown: u32 = 48; |
| pub const __NR_bind: u32 = 49; |
| pub const __NR_listen: u32 = 50; |
| pub const __NR_getsockname: u32 = 51; |
| pub const __NR_getpeername: u32 = 52; |
| pub const __NR_socketpair: u32 = 53; |
| pub const __NR_setsockopt: u32 = 54; |
| pub const __NR_getsockopt: u32 = 55; |
| pub const __NR_clone: u32 = 56; |
| pub const __NR_fork: u32 = 57; |
| pub const __NR_vfork: u32 = 58; |
| pub const __NR_execve: u32 = 59; |
| pub const __NR_exit: u32 = 60; |
| pub const __NR_wait4: u32 = 61; |
| pub const __NR_kill: u32 = 62; |
| pub const __NR_uname: u32 = 63; |
| pub const __NR_semget: u32 = 64; |
| pub const __NR_semop: u32 = 65; |
| pub const __NR_semctl: u32 = 66; |
| pub const __NR_shmdt: u32 = 67; |
| pub const __NR_msgget: u32 = 68; |
| pub const __NR_msgsnd: u32 = 69; |
| pub const __NR_msgrcv: u32 = 70; |
| pub const __NR_msgctl: u32 = 71; |
| pub const __NR_fcntl: u32 = 72; |
| pub const __NR_flock: u32 = 73; |
| pub const __NR_fsync: u32 = 74; |
| pub const __NR_fdatasync: u32 = 75; |
| pub const __NR_truncate: u32 = 76; |
| pub const __NR_ftruncate: u32 = 77; |
| pub const __NR_getdents: u32 = 78; |
| pub const __NR_getcwd: u32 = 79; |
| pub const __NR_chdir: u32 = 80; |
| pub const __NR_fchdir: u32 = 81; |
| pub const __NR_rename: u32 = 82; |
| pub const __NR_mkdir: u32 = 83; |
| pub const __NR_rmdir: u32 = 84; |
| pub const __NR_creat: u32 = 85; |
| pub const __NR_link: u32 = 86; |
| pub const __NR_unlink: u32 = 87; |
| pub const __NR_symlink: u32 = 88; |
| pub const __NR_readlink: u32 = 89; |
| pub const __NR_chmod: u32 = 90; |
| pub const __NR_fchmod: u32 = 91; |
| pub const __NR_chown: u32 = 92; |
| pub const __NR_fchown: u32 = 93; |
| pub const __NR_lchown: u32 = 94; |
| pub const __NR_umask: u32 = 95; |
| pub const __NR_gettimeofday: u32 = 96; |
| pub const __NR_getrlimit: u32 = 97; |
| pub const __NR_getrusage: u32 = 98; |
| pub const __NR_sysinfo: u32 = 99; |
| pub const __NR_times: u32 = 100; |
| pub const __NR_ptrace: u32 = 101; |
| pub const __NR_getuid: u32 = 102; |
| pub const __NR_syslog: u32 = 103; |
| pub const __NR_getgid: u32 = 104; |
| pub const __NR_setuid: u32 = 105; |
| pub const __NR_setgid: u32 = 106; |
| pub const __NR_geteuid: u32 = 107; |
| pub const __NR_getegid: u32 = 108; |
| pub const __NR_setpgid: u32 = 109; |
| pub const __NR_getppid: u32 = 110; |
| pub const __NR_getpgrp: u32 = 111; |
| pub const __NR_setsid: u32 = 112; |
| pub const __NR_setreuid: u32 = 113; |
| pub const __NR_setregid: u32 = 114; |
| pub const __NR_getgroups: u32 = 115; |
| pub const __NR_setgroups: u32 = 116; |
| pub const __NR_setresuid: u32 = 117; |
| pub const __NR_getresuid: u32 = 118; |
| pub const __NR_setresgid: u32 = 119; |
| pub const __NR_getresgid: u32 = 120; |
| pub const __NR_getpgid: u32 = 121; |
| pub const __NR_setfsuid: u32 = 122; |
| pub const __NR_setfsgid: u32 = 123; |
| pub const __NR_getsid: u32 = 124; |
| pub const __NR_capget: u32 = 125; |
| pub const __NR_capset: u32 = 126; |
| pub const __NR_rt_sigpending: u32 = 127; |
| pub const __NR_rt_sigtimedwait: u32 = 128; |
| pub const __NR_rt_sigqueueinfo: u32 = 129; |
| pub const __NR_rt_sigsuspend: u32 = 130; |
| pub const __NR_sigaltstack: u32 = 131; |
| pub const __NR_utime: u32 = 132; |
| pub const __NR_mknod: u32 = 133; |
| pub const __NR_uselib: u32 = 134; |
| pub const __NR_personality: u32 = 135; |
| pub const __NR_ustat: u32 = 136; |
| pub const __NR_statfs: u32 = 137; |
| pub const __NR_fstatfs: u32 = 138; |
| pub const __NR_sysfs: u32 = 139; |
| pub const __NR_getpriority: u32 = 140; |
| pub const __NR_setpriority: u32 = 141; |
| pub const __NR_sched_setparam: u32 = 142; |
| pub const __NR_sched_getparam: u32 = 143; |
| pub const __NR_sched_setscheduler: u32 = 144; |
| pub const __NR_sched_getscheduler: u32 = 145; |
| pub const __NR_sched_get_priority_max: u32 = 146; |
| pub const __NR_sched_get_priority_min: u32 = 147; |
| pub const __NR_sched_rr_get_interval: u32 = 148; |
| pub const __NR_mlock: u32 = 149; |
| pub const __NR_munlock: u32 = 150; |
| pub const __NR_mlockall: u32 = 151; |
| pub const __NR_munlockall: u32 = 152; |
| pub const __NR_vhangup: u32 = 153; |
| pub const __NR_modify_ldt: u32 = 154; |
| pub const __NR_pivot_root: u32 = 155; |
| pub const __NR__sysctl: u32 = 156; |
| pub const __NR_prctl: u32 = 157; |
| pub const __NR_arch_prctl: u32 = 158; |
| pub const __NR_adjtimex: u32 = 159; |
| pub const __NR_setrlimit: u32 = 160; |
| pub const __NR_chroot: u32 = 161; |
| pub const __NR_sync: u32 = 162; |
| pub const __NR_acct: u32 = 163; |
| pub const __NR_settimeofday: u32 = 164; |
| pub const __NR_mount: u32 = 165; |
| pub const __NR_umount2: u32 = 166; |
| pub const __NR_swapon: u32 = 167; |
| pub const __NR_swapoff: u32 = 168; |
| pub const __NR_reboot: u32 = 169; |
| pub const __NR_sethostname: u32 = 170; |
| pub const __NR_setdomainname: u32 = 171; |
| pub const __NR_iopl: u32 = 172; |
| pub const __NR_ioperm: u32 = 173; |
| pub const __NR_create_module: u32 = 174; |
| pub const __NR_init_module: u32 = 175; |
| pub const __NR_delete_module: u32 = 176; |
| pub const __NR_get_kernel_syms: u32 = 177; |
| pub const __NR_query_module: u32 = 178; |
| pub const __NR_quotactl: u32 = 179; |
| pub const __NR_nfsservctl: u32 = 180; |
| pub const __NR_getpmsg: u32 = 181; |
| pub const __NR_putpmsg: u32 = 182; |
| pub const __NR_afs_syscall: u32 = 183; |
| pub const __NR_tuxcall: u32 = 184; |
| pub const __NR_security: u32 = 185; |
| pub const __NR_gettid: u32 = 186; |
| pub const __NR_readahead: u32 = 187; |
| pub const __NR_setxattr: u32 = 188; |
| pub const __NR_lsetxattr: u32 = 189; |
| pub const __NR_fsetxattr: u32 = 190; |
| pub const __NR_getxattr: u32 = 191; |
| pub const __NR_lgetxattr: u32 = 192; |
| pub const __NR_fgetxattr: u32 = 193; |
| pub const __NR_listxattr: u32 = 194; |
| pub const __NR_llistxattr: u32 = 195; |
| pub const __NR_flistxattr: u32 = 196; |
| pub const __NR_removexattr: u32 = 197; |
| pub const __NR_lremovexattr: u32 = 198; |
| pub const __NR_fremovexattr: u32 = 199; |
| pub const __NR_tkill: u32 = 200; |
| pub const __NR_time: u32 = 201; |
| pub const __NR_futex: u32 = 202; |
| pub const __NR_sched_setaffinity: u32 = 203; |
| pub const __NR_sched_getaffinity: u32 = 204; |
| pub const __NR_set_thread_area: u32 = 205; |
| pub const __NR_io_setup: u32 = 206; |
| pub const __NR_io_destroy: u32 = 207; |
| pub const __NR_io_getevents: u32 = 208; |
| pub const __NR_io_submit: u32 = 209; |
| pub const __NR_io_cancel: u32 = 210; |
| pub const __NR_get_thread_area: u32 = 211; |
| pub const __NR_lookup_dcookie: u32 = 212; |
| pub const __NR_epoll_create: u32 = 213; |
| pub const __NR_epoll_ctl_old: u32 = 214; |
| pub const __NR_epoll_wait_old: u32 = 215; |
| pub const __NR_remap_file_pages: u32 = 216; |
| pub const __NR_getdents64: u32 = 217; |
| pub const __NR_set_tid_address: u32 = 218; |
| pub const __NR_restart_syscall: u32 = 219; |
| pub const __NR_semtimedop: u32 = 220; |
| pub const __NR_fadvise64: u32 = 221; |
| pub const __NR_timer_create: u32 = 222; |
| pub const __NR_timer_settime: u32 = 223; |
| pub const __NR_timer_gettime: u32 = 224; |
| pub const __NR_timer_getoverrun: u32 = 225; |
| pub const __NR_timer_delete: u32 = 226; |
| pub const __NR_clock_settime: u32 = 227; |
| pub const __NR_clock_gettime: u32 = 228; |
| pub const __NR_clock_getres: u32 = 229; |
| pub const __NR_clock_nanosleep: u32 = 230; |
| pub const __NR_exit_group: u32 = 231; |
| pub const __NR_epoll_wait: u32 = 232; |
| pub const __NR_epoll_ctl: u32 = 233; |
| pub const __NR_tgkill: u32 = 234; |
| pub const __NR_utimes: u32 = 235; |
| pub const __NR_vserver: u32 = 236; |
| pub const __NR_mbind: u32 = 237; |
| pub const __NR_set_mempolicy: u32 = 238; |
| pub const __NR_get_mempolicy: u32 = 239; |
| pub const __NR_mq_open: u32 = 240; |
| pub const __NR_mq_unlink: u32 = 241; |
| pub const __NR_mq_timedsend: u32 = 242; |
| pub const __NR_mq_timedreceive: u32 = 243; |
| pub const __NR_mq_notify: u32 = 244; |
| pub const __NR_mq_getsetattr: u32 = 245; |
| pub const __NR_kexec_load: u32 = 246; |
| pub const __NR_waitid: u32 = 247; |
| pub const __NR_add_key: u32 = 248; |
| pub const __NR_request_key: u32 = 249; |
| pub const __NR_keyctl: u32 = 250; |
| pub const __NR_ioprio_set: u32 = 251; |
| pub const __NR_ioprio_get: u32 = 252; |
| pub const __NR_inotify_init: u32 = 253; |
| pub const __NR_inotify_add_watch: u32 = 254; |
| pub const __NR_inotify_rm_watch: u32 = 255; |
| pub const __NR_migrate_pages: u32 = 256; |
| pub const __NR_openat: u32 = 257; |
| pub const __NR_mkdirat: u32 = 258; |
| pub const __NR_mknodat: u32 = 259; |
| pub const __NR_fchownat: u32 = 260; |
| pub const __NR_futimesat: u32 = 261; |
| pub const __NR_newfstatat: u32 = 262; |
| pub const __NR_unlinkat: u32 = 263; |
| pub const __NR_renameat: u32 = 264; |
| pub const __NR_linkat: u32 = 265; |
| pub const __NR_symlinkat: u32 = 266; |
| pub const __NR_readlinkat: u32 = 267; |
| pub const __NR_fchmodat: u32 = 268; |
| pub const __NR_faccessat: u32 = 269; |
| pub const __NR_pselect6: u32 = 270; |
| pub const __NR_ppoll: u32 = 271; |
| pub const __NR_unshare: u32 = 272; |
| pub const __NR_set_robust_list: u32 = 273; |
| pub const __NR_get_robust_list: u32 = 274; |
| pub const __NR_splice: u32 = 275; |
| pub const __NR_tee: u32 = 276; |
| pub const __NR_sync_file_range: u32 = 277; |
| pub const __NR_vmsplice: u32 = 278; |
| pub const __NR_move_pages: u32 = 279; |
| pub const __NR_utimensat: u32 = 280; |
| pub const __NR_epoll_pwait: u32 = 281; |
| pub const __NR_signalfd: u32 = 282; |
| pub const __NR_timerfd_create: u32 = 283; |
| pub const __NR_eventfd: u32 = 284; |
| pub const __NR_fallocate: u32 = 285; |
| pub const __NR_timerfd_settime: u32 = 286; |
| pub const __NR_timerfd_gettime: u32 = 287; |
| pub const __NR_accept4: u32 = 288; |
| pub const __NR_signalfd4: u32 = 289; |
| pub const __NR_eventfd2: u32 = 290; |
| pub const __NR_epoll_create1: u32 = 291; |
| pub const __NR_dup3: u32 = 292; |
| pub const __NR_pipe2: u32 = 293; |
| pub const __NR_inotify_init1: u32 = 294; |
| pub const __NR_preadv: u32 = 295; |
| pub const __NR_pwritev: u32 = 296; |
| pub const __NR_rt_tgsigqueueinfo: u32 = 297; |
| pub const __NR_perf_event_open: u32 = 298; |
| pub const __NR_recvmmsg: u32 = 299; |
| pub const __NR_fanotify_init: u32 = 300; |
| pub const __NR_fanotify_mark: u32 = 301; |
| pub const __NR_prlimit64: u32 = 302; |
| pub const __NR_name_to_handle_at: u32 = 303; |
| pub const __NR_open_by_handle_at: u32 = 304; |
| pub const __NR_clock_adjtime: u32 = 305; |
| pub const __NR_syncfs: u32 = 306; |
| pub const __NR_sendmmsg: u32 = 307; |
| pub const __NR_setns: u32 = 308; |
| pub const __NR_getcpu: u32 = 309; |
| pub const __NR_process_vm_readv: u32 = 310; |
| pub const __NR_process_vm_writev: u32 = 311; |
| pub const __NR_kcmp: u32 = 312; |
| pub const __NR_finit_module: u32 = 313; |
| pub const __NR_sched_setattr: u32 = 314; |
| pub const __NR_sched_getattr: u32 = 315; |
| pub const __NR_renameat2: u32 = 316; |
| pub const __NR_seccomp: u32 = 317; |
| pub const __NR_getrandom: u32 = 318; |
| pub const __NR_memfd_create: u32 = 319; |
| pub const __NR_kexec_file_load: u32 = 320; |
| pub const __NR_bpf: u32 = 321; |
| pub const __NR_execveat: u32 = 322; |
| pub const __NR_userfaultfd: u32 = 323; |
| pub const __NR_membarrier: u32 = 324; |
| pub const __NR_mlock2: u32 = 325; |
| pub const __NR_copy_file_range: u32 = 326; |
| pub const __NR_preadv2: u32 = 327; |
| pub const __NR_pwritev2: u32 = 328; |
| pub const __NR_pkey_mprotect: u32 = 329; |
| pub const __NR_pkey_alloc: u32 = 330; |
| pub const __NR_pkey_free: u32 = 331; |
| pub const __NR_statx: u32 = 332; |
| pub const __NR_io_pgetevents: u32 = 333; |
| pub const __NR_rseq: u32 = 334; |
| pub const __NR_pidfd_send_signal: u32 = 424; |
| pub const __NR_io_uring_setup: u32 = 425; |
| pub const __NR_io_uring_enter: u32 = 426; |
| pub const __NR_io_uring_register: u32 = 427; |
| pub const __NR_open_tree: u32 = 428; |
| pub const __NR_move_mount: u32 = 429; |
| pub const __NR_fsopen: u32 = 430; |
| pub const __NR_fsconfig: u32 = 431; |
| pub const __NR_fsmount: u32 = 432; |
| pub const __NR_fspick: u32 = 433; |
| pub const __NR_pidfd_open: u32 = 434; |
| pub const __NR_clone3: u32 = 435; |
| pub const __NR_close_range: u32 = 436; |
| pub const __NR_openat2: u32 = 437; |
| pub const __NR_pidfd_getfd: u32 = 438; |
| pub const __NR_faccessat2: u32 = 439; |
| pub const __NR_process_madvise: u32 = 440; |
| pub const __NR_epoll_pwait2: u32 = 441; |
| pub const __NR_mount_setattr: u32 = 442; |
| pub const __NR_quotactl_fd: u32 = 443; |
| pub const __NR_landlock_create_ruleset: u32 = 444; |
| pub const __NR_landlock_add_rule: u32 = 445; |
| pub const __NR_landlock_restrict_self: u32 = 446; |
| pub const __NR_memfd_secret: u32 = 447; |
| pub const __NR_process_mrelease: u32 = 448; |
| pub const __NR_futex_waitv: u32 = 449; |
| pub const __NR_set_mempolicy_home_node: u32 = 450; |
| pub const __NR_cachestat: u32 = 451; |
| pub const USB_DIR_OUT: u32 = 0; |
| pub const USB_DIR_IN: u32 = 128; |
| pub const USB_TYPE_MASK: u32 = 96; |
| pub const USB_TYPE_STANDARD: u32 = 0; |
| pub const USB_TYPE_CLASS: u32 = 32; |
| pub const USB_TYPE_VENDOR: u32 = 64; |
| pub const USB_TYPE_RESERVED: u32 = 96; |
| pub const USB_RECIP_MASK: u32 = 31; |
| pub const USB_RECIP_DEVICE: u32 = 0; |
| pub const USB_RECIP_INTERFACE: u32 = 1; |
| pub const USB_RECIP_ENDPOINT: u32 = 2; |
| pub const USB_RECIP_OTHER: u32 = 3; |
| pub const USB_RECIP_PORT: u32 = 4; |
| pub const USB_RECIP_RPIPE: u32 = 5; |
| pub const USB_REQ_GET_STATUS: u32 = 0; |
| pub const USB_REQ_CLEAR_FEATURE: u32 = 1; |
| pub const USB_REQ_SET_FEATURE: u32 = 3; |
| pub const USB_REQ_SET_ADDRESS: u32 = 5; |
| pub const USB_REQ_GET_DESCRIPTOR: u32 = 6; |
| pub const USB_REQ_SET_DESCRIPTOR: u32 = 7; |
| pub const USB_REQ_GET_CONFIGURATION: u32 = 8; |
| pub const USB_REQ_SET_CONFIGURATION: u32 = 9; |
| pub const USB_REQ_GET_INTERFACE: u32 = 10; |
| pub const USB_REQ_SET_INTERFACE: u32 = 11; |
| pub const USB_REQ_SYNCH_FRAME: u32 = 12; |
| pub const USB_REQ_SET_SEL: u32 = 48; |
| pub const USB_REQ_SET_ISOCH_DELAY: u32 = 49; |
| pub const USB_REQ_SET_ENCRYPTION: u32 = 13; |
| pub const USB_REQ_GET_ENCRYPTION: u32 = 14; |
| pub const USB_REQ_RPIPE_ABORT: u32 = 14; |
| pub const USB_REQ_SET_HANDSHAKE: u32 = 15; |
| pub const USB_REQ_RPIPE_RESET: u32 = 15; |
| pub const USB_REQ_GET_HANDSHAKE: u32 = 16; |
| pub const USB_REQ_SET_CONNECTION: u32 = 17; |
| pub const USB_REQ_SET_SECURITY_DATA: u32 = 18; |
| pub const USB_REQ_GET_SECURITY_DATA: u32 = 19; |
| pub const USB_REQ_SET_WUSB_DATA: u32 = 20; |
| pub const USB_REQ_LOOPBACK_DATA_WRITE: u32 = 21; |
| pub const USB_REQ_LOOPBACK_DATA_READ: u32 = 22; |
| pub const USB_REQ_SET_INTERFACE_DS: u32 = 23; |
| pub const USB_REQ_GET_PARTNER_PDO: u32 = 20; |
| pub const USB_REQ_GET_BATTERY_STATUS: u32 = 21; |
| pub const USB_REQ_SET_PDO: u32 = 22; |
| pub const USB_REQ_GET_VDM: u32 = 23; |
| pub const USB_REQ_SEND_VDM: u32 = 24; |
| pub const USB_DEVICE_SELF_POWERED: u32 = 0; |
| pub const USB_DEVICE_REMOTE_WAKEUP: u32 = 1; |
| pub const USB_DEVICE_TEST_MODE: u32 = 2; |
| pub const USB_DEVICE_BATTERY: u32 = 2; |
| pub const USB_DEVICE_B_HNP_ENABLE: u32 = 3; |
| pub const USB_DEVICE_WUSB_DEVICE: u32 = 3; |
| pub const USB_DEVICE_A_HNP_SUPPORT: u32 = 4; |
| pub const USB_DEVICE_A_ALT_HNP_SUPPORT: u32 = 5; |
| pub const USB_DEVICE_DEBUG_MODE: u32 = 6; |
| pub const USB_TEST_J: u32 = 1; |
| pub const USB_TEST_K: u32 = 2; |
| pub const USB_TEST_SE0_NAK: u32 = 3; |
| pub const USB_TEST_PACKET: u32 = 4; |
| pub const USB_TEST_FORCE_ENABLE: u32 = 5; |
| pub const USB_STATUS_TYPE_STANDARD: u32 = 0; |
| pub const USB_STATUS_TYPE_PTM: u32 = 1; |
| pub const USB_DEVICE_U1_ENABLE: u32 = 48; |
| pub const USB_DEVICE_U2_ENABLE: u32 = 49; |
| pub const USB_DEVICE_LTM_ENABLE: u32 = 50; |
| pub const USB_INTRF_FUNC_SUSPEND: u32 = 0; |
| pub const USB_INTR_FUNC_SUSPEND_OPT_MASK: u32 = 65280; |
| pub const USB_INTRF_FUNC_SUSPEND_LP: u32 = 256; |
| pub const USB_INTRF_FUNC_SUSPEND_RW: u32 = 512; |
| pub const USB_INTRF_STAT_FUNC_RW_CAP: u32 = 1; |
| pub const USB_INTRF_STAT_FUNC_RW: u32 = 2; |
| pub const USB_ENDPOINT_HALT: u32 = 0; |
| pub const USB_DEV_STAT_U1_ENABLED: u32 = 2; |
| pub const USB_DEV_STAT_U2_ENABLED: u32 = 3; |
| pub const USB_DEV_STAT_LTM_ENABLED: u32 = 4; |
| pub const USB_DEVICE_BATTERY_WAKE_MASK: u32 = 40; |
| pub const USB_DEVICE_OS_IS_PD_AWARE: u32 = 41; |
| pub const USB_DEVICE_POLICY_MODE: u32 = 42; |
| pub const USB_PORT_PR_SWAP: u32 = 43; |
| pub const USB_PORT_GOTO_MIN: u32 = 44; |
| pub const USB_PORT_RETURN_POWER: u32 = 45; |
| pub const USB_PORT_ACCEPT_PD_REQUEST: u32 = 46; |
| pub const USB_PORT_REJECT_PD_REQUEST: u32 = 47; |
| pub const USB_PORT_PORT_PD_RESET: u32 = 48; |
| pub const USB_PORT_C_PORT_PD_CHANGE: u32 = 49; |
| pub const USB_PORT_CABLE_PD_RESET: u32 = 50; |
| pub const USB_DEVICE_CHARGING_POLICY: u32 = 54; |
| pub const USB_DT_DEVICE: u32 = 1; |
| pub const USB_DT_CONFIG: u32 = 2; |
| pub const USB_DT_STRING: u32 = 3; |
| pub const USB_DT_INTERFACE: u32 = 4; |
| pub const USB_DT_ENDPOINT: u32 = 5; |
| pub const USB_DT_DEVICE_QUALIFIER: u32 = 6; |
| pub const USB_DT_OTHER_SPEED_CONFIG: u32 = 7; |
| pub const USB_DT_INTERFACE_POWER: u32 = 8; |
| pub const USB_DT_OTG: u32 = 9; |
| pub const USB_DT_DEBUG: u32 = 10; |
| pub const USB_DT_INTERFACE_ASSOCIATION: u32 = 11; |
| pub const USB_DT_SECURITY: u32 = 12; |
| pub const USB_DT_KEY: u32 = 13; |
| pub const USB_DT_ENCRYPTION_TYPE: u32 = 14; |
| pub const USB_DT_BOS: u32 = 15; |
| pub const USB_DT_DEVICE_CAPABILITY: u32 = 16; |
| pub const USB_DT_WIRELESS_ENDPOINT_COMP: u32 = 17; |
| pub const USB_DT_WIRE_ADAPTER: u32 = 33; |
| pub const USB_DT_RPIPE: u32 = 34; |
| pub const USB_DT_CS_RADIO_CONTROL: u32 = 35; |
| pub const USB_DT_PIPE_USAGE: u32 = 36; |
| pub const USB_DT_SS_ENDPOINT_COMP: u32 = 48; |
| pub const USB_DT_SSP_ISOC_ENDPOINT_COMP: u32 = 49; |
| pub const USB_DT_CS_DEVICE: u32 = 33; |
| pub const USB_DT_CS_CONFIG: u32 = 34; |
| pub const USB_DT_CS_STRING: u32 = 35; |
| pub const USB_DT_CS_INTERFACE: u32 = 36; |
| pub const USB_DT_CS_ENDPOINT: u32 = 37; |
| pub const USB_DT_DEVICE_SIZE: u32 = 18; |
| pub const USB_CLASS_PER_INTERFACE: u32 = 0; |
| pub const USB_CLASS_AUDIO: u32 = 1; |
| pub const USB_CLASS_COMM: u32 = 2; |
| pub const USB_CLASS_HID: u32 = 3; |
| pub const USB_CLASS_PHYSICAL: u32 = 5; |
| pub const USB_CLASS_STILL_IMAGE: u32 = 6; |
| pub const USB_CLASS_PRINTER: u32 = 7; |
| pub const USB_CLASS_MASS_STORAGE: u32 = 8; |
| pub const USB_CLASS_HUB: u32 = 9; |
| pub const USB_CLASS_CDC_DATA: u32 = 10; |
| pub const USB_CLASS_CSCID: u32 = 11; |
| pub const USB_CLASS_CONTENT_SEC: u32 = 13; |
| pub const USB_CLASS_VIDEO: u32 = 14; |
| pub const USB_CLASS_WIRELESS_CONTROLLER: u32 = 224; |
| pub const USB_CLASS_PERSONAL_HEALTHCARE: u32 = 15; |
| pub const USB_CLASS_AUDIO_VIDEO: u32 = 16; |
| pub const USB_CLASS_BILLBOARD: u32 = 17; |
| pub const USB_CLASS_USB_TYPE_C_BRIDGE: u32 = 18; |
| pub const USB_CLASS_MISC: u32 = 239; |
| pub const USB_CLASS_APP_SPEC: u32 = 254; |
| pub const USB_CLASS_VENDOR_SPEC: u32 = 255; |
| pub const USB_SUBCLASS_VENDOR_SPEC: u32 = 255; |
| pub const USB_DT_CONFIG_SIZE: u32 = 9; |
| pub const USB_CONFIG_ATT_ONE: u32 = 128; |
| pub const USB_CONFIG_ATT_SELFPOWER: u32 = 64; |
| pub const USB_CONFIG_ATT_WAKEUP: u32 = 32; |
| pub const USB_CONFIG_ATT_BATTERY: u32 = 16; |
| pub const USB_MAX_STRING_LEN: u32 = 126; |
| pub const USB_DT_INTERFACE_SIZE: u32 = 9; |
| pub const USB_DT_ENDPOINT_SIZE: u32 = 7; |
| pub const USB_DT_ENDPOINT_AUDIO_SIZE: u32 = 9; |
| pub const USB_ENDPOINT_NUMBER_MASK: u32 = 15; |
| pub const USB_ENDPOINT_DIR_MASK: u32 = 128; |
| pub const USB_ENDPOINT_XFERTYPE_MASK: u32 = 3; |
| pub const USB_ENDPOINT_XFER_CONTROL: u32 = 0; |
| pub const USB_ENDPOINT_XFER_ISOC: u32 = 1; |
| pub const USB_ENDPOINT_XFER_BULK: u32 = 2; |
| pub const USB_ENDPOINT_XFER_INT: u32 = 3; |
| pub const USB_ENDPOINT_MAX_ADJUSTABLE: u32 = 128; |
| pub const USB_ENDPOINT_MAXP_MASK: u32 = 2047; |
| pub const USB_EP_MAXP_MULT_SHIFT: u32 = 11; |
| pub const USB_EP_MAXP_MULT_MASK: u32 = 6144; |
| pub const USB_ENDPOINT_INTRTYPE: u32 = 48; |
| pub const USB_ENDPOINT_INTR_PERIODIC: u32 = 0; |
| pub const USB_ENDPOINT_INTR_NOTIFICATION: u32 = 16; |
| pub const USB_ENDPOINT_SYNCTYPE: u32 = 12; |
| pub const USB_ENDPOINT_SYNC_NONE: u32 = 0; |
| pub const USB_ENDPOINT_SYNC_ASYNC: u32 = 4; |
| pub const USB_ENDPOINT_SYNC_ADAPTIVE: u32 = 8; |
| pub const USB_ENDPOINT_SYNC_SYNC: u32 = 12; |
| pub const USB_ENDPOINT_USAGE_MASK: u32 = 48; |
| pub const USB_ENDPOINT_USAGE_DATA: u32 = 0; |
| pub const USB_ENDPOINT_USAGE_FEEDBACK: u32 = 16; |
| pub const USB_ENDPOINT_USAGE_IMPLICIT_FB: u32 = 32; |
| pub const USB_DT_SSP_ISOC_EP_COMP_SIZE: u32 = 8; |
| pub const USB_DT_SS_EP_COMP_SIZE: u32 = 6; |
| pub const USB_OTG_SRP: u32 = 1; |
| pub const USB_OTG_HNP: u32 = 2; |
| pub const USB_OTG_ADP: u32 = 4; |
| pub const OTG_STS_SELECTOR: u32 = 61440; |
| pub const USB_DT_INTERFACE_ASSOCIATION_SIZE: u32 = 8; |
| pub const USB_ENC_TYPE_UNSECURE: u32 = 0; |
| pub const USB_ENC_TYPE_WIRED: u32 = 1; |
| pub const USB_ENC_TYPE_CCM_1: u32 = 2; |
| pub const USB_ENC_TYPE_RSA_1: u32 = 3; |
| pub const USB_DT_BOS_SIZE: u32 = 5; |
| pub const USB_CAP_TYPE_WIRELESS_USB: u32 = 1; |
| pub const USB_WIRELESS_P2P_DRD: u32 = 2; |
| pub const USB_WIRELESS_BEACON_MASK: u32 = 12; |
| pub const USB_WIRELESS_BEACON_SELF: u32 = 4; |
| pub const USB_WIRELESS_BEACON_DIRECTED: u32 = 8; |
| pub const USB_WIRELESS_BEACON_NONE: u32 = 12; |
| pub const USB_WIRELESS_PHY_53: u32 = 1; |
| pub const USB_WIRELESS_PHY_80: u32 = 2; |
| pub const USB_WIRELESS_PHY_107: u32 = 4; |
| pub const USB_WIRELESS_PHY_160: u32 = 8; |
| pub const USB_WIRELESS_PHY_200: u32 = 16; |
| pub const USB_WIRELESS_PHY_320: u32 = 32; |
| pub const USB_WIRELESS_PHY_400: u32 = 64; |
| pub const USB_WIRELESS_PHY_480: u32 = 128; |
| pub const USB_DT_USB_WIRELESS_CAP_SIZE: u32 = 11; |
| pub const USB_CAP_TYPE_EXT: u32 = 2; |
| pub const USB_LPM_SUPPORT: u32 = 2; |
| pub const USB_BESL_SUPPORT: u32 = 4; |
| pub const USB_BESL_BASELINE_VALID: u32 = 8; |
| pub const USB_BESL_DEEP_VALID: u32 = 16; |
| pub const USB_DT_USB_EXT_CAP_SIZE: u32 = 7; |
| pub const USB_SS_CAP_TYPE: u32 = 3; |
| pub const USB_LTM_SUPPORT: u32 = 2; |
| pub const USB_LOW_SPEED_OPERATION: u32 = 1; |
| pub const USB_FULL_SPEED_OPERATION: u32 = 2; |
| pub const USB_HIGH_SPEED_OPERATION: u32 = 4; |
| pub const USB_5GBPS_OPERATION: u32 = 8; |
| pub const USB_DT_USB_SS_CAP_SIZE: u32 = 10; |
| pub const CONTAINER_ID_TYPE: u32 = 4; |
| pub const USB_DT_USB_SS_CONTN_ID_SIZE: u32 = 20; |
| pub const USB_PLAT_DEV_CAP_TYPE: u32 = 5; |
| pub const USB_SSP_CAP_TYPE: u32 = 10; |
| pub const USB_SSP_SUBLINK_SPEED_ATTRIBS: u32 = 31; |
| pub const USB_SSP_SUBLINK_SPEED_IDS: u32 = 480; |
| pub const USB_SSP_MIN_SUBLINK_SPEED_ATTRIBUTE_ID: u32 = 15; |
| pub const USB_SSP_MIN_RX_LANE_COUNT: u32 = 3840; |
| pub const USB_SSP_MIN_TX_LANE_COUNT: u32 = 61440; |
| pub const USB_SSP_SUBLINK_SPEED_SSID: u32 = 15; |
| pub const USB_SSP_SUBLINK_SPEED_LSE: u32 = 48; |
| pub const USB_SSP_SUBLINK_SPEED_LSE_BPS: u32 = 0; |
| pub const USB_SSP_SUBLINK_SPEED_LSE_KBPS: u32 = 1; |
| pub const USB_SSP_SUBLINK_SPEED_LSE_MBPS: u32 = 2; |
| pub const USB_SSP_SUBLINK_SPEED_LSE_GBPS: u32 = 3; |
| pub const USB_SSP_SUBLINK_SPEED_ST: u32 = 192; |
| pub const USB_SSP_SUBLINK_SPEED_ST_SYM_RX: u32 = 0; |
| pub const USB_SSP_SUBLINK_SPEED_ST_ASYM_RX: u32 = 1; |
| pub const USB_SSP_SUBLINK_SPEED_ST_SYM_TX: u32 = 2; |
| pub const USB_SSP_SUBLINK_SPEED_ST_ASYM_TX: u32 = 3; |
| pub const USB_SSP_SUBLINK_SPEED_RSVD: u32 = 16128; |
| pub const USB_SSP_SUBLINK_SPEED_LP: u32 = 49152; |
| pub const USB_SSP_SUBLINK_SPEED_LP_SS: u32 = 0; |
| pub const USB_SSP_SUBLINK_SPEED_LP_SSP: u32 = 1; |
| pub const USB_SSP_SUBLINK_SPEED_LSM: u32 = 16711680; |
| pub const USB_PD_POWER_DELIVERY_CAPABILITY: u32 = 6; |
| pub const USB_PD_BATTERY_INFO_CAPABILITY: u32 = 7; |
| pub const USB_PD_PD_CONSUMER_PORT_CAPABILITY: u32 = 8; |
| pub const USB_PD_PD_PROVIDER_PORT_CAPABILITY: u32 = 9; |
| pub const USB_PD_CAP_BATTERY_CHARGING: u32 = 2; |
| pub const USB_PD_CAP_USB_PD: u32 = 4; |
| pub const USB_PD_CAP_PROVIDER: u32 = 8; |
| pub const USB_PD_CAP_CONSUMER: u32 = 16; |
| pub const USB_PD_CAP_CHARGING_POLICY: u32 = 32; |
| pub const USB_PD_CAP_TYPE_C_CURRENT: u32 = 64; |
| pub const USB_PD_CAP_PWR_AC: u32 = 256; |
| pub const USB_PD_CAP_PWR_BAT: u32 = 512; |
| pub const USB_PD_CAP_PWR_USE_V_BUS: u32 = 16384; |
| pub const USB_PD_CAP_CONSUMER_BC: u32 = 1; |
| pub const USB_PD_CAP_CONSUMER_PD: u32 = 2; |
| pub const USB_PD_CAP_CONSUMER_TYPE_C: u32 = 4; |
| pub const USB_PD_CAP_CONSUMER_UNKNOWN_PEAK_POWER_TIME: u32 = 65535; |
| pub const USB_PD_CAP_PROVIDER_BC: u32 = 1; |
| pub const USB_PD_CAP_PROVIDER_PD: u32 = 2; |
| pub const USB_PD_CAP_PROVIDER_TYPE_C: u32 = 4; |
| pub const USB_PTM_CAP_TYPE: u32 = 11; |
| pub const USB_DT_USB_PTM_ID_SIZE: u32 = 3; |
| pub const USB_ENDPOINT_SWITCH_MASK: u32 = 3; |
| pub const USB_ENDPOINT_SWITCH_NO: u32 = 0; |
| pub const USB_ENDPOINT_SWITCH_SWITCH: u32 = 1; |
| pub const USB_ENDPOINT_SWITCH_SCALE: u32 = 2; |
| pub const USB3_LPM_DISABLED: u32 = 0; |
| pub const USB3_LPM_U1_MAX_TIMEOUT: u32 = 127; |
| pub const USB3_LPM_U2_MAX_TIMEOUT: u32 = 254; |
| pub const USB3_LPM_DEVICE_INITIATED: u32 = 255; |
| pub const USB3_LPM_MAX_U1_SEL_PEL: u32 = 255; |
| pub const USB3_LPM_MAX_U2_SEL_PEL: u32 = 65535; |
| pub const USB_SELF_POWER_VBUS_MAX_DRAW: u32 = 100; |
| pub const __OLD_UTS_LEN: u32 = 8; |
| pub const __NEW_UTS_LEN: u32 = 64; |
| pub const SO_VM_SOCKETS_BUFFER_SIZE: u32 = 0; |
| pub const SO_VM_SOCKETS_BUFFER_MIN_SIZE: u32 = 1; |
| pub const SO_VM_SOCKETS_BUFFER_MAX_SIZE: u32 = 2; |
| pub const SO_VM_SOCKETS_PEER_HOST_VM_ID: u32 = 3; |
| pub const SO_VM_SOCKETS_TRUSTED: u32 = 5; |
| pub const SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD: u32 = 6; |
| pub const SO_VM_SOCKETS_NONBLOCK_TXRX: u32 = 7; |
| pub const SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW: u32 = 8; |
| pub const SO_VM_SOCKETS_CONNECT_TIMEOUT: u32 = 6; |
| pub const VMADDR_CID_ANY: i32 = -1; |
| pub const VMADDR_PORT_ANY: i32 = -1; |
| pub const VMADDR_CID_HYPERVISOR: u32 = 0; |
| pub const VMADDR_CID_LOCAL: u32 = 1; |
| pub const VMADDR_CID_HOST: u32 = 2; |
| pub const VMADDR_FLAG_TO_HOST: u32 = 1; |
| pub const VM_SOCKETS_INVALID_VERSION: i32 = -1; |
| pub const WNOHANG: u32 = 1; |
| pub const WUNTRACED: u32 = 2; |
| pub const WSTOPPED: u32 = 2; |
| pub const WEXITED: u32 = 4; |
| pub const WCONTINUED: u32 = 8; |
| pub const WNOWAIT: u32 = 16777216; |
| pub const __WNOTHREAD: u32 = 536870912; |
| pub const __WALL: u32 = 1073741824; |
| pub const __WCLONE: u32 = 2147483648; |
| pub const P_ALL: u32 = 0; |
| pub const P_PID: u32 = 1; |
| pub const P_PGID: u32 = 2; |
| pub const P_PIDFD: u32 = 3; |
| pub const XATTR_CREATE: u32 = 1; |
| pub const XATTR_REPLACE: u32 = 2; |
| pub const XATTR_OS2_PREFIX: &'static std::ffi::CStr = c"os2."; |
| pub const XATTR_MAC_OSX_PREFIX: &'static std::ffi::CStr = c"osx."; |
| pub const XATTR_BTRFS_PREFIX: &'static std::ffi::CStr = c"btrfs."; |
| pub const XATTR_HURD_PREFIX: &'static std::ffi::CStr = c"gnu."; |
| pub const XATTR_SECURITY_PREFIX: &'static std::ffi::CStr = c"security."; |
| pub const XATTR_SYSTEM_PREFIX: &'static std::ffi::CStr = c"system."; |
| pub const XATTR_TRUSTED_PREFIX: &'static std::ffi::CStr = c"trusted."; |
| pub const XATTR_USER_PREFIX: &'static std::ffi::CStr = c"user."; |
| pub const XATTR_EVM_SUFFIX: &'static std::ffi::CStr = c"evm"; |
| pub const XATTR_NAME_EVM: &'static std::ffi::CStr = c"security.evm"; |
| pub const XATTR_IMA_SUFFIX: &'static std::ffi::CStr = c"ima"; |
| pub const XATTR_NAME_IMA: &'static std::ffi::CStr = c"security.ima"; |
| pub const XATTR_SELINUX_SUFFIX: &'static std::ffi::CStr = c"selinux"; |
| pub const XATTR_NAME_SELINUX: &'static std::ffi::CStr = c"security.selinux"; |
| pub const XATTR_SMACK_SUFFIX: &'static std::ffi::CStr = c"SMACK64"; |
| pub const XATTR_SMACK_IPIN: &'static std::ffi::CStr = c"SMACK64IPIN"; |
| pub const XATTR_SMACK_IPOUT: &'static std::ffi::CStr = c"SMACK64IPOUT"; |
| pub const XATTR_SMACK_EXEC: &'static std::ffi::CStr = c"SMACK64EXEC"; |
| pub const XATTR_SMACK_TRANSMUTE: &'static std::ffi::CStr = c"SMACK64TRANSMUTE"; |
| pub const XATTR_SMACK_MMAP: &'static std::ffi::CStr = c"SMACK64MMAP"; |
| pub const XATTR_NAME_SMACK: &'static std::ffi::CStr = c"security.SMACK64"; |
| pub const XATTR_NAME_SMACKIPIN: &'static std::ffi::CStr = c"security.SMACK64IPIN"; |
| pub const XATTR_NAME_SMACKIPOUT: &'static std::ffi::CStr = c"security.SMACK64IPOUT"; |
| pub const XATTR_NAME_SMACKEXEC: &'static std::ffi::CStr = c"security.SMACK64EXEC"; |
| pub const XATTR_NAME_SMACKTRANSMUTE: &'static std::ffi::CStr = c"security.SMACK64TRANSMUTE"; |
| pub const XATTR_NAME_SMACKMMAP: &'static std::ffi::CStr = c"security.SMACK64MMAP"; |
| pub const XATTR_APPARMOR_SUFFIX: &'static std::ffi::CStr = c"apparmor"; |
| pub const XATTR_NAME_APPARMOR: &'static std::ffi::CStr = c"security.apparmor"; |
| pub const XATTR_CAPS_SUFFIX: &'static std::ffi::CStr = c"capability"; |
| pub const XATTR_NAME_CAPS: &'static std::ffi::CStr = c"security.capability"; |
| pub const XATTR_POSIX_ACL_ACCESS: &'static std::ffi::CStr = c"posix_acl_access"; |
| pub const XATTR_NAME_POSIX_ACL_ACCESS: &'static std::ffi::CStr = c"system.posix_acl_access"; |
| pub const XATTR_POSIX_ACL_DEFAULT: &'static std::ffi::CStr = c"posix_acl_default"; |
| pub const XATTR_NAME_POSIX_ACL_DEFAULT: &'static std::ffi::CStr = c"system.posix_acl_default"; |
| pub const ARCH_SET_GS: u32 = 4097; |
| pub const ARCH_SET_FS: u32 = 4098; |
| pub const ARCH_GET_FS: u32 = 4099; |
| pub const ARCH_GET_GS: u32 = 4100; |
| pub const ARCH_GET_CPUID: u32 = 4113; |
| pub const ARCH_SET_CPUID: u32 = 4114; |
| pub const ARCH_GET_XCOMP_SUPP: u32 = 4129; |
| pub const ARCH_GET_XCOMP_PERM: u32 = 4130; |
| pub const ARCH_REQ_XCOMP_PERM: u32 = 4131; |
| pub const ARCH_GET_XCOMP_GUEST_PERM: u32 = 4132; |
| pub const ARCH_REQ_XCOMP_GUEST_PERM: u32 = 4133; |
| pub const ARCH_XCOMP_TILECFG: u32 = 17; |
| pub const ARCH_XCOMP_TILEDATA: u32 = 18; |
| pub const ARCH_MAP_VDSO_X32: u32 = 8193; |
| pub const ARCH_MAP_VDSO_32: u32 = 8194; |
| pub const ARCH_MAP_VDSO_64: u32 = 8195; |
| pub const ARCH_GET_UNTAG_MASK: u32 = 16385; |
| pub const ARCH_ENABLE_TAGGED_ADDR: u32 = 16386; |
| pub const ARCH_GET_MAX_TAG_BITS: u32 = 16387; |
| pub const ARCH_FORCE_TAGGED_SVA: u32 = 16388; |
| pub const SPLICE_F_MOVE: u32 = 1; |
| pub const SPLICE_F_NONBLOCK: u32 = 2; |
| pub const SPLICE_F_MORE: u32 = 4; |
| pub const SPLICE_F_GIFT: u32 = 8; |
| pub type wchar_t = crate::types::c_int; |
| #[repr(C)] |
| #[repr(align(16))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct max_align_t { |
| pub __clang_max_align_nonce1: crate::types::c_longlong, |
| pub __bindgen_padding_0: [u8; 8usize], |
| pub __clang_max_align_nonce2: u128, |
| } |
| pub type __kernel_sa_family_t = crate::types::c_ushort; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct __kernel_sockaddr_storage { |
| pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union __kernel_sockaddr_storage__bindgen_ty_1 { |
| pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1, |
| pub __align: uaddr, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { |
| pub ss_family: __kernel_sa_family_t, |
| pub __data: [crate::types::c_char; 126usize], |
| } |
| impl Default for __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for __kernel_sockaddr_storage__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for __kernel_sockaddr_storage { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub type __s8 = crate::types::c_schar; |
| pub type __u8 = crate::types::c_uchar; |
| pub type __s16 = crate::types::c_short; |
| pub type __u16 = crate::types::c_ushort; |
| pub type __s32 = crate::types::c_int; |
| pub type __u32 = crate::types::c_uint; |
| pub type __s64 = crate::types::c_longlong; |
| pub type __u64 = crate::types::c_ulonglong; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_fd_set { |
| pub fds_bits: [crate::types::c_ulong; 16usize], |
| } |
| pub type __kernel_sighandler_t = uaddr; |
| pub type __kernel_key_t = crate::types::c_int; |
| pub type __kernel_mqd_t = crate::types::c_int; |
| pub type __kernel_old_uid_t = crate::types::c_ushort; |
| pub type __kernel_old_gid_t = crate::types::c_ushort; |
| pub type __kernel_old_dev_t = crate::types::c_ulong; |
| pub type __kernel_long_t = crate::types::c_long; |
| pub type __kernel_ulong_t = crate::types::c_ulong; |
| pub type __kernel_ino_t = __kernel_ulong_t; |
| pub type __kernel_mode_t = crate::types::c_uint; |
| pub type __kernel_pid_t = crate::types::c_int; |
| pub type __kernel_ipc_pid_t = crate::types::c_int; |
| pub type __kernel_uid_t = crate::types::c_uint; |
| pub type __kernel_gid_t = crate::types::c_uint; |
| pub type __kernel_suseconds_t = __kernel_long_t; |
| pub type __kernel_daddr_t = crate::types::c_int; |
| pub type __kernel_uid32_t = crate::types::c_uint; |
| pub type __kernel_gid32_t = crate::types::c_uint; |
| pub type __kernel_size_t = __kernel_ulong_t; |
| pub type __kernel_ssize_t = __kernel_long_t; |
| pub type __kernel_ptrdiff_t = __kernel_long_t; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_fsid_t { |
| pub val: [crate::types::c_int; 2usize], |
| } |
| pub type __kernel_off_t = __kernel_long_t; |
| pub type __kernel_loff_t = crate::types::c_longlong; |
| pub type __kernel_old_time_t = __kernel_long_t; |
| pub type __kernel_time_t = __kernel_long_t; |
| pub type __kernel_time64_t = crate::types::c_longlong; |
| pub type __kernel_clock_t = __kernel_long_t; |
| pub type __kernel_timer_t = crate::types::c_int; |
| pub type __kernel_clockid_t = crate::types::c_int; |
| pub type __kernel_caddr_t = uref<crate::types::c_char>; |
| pub type __kernel_uid16_t = crate::types::c_ushort; |
| pub type __kernel_gid16_t = crate::types::c_ushort; |
| pub type __s128 = i128; |
| pub type __u128 = u128; |
| pub type __le16 = __u16; |
| pub type __be16 = __u16; |
| pub type __le32 = __u32; |
| pub type __be32 = __u32; |
| pub type __le64 = __u64; |
| pub type __be64 = __u64; |
| pub type __sum16 = __u16; |
| pub type __wsum = __u32; |
| pub type __poll_t = crate::types::c_uint; |
| pub type pid_t = __kernel_pid_t; |
| pub type uid_t = __kernel_uid_t; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr { |
| pub sa_family: __kernel_sa_family_t, |
| pub sa_data: [crate::types::c_char; 14usize], |
| } |
| pub type sockaddr_storage = __kernel_sockaddr_storage; |
| pub type sa_family_t = __kernel_sa_family_t; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct pollfd { |
| pub fd: crate::types::c_int, |
| pub events: crate::types::c_short, |
| pub revents: crate::types::c_short, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _fpx_sw_bytes { |
| pub magic1: __u32, |
| pub extended_size: __u32, |
| pub xfeatures: __u64, |
| pub xstate_size: __u32, |
| pub padding: [__u32; 7usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _fpreg { |
| pub significand: [__u16; 4usize], |
| pub exponent: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _fpxreg { |
| pub significand: [__u16; 4usize], |
| pub exponent: __u16, |
| pub padding: [__u16; 3usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _xmmreg { |
| pub element: [__u32; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct _fpstate_32 { |
| pub cw: __u32, |
| pub sw: __u32, |
| pub tag: __u32, |
| pub ipoff: __u32, |
| pub cssel: __u32, |
| pub dataoff: __u32, |
| pub datasel: __u32, |
| pub _st: [_fpreg; 8usize], |
| pub status: __u16, |
| pub magic: __u16, |
| pub _fxsr_env: [__u32; 6usize], |
| pub mxcsr: __u32, |
| pub reserved: __u32, |
| pub _fxsr_st: [_fpxreg; 8usize], |
| pub _xmm: [_xmmreg; 8usize], |
| pub __bindgen_anon_1: _fpstate_32__bindgen_ty_1, |
| pub __bindgen_anon_2: _fpstate_32__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union _fpstate_32__bindgen_ty_1 { |
| pub padding1: [__u32; 44usize], |
| pub padding: [__u32; 44usize], |
| } |
| impl Default for _fpstate_32__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union _fpstate_32__bindgen_ty_2 { |
| pub padding2: [__u32; 12usize], |
| pub sw_reserved: _fpx_sw_bytes, |
| } |
| impl Default for _fpstate_32__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for _fpstate_32 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct _fpstate_64 { |
| pub cwd: __u16, |
| pub swd: __u16, |
| pub twd: __u16, |
| pub fop: __u16, |
| pub rip: __u64, |
| pub rdp: __u64, |
| pub mxcsr: __u32, |
| pub mxcsr_mask: __u32, |
| pub st_space: [__u32; 32usize], |
| pub xmm_space: [__u32; 64usize], |
| pub reserved2: [__u32; 12usize], |
| pub __bindgen_anon_1: _fpstate_64__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union _fpstate_64__bindgen_ty_1 { |
| pub reserved3: [__u32; 12usize], |
| pub sw_reserved: _fpx_sw_bytes, |
| } |
| impl Default for _fpstate_64__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for _fpstate_64 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _header { |
| pub xfeatures: __u64, |
| pub reserved1: [__u64; 2usize], |
| pub reserved2: [__u64; 5usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _ymmh_state { |
| pub ymmh_space: [__u32; 64usize], |
| } |
| impl Default for _ymmh_state { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct _xstate { |
| pub fpstate: _fpstate_64, |
| pub xstate_hdr: _header, |
| pub ymmh: _ymmh_state, |
| } |
| impl Default for _xstate { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sigcontext_32 { |
| pub gs: __u16, |
| pub __gsh: __u16, |
| pub fs: __u16, |
| pub __fsh: __u16, |
| pub es: __u16, |
| pub __esh: __u16, |
| pub ds: __u16, |
| pub __dsh: __u16, |
| pub di: __u32, |
| pub si: __u32, |
| pub bp: __u32, |
| pub sp: __u32, |
| pub bx: __u32, |
| pub dx: __u32, |
| pub cx: __u32, |
| pub ax: __u32, |
| pub trapno: __u32, |
| pub err: __u32, |
| pub ip: __u32, |
| pub cs: __u16, |
| pub __csh: __u16, |
| pub flags: __u32, |
| pub sp_at_signal: __u32, |
| pub ss: __u16, |
| pub __ssh: __u16, |
| pub fpstate: __u32, |
| pub oldmask: __u32, |
| pub cr2: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sigcontext_64 { |
| pub r8: __u64, |
| pub r9: __u64, |
| pub r10: __u64, |
| pub r11: __u64, |
| pub r12: __u64, |
| pub r13: __u64, |
| pub r14: __u64, |
| pub r15: __u64, |
| pub di: __u64, |
| pub si: __u64, |
| pub bp: __u64, |
| pub bx: __u64, |
| pub dx: __u64, |
| pub ax: __u64, |
| pub cx: __u64, |
| pub sp: __u64, |
| pub ip: __u64, |
| pub flags: __u64, |
| pub cs: __u16, |
| pub gs: __u16, |
| pub fs: __u16, |
| pub ss: __u16, |
| pub err: __u64, |
| pub trapno: __u64, |
| pub oldmask: __u64, |
| pub cr2: __u64, |
| pub fpstate: __u64, |
| pub reserved1: [__u64; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct sigcontext { |
| pub r8: __u64, |
| pub r9: __u64, |
| pub r10: __u64, |
| pub r11: __u64, |
| pub r12: __u64, |
| pub r13: __u64, |
| pub r14: __u64, |
| pub r15: __u64, |
| pub rdi: __u64, |
| pub rsi: __u64, |
| pub rbp: __u64, |
| pub rbx: __u64, |
| pub rdx: __u64, |
| pub rax: __u64, |
| pub rcx: __u64, |
| pub rsp: __u64, |
| pub rip: __u64, |
| pub eflags: __u64, |
| pub cs: __u16, |
| pub gs: __u16, |
| pub fs: __u16, |
| pub __bindgen_anon_1: sigcontext__bindgen_ty_1, |
| pub err: __u64, |
| pub trapno: __u64, |
| pub oldmask: __u64, |
| pub cr2: __u64, |
| pub fpstate: uref<_fpstate_64>, |
| pub reserved1: [__u64; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sigcontext__bindgen_ty_1 { |
| pub ss: __u16, |
| pub __pad0: __u16, |
| } |
| impl Default for sigcontext__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for sigcontext { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct timespec { |
| pub tv_sec: __kernel_time_t, |
| pub tv_nsec: crate::types::c_long, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_timespec { |
| pub tv_sec: __kernel_time64_t, |
| pub tv_nsec: crate::types::c_longlong, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_itimerspec { |
| pub it_interval: __kernel_timespec, |
| pub it_value: __kernel_timespec, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_old_timespec { |
| pub tv_sec: __kernel_old_time_t, |
| pub tv_nsec: crate::types::c_long, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __kernel_sock_timeval { |
| pub tv_sec: __s64, |
| pub tv_usec: __s64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros, PartialEq)] |
| pub struct timeval { |
| pub tv_sec: __kernel_old_time_t, |
| pub tv_usec: __kernel_suseconds_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct itimerspec { |
| pub it_interval: timespec, |
| pub it_value: timespec, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct itimerval { |
| pub it_interval: timeval, |
| pub it_value: timeval, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct timezone { |
| pub tz_minuteswest: crate::types::c_int, |
| pub tz_dsttime: crate::types::c_int, |
| } |
| pub type sigset_t = crate::types::c_ulong; |
| pub type __signalfn_t = uaddr; |
| pub type __sighandler_t = __signalfn_t; |
| pub type __restorefn_t = uaddr; |
| pub type __sigrestore_t = __restorefn_t; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sigaction { |
| pub sa_handler: __sighandler_t, |
| pub sa_flags: crate::types::c_ulong, |
| pub sa_restorer: __sigrestore_t, |
| pub sa_mask: sigset_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sigaltstack { |
| pub ss_sp: uaddr, |
| pub ss_flags: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub ss_size: __kernel_size_t, |
| } |
| impl Default for sigaltstack { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub type stack_t = sigaltstack; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct stat { |
| pub st_dev: __kernel_ulong_t, |
| pub st_ino: __kernel_ulong_t, |
| pub st_nlink: __kernel_ulong_t, |
| pub st_mode: crate::types::c_uint, |
| pub st_uid: crate::types::c_uint, |
| pub st_gid: crate::types::c_uint, |
| pub __pad0: crate::types::c_uint, |
| pub st_rdev: __kernel_ulong_t, |
| pub st_size: __kernel_long_t, |
| pub st_blksize: __kernel_long_t, |
| pub st_blocks: __kernel_long_t, |
| pub st_atime: __kernel_ulong_t, |
| pub st_atime_nsec: __kernel_ulong_t, |
| pub st_mtime: __kernel_ulong_t, |
| pub st_mtime_nsec: __kernel_ulong_t, |
| pub st_ctime: __kernel_ulong_t, |
| pub st_ctime_nsec: __kernel_ulong_t, |
| pub __linux_unused: [__kernel_long_t; 3usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __old_kernel_stat { |
| pub st_dev: crate::types::c_ushort, |
| pub st_ino: crate::types::c_ushort, |
| pub st_mode: crate::types::c_ushort, |
| pub st_nlink: crate::types::c_ushort, |
| pub st_uid: crate::types::c_ushort, |
| pub st_gid: crate::types::c_ushort, |
| pub st_rdev: crate::types::c_ushort, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub st_size: crate::types::c_uint, |
| pub st_atime: crate::types::c_uint, |
| pub st_mtime: crate::types::c_uint, |
| pub st_ctime: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct statfs { |
| pub f_type: __kernel_long_t, |
| pub f_bsize: __kernel_long_t, |
| pub f_blocks: __kernel_long_t, |
| pub f_bfree: __kernel_long_t, |
| pub f_bavail: __kernel_long_t, |
| pub f_files: __kernel_long_t, |
| pub f_ffree: __kernel_long_t, |
| pub f_fsid: __kernel_fsid_t, |
| pub f_namelen: __kernel_long_t, |
| pub f_frsize: __kernel_long_t, |
| pub f_flags: __kernel_long_t, |
| pub f_spare: [__kernel_long_t; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct statfs64 { |
| pub f_type: __kernel_long_t, |
| pub f_bsize: __kernel_long_t, |
| pub f_blocks: __u64, |
| pub f_bfree: __u64, |
| pub f_bavail: __u64, |
| pub f_files: __u64, |
| pub f_ffree: __u64, |
| pub f_fsid: __kernel_fsid_t, |
| pub f_namelen: __kernel_long_t, |
| pub f_frsize: __kernel_long_t, |
| pub f_flags: __kernel_long_t, |
| pub f_spare: [__kernel_long_t; 4usize], |
| } |
| #[repr(C, packed(4))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct compat_statfs64 { |
| pub f_type: __u32, |
| pub f_bsize: __u32, |
| pub f_blocks: __u64, |
| pub f_bfree: __u64, |
| pub f_bavail: __u64, |
| pub f_files: __u64, |
| pub f_ffree: __u64, |
| pub f_fsid: __kernel_fsid_t, |
| pub f_namelen: __u32, |
| pub f_frsize: __u32, |
| pub f_flags: __u32, |
| pub f_spare: [__u32; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ucontext { |
| pub uc_flags: crate::types::c_ulong, |
| pub uc_link: uref<ucontext>, |
| pub uc_stack: stack_t, |
| pub uc_mcontext: sigcontext, |
| pub uc_sigmask: sigset_t, |
| } |
| impl Default for ucontext { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fscrypt_policy_v1 { |
| pub version: __u8, |
| pub contents_encryption_mode: __u8, |
| pub filenames_encryption_mode: __u8, |
| pub flags: __u8, |
| pub master_key_descriptor: [__u8; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fscrypt_key { |
| pub mode: __u32, |
| pub raw: [__u8; 64usize], |
| pub size: __u32, |
| } |
| impl Default for fscrypt_key { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fscrypt_policy_v2 { |
| pub version: __u8, |
| pub contents_encryption_mode: __u8, |
| pub filenames_encryption_mode: __u8, |
| pub flags: __u8, |
| pub __reserved: [__u8; 4usize], |
| pub master_key_identifier: [__u8; 16usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct fscrypt_get_policy_ex_arg { |
| pub policy_size: __u64, |
| pub policy: fscrypt_get_policy_ex_arg__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union fscrypt_get_policy_ex_arg__bindgen_ty_1 { |
| pub version: __u8, |
| pub v1: fscrypt_policy_v1, |
| pub v2: fscrypt_policy_v2, |
| } |
| impl Default for fscrypt_get_policy_ex_arg__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for fscrypt_get_policy_ex_arg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct fscrypt_key_specifier { |
| pub type_: __u32, |
| pub __reserved: __u32, |
| pub u: fscrypt_key_specifier__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union fscrypt_key_specifier__bindgen_ty_1 { |
| pub __reserved: [__u8; 32usize], |
| pub descriptor: [__u8; 8usize], |
| pub identifier: [__u8; 16usize], |
| } |
| impl Default for fscrypt_key_specifier__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for fscrypt_key_specifier { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct fscrypt_provisioning_key_payload { |
| pub type_: __u32, |
| pub __reserved: __u32, |
| pub raw: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| pub struct fscrypt_add_key_arg { |
| pub key_spec: fscrypt_key_specifier, |
| pub raw_size: __u32, |
| pub key_id: __u32, |
| pub __reserved: [__u32; 7usize], |
| pub __flags: __u32, |
| pub raw: __IncompleteArrayField<__u8>, |
| } |
| impl Default for fscrypt_add_key_arg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct fscrypt_remove_key_arg { |
| pub key_spec: fscrypt_key_specifier, |
| pub removal_status_flags: __u32, |
| pub __reserved: [__u32; 5usize], |
| } |
| impl Default for fscrypt_remove_key_arg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct fscrypt_get_key_status_arg { |
| pub key_spec: fscrypt_key_specifier, |
| pub __reserved: [__u32; 6usize], |
| pub status: __u32, |
| pub status_flags: __u32, |
| pub user_count: __u32, |
| pub __out_reserved: [__u32; 13usize], |
| } |
| impl Default for fscrypt_get_key_status_arg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const fsconfig_command_FSCONFIG_SET_FLAG: fsconfig_command = 0; |
| pub const fsconfig_command_FSCONFIG_SET_STRING: fsconfig_command = 1; |
| pub const fsconfig_command_FSCONFIG_SET_BINARY: fsconfig_command = 2; |
| pub const fsconfig_command_FSCONFIG_SET_PATH: fsconfig_command = 3; |
| pub const fsconfig_command_FSCONFIG_SET_PATH_EMPTY: fsconfig_command = 4; |
| pub const fsconfig_command_FSCONFIG_SET_FD: fsconfig_command = 5; |
| pub const fsconfig_command_FSCONFIG_CMD_CREATE: fsconfig_command = 6; |
| pub const fsconfig_command_FSCONFIG_CMD_RECONFIGURE: fsconfig_command = 7; |
| pub type fsconfig_command = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct mount_attr { |
| pub attr_set: __u64, |
| pub attr_clr: __u64, |
| pub propagation: __u64, |
| pub userns_fd: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct file_clone_range { |
| pub src_fd: __s64, |
| pub src_offset: __u64, |
| pub src_length: __u64, |
| pub dest_offset: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fstrim_range { |
| pub start: __u64, |
| pub len: __u64, |
| pub minlen: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct file_dedupe_range_info { |
| pub dest_fd: __s64, |
| pub dest_offset: __u64, |
| pub bytes_deduped: __u64, |
| pub status: __s32, |
| pub reserved: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct file_dedupe_range { |
| pub src_offset: __u64, |
| pub src_length: __u64, |
| pub dest_count: __u16, |
| pub reserved1: __u16, |
| pub reserved2: __u32, |
| pub info: __IncompleteArrayField<file_dedupe_range_info>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct files_stat_struct { |
| pub nr_files: crate::types::c_ulong, |
| pub nr_free_files: crate::types::c_ulong, |
| pub max_files: crate::types::c_ulong, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct inodes_stat_t { |
| pub nr_inodes: crate::types::c_long, |
| pub nr_unused: crate::types::c_long, |
| pub dummy: [crate::types::c_long; 5usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fsxattr { |
| pub fsx_xflags: __u32, |
| pub fsx_extsize: __u32, |
| pub fsx_nextents: __u32, |
| pub fsx_projid: __u32, |
| pub fsx_cowextsize: __u32, |
| pub fsx_pad: [crate::types::c_uchar; 8usize], |
| } |
| pub type __kernel_rwf_t = crate::types::c_int; |
| pub type aio_context_t = __kernel_ulong_t; |
| pub const IOCB_CMD_PREAD: _bindgen_ty_1 = 0; |
| pub const IOCB_CMD_PWRITE: _bindgen_ty_1 = 1; |
| pub const IOCB_CMD_FSYNC: _bindgen_ty_1 = 2; |
| pub const IOCB_CMD_FDSYNC: _bindgen_ty_1 = 3; |
| pub const IOCB_CMD_POLL: _bindgen_ty_1 = 5; |
| pub const IOCB_CMD_NOOP: _bindgen_ty_1 = 6; |
| pub const IOCB_CMD_PREADV: _bindgen_ty_1 = 7; |
| pub const IOCB_CMD_PWRITEV: _bindgen_ty_1 = 8; |
| pub type _bindgen_ty_1 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct io_event { |
| pub data: __u64, |
| pub obj: __u64, |
| pub res: __s64, |
| pub res2: __s64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct iocb { |
| pub aio_data: __u64, |
| pub aio_key: __u32, |
| pub aio_rw_flags: __kernel_rwf_t, |
| pub aio_lio_opcode: __u16, |
| pub aio_reqprio: __s16, |
| pub aio_fildes: __u32, |
| pub aio_buf: __u64, |
| pub aio_nbytes: __u64, |
| pub aio_offset: __s64, |
| pub aio_reserved2: __u64, |
| pub aio_flags: __u32, |
| pub aio_resfd: __u32, |
| } |
| pub const BINDER_TYPE_BINDER: _bindgen_ty_2 = 1935813253; |
| pub const BINDER_TYPE_WEAK_BINDER: _bindgen_ty_2 = 2002922117; |
| pub const BINDER_TYPE_HANDLE: _bindgen_ty_2 = 1936206469; |
| pub const BINDER_TYPE_WEAK_HANDLE: _bindgen_ty_2 = 2003315333; |
| pub const BINDER_TYPE_FD: _bindgen_ty_2 = 1717840517; |
| pub const BINDER_TYPE_FDA: _bindgen_ty_2 = 1717854597; |
| pub const BINDER_TYPE_PTR: _bindgen_ty_2 = 1886661253; |
| pub type _bindgen_ty_2 = crate::types::c_uint; |
| pub const flat_binder_object_shifts_FLAT_BINDER_FLAG_SCHED_POLICY_SHIFT: flat_binder_object_shifts = |
| 9; |
| pub type flat_binder_object_shifts = crate::types::c_uint; |
| pub const flat_binder_object_flags_FLAT_BINDER_FLAG_PRIORITY_MASK: flat_binder_object_flags = 255; |
| pub const flat_binder_object_flags_FLAT_BINDER_FLAG_ACCEPTS_FDS: flat_binder_object_flags = 256; |
| pub const flat_binder_object_flags_FLAT_BINDER_FLAG_SCHED_POLICY_MASK: flat_binder_object_flags = |
| 1536; |
| pub const flat_binder_object_flags_FLAT_BINDER_FLAG_INHERIT_RT: flat_binder_object_flags = 2048; |
| pub const flat_binder_object_flags_FLAT_BINDER_FLAG_TXN_SECURITY_CTX: flat_binder_object_flags = |
| 4096; |
| pub type flat_binder_object_flags = crate::types::c_uint; |
| pub type binder_size_t = __u64; |
| pub type binder_uintptr_t = __u64; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_object_header { |
| pub type_: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct flat_binder_object { |
| pub hdr: binder_object_header, |
| pub flags: __u32, |
| pub __bindgen_anon_1: flat_binder_object__bindgen_ty_1, |
| pub cookie: binder_uintptr_t, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union flat_binder_object__bindgen_ty_1 { |
| pub binder: binder_uintptr_t, |
| pub handle: __u32, |
| } |
| impl Default for flat_binder_object__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for flat_binder_object { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct binder_fd_object { |
| pub hdr: binder_object_header, |
| pub pad_flags: __u32, |
| pub __bindgen_anon_1: binder_fd_object__bindgen_ty_1, |
| pub cookie: binder_uintptr_t, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union binder_fd_object__bindgen_ty_1 { |
| pub pad_binder: binder_uintptr_t, |
| pub fd: __u32, |
| } |
| impl Default for binder_fd_object__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for binder_fd_object { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_buffer_object { |
| pub hdr: binder_object_header, |
| pub flags: __u32, |
| pub buffer: binder_uintptr_t, |
| pub length: binder_size_t, |
| pub parent: binder_size_t, |
| pub parent_offset: binder_size_t, |
| } |
| pub const BINDER_BUFFER_FLAG_HAS_PARENT: _bindgen_ty_3 = 1; |
| pub type _bindgen_ty_3 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_fd_array_object { |
| pub hdr: binder_object_header, |
| pub pad: __u32, |
| pub num_fds: binder_size_t, |
| pub parent: binder_size_t, |
| pub parent_offset: binder_size_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_write_read { |
| pub write_size: binder_size_t, |
| pub write_consumed: binder_size_t, |
| pub write_buffer: binder_uintptr_t, |
| pub read_size: binder_size_t, |
| pub read_consumed: binder_size_t, |
| pub read_buffer: binder_uintptr_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_version { |
| pub protocol_version: __s32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_node_debug_info { |
| pub ptr: binder_uintptr_t, |
| pub cookie: binder_uintptr_t, |
| pub has_strong_ref: __u32, |
| pub has_weak_ref: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_node_info_for_ref { |
| pub handle: __u32, |
| pub strong_count: __u32, |
| pub weak_count: __u32, |
| pub reserved1: __u32, |
| pub reserved2: __u32, |
| pub reserved3: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_freeze_info { |
| pub pid: __u32, |
| pub enable: __u32, |
| pub timeout_ms: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_frozen_status_info { |
| pub pid: __u32, |
| pub sync_recv: __u32, |
| pub async_recv: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_extended_error { |
| pub id: __u32, |
| pub command: __u32, |
| pub param: __s32, |
| } |
| pub const transaction_flags_TF_ONE_WAY: transaction_flags = 1; |
| pub const transaction_flags_TF_ROOT_OBJECT: transaction_flags = 4; |
| pub const transaction_flags_TF_STATUS_CODE: transaction_flags = 8; |
| pub const transaction_flags_TF_ACCEPT_FDS: transaction_flags = 16; |
| pub const transaction_flags_TF_CLEAR_BUF: transaction_flags = 32; |
| pub const transaction_flags_TF_UPDATE_TXN: transaction_flags = 64; |
| pub type transaction_flags = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct binder_transaction_data { |
| pub target: binder_transaction_data__bindgen_ty_1, |
| pub cookie: binder_uintptr_t, |
| pub code: __u32, |
| pub flags: __u32, |
| pub sender_pid: __kernel_pid_t, |
| pub sender_euid: __kernel_uid32_t, |
| pub data_size: binder_size_t, |
| pub offsets_size: binder_size_t, |
| pub data: binder_transaction_data__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union binder_transaction_data__bindgen_ty_1 { |
| pub handle: __u32, |
| pub ptr: binder_uintptr_t, |
| } |
| impl Default for binder_transaction_data__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union binder_transaction_data__bindgen_ty_2 { |
| pub ptr: binder_transaction_data__bindgen_ty_2__bindgen_ty_1, |
| pub buf: [__u8; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_transaction_data__bindgen_ty_2__bindgen_ty_1 { |
| pub buffer: binder_uintptr_t, |
| pub offsets: binder_uintptr_t, |
| } |
| impl Default for binder_transaction_data__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for binder_transaction_data { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct binder_transaction_data_secctx { |
| pub transaction_data: binder_transaction_data, |
| pub secctx: binder_uintptr_t, |
| } |
| impl Default for binder_transaction_data_secctx { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct binder_transaction_data_sg { |
| pub transaction_data: binder_transaction_data, |
| pub buffers_size: binder_size_t, |
| } |
| impl Default for binder_transaction_data_sg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_ptr_cookie { |
| pub ptr: binder_uintptr_t, |
| pub cookie: binder_uintptr_t, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_handle_cookie { |
| pub handle: __u32, |
| pub cookie: binder_uintptr_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_pri_desc { |
| pub priority: __s32, |
| pub desc: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct binder_pri_ptr_cookie { |
| pub priority: __s32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub ptr: binder_uintptr_t, |
| pub cookie: binder_uintptr_t, |
| } |
| pub const binder_driver_return_protocol_BR_ERROR: binder_driver_return_protocol = 2147774976; |
| pub const binder_driver_return_protocol_BR_OK: binder_driver_return_protocol = 29185; |
| pub const binder_driver_return_protocol_BR_TRANSACTION_SEC_CTX: binder_driver_return_protocol = |
| 2152231426; |
| pub const binder_driver_return_protocol_BR_TRANSACTION: binder_driver_return_protocol = 2151707138; |
| pub const binder_driver_return_protocol_BR_REPLY: binder_driver_return_protocol = 2151707139; |
| pub const binder_driver_return_protocol_BR_ACQUIRE_RESULT: binder_driver_return_protocol = |
| 2147774980; |
| pub const binder_driver_return_protocol_BR_DEAD_REPLY: binder_driver_return_protocol = 29189; |
| pub const binder_driver_return_protocol_BR_TRANSACTION_COMPLETE: binder_driver_return_protocol = |
| 29190; |
| pub const binder_driver_return_protocol_BR_INCREFS: binder_driver_return_protocol = 2148561415; |
| pub const binder_driver_return_protocol_BR_ACQUIRE: binder_driver_return_protocol = 2148561416; |
| pub const binder_driver_return_protocol_BR_RELEASE: binder_driver_return_protocol = 2148561417; |
| pub const binder_driver_return_protocol_BR_DECREFS: binder_driver_return_protocol = 2148561418; |
| pub const binder_driver_return_protocol_BR_ATTEMPT_ACQUIRE: binder_driver_return_protocol = |
| 2149085707; |
| pub const binder_driver_return_protocol_BR_NOOP: binder_driver_return_protocol = 29196; |
| pub const binder_driver_return_protocol_BR_SPAWN_LOOPER: binder_driver_return_protocol = 29197; |
| pub const binder_driver_return_protocol_BR_FINISHED: binder_driver_return_protocol = 29198; |
| pub const binder_driver_return_protocol_BR_DEAD_BINDER: binder_driver_return_protocol = 2148037135; |
| pub const binder_driver_return_protocol_BR_CLEAR_DEATH_NOTIFICATION_DONE: |
| binder_driver_return_protocol = 2148037136; |
| pub const binder_driver_return_protocol_BR_FAILED_REPLY: binder_driver_return_protocol = 29201; |
| pub const binder_driver_return_protocol_BR_FROZEN_REPLY: binder_driver_return_protocol = 29202; |
| pub const binder_driver_return_protocol_BR_ONEWAY_SPAM_SUSPECT: binder_driver_return_protocol = |
| 29203; |
| pub const binder_driver_return_protocol_BR_TRANSACTION_PENDING_FROZEN: |
| binder_driver_return_protocol = 29204; |
| pub type binder_driver_return_protocol = crate::types::c_uint; |
| pub const binder_driver_command_protocol_BC_TRANSACTION: binder_driver_command_protocol = |
| 1077961472; |
| pub const binder_driver_command_protocol_BC_REPLY: binder_driver_command_protocol = 1077961473; |
| pub const binder_driver_command_protocol_BC_ACQUIRE_RESULT: binder_driver_command_protocol = |
| 1074029314; |
| pub const binder_driver_command_protocol_BC_FREE_BUFFER: binder_driver_command_protocol = |
| 1074291459; |
| pub const binder_driver_command_protocol_BC_INCREFS: binder_driver_command_protocol = 1074029316; |
| pub const binder_driver_command_protocol_BC_ACQUIRE: binder_driver_command_protocol = 1074029317; |
| pub const binder_driver_command_protocol_BC_RELEASE: binder_driver_command_protocol = 1074029318; |
| pub const binder_driver_command_protocol_BC_DECREFS: binder_driver_command_protocol = 1074029319; |
| pub const binder_driver_command_protocol_BC_INCREFS_DONE: binder_driver_command_protocol = |
| 1074815752; |
| pub const binder_driver_command_protocol_BC_ACQUIRE_DONE: binder_driver_command_protocol = |
| 1074815753; |
| pub const binder_driver_command_protocol_BC_ATTEMPT_ACQUIRE: binder_driver_command_protocol = |
| 1074291466; |
| pub const binder_driver_command_protocol_BC_REGISTER_LOOPER: binder_driver_command_protocol = 25355; |
| pub const binder_driver_command_protocol_BC_ENTER_LOOPER: binder_driver_command_protocol = 25356; |
| pub const binder_driver_command_protocol_BC_EXIT_LOOPER: binder_driver_command_protocol = 25357; |
| pub const binder_driver_command_protocol_BC_REQUEST_DEATH_NOTIFICATION: |
| binder_driver_command_protocol = 1074553614; |
| pub const binder_driver_command_protocol_BC_CLEAR_DEATH_NOTIFICATION: |
| binder_driver_command_protocol = 1074553615; |
| pub const binder_driver_command_protocol_BC_DEAD_BINDER_DONE: binder_driver_command_protocol = |
| 1074291472; |
| pub const binder_driver_command_protocol_BC_TRANSACTION_SG: binder_driver_command_protocol = |
| 1078485777; |
| pub const binder_driver_command_protocol_BC_REPLY_SG: binder_driver_command_protocol = 1078485778; |
| pub type binder_driver_command_protocol = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ashmem_pin { |
| pub offset: __u32, |
| pub len: __u32, |
| } |
| pub const Audit_equal: _bindgen_ty_4 = 0; |
| pub const Audit_not_equal: _bindgen_ty_4 = 1; |
| pub const Audit_bitmask: _bindgen_ty_4 = 2; |
| pub const Audit_bittest: _bindgen_ty_4 = 3; |
| pub const Audit_lt: _bindgen_ty_4 = 4; |
| pub const Audit_gt: _bindgen_ty_4 = 5; |
| pub const Audit_le: _bindgen_ty_4 = 6; |
| pub const Audit_ge: _bindgen_ty_4 = 7; |
| pub const Audit_bad: _bindgen_ty_4 = 8; |
| pub type _bindgen_ty_4 = crate::types::c_uint; |
| pub const audit_nlgrps_AUDIT_NLGRP_NONE: audit_nlgrps = 0; |
| pub const audit_nlgrps_AUDIT_NLGRP_READLOG: audit_nlgrps = 1; |
| pub const audit_nlgrps___AUDIT_NLGRP_MAX: audit_nlgrps = 2; |
| pub type audit_nlgrps = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct audit_status { |
| pub mask: __u32, |
| pub enabled: __u32, |
| pub failure: __u32, |
| pub pid: __u32, |
| pub rate_limit: __u32, |
| pub backlog_limit: __u32, |
| pub lost: __u32, |
| pub backlog: __u32, |
| pub __bindgen_anon_1: audit_status__bindgen_ty_1, |
| pub backlog_wait_time: __u32, |
| pub backlog_wait_time_actual: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union audit_status__bindgen_ty_1 { |
| pub version: __u32, |
| pub feature_bitmap: __u32, |
| } |
| impl Default for audit_status__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for audit_status { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct audit_features { |
| pub vers: __u32, |
| pub mask: __u32, |
| pub features: __u32, |
| pub lock: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct audit_tty_status { |
| pub enabled: __u32, |
| pub log_passwd: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug)] |
| pub struct audit_rule_data { |
| pub flags: __u32, |
| pub action: __u32, |
| pub field_count: __u32, |
| pub mask: [__u32; 64usize], |
| pub fields: [__u32; 64usize], |
| pub values: [__u32; 64usize], |
| pub fieldflags: [__u32; 64usize], |
| pub buflen: __u32, |
| pub buf: __IncompleteArrayField<crate::types::c_char>, |
| } |
| impl Default for audit_rule_data { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const BPF_REG_0: _bindgen_ty_5 = 0; |
| pub const BPF_REG_1: _bindgen_ty_5 = 1; |
| pub const BPF_REG_2: _bindgen_ty_5 = 2; |
| pub const BPF_REG_3: _bindgen_ty_5 = 3; |
| pub const BPF_REG_4: _bindgen_ty_5 = 4; |
| pub const BPF_REG_5: _bindgen_ty_5 = 5; |
| pub const BPF_REG_6: _bindgen_ty_5 = 6; |
| pub const BPF_REG_7: _bindgen_ty_5 = 7; |
| pub const BPF_REG_8: _bindgen_ty_5 = 8; |
| pub const BPF_REG_9: _bindgen_ty_5 = 9; |
| pub const BPF_REG_10: _bindgen_ty_5 = 10; |
| pub const __MAX_BPF_REG: _bindgen_ty_5 = 11; |
| pub type _bindgen_ty_5 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_insn { |
| pub code: __u8, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| pub off: __s16, |
| pub imm: __s32, |
| } |
| impl bpf_insn { |
| #[inline] |
| pub fn dst_reg(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_dst_reg(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn src_reg(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_src_reg(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1(dst_reg: __u8, src_reg: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 4u8, { |
| let dst_reg: u8 = unsafe { ::std::mem::transmute(dst_reg) }; |
| dst_reg as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 4u8, { |
| let src_reg: u8 = unsafe { ::std::mem::transmute(src_reg) }; |
| src_reg as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct bpf_lpm_trie_key { |
| pub prefixlen: __u32, |
| pub data: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_cgroup_storage_key { |
| pub cgroup_inode_id: __u64, |
| pub attach_type: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| pub const bpf_cgroup_iter_order_BPF_CGROUP_ITER_ORDER_UNSPEC: bpf_cgroup_iter_order = 0; |
| pub const bpf_cgroup_iter_order_BPF_CGROUP_ITER_SELF_ONLY: bpf_cgroup_iter_order = 1; |
| pub const bpf_cgroup_iter_order_BPF_CGROUP_ITER_DESCENDANTS_PRE: bpf_cgroup_iter_order = 2; |
| pub const bpf_cgroup_iter_order_BPF_CGROUP_ITER_DESCENDANTS_POST: bpf_cgroup_iter_order = 3; |
| pub const bpf_cgroup_iter_order_BPF_CGROUP_ITER_ANCESTORS_UP: bpf_cgroup_iter_order = 4; |
| pub type bpf_cgroup_iter_order = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_iter_link_info { |
| pub map: bpf_iter_link_info__bindgen_ty_1, |
| pub cgroup: bpf_iter_link_info__bindgen_ty_2, |
| pub task: bpf_iter_link_info__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_iter_link_info__bindgen_ty_1 { |
| pub map_fd: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_iter_link_info__bindgen_ty_2 { |
| pub order: bpf_cgroup_iter_order, |
| pub cgroup_fd: __u32, |
| pub cgroup_id: __u64, |
| } |
| impl Default for bpf_iter_link_info__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_iter_link_info__bindgen_ty_3 { |
| pub tid: __u32, |
| pub pid: __u32, |
| pub pid_fd: __u32, |
| } |
| impl Default for bpf_iter_link_info { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const bpf_cmd_BPF_MAP_CREATE: bpf_cmd = 0; |
| pub const bpf_cmd_BPF_MAP_LOOKUP_ELEM: bpf_cmd = 1; |
| pub const bpf_cmd_BPF_MAP_UPDATE_ELEM: bpf_cmd = 2; |
| pub const bpf_cmd_BPF_MAP_DELETE_ELEM: bpf_cmd = 3; |
| pub const bpf_cmd_BPF_MAP_GET_NEXT_KEY: bpf_cmd = 4; |
| pub const bpf_cmd_BPF_PROG_LOAD: bpf_cmd = 5; |
| pub const bpf_cmd_BPF_OBJ_PIN: bpf_cmd = 6; |
| pub const bpf_cmd_BPF_OBJ_GET: bpf_cmd = 7; |
| pub const bpf_cmd_BPF_PROG_ATTACH: bpf_cmd = 8; |
| pub const bpf_cmd_BPF_PROG_DETACH: bpf_cmd = 9; |
| pub const bpf_cmd_BPF_PROG_TEST_RUN: bpf_cmd = 10; |
| pub const bpf_cmd_BPF_PROG_RUN: bpf_cmd = 10; |
| pub const bpf_cmd_BPF_PROG_GET_NEXT_ID: bpf_cmd = 11; |
| pub const bpf_cmd_BPF_MAP_GET_NEXT_ID: bpf_cmd = 12; |
| pub const bpf_cmd_BPF_PROG_GET_FD_BY_ID: bpf_cmd = 13; |
| pub const bpf_cmd_BPF_MAP_GET_FD_BY_ID: bpf_cmd = 14; |
| pub const bpf_cmd_BPF_OBJ_GET_INFO_BY_FD: bpf_cmd = 15; |
| pub const bpf_cmd_BPF_PROG_QUERY: bpf_cmd = 16; |
| pub const bpf_cmd_BPF_RAW_TRACEPOINT_OPEN: bpf_cmd = 17; |
| pub const bpf_cmd_BPF_BTF_LOAD: bpf_cmd = 18; |
| pub const bpf_cmd_BPF_BTF_GET_FD_BY_ID: bpf_cmd = 19; |
| pub const bpf_cmd_BPF_TASK_FD_QUERY: bpf_cmd = 20; |
| pub const bpf_cmd_BPF_MAP_LOOKUP_AND_DELETE_ELEM: bpf_cmd = 21; |
| pub const bpf_cmd_BPF_MAP_FREEZE: bpf_cmd = 22; |
| pub const bpf_cmd_BPF_BTF_GET_NEXT_ID: bpf_cmd = 23; |
| pub const bpf_cmd_BPF_MAP_LOOKUP_BATCH: bpf_cmd = 24; |
| pub const bpf_cmd_BPF_MAP_LOOKUP_AND_DELETE_BATCH: bpf_cmd = 25; |
| pub const bpf_cmd_BPF_MAP_UPDATE_BATCH: bpf_cmd = 26; |
| pub const bpf_cmd_BPF_MAP_DELETE_BATCH: bpf_cmd = 27; |
| pub const bpf_cmd_BPF_LINK_CREATE: bpf_cmd = 28; |
| pub const bpf_cmd_BPF_LINK_UPDATE: bpf_cmd = 29; |
| pub const bpf_cmd_BPF_LINK_GET_FD_BY_ID: bpf_cmd = 30; |
| pub const bpf_cmd_BPF_LINK_GET_NEXT_ID: bpf_cmd = 31; |
| pub const bpf_cmd_BPF_ENABLE_STATS: bpf_cmd = 32; |
| pub const bpf_cmd_BPF_ITER_CREATE: bpf_cmd = 33; |
| pub const bpf_cmd_BPF_LINK_DETACH: bpf_cmd = 34; |
| pub const bpf_cmd_BPF_PROG_BIND_MAP: bpf_cmd = 35; |
| pub type bpf_cmd = crate::types::c_uint; |
| pub const bpf_map_type_BPF_MAP_TYPE_UNSPEC: bpf_map_type = 0; |
| pub const bpf_map_type_BPF_MAP_TYPE_HASH: bpf_map_type = 1; |
| pub const bpf_map_type_BPF_MAP_TYPE_ARRAY: bpf_map_type = 2; |
| pub const bpf_map_type_BPF_MAP_TYPE_PROG_ARRAY: bpf_map_type = 3; |
| pub const bpf_map_type_BPF_MAP_TYPE_PERF_EVENT_ARRAY: bpf_map_type = 4; |
| pub const bpf_map_type_BPF_MAP_TYPE_PERCPU_HASH: bpf_map_type = 5; |
| pub const bpf_map_type_BPF_MAP_TYPE_PERCPU_ARRAY: bpf_map_type = 6; |
| pub const bpf_map_type_BPF_MAP_TYPE_STACK_TRACE: bpf_map_type = 7; |
| pub const bpf_map_type_BPF_MAP_TYPE_CGROUP_ARRAY: bpf_map_type = 8; |
| pub const bpf_map_type_BPF_MAP_TYPE_LRU_HASH: bpf_map_type = 9; |
| pub const bpf_map_type_BPF_MAP_TYPE_LRU_PERCPU_HASH: bpf_map_type = 10; |
| pub const bpf_map_type_BPF_MAP_TYPE_LPM_TRIE: bpf_map_type = 11; |
| pub const bpf_map_type_BPF_MAP_TYPE_ARRAY_OF_MAPS: bpf_map_type = 12; |
| pub const bpf_map_type_BPF_MAP_TYPE_HASH_OF_MAPS: bpf_map_type = 13; |
| pub const bpf_map_type_BPF_MAP_TYPE_DEVMAP: bpf_map_type = 14; |
| pub const bpf_map_type_BPF_MAP_TYPE_SOCKMAP: bpf_map_type = 15; |
| pub const bpf_map_type_BPF_MAP_TYPE_CPUMAP: bpf_map_type = 16; |
| pub const bpf_map_type_BPF_MAP_TYPE_XSKMAP: bpf_map_type = 17; |
| pub const bpf_map_type_BPF_MAP_TYPE_SOCKHASH: bpf_map_type = 18; |
| pub const bpf_map_type_BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED: bpf_map_type = 19; |
| pub const bpf_map_type_BPF_MAP_TYPE_CGROUP_STORAGE: bpf_map_type = 19; |
| pub const bpf_map_type_BPF_MAP_TYPE_REUSEPORT_SOCKARRAY: bpf_map_type = 20; |
| pub const bpf_map_type_BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE: bpf_map_type = 21; |
| pub const bpf_map_type_BPF_MAP_TYPE_QUEUE: bpf_map_type = 22; |
| pub const bpf_map_type_BPF_MAP_TYPE_STACK: bpf_map_type = 23; |
| pub const bpf_map_type_BPF_MAP_TYPE_SK_STORAGE: bpf_map_type = 24; |
| pub const bpf_map_type_BPF_MAP_TYPE_DEVMAP_HASH: bpf_map_type = 25; |
| pub const bpf_map_type_BPF_MAP_TYPE_STRUCT_OPS: bpf_map_type = 26; |
| pub const bpf_map_type_BPF_MAP_TYPE_RINGBUF: bpf_map_type = 27; |
| pub const bpf_map_type_BPF_MAP_TYPE_INODE_STORAGE: bpf_map_type = 28; |
| pub const bpf_map_type_BPF_MAP_TYPE_TASK_STORAGE: bpf_map_type = 29; |
| pub const bpf_map_type_BPF_MAP_TYPE_BLOOM_FILTER: bpf_map_type = 30; |
| pub const bpf_map_type_BPF_MAP_TYPE_USER_RINGBUF: bpf_map_type = 31; |
| pub const bpf_map_type_BPF_MAP_TYPE_CGRP_STORAGE: bpf_map_type = 32; |
| pub type bpf_map_type = crate::types::c_uint; |
| pub const bpf_prog_type_BPF_PROG_TYPE_UNSPEC: bpf_prog_type = 0; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SOCKET_FILTER: bpf_prog_type = 1; |
| pub const bpf_prog_type_BPF_PROG_TYPE_KPROBE: bpf_prog_type = 2; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SCHED_CLS: bpf_prog_type = 3; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SCHED_ACT: bpf_prog_type = 4; |
| pub const bpf_prog_type_BPF_PROG_TYPE_TRACEPOINT: bpf_prog_type = 5; |
| pub const bpf_prog_type_BPF_PROG_TYPE_XDP: bpf_prog_type = 6; |
| pub const bpf_prog_type_BPF_PROG_TYPE_PERF_EVENT: bpf_prog_type = 7; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_SKB: bpf_prog_type = 8; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCK: bpf_prog_type = 9; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LWT_IN: bpf_prog_type = 10; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LWT_OUT: bpf_prog_type = 11; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LWT_XMIT: bpf_prog_type = 12; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SOCK_OPS: bpf_prog_type = 13; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SK_SKB: bpf_prog_type = 14; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_DEVICE: bpf_prog_type = 15; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SK_MSG: bpf_prog_type = 16; |
| pub const bpf_prog_type_BPF_PROG_TYPE_RAW_TRACEPOINT: bpf_prog_type = 17; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCK_ADDR: bpf_prog_type = 18; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LWT_SEG6LOCAL: bpf_prog_type = 19; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LIRC_MODE2: bpf_prog_type = 20; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SK_REUSEPORT: bpf_prog_type = 21; |
| pub const bpf_prog_type_BPF_PROG_TYPE_FLOW_DISSECTOR: bpf_prog_type = 22; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_SYSCTL: bpf_prog_type = 23; |
| pub const bpf_prog_type_BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE: bpf_prog_type = 24; |
| pub const bpf_prog_type_BPF_PROG_TYPE_CGROUP_SOCKOPT: bpf_prog_type = 25; |
| pub const bpf_prog_type_BPF_PROG_TYPE_TRACING: bpf_prog_type = 26; |
| pub const bpf_prog_type_BPF_PROG_TYPE_STRUCT_OPS: bpf_prog_type = 27; |
| pub const bpf_prog_type_BPF_PROG_TYPE_EXT: bpf_prog_type = 28; |
| pub const bpf_prog_type_BPF_PROG_TYPE_LSM: bpf_prog_type = 29; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SK_LOOKUP: bpf_prog_type = 30; |
| pub const bpf_prog_type_BPF_PROG_TYPE_SYSCALL: bpf_prog_type = 31; |
| pub const bpf_prog_type_BPF_PROG_TYPE_NETFILTER: bpf_prog_type = 32; |
| pub type bpf_prog_type = crate::types::c_uint; |
| pub const bpf_attach_type_BPF_CGROUP_INET_INGRESS: bpf_attach_type = 0; |
| pub const bpf_attach_type_BPF_CGROUP_INET_EGRESS: bpf_attach_type = 1; |
| pub const bpf_attach_type_BPF_CGROUP_INET_SOCK_CREATE: bpf_attach_type = 2; |
| pub const bpf_attach_type_BPF_CGROUP_SOCK_OPS: bpf_attach_type = 3; |
| pub const bpf_attach_type_BPF_SK_SKB_STREAM_PARSER: bpf_attach_type = 4; |
| pub const bpf_attach_type_BPF_SK_SKB_STREAM_VERDICT: bpf_attach_type = 5; |
| pub const bpf_attach_type_BPF_CGROUP_DEVICE: bpf_attach_type = 6; |
| pub const bpf_attach_type_BPF_SK_MSG_VERDICT: bpf_attach_type = 7; |
| pub const bpf_attach_type_BPF_CGROUP_INET4_BIND: bpf_attach_type = 8; |
| pub const bpf_attach_type_BPF_CGROUP_INET6_BIND: bpf_attach_type = 9; |
| pub const bpf_attach_type_BPF_CGROUP_INET4_CONNECT: bpf_attach_type = 10; |
| pub const bpf_attach_type_BPF_CGROUP_INET6_CONNECT: bpf_attach_type = 11; |
| pub const bpf_attach_type_BPF_CGROUP_INET4_POST_BIND: bpf_attach_type = 12; |
| pub const bpf_attach_type_BPF_CGROUP_INET6_POST_BIND: bpf_attach_type = 13; |
| pub const bpf_attach_type_BPF_CGROUP_UDP4_SENDMSG: bpf_attach_type = 14; |
| pub const bpf_attach_type_BPF_CGROUP_UDP6_SENDMSG: bpf_attach_type = 15; |
| pub const bpf_attach_type_BPF_LIRC_MODE2: bpf_attach_type = 16; |
| pub const bpf_attach_type_BPF_FLOW_DISSECTOR: bpf_attach_type = 17; |
| pub const bpf_attach_type_BPF_CGROUP_SYSCTL: bpf_attach_type = 18; |
| pub const bpf_attach_type_BPF_CGROUP_UDP4_RECVMSG: bpf_attach_type = 19; |
| pub const bpf_attach_type_BPF_CGROUP_UDP6_RECVMSG: bpf_attach_type = 20; |
| pub const bpf_attach_type_BPF_CGROUP_GETSOCKOPT: bpf_attach_type = 21; |
| pub const bpf_attach_type_BPF_CGROUP_SETSOCKOPT: bpf_attach_type = 22; |
| pub const bpf_attach_type_BPF_TRACE_RAW_TP: bpf_attach_type = 23; |
| pub const bpf_attach_type_BPF_TRACE_FENTRY: bpf_attach_type = 24; |
| pub const bpf_attach_type_BPF_TRACE_FEXIT: bpf_attach_type = 25; |
| pub const bpf_attach_type_BPF_MODIFY_RETURN: bpf_attach_type = 26; |
| pub const bpf_attach_type_BPF_LSM_MAC: bpf_attach_type = 27; |
| pub const bpf_attach_type_BPF_TRACE_ITER: bpf_attach_type = 28; |
| pub const bpf_attach_type_BPF_CGROUP_INET4_GETPEERNAME: bpf_attach_type = 29; |
| pub const bpf_attach_type_BPF_CGROUP_INET6_GETPEERNAME: bpf_attach_type = 30; |
| pub const bpf_attach_type_BPF_CGROUP_INET4_GETSOCKNAME: bpf_attach_type = 31; |
| pub const bpf_attach_type_BPF_CGROUP_INET6_GETSOCKNAME: bpf_attach_type = 32; |
| pub const bpf_attach_type_BPF_XDP_DEVMAP: bpf_attach_type = 33; |
| pub const bpf_attach_type_BPF_CGROUP_INET_SOCK_RELEASE: bpf_attach_type = 34; |
| pub const bpf_attach_type_BPF_XDP_CPUMAP: bpf_attach_type = 35; |
| pub const bpf_attach_type_BPF_SK_LOOKUP: bpf_attach_type = 36; |
| pub const bpf_attach_type_BPF_XDP: bpf_attach_type = 37; |
| pub const bpf_attach_type_BPF_SK_SKB_VERDICT: bpf_attach_type = 38; |
| pub const bpf_attach_type_BPF_SK_REUSEPORT_SELECT: bpf_attach_type = 39; |
| pub const bpf_attach_type_BPF_SK_REUSEPORT_SELECT_OR_MIGRATE: bpf_attach_type = 40; |
| pub const bpf_attach_type_BPF_PERF_EVENT: bpf_attach_type = 41; |
| pub const bpf_attach_type_BPF_TRACE_KPROBE_MULTI: bpf_attach_type = 42; |
| pub const bpf_attach_type_BPF_LSM_CGROUP: bpf_attach_type = 43; |
| pub const bpf_attach_type_BPF_STRUCT_OPS: bpf_attach_type = 44; |
| pub const bpf_attach_type_BPF_NETFILTER: bpf_attach_type = 45; |
| pub const bpf_attach_type___MAX_BPF_ATTACH_TYPE: bpf_attach_type = 46; |
| pub type bpf_attach_type = crate::types::c_uint; |
| pub const bpf_link_type_BPF_LINK_TYPE_UNSPEC: bpf_link_type = 0; |
| pub const bpf_link_type_BPF_LINK_TYPE_RAW_TRACEPOINT: bpf_link_type = 1; |
| pub const bpf_link_type_BPF_LINK_TYPE_TRACING: bpf_link_type = 2; |
| pub const bpf_link_type_BPF_LINK_TYPE_CGROUP: bpf_link_type = 3; |
| pub const bpf_link_type_BPF_LINK_TYPE_ITER: bpf_link_type = 4; |
| pub const bpf_link_type_BPF_LINK_TYPE_NETNS: bpf_link_type = 5; |
| pub const bpf_link_type_BPF_LINK_TYPE_XDP: bpf_link_type = 6; |
| pub const bpf_link_type_BPF_LINK_TYPE_PERF_EVENT: bpf_link_type = 7; |
| pub const bpf_link_type_BPF_LINK_TYPE_KPROBE_MULTI: bpf_link_type = 8; |
| pub const bpf_link_type_BPF_LINK_TYPE_STRUCT_OPS: bpf_link_type = 9; |
| pub const bpf_link_type_BPF_LINK_TYPE_NETFILTER: bpf_link_type = 10; |
| pub const bpf_link_type_MAX_BPF_LINK_TYPE: bpf_link_type = 11; |
| pub type bpf_link_type = crate::types::c_uint; |
| pub const BPF_ANY: _bindgen_ty_6 = 0; |
| pub const BPF_NOEXIST: _bindgen_ty_6 = 1; |
| pub const BPF_EXIST: _bindgen_ty_6 = 2; |
| pub const BPF_F_LOCK: _bindgen_ty_6 = 4; |
| pub type _bindgen_ty_6 = crate::types::c_uint; |
| pub const BPF_F_NO_PREALLOC: _bindgen_ty_7 = 1; |
| pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_7 = 2; |
| pub const BPF_F_NUMA_NODE: _bindgen_ty_7 = 4; |
| pub const BPF_F_RDONLY: _bindgen_ty_7 = 8; |
| pub const BPF_F_WRONLY: _bindgen_ty_7 = 16; |
| pub const BPF_F_STACK_BUILD_ID: _bindgen_ty_7 = 32; |
| pub const BPF_F_ZERO_SEED: _bindgen_ty_7 = 64; |
| pub const BPF_F_RDONLY_PROG: _bindgen_ty_7 = 128; |
| pub const BPF_F_WRONLY_PROG: _bindgen_ty_7 = 256; |
| pub const BPF_F_CLONE: _bindgen_ty_7 = 512; |
| pub const BPF_F_MMAPABLE: _bindgen_ty_7 = 1024; |
| pub const BPF_F_PRESERVE_ELEMS: _bindgen_ty_7 = 2048; |
| pub const BPF_F_INNER_MAP: _bindgen_ty_7 = 4096; |
| pub const BPF_F_LINK: _bindgen_ty_7 = 8192; |
| pub const BPF_F_PATH_FD: _bindgen_ty_7 = 16384; |
| pub type _bindgen_ty_7 = crate::types::c_uint; |
| pub const bpf_stats_type_BPF_STATS_RUN_TIME: bpf_stats_type = 0; |
| pub type bpf_stats_type = crate::types::c_uint; |
| pub const bpf_stack_build_id_status_BPF_STACK_BUILD_ID_EMPTY: bpf_stack_build_id_status = 0; |
| pub const bpf_stack_build_id_status_BPF_STACK_BUILD_ID_VALID: bpf_stack_build_id_status = 1; |
| pub const bpf_stack_build_id_status_BPF_STACK_BUILD_ID_IP: bpf_stack_build_id_status = 2; |
| pub type bpf_stack_build_id_status = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_stack_build_id { |
| pub status: __s32, |
| pub build_id: [crate::types::c_uchar; 20usize], |
| pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_stack_build_id__bindgen_ty_1 { |
| pub offset: __u64, |
| pub ip: __u64, |
| } |
| impl Default for bpf_stack_build_id__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_stack_build_id { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr { |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_1, |
| pub __bindgen_anon_2: bpf_attr__bindgen_ty_2, |
| pub batch: bpf_attr__bindgen_ty_3, |
| pub __bindgen_anon_3: bpf_attr__bindgen_ty_4, |
| pub __bindgen_anon_4: bpf_attr__bindgen_ty_5, |
| pub __bindgen_anon_5: bpf_attr__bindgen_ty_6, |
| pub test: bpf_attr__bindgen_ty_7, |
| pub __bindgen_anon_6: bpf_attr__bindgen_ty_8, |
| pub info: bpf_attr__bindgen_ty_9, |
| pub query: bpf_attr__bindgen_ty_10, |
| pub raw_tracepoint: bpf_attr__bindgen_ty_11, |
| pub __bindgen_anon_7: bpf_attr__bindgen_ty_12, |
| pub task_fd_query: bpf_attr__bindgen_ty_13, |
| pub link_create: bpf_attr__bindgen_ty_14, |
| pub link_update: bpf_attr__bindgen_ty_15, |
| pub link_detach: bpf_attr__bindgen_ty_16, |
| pub enable_stats: bpf_attr__bindgen_ty_17, |
| pub iter_create: bpf_attr__bindgen_ty_18, |
| pub prog_bind_map: bpf_attr__bindgen_ty_19, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_1 { |
| pub map_type: __u32, |
| pub key_size: __u32, |
| pub value_size: __u32, |
| pub max_entries: __u32, |
| pub map_flags: __u32, |
| pub inner_map_fd: __u32, |
| pub numa_node: __u32, |
| pub map_name: [crate::types::c_char; 16usize], |
| pub map_ifindex: __u32, |
| pub btf_fd: __u32, |
| pub btf_key_type_id: __u32, |
| pub btf_value_type_id: __u32, |
| pub btf_vmlinux_value_type_id: __u32, |
| pub map_extra: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_2 { |
| pub map_fd: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub key: __u64, |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_2__bindgen_ty_1, |
| pub flags: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_2__bindgen_ty_1 { |
| pub value: __u64, |
| pub next_key: __u64, |
| } |
| impl Default for bpf_attr__bindgen_ty_2__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_attr__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_3 { |
| pub in_batch: __u64, |
| pub out_batch: __u64, |
| pub keys: __u64, |
| pub values: __u64, |
| pub count: __u32, |
| pub map_fd: __u32, |
| pub elem_flags: __u64, |
| pub flags: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_4 { |
| pub prog_type: __u32, |
| pub insn_cnt: __u32, |
| pub insns: __u64, |
| pub license: __u64, |
| pub log_level: __u32, |
| pub log_size: __u32, |
| pub log_buf: __u64, |
| pub kern_version: __u32, |
| pub prog_flags: __u32, |
| pub prog_name: [crate::types::c_char; 16usize], |
| pub prog_ifindex: __u32, |
| pub expected_attach_type: __u32, |
| pub prog_btf_fd: __u32, |
| pub func_info_rec_size: __u32, |
| pub func_info: __u64, |
| pub func_info_cnt: __u32, |
| pub line_info_rec_size: __u32, |
| pub line_info: __u64, |
| pub line_info_cnt: __u32, |
| pub attach_btf_id: __u32, |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_4__bindgen_ty_1, |
| pub core_relo_cnt: __u32, |
| pub fd_array: __u64, |
| pub core_relos: __u64, |
| pub core_relo_rec_size: __u32, |
| pub log_true_size: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_4__bindgen_ty_1 { |
| pub attach_prog_fd: __u32, |
| pub attach_btf_obj_fd: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_4__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_attr__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_5 { |
| pub pathname: __u64, |
| pub bpf_fd: __u32, |
| pub file_flags: __u32, |
| pub path_fd: __s32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_6 { |
| pub target_fd: __u32, |
| pub attach_bpf_fd: __u32, |
| pub attach_type: __u32, |
| pub attach_flags: __u32, |
| pub replace_bpf_fd: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_7 { |
| pub prog_fd: __u32, |
| pub retval: __u32, |
| pub data_size_in: __u32, |
| pub data_size_out: __u32, |
| pub data_in: __u64, |
| pub data_out: __u64, |
| pub repeat: __u32, |
| pub duration: __u32, |
| pub ctx_size_in: __u32, |
| pub ctx_size_out: __u32, |
| pub ctx_in: __u64, |
| pub ctx_out: __u64, |
| pub flags: __u32, |
| pub cpu: __u32, |
| pub batch_size: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_8 { |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_8__bindgen_ty_1, |
| pub next_id: __u32, |
| pub open_flags: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_8__bindgen_ty_1 { |
| pub start_id: __u32, |
| pub prog_id: __u32, |
| pub map_id: __u32, |
| pub btf_id: __u32, |
| pub link_id: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_8__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_attr__bindgen_ty_8 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_9 { |
| pub bpf_fd: __u32, |
| pub info_len: __u32, |
| pub info: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_10 { |
| pub target_fd: __u32, |
| pub attach_type: __u32, |
| pub query_flags: __u32, |
| pub attach_flags: __u32, |
| pub prog_ids: __u64, |
| pub prog_cnt: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub prog_attach_flags: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_11 { |
| pub name: __u64, |
| pub prog_fd: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_12 { |
| pub btf: __u64, |
| pub btf_log_buf: __u64, |
| pub btf_size: __u32, |
| pub btf_log_size: __u32, |
| pub btf_log_level: __u32, |
| pub btf_log_true_size: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_13 { |
| pub pid: __u32, |
| pub fd: __u32, |
| pub flags: __u32, |
| pub buf_len: __u32, |
| pub buf: __u64, |
| pub prog_id: __u32, |
| pub fd_type: __u32, |
| pub probe_offset: __u64, |
| pub probe_addr: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14 { |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_14__bindgen_ty_1, |
| pub __bindgen_anon_2: bpf_attr__bindgen_ty_14__bindgen_ty_2, |
| pub attach_type: __u32, |
| pub flags: __u32, |
| pub __bindgen_anon_3: bpf_attr__bindgen_ty_14__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_14__bindgen_ty_1 { |
| pub prog_fd: __u32, |
| pub map_fd: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_14__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 { |
| pub target_fd: __u32, |
| pub target_ifindex: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_14__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_14__bindgen_ty_3 { |
| pub target_btf_id: __u32, |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_1, |
| pub perf_event: bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_2, |
| pub kprobe_multi: bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_3, |
| pub tracing: bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_4, |
| pub netfilter: bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_5, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_1 { |
| pub iter_info: __u64, |
| pub iter_info_len: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_2 { |
| pub bpf_cookie: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_3 { |
| pub flags: __u32, |
| pub cnt: __u32, |
| pub syms: __u64, |
| pub addrs: __u64, |
| pub cookies: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_4 { |
| pub target_btf_id: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub cookie: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_5 { |
| pub pf: __u32, |
| pub hooknum: __u32, |
| pub priority: __s32, |
| pub flags: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_14__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_attr__bindgen_ty_14 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_15 { |
| pub link_fd: __u32, |
| pub __bindgen_anon_1: bpf_attr__bindgen_ty_15__bindgen_ty_1, |
| pub flags: __u32, |
| pub __bindgen_anon_2: bpf_attr__bindgen_ty_15__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_15__bindgen_ty_1 { |
| pub new_prog_fd: __u32, |
| pub new_map_fd: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_15__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union bpf_attr__bindgen_ty_15__bindgen_ty_2 { |
| pub old_prog_fd: __u32, |
| pub old_map_fd: __u32, |
| } |
| impl Default for bpf_attr__bindgen_ty_15__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_attr__bindgen_ty_15 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_16 { |
| pub link_fd: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_17 { |
| pub type_: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_18 { |
| pub link_fd: __u32, |
| pub flags: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_attr__bindgen_ty_19 { |
| pub prog_fd: __u32, |
| pub map_fd: __u32, |
| pub flags: __u32, |
| } |
| impl Default for bpf_attr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const bpf_func_id_BPF_FUNC_unspec: bpf_func_id = 0; |
| pub const bpf_func_id_BPF_FUNC_map_lookup_elem: bpf_func_id = 1; |
| pub const bpf_func_id_BPF_FUNC_map_update_elem: bpf_func_id = 2; |
| pub const bpf_func_id_BPF_FUNC_map_delete_elem: bpf_func_id = 3; |
| pub const bpf_func_id_BPF_FUNC_probe_read: bpf_func_id = 4; |
| pub const bpf_func_id_BPF_FUNC_ktime_get_ns: bpf_func_id = 5; |
| pub const bpf_func_id_BPF_FUNC_trace_printk: bpf_func_id = 6; |
| pub const bpf_func_id_BPF_FUNC_get_prandom_u32: bpf_func_id = 7; |
| pub const bpf_func_id_BPF_FUNC_get_smp_processor_id: bpf_func_id = 8; |
| pub const bpf_func_id_BPF_FUNC_skb_store_bytes: bpf_func_id = 9; |
| pub const bpf_func_id_BPF_FUNC_l3_csum_replace: bpf_func_id = 10; |
| pub const bpf_func_id_BPF_FUNC_l4_csum_replace: bpf_func_id = 11; |
| pub const bpf_func_id_BPF_FUNC_tail_call: bpf_func_id = 12; |
| pub const bpf_func_id_BPF_FUNC_clone_redirect: bpf_func_id = 13; |
| pub const bpf_func_id_BPF_FUNC_get_current_pid_tgid: bpf_func_id = 14; |
| pub const bpf_func_id_BPF_FUNC_get_current_uid_gid: bpf_func_id = 15; |
| pub const bpf_func_id_BPF_FUNC_get_current_comm: bpf_func_id = 16; |
| pub const bpf_func_id_BPF_FUNC_get_cgroup_classid: bpf_func_id = 17; |
| pub const bpf_func_id_BPF_FUNC_skb_vlan_push: bpf_func_id = 18; |
| pub const bpf_func_id_BPF_FUNC_skb_vlan_pop: bpf_func_id = 19; |
| pub const bpf_func_id_BPF_FUNC_skb_get_tunnel_key: bpf_func_id = 20; |
| pub const bpf_func_id_BPF_FUNC_skb_set_tunnel_key: bpf_func_id = 21; |
| pub const bpf_func_id_BPF_FUNC_perf_event_read: bpf_func_id = 22; |
| pub const bpf_func_id_BPF_FUNC_redirect: bpf_func_id = 23; |
| pub const bpf_func_id_BPF_FUNC_get_route_realm: bpf_func_id = 24; |
| pub const bpf_func_id_BPF_FUNC_perf_event_output: bpf_func_id = 25; |
| pub const bpf_func_id_BPF_FUNC_skb_load_bytes: bpf_func_id = 26; |
| pub const bpf_func_id_BPF_FUNC_get_stackid: bpf_func_id = 27; |
| pub const bpf_func_id_BPF_FUNC_csum_diff: bpf_func_id = 28; |
| pub const bpf_func_id_BPF_FUNC_skb_get_tunnel_opt: bpf_func_id = 29; |
| pub const bpf_func_id_BPF_FUNC_skb_set_tunnel_opt: bpf_func_id = 30; |
| pub const bpf_func_id_BPF_FUNC_skb_change_proto: bpf_func_id = 31; |
| pub const bpf_func_id_BPF_FUNC_skb_change_type: bpf_func_id = 32; |
| pub const bpf_func_id_BPF_FUNC_skb_under_cgroup: bpf_func_id = 33; |
| pub const bpf_func_id_BPF_FUNC_get_hash_recalc: bpf_func_id = 34; |
| pub const bpf_func_id_BPF_FUNC_get_current_task: bpf_func_id = 35; |
| pub const bpf_func_id_BPF_FUNC_probe_write_user: bpf_func_id = 36; |
| pub const bpf_func_id_BPF_FUNC_current_task_under_cgroup: bpf_func_id = 37; |
| pub const bpf_func_id_BPF_FUNC_skb_change_tail: bpf_func_id = 38; |
| pub const bpf_func_id_BPF_FUNC_skb_pull_data: bpf_func_id = 39; |
| pub const bpf_func_id_BPF_FUNC_csum_update: bpf_func_id = 40; |
| pub const bpf_func_id_BPF_FUNC_set_hash_invalid: bpf_func_id = 41; |
| pub const bpf_func_id_BPF_FUNC_get_numa_node_id: bpf_func_id = 42; |
| pub const bpf_func_id_BPF_FUNC_skb_change_head: bpf_func_id = 43; |
| pub const bpf_func_id_BPF_FUNC_xdp_adjust_head: bpf_func_id = 44; |
| pub const bpf_func_id_BPF_FUNC_probe_read_str: bpf_func_id = 45; |
| pub const bpf_func_id_BPF_FUNC_get_socket_cookie: bpf_func_id = 46; |
| pub const bpf_func_id_BPF_FUNC_get_socket_uid: bpf_func_id = 47; |
| pub const bpf_func_id_BPF_FUNC_set_hash: bpf_func_id = 48; |
| pub const bpf_func_id_BPF_FUNC_setsockopt: bpf_func_id = 49; |
| pub const bpf_func_id_BPF_FUNC_skb_adjust_room: bpf_func_id = 50; |
| pub const bpf_func_id_BPF_FUNC_redirect_map: bpf_func_id = 51; |
| pub const bpf_func_id_BPF_FUNC_sk_redirect_map: bpf_func_id = 52; |
| pub const bpf_func_id_BPF_FUNC_sock_map_update: bpf_func_id = 53; |
| pub const bpf_func_id_BPF_FUNC_xdp_adjust_meta: bpf_func_id = 54; |
| pub const bpf_func_id_BPF_FUNC_perf_event_read_value: bpf_func_id = 55; |
| pub const bpf_func_id_BPF_FUNC_perf_prog_read_value: bpf_func_id = 56; |
| pub const bpf_func_id_BPF_FUNC_getsockopt: bpf_func_id = 57; |
| pub const bpf_func_id_BPF_FUNC_override_return: bpf_func_id = 58; |
| pub const bpf_func_id_BPF_FUNC_sock_ops_cb_flags_set: bpf_func_id = 59; |
| pub const bpf_func_id_BPF_FUNC_msg_redirect_map: bpf_func_id = 60; |
| pub const bpf_func_id_BPF_FUNC_msg_apply_bytes: bpf_func_id = 61; |
| pub const bpf_func_id_BPF_FUNC_msg_cork_bytes: bpf_func_id = 62; |
| pub const bpf_func_id_BPF_FUNC_msg_pull_data: bpf_func_id = 63; |
| pub const bpf_func_id_BPF_FUNC_bind: bpf_func_id = 64; |
| pub const bpf_func_id_BPF_FUNC_xdp_adjust_tail: bpf_func_id = 65; |
| pub const bpf_func_id_BPF_FUNC_skb_get_xfrm_state: bpf_func_id = 66; |
| pub const bpf_func_id_BPF_FUNC_get_stack: bpf_func_id = 67; |
| pub const bpf_func_id_BPF_FUNC_skb_load_bytes_relative: bpf_func_id = 68; |
| pub const bpf_func_id_BPF_FUNC_fib_lookup: bpf_func_id = 69; |
| pub const bpf_func_id_BPF_FUNC_sock_hash_update: bpf_func_id = 70; |
| pub const bpf_func_id_BPF_FUNC_msg_redirect_hash: bpf_func_id = 71; |
| pub const bpf_func_id_BPF_FUNC_sk_redirect_hash: bpf_func_id = 72; |
| pub const bpf_func_id_BPF_FUNC_lwt_push_encap: bpf_func_id = 73; |
| pub const bpf_func_id_BPF_FUNC_lwt_seg6_store_bytes: bpf_func_id = 74; |
| pub const bpf_func_id_BPF_FUNC_lwt_seg6_adjust_srh: bpf_func_id = 75; |
| pub const bpf_func_id_BPF_FUNC_lwt_seg6_action: bpf_func_id = 76; |
| pub const bpf_func_id_BPF_FUNC_rc_repeat: bpf_func_id = 77; |
| pub const bpf_func_id_BPF_FUNC_rc_keydown: bpf_func_id = 78; |
| pub const bpf_func_id_BPF_FUNC_skb_cgroup_id: bpf_func_id = 79; |
| pub const bpf_func_id_BPF_FUNC_get_current_cgroup_id: bpf_func_id = 80; |
| pub const bpf_func_id_BPF_FUNC_get_local_storage: bpf_func_id = 81; |
| pub const bpf_func_id_BPF_FUNC_sk_select_reuseport: bpf_func_id = 82; |
| pub const bpf_func_id_BPF_FUNC_skb_ancestor_cgroup_id: bpf_func_id = 83; |
| pub const bpf_func_id_BPF_FUNC_sk_lookup_tcp: bpf_func_id = 84; |
| pub const bpf_func_id_BPF_FUNC_sk_lookup_udp: bpf_func_id = 85; |
| pub const bpf_func_id_BPF_FUNC_sk_release: bpf_func_id = 86; |
| pub const bpf_func_id_BPF_FUNC_map_push_elem: bpf_func_id = 87; |
| pub const bpf_func_id_BPF_FUNC_map_pop_elem: bpf_func_id = 88; |
| pub const bpf_func_id_BPF_FUNC_map_peek_elem: bpf_func_id = 89; |
| pub const bpf_func_id_BPF_FUNC_msg_push_data: bpf_func_id = 90; |
| pub const bpf_func_id_BPF_FUNC_msg_pop_data: bpf_func_id = 91; |
| pub const bpf_func_id_BPF_FUNC_rc_pointer_rel: bpf_func_id = 92; |
| pub const bpf_func_id_BPF_FUNC_spin_lock: bpf_func_id = 93; |
| pub const bpf_func_id_BPF_FUNC_spin_unlock: bpf_func_id = 94; |
| pub const bpf_func_id_BPF_FUNC_sk_fullsock: bpf_func_id = 95; |
| pub const bpf_func_id_BPF_FUNC_tcp_sock: bpf_func_id = 96; |
| pub const bpf_func_id_BPF_FUNC_skb_ecn_set_ce: bpf_func_id = 97; |
| pub const bpf_func_id_BPF_FUNC_get_listener_sock: bpf_func_id = 98; |
| pub const bpf_func_id_BPF_FUNC_skc_lookup_tcp: bpf_func_id = 99; |
| pub const bpf_func_id_BPF_FUNC_tcp_check_syncookie: bpf_func_id = 100; |
| pub const bpf_func_id_BPF_FUNC_sysctl_get_name: bpf_func_id = 101; |
| pub const bpf_func_id_BPF_FUNC_sysctl_get_current_value: bpf_func_id = 102; |
| pub const bpf_func_id_BPF_FUNC_sysctl_get_new_value: bpf_func_id = 103; |
| pub const bpf_func_id_BPF_FUNC_sysctl_set_new_value: bpf_func_id = 104; |
| pub const bpf_func_id_BPF_FUNC_strtol: bpf_func_id = 105; |
| pub const bpf_func_id_BPF_FUNC_strtoul: bpf_func_id = 106; |
| pub const bpf_func_id_BPF_FUNC_sk_storage_get: bpf_func_id = 107; |
| pub const bpf_func_id_BPF_FUNC_sk_storage_delete: bpf_func_id = 108; |
| pub const bpf_func_id_BPF_FUNC_send_signal: bpf_func_id = 109; |
| pub const bpf_func_id_BPF_FUNC_tcp_gen_syncookie: bpf_func_id = 110; |
| pub const bpf_func_id_BPF_FUNC_skb_output: bpf_func_id = 111; |
| pub const bpf_func_id_BPF_FUNC_probe_read_user: bpf_func_id = 112; |
| pub const bpf_func_id_BPF_FUNC_probe_read_kernel: bpf_func_id = 113; |
| pub const bpf_func_id_BPF_FUNC_probe_read_user_str: bpf_func_id = 114; |
| pub const bpf_func_id_BPF_FUNC_probe_read_kernel_str: bpf_func_id = 115; |
| pub const bpf_func_id_BPF_FUNC_tcp_send_ack: bpf_func_id = 116; |
| pub const bpf_func_id_BPF_FUNC_send_signal_thread: bpf_func_id = 117; |
| pub const bpf_func_id_BPF_FUNC_jiffies64: bpf_func_id = 118; |
| pub const bpf_func_id_BPF_FUNC_read_branch_records: bpf_func_id = 119; |
| pub const bpf_func_id_BPF_FUNC_get_ns_current_pid_tgid: bpf_func_id = 120; |
| pub const bpf_func_id_BPF_FUNC_xdp_output: bpf_func_id = 121; |
| pub const bpf_func_id_BPF_FUNC_get_netns_cookie: bpf_func_id = 122; |
| pub const bpf_func_id_BPF_FUNC_get_current_ancestor_cgroup_id: bpf_func_id = 123; |
| pub const bpf_func_id_BPF_FUNC_sk_assign: bpf_func_id = 124; |
| pub const bpf_func_id_BPF_FUNC_ktime_get_boot_ns: bpf_func_id = 125; |
| pub const bpf_func_id_BPF_FUNC_seq_printf: bpf_func_id = 126; |
| pub const bpf_func_id_BPF_FUNC_seq_write: bpf_func_id = 127; |
| pub const bpf_func_id_BPF_FUNC_sk_cgroup_id: bpf_func_id = 128; |
| pub const bpf_func_id_BPF_FUNC_sk_ancestor_cgroup_id: bpf_func_id = 129; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_output: bpf_func_id = 130; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_reserve: bpf_func_id = 131; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_submit: bpf_func_id = 132; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_discard: bpf_func_id = 133; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_query: bpf_func_id = 134; |
| pub const bpf_func_id_BPF_FUNC_csum_level: bpf_func_id = 135; |
| pub const bpf_func_id_BPF_FUNC_skc_to_tcp6_sock: bpf_func_id = 136; |
| pub const bpf_func_id_BPF_FUNC_skc_to_tcp_sock: bpf_func_id = 137; |
| pub const bpf_func_id_BPF_FUNC_skc_to_tcp_timewait_sock: bpf_func_id = 138; |
| pub const bpf_func_id_BPF_FUNC_skc_to_tcp_request_sock: bpf_func_id = 139; |
| pub const bpf_func_id_BPF_FUNC_skc_to_udp6_sock: bpf_func_id = 140; |
| pub const bpf_func_id_BPF_FUNC_get_task_stack: bpf_func_id = 141; |
| pub const bpf_func_id_BPF_FUNC_load_hdr_opt: bpf_func_id = 142; |
| pub const bpf_func_id_BPF_FUNC_store_hdr_opt: bpf_func_id = 143; |
| pub const bpf_func_id_BPF_FUNC_reserve_hdr_opt: bpf_func_id = 144; |
| pub const bpf_func_id_BPF_FUNC_inode_storage_get: bpf_func_id = 145; |
| pub const bpf_func_id_BPF_FUNC_inode_storage_delete: bpf_func_id = 146; |
| pub const bpf_func_id_BPF_FUNC_d_path: bpf_func_id = 147; |
| pub const bpf_func_id_BPF_FUNC_copy_from_user: bpf_func_id = 148; |
| pub const bpf_func_id_BPF_FUNC_snprintf_btf: bpf_func_id = 149; |
| pub const bpf_func_id_BPF_FUNC_seq_printf_btf: bpf_func_id = 150; |
| pub const bpf_func_id_BPF_FUNC_skb_cgroup_classid: bpf_func_id = 151; |
| pub const bpf_func_id_BPF_FUNC_redirect_neigh: bpf_func_id = 152; |
| pub const bpf_func_id_BPF_FUNC_per_cpu_ptr: bpf_func_id = 153; |
| pub const bpf_func_id_BPF_FUNC_this_cpu_ptr: bpf_func_id = 154; |
| pub const bpf_func_id_BPF_FUNC_redirect_peer: bpf_func_id = 155; |
| pub const bpf_func_id_BPF_FUNC_task_storage_get: bpf_func_id = 156; |
| pub const bpf_func_id_BPF_FUNC_task_storage_delete: bpf_func_id = 157; |
| pub const bpf_func_id_BPF_FUNC_get_current_task_btf: bpf_func_id = 158; |
| pub const bpf_func_id_BPF_FUNC_bprm_opts_set: bpf_func_id = 159; |
| pub const bpf_func_id_BPF_FUNC_ktime_get_coarse_ns: bpf_func_id = 160; |
| pub const bpf_func_id_BPF_FUNC_ima_inode_hash: bpf_func_id = 161; |
| pub const bpf_func_id_BPF_FUNC_sock_from_file: bpf_func_id = 162; |
| pub const bpf_func_id_BPF_FUNC_check_mtu: bpf_func_id = 163; |
| pub const bpf_func_id_BPF_FUNC_for_each_map_elem: bpf_func_id = 164; |
| pub const bpf_func_id_BPF_FUNC_snprintf: bpf_func_id = 165; |
| pub const bpf_func_id_BPF_FUNC_sys_bpf: bpf_func_id = 166; |
| pub const bpf_func_id_BPF_FUNC_btf_find_by_name_kind: bpf_func_id = 167; |
| pub const bpf_func_id_BPF_FUNC_sys_close: bpf_func_id = 168; |
| pub const bpf_func_id_BPF_FUNC_timer_init: bpf_func_id = 169; |
| pub const bpf_func_id_BPF_FUNC_timer_set_callback: bpf_func_id = 170; |
| pub const bpf_func_id_BPF_FUNC_timer_start: bpf_func_id = 171; |
| pub const bpf_func_id_BPF_FUNC_timer_cancel: bpf_func_id = 172; |
| pub const bpf_func_id_BPF_FUNC_get_func_ip: bpf_func_id = 173; |
| pub const bpf_func_id_BPF_FUNC_get_attach_cookie: bpf_func_id = 174; |
| pub const bpf_func_id_BPF_FUNC_task_pt_regs: bpf_func_id = 175; |
| pub const bpf_func_id_BPF_FUNC_get_branch_snapshot: bpf_func_id = 176; |
| pub const bpf_func_id_BPF_FUNC_trace_vprintk: bpf_func_id = 177; |
| pub const bpf_func_id_BPF_FUNC_skc_to_unix_sock: bpf_func_id = 178; |
| pub const bpf_func_id_BPF_FUNC_kallsyms_lookup_name: bpf_func_id = 179; |
| pub const bpf_func_id_BPF_FUNC_find_vma: bpf_func_id = 180; |
| pub const bpf_func_id_BPF_FUNC_loop: bpf_func_id = 181; |
| pub const bpf_func_id_BPF_FUNC_strncmp: bpf_func_id = 182; |
| pub const bpf_func_id_BPF_FUNC_get_func_arg: bpf_func_id = 183; |
| pub const bpf_func_id_BPF_FUNC_get_func_ret: bpf_func_id = 184; |
| pub const bpf_func_id_BPF_FUNC_get_func_arg_cnt: bpf_func_id = 185; |
| pub const bpf_func_id_BPF_FUNC_get_retval: bpf_func_id = 186; |
| pub const bpf_func_id_BPF_FUNC_set_retval: bpf_func_id = 187; |
| pub const bpf_func_id_BPF_FUNC_xdp_get_buff_len: bpf_func_id = 188; |
| pub const bpf_func_id_BPF_FUNC_xdp_load_bytes: bpf_func_id = 189; |
| pub const bpf_func_id_BPF_FUNC_xdp_store_bytes: bpf_func_id = 190; |
| pub const bpf_func_id_BPF_FUNC_copy_from_user_task: bpf_func_id = 191; |
| pub const bpf_func_id_BPF_FUNC_skb_set_tstamp: bpf_func_id = 192; |
| pub const bpf_func_id_BPF_FUNC_ima_file_hash: bpf_func_id = 193; |
| pub const bpf_func_id_BPF_FUNC_kptr_xchg: bpf_func_id = 194; |
| pub const bpf_func_id_BPF_FUNC_map_lookup_percpu_elem: bpf_func_id = 195; |
| pub const bpf_func_id_BPF_FUNC_skc_to_mptcp_sock: bpf_func_id = 196; |
| pub const bpf_func_id_BPF_FUNC_dynptr_from_mem: bpf_func_id = 197; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_reserve_dynptr: bpf_func_id = 198; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_submit_dynptr: bpf_func_id = 199; |
| pub const bpf_func_id_BPF_FUNC_ringbuf_discard_dynptr: bpf_func_id = 200; |
| pub const bpf_func_id_BPF_FUNC_dynptr_read: bpf_func_id = 201; |
| pub const bpf_func_id_BPF_FUNC_dynptr_write: bpf_func_id = 202; |
| pub const bpf_func_id_BPF_FUNC_dynptr_data: bpf_func_id = 203; |
| pub const bpf_func_id_BPF_FUNC_tcp_raw_gen_syncookie_ipv4: bpf_func_id = 204; |
| pub const bpf_func_id_BPF_FUNC_tcp_raw_gen_syncookie_ipv6: bpf_func_id = 205; |
| pub const bpf_func_id_BPF_FUNC_tcp_raw_check_syncookie_ipv4: bpf_func_id = 206; |
| pub const bpf_func_id_BPF_FUNC_tcp_raw_check_syncookie_ipv6: bpf_func_id = 207; |
| pub const bpf_func_id_BPF_FUNC_ktime_get_tai_ns: bpf_func_id = 208; |
| pub const bpf_func_id_BPF_FUNC_user_ringbuf_drain: bpf_func_id = 209; |
| pub const bpf_func_id_BPF_FUNC_cgrp_storage_get: bpf_func_id = 210; |
| pub const bpf_func_id_BPF_FUNC_cgrp_storage_delete: bpf_func_id = 211; |
| pub const bpf_func_id___BPF_FUNC_MAX_ID: bpf_func_id = 212; |
| pub type bpf_func_id = crate::types::c_uint; |
| pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_8 = 1; |
| pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_8 = 2; |
| pub type _bindgen_ty_8 = crate::types::c_uint; |
| pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_9 = 15; |
| pub type _bindgen_ty_9 = crate::types::c_uint; |
| pub const BPF_F_PSEUDO_HDR: _bindgen_ty_10 = 16; |
| pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_10 = 32; |
| pub const BPF_F_MARK_ENFORCE: _bindgen_ty_10 = 64; |
| pub type _bindgen_ty_10 = crate::types::c_uint; |
| pub const BPF_F_INGRESS: _bindgen_ty_11 = 1; |
| pub type _bindgen_ty_11 = crate::types::c_uint; |
| pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_12 = 1; |
| pub type _bindgen_ty_12 = crate::types::c_uint; |
| pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_13 = 255; |
| pub const BPF_F_USER_STACK: _bindgen_ty_13 = 256; |
| pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_13 = 512; |
| pub const BPF_F_REUSE_STACKID: _bindgen_ty_13 = 1024; |
| pub const BPF_F_USER_BUILD_ID: _bindgen_ty_13 = 2048; |
| pub type _bindgen_ty_13 = crate::types::c_uint; |
| pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_14 = 2; |
| pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_14 = 4; |
| pub const BPF_F_SEQ_NUMBER: _bindgen_ty_14 = 8; |
| pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_14 = 16; |
| pub type _bindgen_ty_14 = crate::types::c_uint; |
| pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_15 = 16; |
| pub type _bindgen_ty_15 = crate::types::c_uint; |
| pub const BPF_F_INDEX_MASK: _bindgen_ty_16 = 4294967295; |
| pub const BPF_F_CURRENT_CPU: _bindgen_ty_16 = 4294967295; |
| pub const BPF_F_CTXLEN_MASK: _bindgen_ty_16 = 4503595332403200; |
| pub type _bindgen_ty_16 = crate::types::c_ulong; |
| pub const BPF_F_CURRENT_NETNS: _bindgen_ty_17 = -1; |
| pub type _bindgen_ty_17 = crate::types::c_int; |
| pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_18 = 0; |
| pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_18 = 1; |
| pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_18 = 2; |
| pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_18 = 3; |
| pub type _bindgen_ty_18 = crate::types::c_uint; |
| pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_19 = 1; |
| pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_19 = 2; |
| pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_19 = 4; |
| pub const BPF_F_ADJ_ROOM_ENCAP_L4_GRE: _bindgen_ty_19 = 8; |
| pub const BPF_F_ADJ_ROOM_ENCAP_L4_UDP: _bindgen_ty_19 = 16; |
| pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_19 = 32; |
| pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_19 = 64; |
| pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_19 = 128; |
| pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_19 = 256; |
| pub type _bindgen_ty_19 = crate::types::c_uint; |
| pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_20 = 255; |
| pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_20 = 56; |
| pub type _bindgen_ty_20 = crate::types::c_uint; |
| pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_21 = 1; |
| pub type _bindgen_ty_21 = crate::types::c_uint; |
| pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_22 = 1; |
| pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_22 = 1; |
| pub type _bindgen_ty_22 = crate::types::c_uint; |
| pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_23 = 1; |
| pub type _bindgen_ty_23 = crate::types::c_uint; |
| pub const BPF_RB_NO_WAKEUP: _bindgen_ty_24 = 1; |
| pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_24 = 2; |
| pub type _bindgen_ty_24 = crate::types::c_uint; |
| pub const BPF_RB_AVAIL_DATA: _bindgen_ty_25 = 0; |
| pub const BPF_RB_RING_SIZE: _bindgen_ty_25 = 1; |
| pub const BPF_RB_CONS_POS: _bindgen_ty_25 = 2; |
| pub const BPF_RB_PROD_POS: _bindgen_ty_25 = 3; |
| pub type _bindgen_ty_25 = crate::types::c_uint; |
| pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_26 = 2147483648; |
| pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_26 = 1073741824; |
| pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_26 = 8; |
| pub type _bindgen_ty_26 = crate::types::c_uint; |
| pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_27 = 1; |
| pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_27 = 2; |
| pub type _bindgen_ty_27 = crate::types::c_uint; |
| pub const bpf_adj_room_mode_BPF_ADJ_ROOM_NET: bpf_adj_room_mode = 0; |
| pub const bpf_adj_room_mode_BPF_ADJ_ROOM_MAC: bpf_adj_room_mode = 1; |
| pub type bpf_adj_room_mode = crate::types::c_uint; |
| pub const bpf_hdr_start_off_BPF_HDR_START_MAC: bpf_hdr_start_off = 0; |
| pub const bpf_hdr_start_off_BPF_HDR_START_NET: bpf_hdr_start_off = 1; |
| pub type bpf_hdr_start_off = crate::types::c_uint; |
| pub const bpf_lwt_encap_mode_BPF_LWT_ENCAP_SEG6: bpf_lwt_encap_mode = 0; |
| pub const bpf_lwt_encap_mode_BPF_LWT_ENCAP_SEG6_INLINE: bpf_lwt_encap_mode = 1; |
| pub const bpf_lwt_encap_mode_BPF_LWT_ENCAP_IP: bpf_lwt_encap_mode = 2; |
| pub type bpf_lwt_encap_mode = crate::types::c_uint; |
| pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_28 = 1; |
| pub type _bindgen_ty_28 = crate::types::c_uint; |
| pub const BPF_F_BROADCAST: _bindgen_ty_29 = 8; |
| pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_29 = 16; |
| pub type _bindgen_ty_29 = crate::types::c_uint; |
| pub const BPF_SKB_TSTAMP_UNSPEC: _bindgen_ty_30 = 0; |
| pub const BPF_SKB_TSTAMP_DELIVERY_MONO: _bindgen_ty_30 = 1; |
| pub type _bindgen_ty_30 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sk_buff { |
| pub len: __u32, |
| pub pkt_type: __u32, |
| pub mark: __u32, |
| pub queue_mapping: __u32, |
| pub protocol: __u32, |
| pub vlan_present: __u32, |
| pub vlan_tci: __u32, |
| pub vlan_proto: __u32, |
| pub priority: __u32, |
| pub ingress_ifindex: __u32, |
| pub ifindex: __u32, |
| pub tc_index: __u32, |
| pub cb: [__u32; 5usize], |
| pub hash: __u32, |
| pub tc_classid: __u32, |
| pub data: __u32, |
| pub data_end: __u32, |
| pub napi_id: __u32, |
| pub family: __u32, |
| pub remote_ip4: __u32, |
| pub local_ip4: __u32, |
| pub remote_ip6: [__u32; 4usize], |
| pub local_ip6: [__u32; 4usize], |
| pub remote_port: __u32, |
| pub local_port: __u32, |
| pub data_meta: __u32, |
| pub __bindgen_anon_1: __sk_buff__bindgen_ty_1, |
| pub tstamp: __u64, |
| pub wire_len: __u32, |
| pub gso_segs: __u32, |
| pub __bindgen_anon_2: __sk_buff__bindgen_ty_2, |
| pub gso_size: __u32, |
| pub tstamp_type: __u8, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3usize]>, |
| pub hwtstamp: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union __sk_buff__bindgen_ty_1 { |
| pub flow_keys: uref<bpf_flow_keys>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for __sk_buff__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl __sk_buff__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union __sk_buff__bindgen_ty_2 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for __sk_buff__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl __sk_buff__bindgen_ty_2 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for __sk_buff { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl __sk_buff { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 3usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 3usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_tunnel_key { |
| pub tunnel_id: __u32, |
| pub __bindgen_anon_1: bpf_tunnel_key__bindgen_ty_1, |
| pub tunnel_tos: __u8, |
| pub tunnel_ttl: __u8, |
| pub __bindgen_anon_2: bpf_tunnel_key__bindgen_ty_2, |
| pub tunnel_label: __u32, |
| pub __bindgen_anon_3: bpf_tunnel_key__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_tunnel_key__bindgen_ty_1 { |
| pub remote_ipv4: __u32, |
| pub remote_ipv6: [__u32; 4usize], |
| } |
| impl Default for bpf_tunnel_key__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_tunnel_key__bindgen_ty_2 { |
| pub tunnel_ext: __u16, |
| pub tunnel_flags: __be16, |
| } |
| impl Default for bpf_tunnel_key__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_tunnel_key__bindgen_ty_3 { |
| pub local_ipv4: __u32, |
| pub local_ipv6: [__u32; 4usize], |
| } |
| impl Default for bpf_tunnel_key__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_tunnel_key { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_xfrm_state { |
| pub reqid: __u32, |
| pub spi: __u32, |
| pub family: __u16, |
| pub ext: __u16, |
| pub __bindgen_anon_1: bpf_xfrm_state__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_xfrm_state__bindgen_ty_1 { |
| pub remote_ipv4: __u32, |
| pub remote_ipv6: [__u32; 4usize], |
| } |
| impl Default for bpf_xfrm_state__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_xfrm_state { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const bpf_ret_code_BPF_OK: bpf_ret_code = 0; |
| pub const bpf_ret_code_BPF_DROP: bpf_ret_code = 2; |
| pub const bpf_ret_code_BPF_REDIRECT: bpf_ret_code = 7; |
| pub const bpf_ret_code_BPF_LWT_REROUTE: bpf_ret_code = 128; |
| pub const bpf_ret_code_BPF_FLOW_DISSECTOR_CONTINUE: bpf_ret_code = 129; |
| pub type bpf_ret_code = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_sock { |
| pub bound_dev_if: __u32, |
| pub family: __u32, |
| pub type_: __u32, |
| pub protocol: __u32, |
| pub mark: __u32, |
| pub priority: __u32, |
| pub src_ip4: __u32, |
| pub src_ip6: [__u32; 4usize], |
| pub src_port: __u32, |
| pub dst_port: __be16, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>, |
| pub dst_ip4: __u32, |
| pub dst_ip6: [__u32; 4usize], |
| pub state: __u32, |
| pub rx_queue_mapping: __s32, |
| } |
| impl bpf_sock { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 2usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_tcp_sock { |
| pub snd_cwnd: __u32, |
| pub srtt_us: __u32, |
| pub rtt_min: __u32, |
| pub snd_ssthresh: __u32, |
| pub rcv_nxt: __u32, |
| pub snd_nxt: __u32, |
| pub snd_una: __u32, |
| pub mss_cache: __u32, |
| pub ecn_flags: __u32, |
| pub rate_delivered: __u32, |
| pub rate_interval_us: __u32, |
| pub packets_out: __u32, |
| pub retrans_out: __u32, |
| pub total_retrans: __u32, |
| pub segs_in: __u32, |
| pub data_segs_in: __u32, |
| pub segs_out: __u32, |
| pub data_segs_out: __u32, |
| pub lost_out: __u32, |
| pub sacked_out: __u32, |
| pub bytes_received: __u64, |
| pub bytes_acked: __u64, |
| pub dsack_dups: __u32, |
| pub delivered: __u32, |
| pub delivered_ce: __u32, |
| pub icsk_retransmits: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_sock_tuple { |
| pub __bindgen_anon_1: bpf_sock_tuple__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sock_tuple__bindgen_ty_1 { |
| pub ipv4: bpf_sock_tuple__bindgen_ty_1__bindgen_ty_1, |
| pub ipv6: bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_1 { |
| pub saddr: __be32, |
| pub daddr: __be32, |
| pub sport: __be16, |
| pub dport: __be16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 { |
| pub saddr: [__be32; 4usize], |
| pub daddr: [__be32; 4usize], |
| pub sport: __be16, |
| pub dport: __be16, |
| } |
| impl Default for bpf_sock_tuple__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_sock_tuple { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_xdp_sock { |
| pub queue_id: __u32, |
| } |
| pub const xdp_action_XDP_ABORTED: xdp_action = 0; |
| pub const xdp_action_XDP_DROP: xdp_action = 1; |
| pub const xdp_action_XDP_PASS: xdp_action = 2; |
| pub const xdp_action_XDP_TX: xdp_action = 3; |
| pub const xdp_action_XDP_REDIRECT: xdp_action = 4; |
| pub type xdp_action = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xdp_md { |
| pub data: __u32, |
| pub data_end: __u32, |
| pub data_meta: __u32, |
| pub ingress_ifindex: __u32, |
| pub rx_queue_index: __u32, |
| pub egress_ifindex: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_devmap_val { |
| pub ifindex: __u32, |
| pub bpf_prog: bpf_devmap_val__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_devmap_val__bindgen_ty_1 { |
| pub fd: crate::types::c_int, |
| pub id: __u32, |
| } |
| impl Default for bpf_devmap_val__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_devmap_val { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_cpumap_val { |
| pub qsize: __u32, |
| pub bpf_prog: bpf_cpumap_val__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_cpumap_val__bindgen_ty_1 { |
| pub fd: crate::types::c_int, |
| pub id: __u32, |
| } |
| impl Default for bpf_cpumap_val__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_cpumap_val { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const sk_action_SK_DROP: sk_action = 0; |
| pub const sk_action_SK_PASS: sk_action = 1; |
| pub type sk_action = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct sk_msg_md { |
| pub __bindgen_anon_1: sk_msg_md__bindgen_ty_1, |
| pub __bindgen_anon_2: sk_msg_md__bindgen_ty_2, |
| pub family: __u32, |
| pub remote_ip4: __u32, |
| pub local_ip4: __u32, |
| pub remote_ip6: [__u32; 4usize], |
| pub local_ip6: [__u32; 4usize], |
| pub remote_port: __u32, |
| pub local_port: __u32, |
| pub size: __u32, |
| pub __bindgen_anon_3: sk_msg_md__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_msg_md__bindgen_ty_1 { |
| pub data: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_msg_md__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_msg_md__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_msg_md__bindgen_ty_2 { |
| pub data_end: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_msg_md__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_msg_md__bindgen_ty_2 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_msg_md__bindgen_ty_3 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_msg_md__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_msg_md__bindgen_ty_3 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for sk_msg_md { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct sk_reuseport_md { |
| pub __bindgen_anon_1: sk_reuseport_md__bindgen_ty_1, |
| pub __bindgen_anon_2: sk_reuseport_md__bindgen_ty_2, |
| pub len: __u32, |
| pub eth_protocol: __u32, |
| pub ip_protocol: __u32, |
| pub bind_inany: __u32, |
| pub hash: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub __bindgen_anon_3: sk_reuseport_md__bindgen_ty_3, |
| pub __bindgen_anon_4: sk_reuseport_md__bindgen_ty_4, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_reuseport_md__bindgen_ty_1 { |
| pub data: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_reuseport_md__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_reuseport_md__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_reuseport_md__bindgen_ty_2 { |
| pub data_end: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_reuseport_md__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_reuseport_md__bindgen_ty_2 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_reuseport_md__bindgen_ty_3 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_reuseport_md__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_reuseport_md__bindgen_ty_3 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union sk_reuseport_md__bindgen_ty_4 { |
| pub migrating_sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for sk_reuseport_md__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl sk_reuseport_md__bindgen_ty_4 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for sk_reuseport_md { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_prog_info { |
| pub type_: __u32, |
| pub id: __u32, |
| pub tag: [__u8; 8usize], |
| pub jited_prog_len: __u32, |
| pub xlated_prog_len: __u32, |
| pub jited_prog_insns: __u64, |
| pub xlated_prog_insns: __u64, |
| pub load_time: __u64, |
| pub created_by_uid: __u32, |
| pub nr_map_ids: __u32, |
| pub map_ids: __u64, |
| pub name: [crate::types::c_char; 16usize], |
| pub ifindex: __u32, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, |
| pub netns_dev: __u64, |
| pub netns_ino: __u64, |
| pub nr_jited_ksyms: __u32, |
| pub nr_jited_func_lens: __u32, |
| pub jited_ksyms: __u64, |
| pub jited_func_lens: __u64, |
| pub btf_id: __u32, |
| pub func_info_rec_size: __u32, |
| pub func_info: __u64, |
| pub nr_func_info: __u32, |
| pub nr_line_info: __u32, |
| pub line_info: __u64, |
| pub jited_line_info: __u64, |
| pub nr_jited_line_info: __u32, |
| pub line_info_rec_size: __u32, |
| pub jited_line_info_rec_size: __u32, |
| pub nr_prog_tags: __u32, |
| pub prog_tags: __u64, |
| pub run_time_ns: __u64, |
| pub run_cnt: __u64, |
| pub recursion_misses: __u64, |
| pub verified_insns: __u32, |
| pub attach_btf_obj_id: __u32, |
| pub attach_btf_id: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| impl bpf_prog_info { |
| #[inline] |
| pub fn gpl_compatible(&self) -> __u32 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } |
| } |
| #[inline] |
| pub fn set_gpl_compatible(&mut self, val: __u32) { |
| unsafe { |
| let val: u32 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1(gpl_compatible: __u32) -> __BindgenBitfieldUnit<[u8; 4usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 1u8, { |
| let gpl_compatible: u32 = unsafe { ::std::mem::transmute(gpl_compatible) }; |
| gpl_compatible as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_map_info { |
| pub type_: __u32, |
| pub id: __u32, |
| pub key_size: __u32, |
| pub value_size: __u32, |
| pub max_entries: __u32, |
| pub map_flags: __u32, |
| pub name: [crate::types::c_char; 16usize], |
| pub ifindex: __u32, |
| pub btf_vmlinux_value_type_id: __u32, |
| pub netns_dev: __u64, |
| pub netns_ino: __u64, |
| pub btf_id: __u32, |
| pub btf_key_type_id: __u32, |
| pub btf_value_type_id: __u32, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, |
| pub map_extra: __u64, |
| } |
| impl bpf_map_info { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 4usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_btf_info { |
| pub btf: __u64, |
| pub btf_size: __u32, |
| pub id: __u32, |
| pub name: __u64, |
| pub name_len: __u32, |
| pub kernel_btf: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_link_info { |
| pub type_: __u32, |
| pub id: __u32, |
| pub prog_id: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub __bindgen_anon_1: bpf_link_info__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_link_info__bindgen_ty_1 { |
| pub raw_tracepoint: bpf_link_info__bindgen_ty_1__bindgen_ty_1, |
| pub tracing: bpf_link_info__bindgen_ty_1__bindgen_ty_2, |
| pub cgroup: bpf_link_info__bindgen_ty_1__bindgen_ty_3, |
| pub iter: bpf_link_info__bindgen_ty_1__bindgen_ty_4, |
| pub netns: bpf_link_info__bindgen_ty_1__bindgen_ty_5, |
| pub xdp: bpf_link_info__bindgen_ty_1__bindgen_ty_6, |
| pub struct_ops: bpf_link_info__bindgen_ty_1__bindgen_ty_7, |
| pub netfilter: bpf_link_info__bindgen_ty_1__bindgen_ty_8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_1 { |
| pub tp_name: __u64, |
| pub tp_name_len: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_2 { |
| pub attach_type: __u32, |
| pub target_obj_id: __u32, |
| pub target_btf_id: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_3 { |
| pub cgroup_id: __u64, |
| pub attach_type: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_4 { |
| pub target_name: __u64, |
| pub target_name_len: __u32, |
| pub __bindgen_anon_1: bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1, |
| pub __bindgen_anon_2: bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1 { |
| pub map: bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1__bindgen_ty_1 { |
| pub map_id: __u32, |
| } |
| impl Default for bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2 { |
| pub cgroup: bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_1, |
| pub task: bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_1 { |
| pub cgroup_id: __u64, |
| pub order: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_2 { |
| pub tid: __u32, |
| pub pid: __u32, |
| } |
| impl Default for bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_link_info__bindgen_ty_1__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_5 { |
| pub netns_ino: __u32, |
| pub attach_type: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_6 { |
| pub ifindex: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_7 { |
| pub map_id: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_8 { |
| pub pf: __u32, |
| pub hooknum: __u32, |
| pub priority: __s32, |
| pub flags: __u32, |
| } |
| impl Default for bpf_link_info__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_link_info { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_sock_addr { |
| pub user_family: __u32, |
| pub user_ip4: __u32, |
| pub user_ip6: [__u32; 4usize], |
| pub user_port: __u32, |
| pub family: __u32, |
| pub type_: __u32, |
| pub protocol: __u32, |
| pub msg_src_ip4: __u32, |
| pub msg_src_ip6: [__u32; 4usize], |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub __bindgen_anon_1: bpf_sock_addr__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union bpf_sock_addr__bindgen_ty_1 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sock_addr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sock_addr__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for bpf_sock_addr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_sock_ops { |
| pub op: __u32, |
| pub __bindgen_anon_1: bpf_sock_ops__bindgen_ty_1, |
| pub family: __u32, |
| pub remote_ip4: __u32, |
| pub local_ip4: __u32, |
| pub remote_ip6: [__u32; 4usize], |
| pub local_ip6: [__u32; 4usize], |
| pub remote_port: __u32, |
| pub local_port: __u32, |
| pub is_fullsock: __u32, |
| pub snd_cwnd: __u32, |
| pub srtt_us: __u32, |
| pub bpf_sock_ops_cb_flags: __u32, |
| pub state: __u32, |
| pub rtt_min: __u32, |
| pub snd_ssthresh: __u32, |
| pub rcv_nxt: __u32, |
| pub snd_nxt: __u32, |
| pub snd_una: __u32, |
| pub mss_cache: __u32, |
| pub ecn_flags: __u32, |
| pub rate_delivered: __u32, |
| pub rate_interval_us: __u32, |
| pub packets_out: __u32, |
| pub retrans_out: __u32, |
| pub total_retrans: __u32, |
| pub segs_in: __u32, |
| pub data_segs_in: __u32, |
| pub segs_out: __u32, |
| pub data_segs_out: __u32, |
| pub lost_out: __u32, |
| pub sacked_out: __u32, |
| pub sk_txhash: __u32, |
| pub bytes_received: __u64, |
| pub bytes_acked: __u64, |
| pub __bindgen_anon_2: bpf_sock_ops__bindgen_ty_2, |
| pub __bindgen_anon_3: bpf_sock_ops__bindgen_ty_3, |
| pub __bindgen_anon_4: bpf_sock_ops__bindgen_ty_4, |
| pub skb_len: __u32, |
| pub skb_tcp_flags: __u32, |
| pub skb_hwtstamp: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sock_ops__bindgen_ty_1 { |
| pub args: [__u32; 4usize], |
| pub reply: __u32, |
| pub replylong: [__u32; 4usize], |
| } |
| impl Default for bpf_sock_ops__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sock_ops__bindgen_ty_2 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sock_ops__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sock_ops__bindgen_ty_2 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sock_ops__bindgen_ty_3 { |
| pub skb_data: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sock_ops__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sock_ops__bindgen_ty_3 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sock_ops__bindgen_ty_4 { |
| pub skb_data_end: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sock_ops__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sock_ops__bindgen_ty_4 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for bpf_sock_ops { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const BPF_SOCK_OPS_RTO_CB_FLAG: _bindgen_ty_31 = 1; |
| pub const BPF_SOCK_OPS_RETRANS_CB_FLAG: _bindgen_ty_31 = 2; |
| pub const BPF_SOCK_OPS_STATE_CB_FLAG: _bindgen_ty_31 = 4; |
| pub const BPF_SOCK_OPS_RTT_CB_FLAG: _bindgen_ty_31 = 8; |
| pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_31 = 16; |
| pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_31 = 32; |
| pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_31 = 64; |
| pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_31 = 127; |
| pub type _bindgen_ty_31 = crate::types::c_uint; |
| pub const BPF_SOCK_OPS_VOID: _bindgen_ty_32 = 0; |
| pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_32 = 1; |
| pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_32 = 2; |
| pub const BPF_SOCK_OPS_TCP_CONNECT_CB: _bindgen_ty_32 = 3; |
| pub const BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB: _bindgen_ty_32 = 4; |
| pub const BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB: _bindgen_ty_32 = 5; |
| pub const BPF_SOCK_OPS_NEEDS_ECN: _bindgen_ty_32 = 6; |
| pub const BPF_SOCK_OPS_BASE_RTT: _bindgen_ty_32 = 7; |
| pub const BPF_SOCK_OPS_RTO_CB: _bindgen_ty_32 = 8; |
| pub const BPF_SOCK_OPS_RETRANS_CB: _bindgen_ty_32 = 9; |
| pub const BPF_SOCK_OPS_STATE_CB: _bindgen_ty_32 = 10; |
| pub const BPF_SOCK_OPS_TCP_LISTEN_CB: _bindgen_ty_32 = 11; |
| pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_32 = 12; |
| pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_32 = 13; |
| pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_32 = 14; |
| pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_32 = 15; |
| pub type _bindgen_ty_32 = crate::types::c_uint; |
| pub const BPF_TCP_ESTABLISHED: _bindgen_ty_33 = 1; |
| pub const BPF_TCP_SYN_SENT: _bindgen_ty_33 = 2; |
| pub const BPF_TCP_SYN_RECV: _bindgen_ty_33 = 3; |
| pub const BPF_TCP_FIN_WAIT1: _bindgen_ty_33 = 4; |
| pub const BPF_TCP_FIN_WAIT2: _bindgen_ty_33 = 5; |
| pub const BPF_TCP_TIME_WAIT: _bindgen_ty_33 = 6; |
| pub const BPF_TCP_CLOSE: _bindgen_ty_33 = 7; |
| pub const BPF_TCP_CLOSE_WAIT: _bindgen_ty_33 = 8; |
| pub const BPF_TCP_LAST_ACK: _bindgen_ty_33 = 9; |
| pub const BPF_TCP_LISTEN: _bindgen_ty_33 = 10; |
| pub const BPF_TCP_CLOSING: _bindgen_ty_33 = 11; |
| pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_33 = 12; |
| pub const BPF_TCP_MAX_STATES: _bindgen_ty_33 = 13; |
| pub type _bindgen_ty_33 = crate::types::c_uint; |
| pub const TCP_BPF_IW: _bindgen_ty_34 = 1001; |
| pub const TCP_BPF_SNDCWND_CLAMP: _bindgen_ty_34 = 1002; |
| pub const TCP_BPF_DELACK_MAX: _bindgen_ty_34 = 1003; |
| pub const TCP_BPF_RTO_MIN: _bindgen_ty_34 = 1004; |
| pub const TCP_BPF_SYN: _bindgen_ty_34 = 1005; |
| pub const TCP_BPF_SYN_IP: _bindgen_ty_34 = 1006; |
| pub const TCP_BPF_SYN_MAC: _bindgen_ty_34 = 1007; |
| pub type _bindgen_ty_34 = crate::types::c_uint; |
| pub const BPF_LOAD_HDR_OPT_TCP_SYN: _bindgen_ty_35 = 1; |
| pub type _bindgen_ty_35 = crate::types::c_uint; |
| pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: _bindgen_ty_36 = 1; |
| pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: _bindgen_ty_36 = 2; |
| pub type _bindgen_ty_36 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_perf_event_value { |
| pub counter: __u64, |
| pub enabled: __u64, |
| pub running: __u64, |
| } |
| pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_37 = 1; |
| pub const BPF_DEVCG_ACC_READ: _bindgen_ty_37 = 2; |
| pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_37 = 4; |
| pub type _bindgen_ty_37 = crate::types::c_uint; |
| pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_38 = 1; |
| pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_38 = 2; |
| pub type _bindgen_ty_38 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_cgroup_dev_ctx { |
| pub access_type: __u32, |
| pub major: __u32, |
| pub minor: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct bpf_raw_tracepoint_args { |
| pub args: __IncompleteArrayField<__u64>, |
| } |
| pub const BPF_FIB_LOOKUP_DIRECT: _bindgen_ty_39 = 1; |
| pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_39 = 2; |
| pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_39 = 4; |
| pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_39 = 8; |
| pub type _bindgen_ty_39 = crate::types::c_uint; |
| pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_40 = 0; |
| pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_40 = 1; |
| pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_40 = 2; |
| pub const BPF_FIB_LKUP_RET_PROHIBIT: _bindgen_ty_40 = 3; |
| pub const BPF_FIB_LKUP_RET_NOT_FWDED: _bindgen_ty_40 = 4; |
| pub const BPF_FIB_LKUP_RET_FWD_DISABLED: _bindgen_ty_40 = 5; |
| pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_40 = 6; |
| pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_40 = 7; |
| pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_40 = 8; |
| pub type _bindgen_ty_40 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_fib_lookup { |
| pub family: __u8, |
| pub l4_protocol: __u8, |
| pub sport: __be16, |
| pub dport: __be16, |
| pub __bindgen_anon_1: bpf_fib_lookup__bindgen_ty_1, |
| pub ifindex: __u32, |
| pub __bindgen_anon_2: bpf_fib_lookup__bindgen_ty_2, |
| pub __bindgen_anon_3: bpf_fib_lookup__bindgen_ty_3, |
| pub __bindgen_anon_4: bpf_fib_lookup__bindgen_ty_4, |
| pub __bindgen_anon_5: bpf_fib_lookup__bindgen_ty_5, |
| pub smac: [__u8; 6usize], |
| pub dmac: [__u8; 6usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_fib_lookup__bindgen_ty_1 { |
| pub tot_len: __u16, |
| pub mtu_result: __u16, |
| } |
| impl Default for bpf_fib_lookup__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_fib_lookup__bindgen_ty_2 { |
| pub tos: __u8, |
| pub flowinfo: __be32, |
| pub rt_metric: __u32, |
| } |
| impl Default for bpf_fib_lookup__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_fib_lookup__bindgen_ty_3 { |
| pub ipv4_src: __be32, |
| pub ipv6_src: [__u32; 4usize], |
| } |
| impl Default for bpf_fib_lookup__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_fib_lookup__bindgen_ty_4 { |
| pub ipv4_dst: __be32, |
| pub ipv6_dst: [__u32; 4usize], |
| } |
| impl Default for bpf_fib_lookup__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_fib_lookup__bindgen_ty_5 { |
| pub __bindgen_anon_1: bpf_fib_lookup__bindgen_ty_5__bindgen_ty_1, |
| pub tbid: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_fib_lookup__bindgen_ty_5__bindgen_ty_1 { |
| pub h_vlan_proto: __be16, |
| pub h_vlan_TCI: __be16, |
| } |
| impl Default for bpf_fib_lookup__bindgen_ty_5 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_fib_lookup { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_redir_neigh { |
| pub nh_family: __u32, |
| pub __bindgen_anon_1: bpf_redir_neigh__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_redir_neigh__bindgen_ty_1 { |
| pub ipv4_nh: __be32, |
| pub ipv6_nh: [__u32; 4usize], |
| } |
| impl Default for bpf_redir_neigh__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_redir_neigh { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const bpf_check_mtu_flags_BPF_MTU_CHK_SEGS: bpf_check_mtu_flags = 1; |
| pub type bpf_check_mtu_flags = crate::types::c_uint; |
| pub const bpf_check_mtu_ret_BPF_MTU_CHK_RET_SUCCESS: bpf_check_mtu_ret = 0; |
| pub const bpf_check_mtu_ret_BPF_MTU_CHK_RET_FRAG_NEEDED: bpf_check_mtu_ret = 1; |
| pub const bpf_check_mtu_ret_BPF_MTU_CHK_RET_SEGS_TOOBIG: bpf_check_mtu_ret = 2; |
| pub type bpf_check_mtu_ret = crate::types::c_uint; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_RAW_TRACEPOINT: bpf_task_fd_type = 0; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_TRACEPOINT: bpf_task_fd_type = 1; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_KPROBE: bpf_task_fd_type = 2; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_KRETPROBE: bpf_task_fd_type = 3; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_UPROBE: bpf_task_fd_type = 4; |
| pub const bpf_task_fd_type_BPF_FD_TYPE_URETPROBE: bpf_task_fd_type = 5; |
| pub type bpf_task_fd_type = crate::types::c_uint; |
| pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_41 = 1; |
| pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_41 = 2; |
| pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_41 = 4; |
| pub type _bindgen_ty_41 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_flow_keys { |
| pub nhoff: __u16, |
| pub thoff: __u16, |
| pub addr_proto: __u16, |
| pub is_frag: __u8, |
| pub is_first_frag: __u8, |
| pub is_encap: __u8, |
| pub ip_proto: __u8, |
| pub n_proto: __be16, |
| pub sport: __be16, |
| pub dport: __be16, |
| pub __bindgen_anon_1: bpf_flow_keys__bindgen_ty_1, |
| pub flags: __u32, |
| pub flow_label: __be32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_flow_keys__bindgen_ty_1 { |
| pub __bindgen_anon_1: bpf_flow_keys__bindgen_ty_1__bindgen_ty_1, |
| pub __bindgen_anon_2: bpf_flow_keys__bindgen_ty_1__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_flow_keys__bindgen_ty_1__bindgen_ty_1 { |
| pub ipv4_src: __be32, |
| pub ipv4_dst: __be32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_flow_keys__bindgen_ty_1__bindgen_ty_2 { |
| pub ipv6_src: [__u32; 4usize], |
| pub ipv6_dst: [__u32; 4usize], |
| } |
| impl Default for bpf_flow_keys__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_flow_keys { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_func_info { |
| pub insn_off: __u32, |
| pub type_id: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_line_info { |
| pub insn_off: __u32, |
| pub file_name_off: __u32, |
| pub line_off: __u32, |
| pub line_col: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_spin_lock { |
| pub val: __u32, |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_timer { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16usize]>, |
| } |
| impl bpf_timer { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 16usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 16usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_dynptr { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16usize]>, |
| } |
| impl bpf_dynptr { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 16usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 16usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_list_head { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16usize]>, |
| } |
| impl bpf_list_head { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 16usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 16usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_list_node { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16usize]>, |
| } |
| impl bpf_list_node { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 16usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 16usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_rb_root { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 16usize]>, |
| } |
| impl bpf_rb_root { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 16usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 16usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_rb_node { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 24usize]>, |
| } |
| impl bpf_rb_node { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 24usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 24usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[repr(align(4))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_refcount { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, |
| } |
| impl bpf_refcount { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 4usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_sysctl { |
| pub write: __u32, |
| pub file_pos: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_sockopt { |
| pub __bindgen_anon_1: bpf_sockopt__bindgen_ty_1, |
| pub __bindgen_anon_2: bpf_sockopt__bindgen_ty_2, |
| pub __bindgen_anon_3: bpf_sockopt__bindgen_ty_3, |
| pub level: __s32, |
| pub optname: __s32, |
| pub optlen: __s32, |
| pub retval: __s32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sockopt__bindgen_ty_1 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sockopt__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sockopt__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sockopt__bindgen_ty_2 { |
| pub optval: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sockopt__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sockopt__bindgen_ty_2 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sockopt__bindgen_ty_3 { |
| pub optval_end: uaddr, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sockopt__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sockopt__bindgen_ty_3 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for bpf_sockopt { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_pidns_info { |
| pub pid: __u32, |
| pub tgid: __u32, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct bpf_sk_lookup { |
| pub __bindgen_anon_1: bpf_sk_lookup__bindgen_ty_1, |
| pub family: __u32, |
| pub protocol: __u32, |
| pub remote_ip4: __u32, |
| pub remote_ip6: [__u32; 4usize], |
| pub remote_port: __be16, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>, |
| pub local_ip4: __u32, |
| pub local_ip6: [__u32; 4usize], |
| pub local_port: __u32, |
| pub ingress_ifindex: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sk_lookup__bindgen_ty_1 { |
| pub __bindgen_anon_1: bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1, |
| pub cookie: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1 { |
| pub sk: uref<bpf_sock>, |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl Default for bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1 { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for bpf_sk_lookup__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for bpf_sk_lookup { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl bpf_sk_lookup { |
| #[inline] |
| pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 2usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default(); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct btf_ptr { |
| pub ptr: uaddr, |
| pub type_id: __u32, |
| pub flags: __u32, |
| } |
| impl Default for btf_ptr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const BTF_F_COMPACT: _bindgen_ty_42 = 1; |
| pub const BTF_F_NONAME: _bindgen_ty_42 = 2; |
| pub const BTF_F_PTR_RAW: _bindgen_ty_42 = 4; |
| pub const BTF_F_ZERO: _bindgen_ty_42 = 8; |
| pub type _bindgen_ty_42 = crate::types::c_uint; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_BYTE_OFFSET: bpf_core_relo_kind = 0; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_BYTE_SIZE: bpf_core_relo_kind = 1; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_EXISTS: bpf_core_relo_kind = 2; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_SIGNED: bpf_core_relo_kind = 3; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_LSHIFT_U64: bpf_core_relo_kind = 4; |
| pub const bpf_core_relo_kind_BPF_CORE_FIELD_RSHIFT_U64: bpf_core_relo_kind = 5; |
| pub const bpf_core_relo_kind_BPF_CORE_TYPE_ID_LOCAL: bpf_core_relo_kind = 6; |
| pub const bpf_core_relo_kind_BPF_CORE_TYPE_ID_TARGET: bpf_core_relo_kind = 7; |
| pub const bpf_core_relo_kind_BPF_CORE_TYPE_EXISTS: bpf_core_relo_kind = 8; |
| pub const bpf_core_relo_kind_BPF_CORE_TYPE_SIZE: bpf_core_relo_kind = 9; |
| pub const bpf_core_relo_kind_BPF_CORE_ENUMVAL_EXISTS: bpf_core_relo_kind = 10; |
| pub const bpf_core_relo_kind_BPF_CORE_ENUMVAL_VALUE: bpf_core_relo_kind = 11; |
| pub const bpf_core_relo_kind_BPF_CORE_TYPE_MATCHES: bpf_core_relo_kind = 12; |
| pub type bpf_core_relo_kind = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_core_relo { |
| pub insn_off: __u32, |
| pub type_id: __u32, |
| pub access_str_off: __u32, |
| pub kind: bpf_core_relo_kind, |
| } |
| impl Default for bpf_core_relo { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const BPF_F_TIMER_ABS: _bindgen_ty_43 = 1; |
| pub type _bindgen_ty_43 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_iter_num { |
| pub __opaque: [__u64; 1usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_peeksiginfo_args { |
| pub off: __u64, |
| pub flags: __u32, |
| pub nr: __s32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_metadata { |
| pub filter_off: __u64, |
| pub flags: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ptrace_syscall_info { |
| pub op: __u8, |
| pub pad: [__u8; 3usize], |
| pub arch: __u32, |
| pub instruction_pointer: __u64, |
| pub stack_pointer: __u64, |
| pub __bindgen_anon_1: ptrace_syscall_info__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union ptrace_syscall_info__bindgen_ty_1 { |
| pub entry: ptrace_syscall_info__bindgen_ty_1__bindgen_ty_1, |
| pub exit: ptrace_syscall_info__bindgen_ty_1__bindgen_ty_2, |
| pub seccomp: ptrace_syscall_info__bindgen_ty_1__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_syscall_info__bindgen_ty_1__bindgen_ty_1 { |
| pub nr: __u64, |
| pub args: [__u64; 6usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_syscall_info__bindgen_ty_1__bindgen_ty_2 { |
| pub rval: __s64, |
| pub is_error: __u8, |
| pub __bindgen_padding_0: [u8; 7usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_syscall_info__bindgen_ty_1__bindgen_ty_3 { |
| pub nr: __u64, |
| pub args: [__u64; 6usize], |
| pub ret_data: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| impl Default for ptrace_syscall_info__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ptrace_syscall_info { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_rseq_configuration { |
| pub rseq_abi_pointer: __u64, |
| pub rseq_abi_size: __u32, |
| pub signature: __u32, |
| pub flags: __u32, |
| pub pad: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ptrace_sud_config { |
| pub mode: __u64, |
| pub selector: __u64, |
| pub offset: __u64, |
| pub len: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct pt_regs { |
| pub r15: crate::types::c_ulong, |
| pub r14: crate::types::c_ulong, |
| pub r13: crate::types::c_ulong, |
| pub r12: crate::types::c_ulong, |
| pub rbp: crate::types::c_ulong, |
| pub rbx: crate::types::c_ulong, |
| pub r11: crate::types::c_ulong, |
| pub r10: crate::types::c_ulong, |
| pub r9: crate::types::c_ulong, |
| pub r8: crate::types::c_ulong, |
| pub rax: crate::types::c_ulong, |
| pub rcx: crate::types::c_ulong, |
| pub rdx: crate::types::c_ulong, |
| pub rsi: crate::types::c_ulong, |
| pub rdi: crate::types::c_ulong, |
| pub orig_rax: crate::types::c_ulong, |
| pub rip: crate::types::c_ulong, |
| pub cs: crate::types::c_ulong, |
| pub eflags: crate::types::c_ulong, |
| pub rsp: crate::types::c_ulong, |
| pub ss: crate::types::c_ulong, |
| } |
| pub type bpf_user_pt_regs_t = pt_regs; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct bpf_perf_event_data { |
| pub regs: bpf_user_pt_regs_t, |
| pub sample_period: __u64, |
| pub addr: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __user_cap_header_struct { |
| pub version: __u32, |
| pub pid: crate::types::c_int, |
| } |
| pub type cap_user_header_t = uref<__user_cap_header_struct>; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __user_cap_data_struct { |
| pub effective: __u32, |
| pub permitted: __u32, |
| pub inheritable: __u32, |
| } |
| pub type cap_user_data_t = uref<__user_cap_data_struct>; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct vfs_cap_data { |
| pub magic_etc: __le32, |
| pub data: [vfs_cap_data__bindgen_ty_1; 2usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct vfs_cap_data__bindgen_ty_1 { |
| pub permitted: __le32, |
| pub inheritable: __le32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct vfs_ns_cap_data { |
| pub magic_etc: __le32, |
| pub data: [vfs_ns_cap_data__bindgen_ty_1; 2usize], |
| pub rootid: __le32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct vfs_ns_cap_data__bindgen_ty_1 { |
| pub permitted: __le32, |
| pub inheritable: __le32, |
| } |
| pub type int_least64_t = i64; |
| pub type uint_least64_t = u64; |
| pub type int_fast64_t = i64; |
| pub type uint_fast64_t = u64; |
| pub type int_least32_t = i32; |
| pub type uint_least32_t = u32; |
| pub type int_fast32_t = i32; |
| pub type uint_fast32_t = u32; |
| pub type int_least16_t = i16; |
| pub type uint_least16_t = u16; |
| pub type int_fast16_t = i16; |
| pub type uint_fast16_t = u16; |
| pub type int_least8_t = i8; |
| pub type uint_least8_t = u8; |
| pub type int_fast8_t = i8; |
| pub type uint_fast8_t = u8; |
| pub type intmax_t = crate::types::c_long; |
| pub type uintmax_t = crate::types::c_ulong; |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct epoll_event { |
| pub events: u32, |
| pub data: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct flock { |
| pub l_type: crate::types::c_short, |
| pub l_whence: crate::types::c_short, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub l_start: __kernel_off_t, |
| pub l_len: __kernel_off_t, |
| pub l_pid: pid_t, |
| pub __bindgen_padding_1: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct f_owner_ex { |
| pub type_: crate::types::c_int, |
| pub pid: __kernel_pid_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct open_how { |
| pub flags: __u64, |
| pub mode: __u64, |
| pub resolve: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct i2c_msg { |
| pub addr: __u16, |
| pub flags: __u16, |
| pub len: __u16, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub buf: uref<__u8>, |
| } |
| impl Default for i2c_msg { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union i2c_smbus_data { |
| pub byte: __u8, |
| pub word: __u16, |
| pub block: [__u8; 34usize], |
| } |
| impl Default for i2c_smbus_data { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_fix_screeninfo { |
| pub id: [crate::types::c_char; 16usize], |
| pub smem_start: crate::types::c_ulong, |
| pub smem_len: __u32, |
| pub type_: __u32, |
| pub type_aux: __u32, |
| pub visual: __u32, |
| pub xpanstep: __u16, |
| pub ypanstep: __u16, |
| pub ywrapstep: __u16, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub line_length: __u32, |
| pub __bindgen_padding_1: [u8; 4usize], |
| pub mmio_start: crate::types::c_ulong, |
| pub mmio_len: __u32, |
| pub accel: __u32, |
| pub capabilities: __u16, |
| pub reserved: [__u16; 2usize], |
| pub __bindgen_padding_2: [u8; 2usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_bitfield { |
| pub offset: __u32, |
| pub length: __u32, |
| pub msb_right: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_var_screeninfo { |
| pub xres: __u32, |
| pub yres: __u32, |
| pub xres_virtual: __u32, |
| pub yres_virtual: __u32, |
| pub xoffset: __u32, |
| pub yoffset: __u32, |
| pub bits_per_pixel: __u32, |
| pub grayscale: __u32, |
| pub red: fb_bitfield, |
| pub green: fb_bitfield, |
| pub blue: fb_bitfield, |
| pub transp: fb_bitfield, |
| pub nonstd: __u32, |
| pub activate: __u32, |
| pub height: __u32, |
| pub width: __u32, |
| pub accel_flags: __u32, |
| pub pixclock: __u32, |
| pub left_margin: __u32, |
| pub right_margin: __u32, |
| pub upper_margin: __u32, |
| pub lower_margin: __u32, |
| pub hsync_len: __u32, |
| pub vsync_len: __u32, |
| pub sync: __u32, |
| pub vmode: __u32, |
| pub rotate: __u32, |
| pub colorspace: __u32, |
| pub reserved: [__u32; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_cmap { |
| pub start: __u32, |
| pub len: __u32, |
| pub red: uref<__u16>, |
| pub green: uref<__u16>, |
| pub blue: uref<__u16>, |
| pub transp: uref<__u16>, |
| } |
| impl Default for fb_cmap { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_con2fbmap { |
| pub console: __u32, |
| pub framebuffer: __u32, |
| } |
| pub const FB_BLANK_UNBLANK: _bindgen_ty_44 = 0; |
| pub const FB_BLANK_NORMAL: _bindgen_ty_44 = 1; |
| pub const FB_BLANK_VSYNC_SUSPEND: _bindgen_ty_44 = 2; |
| pub const FB_BLANK_HSYNC_SUSPEND: _bindgen_ty_44 = 3; |
| pub const FB_BLANK_POWERDOWN: _bindgen_ty_44 = 4; |
| pub type _bindgen_ty_44 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_vblank { |
| pub flags: __u32, |
| pub count: __u32, |
| pub vcount: __u32, |
| pub hcount: __u32, |
| pub reserved: [__u32; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_copyarea { |
| pub dx: __u32, |
| pub dy: __u32, |
| pub width: __u32, |
| pub height: __u32, |
| pub sx: __u32, |
| pub sy: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_fillrect { |
| pub dx: __u32, |
| pub dy: __u32, |
| pub width: __u32, |
| pub height: __u32, |
| pub color: __u32, |
| pub rop: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_image { |
| pub dx: __u32, |
| pub dy: __u32, |
| pub width: __u32, |
| pub height: __u32, |
| pub fg_color: __u32, |
| pub bg_color: __u32, |
| pub depth: __u8, |
| pub __bindgen_padding_0: [u8; 7usize], |
| pub data: uref<crate::types::c_char>, |
| pub cmap: fb_cmap, |
| } |
| impl Default for fb_image { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fbcurpos { |
| pub x: __u16, |
| pub y: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fb_cursor { |
| pub set: __u16, |
| pub enable: __u16, |
| pub rop: __u16, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub mask: uref<crate::types::c_char>, |
| pub hot: fbcurpos, |
| pub __bindgen_padding_1: [u8; 4usize], |
| pub image: fb_image, |
| } |
| impl Default for fb_cursor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sock_filter { |
| pub code: __u16, |
| pub jt: __u8, |
| pub jf: __u8, |
| pub k: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct sock_fprog { |
| pub len: crate::types::c_ushort, |
| pub __bindgen_padding_0: [u8; 6usize], |
| pub filter: uref<sock_filter>, |
| } |
| impl Default for sock_fprog { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fsverity_enable_arg { |
| pub version: __u32, |
| pub hash_algorithm: __u32, |
| pub block_size: __u32, |
| pub salt_size: __u32, |
| pub salt_ptr: __u64, |
| pub sig_size: __u32, |
| pub __reserved1: __u32, |
| pub sig_ptr: __u64, |
| pub __reserved2: [__u64; 11usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct fsverity_digest { |
| pub digest_algorithm: __u16, |
| pub digest_size: __u16, |
| pub digest: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fsverity_descriptor { |
| pub version: __u8, |
| pub hash_algorithm: __u8, |
| pub log_blocksize: __u8, |
| pub salt_size: __u8, |
| pub __reserved_0x04: __le32, |
| pub data_size: __le64, |
| pub root_hash: [__u8; 64usize], |
| pub salt: [__u8; 32usize], |
| pub __reserved: [__u8; 144usize], |
| } |
| impl Default for fsverity_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct fsverity_formatted_digest { |
| pub magic: [crate::types::c_char; 8usize], |
| pub digest_algorithm: __le16, |
| pub digest_size: __le16, |
| pub digest: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fsverity_read_metadata_arg { |
| pub metadata_type: __u64, |
| pub offset: __u64, |
| pub length: __u64, |
| pub buf_ptr: __u64, |
| pub __reserved: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_attr { |
| pub ino: u64, |
| pub size: u64, |
| pub blocks: u64, |
| pub atime: u64, |
| pub mtime: u64, |
| pub ctime: u64, |
| pub atimensec: u32, |
| pub mtimensec: u32, |
| pub ctimensec: u32, |
| pub mode: u32, |
| pub nlink: u32, |
| pub uid: u32, |
| pub gid: u32, |
| pub rdev: u32, |
| pub blksize: u32, |
| pub flags: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_kstatfs { |
| pub blocks: u64, |
| pub bfree: u64, |
| pub bavail: u64, |
| pub files: u64, |
| pub ffree: u64, |
| pub bsize: u32, |
| pub namelen: u32, |
| pub frsize: u32, |
| pub padding: u32, |
| pub spare: [u32; 6usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_file_lock { |
| pub start: u64, |
| pub end: u64, |
| pub type_: u32, |
| pub pid: u32, |
| } |
| pub const fuse_ext_type_FUSE_MAX_NR_SECCTX: fuse_ext_type = 31; |
| pub const fuse_ext_type_FUSE_EXT_GROUPS: fuse_ext_type = 32; |
| pub type fuse_ext_type = crate::types::c_uint; |
| pub const fuse_opcode_FUSE_LOOKUP: fuse_opcode = 1; |
| pub const fuse_opcode_FUSE_FORGET: fuse_opcode = 2; |
| pub const fuse_opcode_FUSE_GETATTR: fuse_opcode = 3; |
| pub const fuse_opcode_FUSE_SETATTR: fuse_opcode = 4; |
| pub const fuse_opcode_FUSE_READLINK: fuse_opcode = 5; |
| pub const fuse_opcode_FUSE_SYMLINK: fuse_opcode = 6; |
| pub const fuse_opcode_FUSE_MKNOD: fuse_opcode = 8; |
| pub const fuse_opcode_FUSE_MKDIR: fuse_opcode = 9; |
| pub const fuse_opcode_FUSE_UNLINK: fuse_opcode = 10; |
| pub const fuse_opcode_FUSE_RMDIR: fuse_opcode = 11; |
| pub const fuse_opcode_FUSE_RENAME: fuse_opcode = 12; |
| pub const fuse_opcode_FUSE_LINK: fuse_opcode = 13; |
| pub const fuse_opcode_FUSE_OPEN: fuse_opcode = 14; |
| pub const fuse_opcode_FUSE_READ: fuse_opcode = 15; |
| pub const fuse_opcode_FUSE_WRITE: fuse_opcode = 16; |
| pub const fuse_opcode_FUSE_STATFS: fuse_opcode = 17; |
| pub const fuse_opcode_FUSE_RELEASE: fuse_opcode = 18; |
| pub const fuse_opcode_FUSE_FSYNC: fuse_opcode = 20; |
| pub const fuse_opcode_FUSE_SETXATTR: fuse_opcode = 21; |
| pub const fuse_opcode_FUSE_GETXATTR: fuse_opcode = 22; |
| pub const fuse_opcode_FUSE_LISTXATTR: fuse_opcode = 23; |
| pub const fuse_opcode_FUSE_REMOVEXATTR: fuse_opcode = 24; |
| pub const fuse_opcode_FUSE_FLUSH: fuse_opcode = 25; |
| pub const fuse_opcode_FUSE_INIT: fuse_opcode = 26; |
| pub const fuse_opcode_FUSE_OPENDIR: fuse_opcode = 27; |
| pub const fuse_opcode_FUSE_READDIR: fuse_opcode = 28; |
| pub const fuse_opcode_FUSE_RELEASEDIR: fuse_opcode = 29; |
| pub const fuse_opcode_FUSE_FSYNCDIR: fuse_opcode = 30; |
| pub const fuse_opcode_FUSE_GETLK: fuse_opcode = 31; |
| pub const fuse_opcode_FUSE_SETLK: fuse_opcode = 32; |
| pub const fuse_opcode_FUSE_SETLKW: fuse_opcode = 33; |
| pub const fuse_opcode_FUSE_ACCESS: fuse_opcode = 34; |
| pub const fuse_opcode_FUSE_CREATE: fuse_opcode = 35; |
| pub const fuse_opcode_FUSE_INTERRUPT: fuse_opcode = 36; |
| pub const fuse_opcode_FUSE_BMAP: fuse_opcode = 37; |
| pub const fuse_opcode_FUSE_DESTROY: fuse_opcode = 38; |
| pub const fuse_opcode_FUSE_IOCTL: fuse_opcode = 39; |
| pub const fuse_opcode_FUSE_POLL: fuse_opcode = 40; |
| pub const fuse_opcode_FUSE_NOTIFY_REPLY: fuse_opcode = 41; |
| pub const fuse_opcode_FUSE_BATCH_FORGET: fuse_opcode = 42; |
| pub const fuse_opcode_FUSE_FALLOCATE: fuse_opcode = 43; |
| pub const fuse_opcode_FUSE_READDIRPLUS: fuse_opcode = 44; |
| pub const fuse_opcode_FUSE_RENAME2: fuse_opcode = 45; |
| pub const fuse_opcode_FUSE_LSEEK: fuse_opcode = 46; |
| pub const fuse_opcode_FUSE_COPY_FILE_RANGE: fuse_opcode = 47; |
| pub const fuse_opcode_FUSE_SETUPMAPPING: fuse_opcode = 48; |
| pub const fuse_opcode_FUSE_REMOVEMAPPING: fuse_opcode = 49; |
| pub const fuse_opcode_FUSE_SYNCFS: fuse_opcode = 50; |
| pub const fuse_opcode_FUSE_TMPFILE: fuse_opcode = 51; |
| pub const fuse_opcode_FUSE_CANONICAL_PATH: fuse_opcode = 2016; |
| pub const fuse_opcode_CUSE_INIT: fuse_opcode = 4096; |
| pub const fuse_opcode_CUSE_INIT_BSWAP_RESERVED: fuse_opcode = 1048576; |
| pub const fuse_opcode_FUSE_INIT_BSWAP_RESERVED: fuse_opcode = 436207616; |
| pub type fuse_opcode = crate::types::c_uint; |
| pub const fuse_notify_code_FUSE_NOTIFY_POLL: fuse_notify_code = 1; |
| pub const fuse_notify_code_FUSE_NOTIFY_INVAL_INODE: fuse_notify_code = 2; |
| pub const fuse_notify_code_FUSE_NOTIFY_INVAL_ENTRY: fuse_notify_code = 3; |
| pub const fuse_notify_code_FUSE_NOTIFY_STORE: fuse_notify_code = 4; |
| pub const fuse_notify_code_FUSE_NOTIFY_RETRIEVE: fuse_notify_code = 5; |
| pub const fuse_notify_code_FUSE_NOTIFY_DELETE: fuse_notify_code = 6; |
| pub const fuse_notify_code_FUSE_NOTIFY_CODE_MAX: fuse_notify_code = 7; |
| pub type fuse_notify_code = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_entry_out { |
| pub nodeid: u64, |
| pub generation: u64, |
| pub entry_valid: u64, |
| pub attr_valid: u64, |
| pub entry_valid_nsec: u32, |
| pub attr_valid_nsec: u32, |
| pub attr: fuse_attr, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_forget_in { |
| pub nlookup: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_forget_one { |
| pub nodeid: u64, |
| pub nlookup: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_batch_forget_in { |
| pub count: u32, |
| pub dummy: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_getattr_in { |
| pub getattr_flags: u32, |
| pub dummy: u32, |
| pub fh: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_attr_out { |
| pub attr_valid: u64, |
| pub attr_valid_nsec: u32, |
| pub dummy: u32, |
| pub attr: fuse_attr, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_mknod_in { |
| pub mode: u32, |
| pub rdev: u32, |
| pub umask: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_mkdir_in { |
| pub mode: u32, |
| pub umask: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_rename_in { |
| pub newdir: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_rename2_in { |
| pub newdir: u64, |
| pub flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_link_in { |
| pub oldnodeid: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_setattr_in { |
| pub valid: u32, |
| pub padding: u32, |
| pub fh: u64, |
| pub size: u64, |
| pub lock_owner: u64, |
| pub atime: u64, |
| pub mtime: u64, |
| pub ctime: u64, |
| pub atimensec: u32, |
| pub mtimensec: u32, |
| pub ctimensec: u32, |
| pub mode: u32, |
| pub unused4: u32, |
| pub uid: u32, |
| pub gid: u32, |
| pub unused5: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_open_in { |
| pub flags: u32, |
| pub open_flags: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_create_in { |
| pub flags: u32, |
| pub mode: u32, |
| pub umask: u32, |
| pub open_flags: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_open_out { |
| pub fh: u64, |
| pub open_flags: u32, |
| pub passthrough_fh: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_release_in { |
| pub fh: u64, |
| pub flags: u32, |
| pub release_flags: u32, |
| pub lock_owner: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_flush_in { |
| pub fh: u64, |
| pub unused: u32, |
| pub padding: u32, |
| pub lock_owner: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_read_in { |
| pub fh: u64, |
| pub offset: u64, |
| pub size: u32, |
| pub read_flags: u32, |
| pub lock_owner: u64, |
| pub flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_write_in { |
| pub fh: u64, |
| pub offset: u64, |
| pub size: u32, |
| pub write_flags: u32, |
| pub lock_owner: u64, |
| pub flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_write_out { |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_statfs_out { |
| pub st: fuse_kstatfs, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_fsync_in { |
| pub fh: u64, |
| pub fsync_flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_setxattr_in { |
| pub size: u32, |
| pub flags: u32, |
| pub setxattr_flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_getxattr_in { |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_getxattr_out { |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_lk_in { |
| pub fh: u64, |
| pub owner: u64, |
| pub lk: fuse_file_lock, |
| pub lk_flags: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_lk_out { |
| pub lk: fuse_file_lock, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_access_in { |
| pub mask: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_init_in { |
| pub major: u32, |
| pub minor: u32, |
| pub max_readahead: u32, |
| pub flags: u32, |
| pub flags2: u32, |
| pub unused: [u32; 11usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_init_out { |
| pub major: u32, |
| pub minor: u32, |
| pub max_readahead: u32, |
| pub flags: u32, |
| pub max_background: u16, |
| pub congestion_threshold: u16, |
| pub max_write: u32, |
| pub time_gran: u32, |
| pub max_pages: u16, |
| pub map_alignment: u16, |
| pub flags2: u32, |
| pub unused: [u32; 7usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct cuse_init_in { |
| pub major: u32, |
| pub minor: u32, |
| pub unused: u32, |
| pub flags: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct cuse_init_out { |
| pub major: u32, |
| pub minor: u32, |
| pub unused: u32, |
| pub flags: u32, |
| pub max_read: u32, |
| pub max_write: u32, |
| pub dev_major: u32, |
| pub dev_minor: u32, |
| pub spare: [u32; 10usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_interrupt_in { |
| pub unique: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_bmap_in { |
| pub block: u64, |
| pub blocksize: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_bmap_out { |
| pub block: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_ioctl_in { |
| pub fh: u64, |
| pub flags: u32, |
| pub cmd: u32, |
| pub arg: u64, |
| pub in_size: u32, |
| pub out_size: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_ioctl_iovec { |
| pub base: u64, |
| pub len: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_ioctl_out { |
| pub result: i32, |
| pub flags: u32, |
| pub in_iovs: u32, |
| pub out_iovs: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_poll_in { |
| pub fh: u64, |
| pub kh: u64, |
| pub flags: u32, |
| pub events: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_poll_out { |
| pub revents: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_poll_wakeup_out { |
| pub kh: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_fallocate_in { |
| pub fh: u64, |
| pub offset: u64, |
| pub length: u64, |
| pub mode: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_in_header { |
| pub len: u32, |
| pub opcode: u32, |
| pub unique: u64, |
| pub nodeid: u64, |
| pub uid: u32, |
| pub gid: u32, |
| pub pid: u32, |
| pub total_extlen: u16, |
| pub padding: u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_out_header { |
| pub len: u32, |
| pub error: i32, |
| pub unique: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_dirent { |
| pub ino: u64, |
| pub off: u64, |
| pub namelen: u32, |
| pub type_: u32, |
| pub name: __IncompleteArrayField<crate::types::c_char>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_direntplus { |
| pub entry_out: fuse_entry_out, |
| pub dirent: fuse_dirent, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_inval_inode_out { |
| pub ino: u64, |
| pub off: i64, |
| pub len: i64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_inval_entry_out { |
| pub parent: u64, |
| pub namelen: u32, |
| pub flags: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_delete_out { |
| pub parent: u64, |
| pub child: u64, |
| pub namelen: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_store_out { |
| pub nodeid: u64, |
| pub offset: u64, |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_retrieve_out { |
| pub notify_unique: u64, |
| pub nodeid: u64, |
| pub offset: u64, |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_notify_retrieve_in { |
| pub dummy1: u64, |
| pub offset: u64, |
| pub size: u32, |
| pub dummy2: u32, |
| pub dummy3: u64, |
| pub dummy4: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_lseek_in { |
| pub fh: u64, |
| pub offset: u64, |
| pub whence: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_lseek_out { |
| pub offset: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_copy_file_range_in { |
| pub fh_in: u64, |
| pub off_in: u64, |
| pub nodeid_out: u64, |
| pub fh_out: u64, |
| pub off_out: u64, |
| pub len: u64, |
| pub flags: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_setupmapping_in { |
| pub fh: u64, |
| pub foffset: u64, |
| pub len: u64, |
| pub flags: u64, |
| pub moffset: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_removemapping_in { |
| pub count: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_removemapping_one { |
| pub moffset: u64, |
| pub len: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_syncfs_in { |
| pub padding: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_secctx { |
| pub size: u32, |
| pub padding: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_secctx_header { |
| pub size: u32, |
| pub nr_secctx: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fuse_ext_header { |
| pub size: u32, |
| pub type_: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct fuse_supp_groups { |
| pub nr_groups: u32, |
| pub groups: __IncompleteArrayField<u32>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct futex_waitv { |
| pub val: __u64, |
| pub uaddr: __u64, |
| pub flags: __u32, |
| pub __reserved: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct robust_list { |
| pub next: uref<robust_list>, |
| } |
| impl Default for robust_list { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct robust_list_head { |
| pub list: robust_list, |
| pub futex_offset: crate::types::c_long, |
| pub list_op_pending: uref<robust_list>, |
| } |
| impl Default for robust_list_head { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_pkt { |
| pub spkt_family: crate::types::c_ushort, |
| pub spkt_device: [crate::types::c_uchar; 14usize], |
| pub spkt_protocol: __be16, |
| } |
| #[repr(C)] |
| #[derive(AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_ll { |
| pub sll_family: crate::types::c_ushort, |
| pub sll_protocol: __be16, |
| pub sll_ifindex: crate::types::c_int, |
| pub sll_hatype: crate::types::c_ushort, |
| pub sll_pkttype: crate::types::c_uchar, |
| pub sll_halen: crate::types::c_uchar, |
| pub __bindgen_anon_1: sockaddr_ll__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_ll__bindgen_ty_1 { |
| pub sll_addr: __BindgenUnionField<[crate::types::c_uchar; 8usize]>, |
| pub __bindgen_anon_1: __BindgenUnionField<sockaddr_ll__bindgen_ty_1__bindgen_ty_1>, |
| pub bindgen_union_field: [u8; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_ll__bindgen_ty_1__bindgen_ty_1 { |
| pub __empty_sll_addr_flex: sockaddr_ll__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, |
| pub sll_addr_flex: __IncompleteArrayField<crate::types::c_uchar>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_ll__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {} |
| impl Default for sockaddr_ll__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for sockaddr_ll { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_stats { |
| pub tp_packets: crate::types::c_uint, |
| pub tp_drops: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_stats_v3 { |
| pub tp_packets: crate::types::c_uint, |
| pub tp_drops: crate::types::c_uint, |
| pub tp_freeze_q_cnt: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_rollover_stats { |
| pub tp_all: __u64, |
| pub tp_huge: __u64, |
| pub tp_failed: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union tpacket_stats_u { |
| pub stats1: tpacket_stats, |
| pub stats3: tpacket_stats_v3, |
| } |
| impl Default for tpacket_stats_u { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_auxdata { |
| pub tp_status: __u32, |
| pub tp_len: __u32, |
| pub tp_snaplen: __u32, |
| pub tp_mac: __u16, |
| pub tp_net: __u16, |
| pub tp_vlan_tci: __u16, |
| pub tp_vlan_tpid: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_hdr { |
| pub tp_status: crate::types::c_ulong, |
| pub tp_len: crate::types::c_uint, |
| pub tp_snaplen: crate::types::c_uint, |
| pub tp_mac: crate::types::c_ushort, |
| pub tp_net: crate::types::c_ushort, |
| pub tp_sec: crate::types::c_uint, |
| pub tp_usec: crate::types::c_uint, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket2_hdr { |
| pub tp_status: __u32, |
| pub tp_len: __u32, |
| pub tp_snaplen: __u32, |
| pub tp_mac: __u16, |
| pub tp_net: __u16, |
| pub tp_sec: __u32, |
| pub tp_nsec: __u32, |
| pub tp_vlan_tci: __u16, |
| pub tp_vlan_tpid: __u16, |
| pub tp_padding: [__u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_hdr_variant1 { |
| pub tp_rxhash: __u32, |
| pub tp_vlan_tci: __u32, |
| pub tp_vlan_tpid: __u16, |
| pub tp_padding: __u16, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct tpacket3_hdr { |
| pub tp_next_offset: __u32, |
| pub tp_sec: __u32, |
| pub tp_nsec: __u32, |
| pub tp_snaplen: __u32, |
| pub tp_len: __u32, |
| pub tp_status: __u32, |
| pub tp_mac: __u16, |
| pub tp_net: __u16, |
| pub __bindgen_anon_1: tpacket3_hdr__bindgen_ty_1, |
| pub tp_padding: [__u8; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union tpacket3_hdr__bindgen_ty_1 { |
| pub hv1: tpacket_hdr_variant1, |
| } |
| impl Default for tpacket3_hdr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for tpacket3_hdr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct tpacket_bd_ts { |
| pub ts_sec: crate::types::c_uint, |
| pub __bindgen_anon_1: tpacket_bd_ts__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union tpacket_bd_ts__bindgen_ty_1 { |
| pub ts_usec: crate::types::c_uint, |
| pub ts_nsec: crate::types::c_uint, |
| } |
| impl Default for tpacket_bd_ts__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for tpacket_bd_ts { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct tpacket_hdr_v1 { |
| pub block_status: __u32, |
| pub num_pkts: __u32, |
| pub offset_to_first_pkt: __u32, |
| pub blk_len: __u32, |
| pub seq_num: __u64, |
| pub ts_first_pkt: tpacket_bd_ts, |
| pub ts_last_pkt: tpacket_bd_ts, |
| } |
| impl Default for tpacket_hdr_v1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union tpacket_bd_header_u { |
| pub bh1: tpacket_hdr_v1, |
| } |
| impl Default for tpacket_bd_header_u { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct tpacket_block_desc { |
| pub version: __u32, |
| pub offset_to_priv: __u32, |
| pub hdr: tpacket_bd_header_u, |
| } |
| impl Default for tpacket_block_desc { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const tpacket_versions_TPACKET_V1: tpacket_versions = 0; |
| pub const tpacket_versions_TPACKET_V2: tpacket_versions = 1; |
| pub const tpacket_versions_TPACKET_V3: tpacket_versions = 2; |
| pub type tpacket_versions = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_req { |
| pub tp_block_size: crate::types::c_uint, |
| pub tp_block_nr: crate::types::c_uint, |
| pub tp_frame_size: crate::types::c_uint, |
| pub tp_frame_nr: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tpacket_req3 { |
| pub tp_block_size: crate::types::c_uint, |
| pub tp_block_nr: crate::types::c_uint, |
| pub tp_frame_size: crate::types::c_uint, |
| pub tp_frame_nr: crate::types::c_uint, |
| pub tp_retire_blk_tov: crate::types::c_uint, |
| pub tp_sizeof_priv: crate::types::c_uint, |
| pub tp_feature_req_word: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union tpacket_req_u { |
| pub req: tpacket_req, |
| pub req3: tpacket_req3, |
| } |
| impl Default for tpacket_req_u { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct packet_mreq { |
| pub mr_ifindex: crate::types::c_int, |
| pub mr_type: crate::types::c_ushort, |
| pub mr_alen: crate::types::c_ushort, |
| pub mr_address: [crate::types::c_uchar; 8usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fanout_args { |
| pub id: __u16, |
| pub type_flags: __u16, |
| pub max_num_members: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, AsBytes, NoCell)] |
| pub struct inotify_event { |
| pub wd: __s32, |
| pub mask: __u32, |
| pub cookie: __u32, |
| pub len: __u32, |
| pub name: __IncompleteArrayField<crate::types::c_char>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros, PartialEq)] |
| pub struct input_event { |
| pub time: timeval, |
| pub type_: __u16, |
| pub code: __u16, |
| pub value: __s32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros, PartialEq)] |
| pub struct input_id { |
| pub bustype: __u16, |
| pub vendor: __u16, |
| pub product: __u16, |
| pub version: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct input_absinfo { |
| pub value: __s32, |
| pub minimum: __s32, |
| pub maximum: __s32, |
| pub fuzz: __s32, |
| pub flat: __s32, |
| pub resolution: __s32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct input_keymap_entry { |
| pub flags: __u8, |
| pub len: __u8, |
| pub index: __u16, |
| pub keycode: __u32, |
| pub scancode: [__u8; 32usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct input_mask { |
| pub type_: __u32, |
| pub codes_size: __u32, |
| pub codes_ptr: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_replay { |
| pub length: __u16, |
| pub delay: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_trigger { |
| pub button: __u16, |
| pub interval: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_envelope { |
| pub attack_length: __u16, |
| pub attack_level: __u16, |
| pub fade_length: __u16, |
| pub fade_level: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_constant_effect { |
| pub level: __s16, |
| pub envelope: ff_envelope, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_ramp_effect { |
| pub start_level: __s16, |
| pub end_level: __s16, |
| pub envelope: ff_envelope, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_condition_effect { |
| pub right_saturation: __u16, |
| pub left_saturation: __u16, |
| pub right_coeff: __s16, |
| pub left_coeff: __s16, |
| pub deadband: __u16, |
| pub center: __s16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_periodic_effect { |
| pub waveform: __u16, |
| pub period: __u16, |
| pub magnitude: __s16, |
| pub offset: __s16, |
| pub phase: __u16, |
| pub envelope: ff_envelope, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub custom_len: __u32, |
| pub custom_data: uref<__s16>, |
| } |
| impl Default for ff_periodic_effect { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ff_rumble_effect { |
| pub strong_magnitude: __u16, |
| pub weak_magnitude: __u16, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ff_effect { |
| pub type_: __u16, |
| pub id: __s16, |
| pub direction: __u16, |
| pub trigger: ff_trigger, |
| pub replay: ff_replay, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub u: ff_effect__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union ff_effect__bindgen_ty_1 { |
| pub constant: ff_constant_effect, |
| pub ramp: ff_ramp_effect, |
| pub periodic: ff_periodic_effect, |
| pub condition: [ff_condition_effect; 2usize], |
| pub rumble: ff_rumble_effect, |
| } |
| impl Default for ff_effect__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ff_effect { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct iphdr { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| pub tos: __u8, |
| pub tot_len: __be16, |
| pub id: __be16, |
| pub frag_off: __be16, |
| pub ttl: __u8, |
| pub protocol: __u8, |
| pub check: __sum16, |
| pub __bindgen_anon_1: iphdr__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union iphdr__bindgen_ty_1 { |
| pub __bindgen_anon_1: iphdr__bindgen_ty_1__bindgen_ty_1, |
| pub addrs: iphdr__bindgen_ty_1__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct iphdr__bindgen_ty_1__bindgen_ty_1 { |
| pub saddr: __be32, |
| pub daddr: __be32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct iphdr__bindgen_ty_1__bindgen_ty_2 { |
| pub saddr: __be32, |
| pub daddr: __be32, |
| } |
| impl Default for iphdr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for iphdr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl iphdr { |
| #[inline] |
| pub fn ihl(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_ihl(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn version(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_version(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1(ihl: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 4u8, { |
| let ihl: u8 = unsafe { ::std::mem::transmute(ihl) }; |
| ihl as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 4u8, { |
| let version: u8 = unsafe { ::std::mem::transmute(version) }; |
| version as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct ip_auth_hdr { |
| pub nexthdr: __u8, |
| pub hdrlen: __u8, |
| pub reserved: __be16, |
| pub spi: __be32, |
| pub seq_no: __be32, |
| pub auth_data: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct ip_esp_hdr { |
| pub spi: __be32, |
| pub seq_no: __be32, |
| pub enc_data: __IncompleteArrayField<__u8>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip_comp_hdr { |
| pub nexthdr: __u8, |
| pub flags: __u8, |
| pub cpi: __be16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip_beet_phdr { |
| pub nexthdr: __u8, |
| pub hdrlen: __u8, |
| pub padlen: __u8, |
| pub reserved: __u8, |
| } |
| pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_45 = 1; |
| pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_45 = 2; |
| pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_45 = 3; |
| pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_45 = 4; |
| pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_45 = 5; |
| pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_45 = 6; |
| pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_45 = 7; |
| pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_45 = 8; |
| pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_45 = 9; |
| pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_45 = 10; |
| pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_45 = 11; |
| pub const IPV4_DEVCONF_TAG: _bindgen_ty_45 = 12; |
| pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_45 = 13; |
| pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_45 = 14; |
| pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_45 = 15; |
| pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_45 = 16; |
| pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_45 = 17; |
| pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_45 = 18; |
| pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_45 = 19; |
| pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_45 = 20; |
| pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_45 = 21; |
| pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_45 = 22; |
| pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_45 = 23; |
| pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_45 = 24; |
| pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_45 = 25; |
| pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_45 = 26; |
| pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_45 = 27; |
| pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_45 = 28; |
| pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_45 = 29; |
| pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_45 = 30; |
| pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_45 = 31; |
| pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_45 = 32; |
| pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_45 = 33; |
| pub const __IPV4_DEVCONF_MAX: _bindgen_ty_45 = 34; |
| pub type _bindgen_ty_45 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct in6_addr { |
| pub in6_u: in6_addr__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union in6_addr__bindgen_ty_1 { |
| pub u6_addr8: [__u8; 16usize], |
| pub u6_addr16: [__be16; 8usize], |
| pub u6_addr32: [__be32; 4usize], |
| } |
| impl Default for in6_addr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for in6_addr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_in6 { |
| pub sin6_family: crate::types::c_ushort, |
| pub sin6_port: __be16, |
| pub sin6_flowinfo: __be32, |
| pub sin6_addr: in6_addr, |
| pub sin6_scope_id: __u32, |
| } |
| impl Default for sockaddr_in6 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ipv6_mreq { |
| pub ipv6mr_multiaddr: in6_addr, |
| pub ipv6mr_ifindex: crate::types::c_int, |
| } |
| impl Default for ipv6_mreq { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct in6_flowlabel_req { |
| pub flr_dst: in6_addr, |
| pub flr_label: __be32, |
| pub flr_action: __u8, |
| pub flr_share: __u8, |
| pub flr_flags: __u16, |
| pub flr_expires: __u16, |
| pub flr_linger: __u16, |
| pub __flr_pad: __u32, |
| } |
| impl Default for in6_flowlabel_req { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct in6_pktinfo { |
| pub ipi6_addr: in6_addr, |
| pub ipi6_ifindex: crate::types::c_int, |
| } |
| impl Default for in6_pktinfo { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ip6_mtuinfo { |
| pub ip6m_addr: sockaddr_in6, |
| pub ip6m_mtu: __u32, |
| } |
| impl Default for ip6_mtuinfo { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct in6_ifreq { |
| pub ifr6_addr: in6_addr, |
| pub ifr6_prefixlen: __u32, |
| pub ifr6_ifindex: crate::types::c_int, |
| } |
| impl Default for in6_ifreq { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipv6_rt_hdr { |
| pub nexthdr: __u8, |
| pub hdrlen: __u8, |
| pub type_: __u8, |
| pub segments_left: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipv6_opt_hdr { |
| pub nexthdr: __u8, |
| pub hdrlen: __u8, |
| } |
| #[repr(C)] |
| pub struct rt0_hdr { |
| pub rt_hdr: ipv6_rt_hdr, |
| pub reserved: __u32, |
| pub addr: __IncompleteArrayField<in6_addr>, |
| } |
| impl Default for rt0_hdr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct rt2_hdr { |
| pub rt_hdr: ipv6_rt_hdr, |
| pub reserved: __u32, |
| pub addr: in6_addr, |
| } |
| impl Default for rt2_hdr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Copy, Clone)] |
| pub struct ipv6_destopt_hao { |
| pub type_: __u8, |
| pub length: __u8, |
| pub addr: in6_addr, |
| } |
| impl Default for ipv6_destopt_hao { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ipv6hdr { |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, |
| pub flow_lbl: [__u8; 3usize], |
| pub payload_len: __be16, |
| pub nexthdr: __u8, |
| pub hop_limit: __u8, |
| pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union ipv6hdr__bindgen_ty_1 { |
| pub __bindgen_anon_1: ipv6hdr__bindgen_ty_1__bindgen_ty_1, |
| pub addrs: ipv6hdr__bindgen_ty_1__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_1 { |
| pub saddr: in6_addr, |
| pub daddr: in6_addr, |
| } |
| impl Default for ipv6hdr__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ipv6hdr__bindgen_ty_1__bindgen_ty_2 { |
| pub saddr: in6_addr, |
| pub daddr: in6_addr, |
| } |
| impl Default for ipv6hdr__bindgen_ty_1__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ipv6hdr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ipv6hdr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl ipv6hdr { |
| #[inline] |
| pub fn priority(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_priority(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn version(&self) -> __u8 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) } |
| } |
| #[inline] |
| pub fn set_version(&mut self, val: __u8) { |
| unsafe { |
| let val: u8 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1(priority: __u8, version: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 4u8, { |
| let priority: u8 = unsafe { ::std::mem::transmute(priority) }; |
| priority as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 4u8, { |
| let version: u8 = unsafe { ::std::mem::transmute(version) }; |
| version as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| pub const DEVCONF_FORWARDING: _bindgen_ty_46 = 0; |
| pub const DEVCONF_HOPLIMIT: _bindgen_ty_46 = 1; |
| pub const DEVCONF_MTU6: _bindgen_ty_46 = 2; |
| pub const DEVCONF_ACCEPT_RA: _bindgen_ty_46 = 3; |
| pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_46 = 4; |
| pub const DEVCONF_AUTOCONF: _bindgen_ty_46 = 5; |
| pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_46 = 6; |
| pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_46 = 7; |
| pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_46 = 8; |
| pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_46 = 9; |
| pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_46 = 10; |
| pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_46 = 11; |
| pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_46 = 12; |
| pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_46 = 13; |
| pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_46 = 14; |
| pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_46 = 15; |
| pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_46 = 16; |
| pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_46 = 17; |
| pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_46 = 18; |
| pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_46 = 19; |
| pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_46 = 20; |
| pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_46 = 21; |
| pub const DEVCONF_PROXY_NDP: _bindgen_ty_46 = 22; |
| pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_46 = 23; |
| pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_46 = 24; |
| pub const DEVCONF_MC_FORWARDING: _bindgen_ty_46 = 25; |
| pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_46 = 26; |
| pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_46 = 27; |
| pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_46 = 28; |
| pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_46 = 29; |
| pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_46 = 30; |
| pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_46 = 31; |
| pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_46 = 32; |
| pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_46 = 33; |
| pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_46 = 34; |
| pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_46 = 35; |
| pub const DEVCONF_STABLE_SECRET: _bindgen_ty_46 = 36; |
| pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_46 = 37; |
| pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_46 = 38; |
| pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_46 = 39; |
| pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_46 = 40; |
| pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_46 = 41; |
| pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_46 = 42; |
| pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_46 = 43; |
| pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_46 = 44; |
| pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_46 = 45; |
| pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_46 = 46; |
| pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_46 = 47; |
| pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_46 = 48; |
| pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_46 = 49; |
| pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_46 = 50; |
| pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_46 = 51; |
| pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_46 = 52; |
| pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_46 = 53; |
| pub const DEVCONF_IOAM6_ID: _bindgen_ty_46 = 54; |
| pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_46 = 55; |
| pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_46 = 56; |
| pub const DEVCONF_ACCEPT_UNTRACKED_NA: _bindgen_ty_46 = 57; |
| pub const DEVCONF_MAX: _bindgen_ty_46 = 58; |
| pub type _bindgen_ty_46 = crate::types::c_uint; |
| pub const kcmp_type_KCMP_FILE: kcmp_type = 0; |
| pub const kcmp_type_KCMP_VM: kcmp_type = 1; |
| pub const kcmp_type_KCMP_FILES: kcmp_type = 2; |
| pub const kcmp_type_KCMP_FS: kcmp_type = 3; |
| pub const kcmp_type_KCMP_SIGHAND: kcmp_type = 4; |
| pub const kcmp_type_KCMP_IO: kcmp_type = 5; |
| pub const kcmp_type_KCMP_SYSVSEM: kcmp_type = 6; |
| pub const kcmp_type_KCMP_EPOLL_TFD: kcmp_type = 7; |
| pub const kcmp_type_KCMP_TYPES: kcmp_type = 8; |
| pub type kcmp_type = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct kcmp_epoll_slot { |
| pub efd: __u32, |
| pub tfd: __u32, |
| pub toff: __u32, |
| } |
| pub const LO_FLAGS_READ_ONLY: _bindgen_ty_47 = 1; |
| pub const LO_FLAGS_AUTOCLEAR: _bindgen_ty_47 = 4; |
| pub const LO_FLAGS_PARTSCAN: _bindgen_ty_47 = 8; |
| pub const LO_FLAGS_DIRECT_IO: _bindgen_ty_47 = 16; |
| pub type _bindgen_ty_47 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct loop_info { |
| pub lo_number: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub lo_device: __kernel_old_dev_t, |
| pub lo_inode: crate::types::c_ulong, |
| pub lo_rdevice: __kernel_old_dev_t, |
| pub lo_offset: crate::types::c_int, |
| pub lo_encrypt_type: crate::types::c_int, |
| pub lo_encrypt_key_size: crate::types::c_int, |
| pub lo_flags: crate::types::c_int, |
| pub lo_name: [crate::types::c_char; 64usize], |
| pub lo_encrypt_key: [crate::types::c_uchar; 32usize], |
| pub lo_init: [crate::types::c_ulong; 2usize], |
| pub reserved: [crate::types::c_char; 4usize], |
| pub __bindgen_padding_1: [u8; 4usize], |
| } |
| impl Default for loop_info { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct loop_info64 { |
| pub lo_device: __u64, |
| pub lo_inode: __u64, |
| pub lo_rdevice: __u64, |
| pub lo_offset: __u64, |
| pub lo_sizelimit: __u64, |
| pub lo_number: __u32, |
| pub lo_encrypt_type: __u32, |
| pub lo_encrypt_key_size: __u32, |
| pub lo_flags: __u32, |
| pub lo_file_name: [__u8; 64usize], |
| pub lo_crypt_name: [__u8; 64usize], |
| pub lo_encrypt_key: [__u8; 32usize], |
| pub lo_init: [__u64; 2usize], |
| } |
| impl Default for loop_info64 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct loop_config { |
| pub fd: __u32, |
| pub block_size: __u32, |
| pub info: loop_info64, |
| pub __reserved: [__u64; 8usize], |
| } |
| impl Default for loop_config { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const membarrier_cmd_MEMBARRIER_CMD_QUERY: membarrier_cmd = 0; |
| pub const membarrier_cmd_MEMBARRIER_CMD_GLOBAL: membarrier_cmd = 1; |
| pub const membarrier_cmd_MEMBARRIER_CMD_GLOBAL_EXPEDITED: membarrier_cmd = 2; |
| pub const membarrier_cmd_MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED: membarrier_cmd = 4; |
| pub const membarrier_cmd_MEMBARRIER_CMD_PRIVATE_EXPEDITED: membarrier_cmd = 8; |
| pub const membarrier_cmd_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED: membarrier_cmd = 16; |
| pub const membarrier_cmd_MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE: membarrier_cmd = 32; |
| pub const membarrier_cmd_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE: membarrier_cmd = 64; |
| pub const membarrier_cmd_MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ: membarrier_cmd = 128; |
| pub const membarrier_cmd_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ: membarrier_cmd = 256; |
| pub const membarrier_cmd_MEMBARRIER_CMD_GET_REGISTRATIONS: membarrier_cmd = 512; |
| pub const membarrier_cmd_MEMBARRIER_CMD_SHARED: membarrier_cmd = 1; |
| pub type membarrier_cmd = crate::types::c_uint; |
| pub const membarrier_cmd_flag_MEMBARRIER_CMD_FLAG_CPU: membarrier_cmd_flag = 1; |
| pub type membarrier_cmd_flag = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct cachestat_range { |
| pub off: __u64, |
| pub len: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct cachestat { |
| pub nr_cache: __u64, |
| pub nr_dirty: __u64, |
| pub nr_writeback: __u64, |
| pub nr_evicted: __u64, |
| pub nr_recently_evicted: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct mq_attr { |
| pub mq_flags: __kernel_long_t, |
| pub mq_maxmsg: __kernel_long_t, |
| pub mq_msgsize: __kernel_long_t, |
| pub mq_curmsgs: __kernel_long_t, |
| pub __reserved: [__kernel_long_t; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sync_serial_settings { |
| pub clock_rate: crate::types::c_uint, |
| pub clock_type: crate::types::c_uint, |
| pub loopback: crate::types::c_ushort, |
| pub __bindgen_padding_0: [u8; 2usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct te1_settings { |
| pub clock_rate: crate::types::c_uint, |
| pub clock_type: crate::types::c_uint, |
| pub loopback: crate::types::c_ushort, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub slot_map: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct raw_hdlc_proto { |
| pub encoding: crate::types::c_ushort, |
| pub parity: crate::types::c_ushort, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fr_proto { |
| pub t391: crate::types::c_uint, |
| pub t392: crate::types::c_uint, |
| pub n391: crate::types::c_uint, |
| pub n392: crate::types::c_uint, |
| pub n393: crate::types::c_uint, |
| pub lmi: crate::types::c_ushort, |
| pub dce: crate::types::c_ushort, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fr_proto_pvc { |
| pub dlci: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct fr_proto_pvc_info { |
| pub dlci: crate::types::c_uint, |
| pub master: [crate::types::c_char; 16usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct cisco_proto { |
| pub interval: crate::types::c_uint, |
| pub timeout: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct x25_hdlc_proto { |
| pub dce: crate::types::c_ushort, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub modulo: crate::types::c_uint, |
| pub window: crate::types::c_uint, |
| pub t1: crate::types::c_uint, |
| pub t2: crate::types::c_uint, |
| pub n2: crate::types::c_uint, |
| } |
| pub const net_device_flags_IFF_UP: net_device_flags = 1; |
| pub const net_device_flags_IFF_BROADCAST: net_device_flags = 2; |
| pub const net_device_flags_IFF_DEBUG: net_device_flags = 4; |
| pub const net_device_flags_IFF_LOOPBACK: net_device_flags = 8; |
| pub const net_device_flags_IFF_POINTOPOINT: net_device_flags = 16; |
| pub const net_device_flags_IFF_NOTRAILERS: net_device_flags = 32; |
| pub const net_device_flags_IFF_RUNNING: net_device_flags = 64; |
| pub const net_device_flags_IFF_NOARP: net_device_flags = 128; |
| pub const net_device_flags_IFF_PROMISC: net_device_flags = 256; |
| pub const net_device_flags_IFF_ALLMULTI: net_device_flags = 512; |
| pub const net_device_flags_IFF_MASTER: net_device_flags = 1024; |
| pub const net_device_flags_IFF_SLAVE: net_device_flags = 2048; |
| pub const net_device_flags_IFF_MULTICAST: net_device_flags = 4096; |
| pub const net_device_flags_IFF_PORTSEL: net_device_flags = 8192; |
| pub const net_device_flags_IFF_AUTOMEDIA: net_device_flags = 16384; |
| pub const net_device_flags_IFF_DYNAMIC: net_device_flags = 32768; |
| pub const net_device_flags_IFF_LOWER_UP: net_device_flags = 65536; |
| pub const net_device_flags_IFF_DORMANT: net_device_flags = 131072; |
| pub const net_device_flags_IFF_ECHO: net_device_flags = 262144; |
| pub type net_device_flags = crate::types::c_uint; |
| pub const IF_OPER_UNKNOWN: _bindgen_ty_48 = 0; |
| pub const IF_OPER_NOTPRESENT: _bindgen_ty_48 = 1; |
| pub const IF_OPER_DOWN: _bindgen_ty_48 = 2; |
| pub const IF_OPER_LOWERLAYERDOWN: _bindgen_ty_48 = 3; |
| pub const IF_OPER_TESTING: _bindgen_ty_48 = 4; |
| pub const IF_OPER_DORMANT: _bindgen_ty_48 = 5; |
| pub const IF_OPER_UP: _bindgen_ty_48 = 6; |
| pub type _bindgen_ty_48 = crate::types::c_uint; |
| pub const IF_LINK_MODE_DEFAULT: _bindgen_ty_49 = 0; |
| pub const IF_LINK_MODE_DORMANT: _bindgen_ty_49 = 1; |
| pub const IF_LINK_MODE_TESTING: _bindgen_ty_49 = 2; |
| pub type _bindgen_ty_49 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ifmap { |
| pub mem_start: crate::types::c_ulong, |
| pub mem_end: crate::types::c_ulong, |
| pub base_addr: crate::types::c_ushort, |
| pub irq: crate::types::c_uchar, |
| pub dma: crate::types::c_uchar, |
| pub port: crate::types::c_uchar, |
| pub __bindgen_padding_0: [u8; 3usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct if_settings { |
| pub type_: crate::types::c_uint, |
| pub size: crate::types::c_uint, |
| pub ifs_ifsu: if_settings__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union if_settings__bindgen_ty_1 { |
| pub raw_hdlc: uref<raw_hdlc_proto>, |
| pub cisco: uref<cisco_proto>, |
| pub fr: uref<fr_proto>, |
| pub fr_pvc: uref<fr_proto_pvc>, |
| pub fr_pvc_info: uref<fr_proto_pvc_info>, |
| pub x25: uref<x25_hdlc_proto>, |
| pub sync: uref<sync_serial_settings>, |
| pub te1: uref<te1_settings>, |
| } |
| impl Default for if_settings__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for if_settings { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct ifreq { |
| pub ifr_ifrn: ifreq__bindgen_ty_1, |
| pub ifr_ifru: ifreq__bindgen_ty_2, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union ifreq__bindgen_ty_1 { |
| pub ifrn_name: [crate::types::c_char; 16usize], |
| } |
| impl Default for ifreq__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union ifreq__bindgen_ty_2 { |
| pub ifru_addr: sockaddr, |
| pub ifru_dstaddr: sockaddr, |
| pub ifru_broadaddr: sockaddr, |
| pub ifru_netmask: sockaddr, |
| pub ifru_hwaddr: sockaddr, |
| pub ifru_flags: crate::types::c_short, |
| pub ifru_ivalue: crate::types::c_int, |
| pub ifru_mtu: crate::types::c_int, |
| pub ifru_map: ifmap, |
| pub ifru_slave: [crate::types::c_char; 16usize], |
| pub ifru_newname: [crate::types::c_char; 16usize], |
| pub ifru_data: uaddr, |
| pub ifru_settings: if_settings, |
| } |
| impl Default for ifreq__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ifreq { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct ifconf { |
| pub ifc_len: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub ifc_ifcu: ifconf__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union ifconf__bindgen_ty_1 { |
| pub ifcu_buf: uref<crate::types::c_char>, |
| pub ifcu_req: uref<ifreq>, |
| } |
| impl Default for ifconf__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for ifconf { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[doc = " An integral type representing an IPv4 address."] |
| pub type in_addr_t = u32; |
| #[doc = " A structure representing an IPv4 address."] |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct in_addr { |
| pub s_addr: in_addr_t, |
| } |
| pub const IPPROTO_IP: _bindgen_ty_50 = 0; |
| pub const IPPROTO_ICMP: _bindgen_ty_50 = 1; |
| pub const IPPROTO_IGMP: _bindgen_ty_50 = 2; |
| pub const IPPROTO_IPIP: _bindgen_ty_50 = 4; |
| pub const IPPROTO_TCP: _bindgen_ty_50 = 6; |
| pub const IPPROTO_EGP: _bindgen_ty_50 = 8; |
| pub const IPPROTO_PUP: _bindgen_ty_50 = 12; |
| pub const IPPROTO_UDP: _bindgen_ty_50 = 17; |
| pub const IPPROTO_IDP: _bindgen_ty_50 = 22; |
| pub const IPPROTO_TP: _bindgen_ty_50 = 29; |
| pub const IPPROTO_DCCP: _bindgen_ty_50 = 33; |
| pub const IPPROTO_IPV6: _bindgen_ty_50 = 41; |
| pub const IPPROTO_RSVP: _bindgen_ty_50 = 46; |
| pub const IPPROTO_GRE: _bindgen_ty_50 = 47; |
| pub const IPPROTO_ESP: _bindgen_ty_50 = 50; |
| pub const IPPROTO_AH: _bindgen_ty_50 = 51; |
| pub const IPPROTO_MTP: _bindgen_ty_50 = 92; |
| pub const IPPROTO_BEETPH: _bindgen_ty_50 = 94; |
| pub const IPPROTO_ENCAP: _bindgen_ty_50 = 98; |
| pub const IPPROTO_PIM: _bindgen_ty_50 = 103; |
| pub const IPPROTO_COMP: _bindgen_ty_50 = 108; |
| pub const IPPROTO_L2TP: _bindgen_ty_50 = 115; |
| pub const IPPROTO_SCTP: _bindgen_ty_50 = 132; |
| pub const IPPROTO_UDPLITE: _bindgen_ty_50 = 136; |
| pub const IPPROTO_MPLS: _bindgen_ty_50 = 137; |
| pub const IPPROTO_ETHERNET: _bindgen_ty_50 = 143; |
| pub const IPPROTO_RAW: _bindgen_ty_50 = 255; |
| pub const IPPROTO_MPTCP: _bindgen_ty_50 = 262; |
| pub const IPPROTO_MAX: _bindgen_ty_50 = 263; |
| pub type _bindgen_ty_50 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip_mreq { |
| pub imr_multiaddr: in_addr, |
| pub imr_interface: in_addr, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip_mreqn { |
| pub imr_multiaddr: in_addr, |
| pub imr_address: in_addr, |
| pub imr_ifindex: crate::types::c_int, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct group_req { |
| pub gr_interface: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub gr_group: __kernel_sockaddr_storage, |
| } |
| impl Default for group_req { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct group_source_req { |
| pub gsr_interface: __u32, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub gsr_group: __kernel_sockaddr_storage, |
| pub gsr_source: __kernel_sockaddr_storage, |
| } |
| impl Default for group_source_req { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| pub struct group_filter { |
| pub _bindgen_opaque_blob: [u64; 34usize], |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| pub struct group_filter__bindgen_ty_1 { |
| pub _bindgen_opaque_blob: [u64; 34usize], |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| pub struct group_filter__bindgen_ty_1__bindgen_ty_1 { |
| pub _bindgen_opaque_blob: [u64; 34usize], |
| } |
| impl Default for group_filter__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct group_filter__bindgen_ty_1__bindgen_ty_2 { |
| pub _bindgen_opaque_blob: [u64; 18usize], |
| } |
| impl Default for group_filter__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for group_filter { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct in_pktinfo { |
| pub ipi_ifindex: crate::types::c_int, |
| pub ipi_spec_dst: in_addr, |
| pub ipi_addr: in_addr, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_in { |
| pub sin_family: __kernel_sa_family_t, |
| pub sin_port: __be16, |
| pub sin_addr: in_addr, |
| pub __pad: [crate::types::c_uchar; 8usize], |
| } |
| pub const nf_inet_hooks_NF_INET_PRE_ROUTING: nf_inet_hooks = 0; |
| pub const nf_inet_hooks_NF_INET_LOCAL_IN: nf_inet_hooks = 1; |
| pub const nf_inet_hooks_NF_INET_FORWARD: nf_inet_hooks = 2; |
| pub const nf_inet_hooks_NF_INET_LOCAL_OUT: nf_inet_hooks = 3; |
| pub const nf_inet_hooks_NF_INET_POST_ROUTING: nf_inet_hooks = 4; |
| pub const nf_inet_hooks_NF_INET_NUMHOOKS: nf_inet_hooks = 5; |
| pub const nf_inet_hooks_NF_INET_INGRESS: nf_inet_hooks = 5; |
| pub type nf_inet_hooks = crate::types::c_uint; |
| pub const nf_dev_hooks_NF_NETDEV_INGRESS: nf_dev_hooks = 0; |
| pub const nf_dev_hooks_NF_NETDEV_EGRESS: nf_dev_hooks = 1; |
| pub const nf_dev_hooks_NF_NETDEV_NUMHOOKS: nf_dev_hooks = 2; |
| pub type nf_dev_hooks = crate::types::c_uint; |
| pub const NFPROTO_UNSPEC: _bindgen_ty_51 = 0; |
| pub const NFPROTO_INET: _bindgen_ty_51 = 1; |
| pub const NFPROTO_IPV4: _bindgen_ty_51 = 2; |
| pub const NFPROTO_ARP: _bindgen_ty_51 = 3; |
| pub const NFPROTO_NETDEV: _bindgen_ty_51 = 5; |
| pub const NFPROTO_BRIDGE: _bindgen_ty_51 = 7; |
| pub const NFPROTO_IPV6: _bindgen_ty_51 = 10; |
| pub const NFPROTO_DECNET: _bindgen_ty_51 = 12; |
| pub const NFPROTO_NUMPROTO: _bindgen_ty_51 = 13; |
| pub type _bindgen_ty_51 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union nf_inet_addr { |
| pub all: [__u32; 4usize], |
| pub ip: __be32, |
| pub ip6: [__be32; 4usize], |
| pub in_: in_addr, |
| pub in6: in6_addr, |
| } |
| impl Default for nf_inet_addr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const nf_ip_hook_priorities_NF_IP_PRI_FIRST: nf_ip_hook_priorities = -2147483648; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_RAW_BEFORE_DEFRAG: nf_ip_hook_priorities = -450; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_CONNTRACK_DEFRAG: nf_ip_hook_priorities = -400; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_RAW: nf_ip_hook_priorities = -300; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_SELINUX_FIRST: nf_ip_hook_priorities = -225; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_CONNTRACK: nf_ip_hook_priorities = -200; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_MANGLE: nf_ip_hook_priorities = -150; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_NAT_DST: nf_ip_hook_priorities = -100; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_FILTER: nf_ip_hook_priorities = 0; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_SECURITY: nf_ip_hook_priorities = 50; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_NAT_SRC: nf_ip_hook_priorities = 100; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_SELINUX_LAST: nf_ip_hook_priorities = 225; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_CONNTRACK_HELPER: nf_ip_hook_priorities = 300; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_CONNTRACK_CONFIRM: nf_ip_hook_priorities = 2147483647; |
| pub const nf_ip_hook_priorities_NF_IP_PRI_LAST: nf_ip_hook_priorities = 2147483647; |
| pub type nf_ip_hook_priorities = crate::types::c_int; |
| #[repr(C)] |
| pub struct xt_entry_match { |
| pub u: xt_entry_match__bindgen_ty_1, |
| pub data: __IncompleteArrayField<crate::types::c_uchar>, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union xt_entry_match__bindgen_ty_1 { |
| pub user: xt_entry_match__bindgen_ty_1__bindgen_ty_1, |
| pub kernel: xt_entry_match__bindgen_ty_1__bindgen_ty_2, |
| pub match_size: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_1 { |
| pub match_size: __u16, |
| pub name: [crate::types::c_char; 29usize], |
| pub revision: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_entry_match__bindgen_ty_1__bindgen_ty_2 { |
| pub match_size: __u16, |
| pub __bindgen_padding_0: [u8; 6usize], |
| pub match_: uref<xt_match>, |
| } |
| impl Default for xt_entry_match__bindgen_ty_1__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for xt_entry_match__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for xt_entry_match { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| pub struct xt_entry_target { |
| pub u: xt_entry_target__bindgen_ty_1, |
| pub data: __IncompleteArrayField<crate::types::c_uchar>, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union xt_entry_target__bindgen_ty_1 { |
| pub user: xt_entry_target__bindgen_ty_1__bindgen_ty_1, |
| pub kernel: xt_entry_target__bindgen_ty_1__bindgen_ty_2, |
| pub target_size: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_1 { |
| pub target_size: __u16, |
| pub name: [crate::types::c_char; 29usize], |
| pub revision: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_entry_target__bindgen_ty_1__bindgen_ty_2 { |
| pub target_size: __u16, |
| pub __bindgen_padding_0: [u8; 6usize], |
| pub target: uref<xt_target>, |
| } |
| impl Default for xt_entry_target__bindgen_ty_1__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for xt_entry_target__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for xt_entry_target { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| pub struct xt_standard_target { |
| pub target: xt_entry_target, |
| pub verdict: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| impl Default for xt_standard_target { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| pub struct xt_error_target { |
| pub target: xt_entry_target, |
| pub errorname: [crate::types::c_char; 30usize], |
| pub __bindgen_padding_0: [u8; 2usize], |
| } |
| impl Default for xt_error_target { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_get_revision { |
| pub name: [crate::types::c_char; 29usize], |
| pub revision: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct _xt_align { |
| pub u8_: __u8, |
| pub __bindgen_padding_0: u8, |
| pub u16_: __u16, |
| pub u32_: __u32, |
| pub u64_: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_counters { |
| pub pcnt: __u64, |
| pub bcnt: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, FromBytes, NoCell, FromZeros)] |
| pub struct xt_counters_info { |
| pub name: [crate::types::c_char; 32usize], |
| pub num_counters: crate::types::c_uint, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub counters: __IncompleteArrayField<xt_counters>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_tcp { |
| pub spts: [__u16; 2usize], |
| pub dpts: [__u16; 2usize], |
| pub option: __u8, |
| pub flg_mask: __u8, |
| pub flg_cmp: __u8, |
| pub invflags: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_udp { |
| pub spts: [__u16; 2usize], |
| pub dpts: [__u16; 2usize], |
| pub invflags: __u8, |
| pub __bindgen_padding_0: u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_ip { |
| pub src: in_addr, |
| pub dst: in_addr, |
| pub smsk: in_addr, |
| pub dmsk: in_addr, |
| pub iniface: [crate::types::c_char; 16usize], |
| pub outiface: [crate::types::c_char; 16usize], |
| pub iniface_mask: [crate::types::c_uchar; 16usize], |
| pub outiface_mask: [crate::types::c_uchar; 16usize], |
| pub proto: __u16, |
| pub flags: __u8, |
| pub invflags: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_entry { |
| pub ip: ipt_ip, |
| pub nfcache: crate::types::c_uint, |
| pub target_offset: __u16, |
| pub next_offset: __u16, |
| pub comefrom: crate::types::c_uint, |
| pub counters: xt_counters, |
| pub elems: __IncompleteArrayField<crate::types::c_uchar>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_icmp { |
| pub type_: __u8, |
| pub code: [__u8; 2usize], |
| pub invflags: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_getinfo { |
| pub name: [crate::types::c_char; 32usize], |
| pub valid_hooks: crate::types::c_uint, |
| pub hook_entry: [crate::types::c_uint; 5usize], |
| pub underflow: [crate::types::c_uint; 5usize], |
| pub num_entries: crate::types::c_uint, |
| pub size: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_replace { |
| pub name: [crate::types::c_char; 32usize], |
| pub valid_hooks: crate::types::c_uint, |
| pub num_entries: crate::types::c_uint, |
| pub size: crate::types::c_uint, |
| pub hook_entry: [crate::types::c_uint; 5usize], |
| pub underflow: [crate::types::c_uint; 5usize], |
| pub num_counters: crate::types::c_uint, |
| pub counters: uref<xt_counters>, |
| pub entries: __IncompleteArrayField<ipt_entry>, |
| } |
| impl Default for ipt_replace { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, FromBytes, NoCell, FromZeros)] |
| pub struct ipt_get_entries { |
| pub name: [crate::types::c_char; 32usize], |
| pub size: crate::types::c_uint, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub entrytable: __IncompleteArrayField<ipt_entry>, |
| } |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_FIRST: nf_ip6_hook_priorities = -2147483648; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_RAW_BEFORE_DEFRAG: nf_ip6_hook_priorities = -450; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_CONNTRACK_DEFRAG: nf_ip6_hook_priorities = -400; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_RAW: nf_ip6_hook_priorities = -300; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_SELINUX_FIRST: nf_ip6_hook_priorities = -225; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_CONNTRACK: nf_ip6_hook_priorities = -200; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_MANGLE: nf_ip6_hook_priorities = -150; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_NAT_DST: nf_ip6_hook_priorities = -100; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_FILTER: nf_ip6_hook_priorities = 0; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_SECURITY: nf_ip6_hook_priorities = 50; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_NAT_SRC: nf_ip6_hook_priorities = 100; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_SELINUX_LAST: nf_ip6_hook_priorities = 225; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_CONNTRACK_HELPER: nf_ip6_hook_priorities = 300; |
| pub const nf_ip6_hook_priorities_NF_IP6_PRI_LAST: nf_ip6_hook_priorities = 2147483647; |
| pub type nf_ip6_hook_priorities = crate::types::c_int; |
| #[repr(C)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_ip6 { |
| pub src: in6_addr, |
| pub dst: in6_addr, |
| pub smsk: in6_addr, |
| pub dmsk: in6_addr, |
| pub iniface: [crate::types::c_char; 16usize], |
| pub outiface: [crate::types::c_char; 16usize], |
| pub iniface_mask: [crate::types::c_uchar; 16usize], |
| pub outiface_mask: [crate::types::c_uchar; 16usize], |
| pub proto: __u16, |
| pub tos: __u8, |
| pub flags: __u8, |
| pub invflags: __u8, |
| pub __bindgen_padding_0: [u8; 3usize], |
| } |
| impl Default for ip6t_ip6 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_entry { |
| pub ipv6: ip6t_ip6, |
| pub nfcache: crate::types::c_uint, |
| pub target_offset: __u16, |
| pub next_offset: __u16, |
| pub comefrom: crate::types::c_uint, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub counters: xt_counters, |
| pub elems: __IncompleteArrayField<crate::types::c_uchar>, |
| } |
| impl Default for ip6t_entry { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| pub struct ip6t_standard { |
| pub entry: ip6t_entry, |
| pub target: xt_standard_target, |
| } |
| impl Default for ip6t_standard { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| pub struct ip6t_error { |
| pub entry: ip6t_entry, |
| pub target: xt_error_target, |
| } |
| impl Default for ip6t_error { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_icmp { |
| pub type_: __u8, |
| pub code: [__u8; 2usize], |
| pub invflags: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_getinfo { |
| pub name: [crate::types::c_char; 32usize], |
| pub valid_hooks: crate::types::c_uint, |
| pub hook_entry: [crate::types::c_uint; 5usize], |
| pub underflow: [crate::types::c_uint; 5usize], |
| pub num_entries: crate::types::c_uint, |
| pub size: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_replace { |
| pub name: [crate::types::c_char; 32usize], |
| pub valid_hooks: crate::types::c_uint, |
| pub num_entries: crate::types::c_uint, |
| pub size: crate::types::c_uint, |
| pub hook_entry: [crate::types::c_uint; 5usize], |
| pub underflow: [crate::types::c_uint; 5usize], |
| pub num_counters: crate::types::c_uint, |
| pub counters: uref<xt_counters>, |
| pub entries: __IncompleteArrayField<ip6t_entry>, |
| } |
| impl Default for ip6t_replace { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(FromBytes, NoCell, FromZeros)] |
| pub struct ip6t_get_entries { |
| pub name: [crate::types::c_char; 32usize], |
| pub size: crate::types::c_uint, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub entrytable: __IncompleteArrayField<ip6t_entry>, |
| } |
| impl Default for ip6t_get_entries { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_nl { |
| pub nl_family: __kernel_sa_family_t, |
| pub nl_pad: crate::types::c_ushort, |
| pub nl_pid: __u32, |
| pub nl_groups: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nlmsghdr { |
| pub nlmsg_len: __u32, |
| pub nlmsg_type: __u16, |
| pub nlmsg_flags: __u16, |
| pub nlmsg_seq: __u32, |
| pub nlmsg_pid: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nlmsgerr { |
| pub error: crate::types::c_int, |
| pub msg: nlmsghdr, |
| } |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_UNUSED: nlmsgerr_attrs = 0; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_MSG: nlmsgerr_attrs = 1; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_OFFS: nlmsgerr_attrs = 2; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_COOKIE: nlmsgerr_attrs = 3; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_POLICY: nlmsgerr_attrs = 4; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_MISS_TYPE: nlmsgerr_attrs = 5; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_MISS_NEST: nlmsgerr_attrs = 6; |
| pub const nlmsgerr_attrs___NLMSGERR_ATTR_MAX: nlmsgerr_attrs = 7; |
| pub const nlmsgerr_attrs_NLMSGERR_ATTR_MAX: nlmsgerr_attrs = 6; |
| pub type nlmsgerr_attrs = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nl_pktinfo { |
| pub group: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nl_mmap_req { |
| pub nm_block_size: crate::types::c_uint, |
| pub nm_block_nr: crate::types::c_uint, |
| pub nm_frame_size: crate::types::c_uint, |
| pub nm_frame_nr: crate::types::c_uint, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nl_mmap_hdr { |
| pub nm_status: crate::types::c_uint, |
| pub nm_len: crate::types::c_uint, |
| pub nm_group: __u32, |
| pub nm_pid: __u32, |
| pub nm_uid: __u32, |
| pub nm_gid: __u32, |
| } |
| pub const nl_mmap_status_NL_MMAP_STATUS_UNUSED: nl_mmap_status = 0; |
| pub const nl_mmap_status_NL_MMAP_STATUS_RESERVED: nl_mmap_status = 1; |
| pub const nl_mmap_status_NL_MMAP_STATUS_VALID: nl_mmap_status = 2; |
| pub const nl_mmap_status_NL_MMAP_STATUS_COPY: nl_mmap_status = 3; |
| pub const nl_mmap_status_NL_MMAP_STATUS_SKIP: nl_mmap_status = 4; |
| pub type nl_mmap_status = crate::types::c_uint; |
| pub const NETLINK_UNCONNECTED: _bindgen_ty_52 = 0; |
| pub const NETLINK_CONNECTED: _bindgen_ty_52 = 1; |
| pub type _bindgen_ty_52 = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nlattr { |
| pub nla_len: __u16, |
| pub nla_type: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct nla_bitfield32 { |
| pub value: __u32, |
| pub selector: __u32, |
| } |
| pub const netlink_attribute_type_NL_ATTR_TYPE_INVALID: netlink_attribute_type = 0; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_FLAG: netlink_attribute_type = 1; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_U8: netlink_attribute_type = 2; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_U16: netlink_attribute_type = 3; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_U32: netlink_attribute_type = 4; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_U64: netlink_attribute_type = 5; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_S8: netlink_attribute_type = 6; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_S16: netlink_attribute_type = 7; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_S32: netlink_attribute_type = 8; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_S64: netlink_attribute_type = 9; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_BINARY: netlink_attribute_type = 10; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_STRING: netlink_attribute_type = 11; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_NUL_STRING: netlink_attribute_type = 12; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_NESTED: netlink_attribute_type = 13; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_NESTED_ARRAY: netlink_attribute_type = 14; |
| pub const netlink_attribute_type_NL_ATTR_TYPE_BITFIELD32: netlink_attribute_type = 15; |
| pub type netlink_attribute_type = crate::types::c_uint; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_UNSPEC: netlink_policy_type_attr = 0; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_TYPE: netlink_policy_type_attr = 1; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MIN_VALUE_S: netlink_policy_type_attr = 2; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MAX_VALUE_S: netlink_policy_type_attr = 3; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MIN_VALUE_U: netlink_policy_type_attr = 4; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MAX_VALUE_U: netlink_policy_type_attr = 5; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MIN_LENGTH: netlink_policy_type_attr = 6; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MAX_LENGTH: netlink_policy_type_attr = 7; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_POLICY_IDX: netlink_policy_type_attr = 8; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE: netlink_policy_type_attr = 9; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_BITFIELD32_MASK: netlink_policy_type_attr = |
| 10; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_PAD: netlink_policy_type_attr = 11; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MASK: netlink_policy_type_attr = 12; |
| pub const netlink_policy_type_attr___NL_POLICY_TYPE_ATTR_MAX: netlink_policy_type_attr = 13; |
| pub const netlink_policy_type_attr_NL_POLICY_TYPE_ATTR_MAX: netlink_policy_type_attr = 12; |
| pub type netlink_policy_type_attr = crate::types::c_uint; |
| pub const perf_type_id_PERF_TYPE_HARDWARE: perf_type_id = 0; |
| pub const perf_type_id_PERF_TYPE_SOFTWARE: perf_type_id = 1; |
| pub const perf_type_id_PERF_TYPE_TRACEPOINT: perf_type_id = 2; |
| pub const perf_type_id_PERF_TYPE_HW_CACHE: perf_type_id = 3; |
| pub const perf_type_id_PERF_TYPE_RAW: perf_type_id = 4; |
| pub const perf_type_id_PERF_TYPE_BREAKPOINT: perf_type_id = 5; |
| pub const perf_type_id_PERF_TYPE_MAX: perf_type_id = 6; |
| pub type perf_type_id = crate::types::c_uint; |
| pub const perf_hw_id_PERF_COUNT_HW_CPU_CYCLES: perf_hw_id = 0; |
| pub const perf_hw_id_PERF_COUNT_HW_INSTRUCTIONS: perf_hw_id = 1; |
| pub const perf_hw_id_PERF_COUNT_HW_CACHE_REFERENCES: perf_hw_id = 2; |
| pub const perf_hw_id_PERF_COUNT_HW_CACHE_MISSES: perf_hw_id = 3; |
| pub const perf_hw_id_PERF_COUNT_HW_BRANCH_INSTRUCTIONS: perf_hw_id = 4; |
| pub const perf_hw_id_PERF_COUNT_HW_BRANCH_MISSES: perf_hw_id = 5; |
| pub const perf_hw_id_PERF_COUNT_HW_BUS_CYCLES: perf_hw_id = 6; |
| pub const perf_hw_id_PERF_COUNT_HW_STALLED_CYCLES_FRONTEND: perf_hw_id = 7; |
| pub const perf_hw_id_PERF_COUNT_HW_STALLED_CYCLES_BACKEND: perf_hw_id = 8; |
| pub const perf_hw_id_PERF_COUNT_HW_REF_CPU_CYCLES: perf_hw_id = 9; |
| pub const perf_hw_id_PERF_COUNT_HW_MAX: perf_hw_id = 10; |
| pub type perf_hw_id = crate::types::c_uint; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_L1D: perf_hw_cache_id = 0; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_L1I: perf_hw_cache_id = 1; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_LL: perf_hw_cache_id = 2; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_DTLB: perf_hw_cache_id = 3; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_ITLB: perf_hw_cache_id = 4; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_BPU: perf_hw_cache_id = 5; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_NODE: perf_hw_cache_id = 6; |
| pub const perf_hw_cache_id_PERF_COUNT_HW_CACHE_MAX: perf_hw_cache_id = 7; |
| pub type perf_hw_cache_id = crate::types::c_uint; |
| pub const perf_hw_cache_op_id_PERF_COUNT_HW_CACHE_OP_READ: perf_hw_cache_op_id = 0; |
| pub const perf_hw_cache_op_id_PERF_COUNT_HW_CACHE_OP_WRITE: perf_hw_cache_op_id = 1; |
| pub const perf_hw_cache_op_id_PERF_COUNT_HW_CACHE_OP_PREFETCH: perf_hw_cache_op_id = 2; |
| pub const perf_hw_cache_op_id_PERF_COUNT_HW_CACHE_OP_MAX: perf_hw_cache_op_id = 3; |
| pub type perf_hw_cache_op_id = crate::types::c_uint; |
| pub const perf_hw_cache_op_result_id_PERF_COUNT_HW_CACHE_RESULT_ACCESS: perf_hw_cache_op_result_id = |
| 0; |
| pub const perf_hw_cache_op_result_id_PERF_COUNT_HW_CACHE_RESULT_MISS: perf_hw_cache_op_result_id = |
| 1; |
| pub const perf_hw_cache_op_result_id_PERF_COUNT_HW_CACHE_RESULT_MAX: perf_hw_cache_op_result_id = 2; |
| pub type perf_hw_cache_op_result_id = crate::types::c_uint; |
| pub const perf_sw_ids_PERF_COUNT_SW_CPU_CLOCK: perf_sw_ids = 0; |
| pub const perf_sw_ids_PERF_COUNT_SW_TASK_CLOCK: perf_sw_ids = 1; |
| pub const perf_sw_ids_PERF_COUNT_SW_PAGE_FAULTS: perf_sw_ids = 2; |
| pub const perf_sw_ids_PERF_COUNT_SW_CONTEXT_SWITCHES: perf_sw_ids = 3; |
| pub const perf_sw_ids_PERF_COUNT_SW_CPU_MIGRATIONS: perf_sw_ids = 4; |
| pub const perf_sw_ids_PERF_COUNT_SW_PAGE_FAULTS_MIN: perf_sw_ids = 5; |
| pub const perf_sw_ids_PERF_COUNT_SW_PAGE_FAULTS_MAJ: perf_sw_ids = 6; |
| pub const perf_sw_ids_PERF_COUNT_SW_ALIGNMENT_FAULTS: perf_sw_ids = 7; |
| pub const perf_sw_ids_PERF_COUNT_SW_EMULATION_FAULTS: perf_sw_ids = 8; |
| pub const perf_sw_ids_PERF_COUNT_SW_DUMMY: perf_sw_ids = 9; |
| pub const perf_sw_ids_PERF_COUNT_SW_BPF_OUTPUT: perf_sw_ids = 10; |
| pub const perf_sw_ids_PERF_COUNT_SW_CGROUP_SWITCHES: perf_sw_ids = 11; |
| pub const perf_sw_ids_PERF_COUNT_SW_MAX: perf_sw_ids = 12; |
| pub type perf_sw_ids = crate::types::c_uint; |
| pub const perf_event_sample_format_PERF_SAMPLE_IP: perf_event_sample_format = 1; |
| pub const perf_event_sample_format_PERF_SAMPLE_TID: perf_event_sample_format = 2; |
| pub const perf_event_sample_format_PERF_SAMPLE_TIME: perf_event_sample_format = 4; |
| pub const perf_event_sample_format_PERF_SAMPLE_ADDR: perf_event_sample_format = 8; |
| pub const perf_event_sample_format_PERF_SAMPLE_READ: perf_event_sample_format = 16; |
| pub const perf_event_sample_format_PERF_SAMPLE_CALLCHAIN: perf_event_sample_format = 32; |
| pub const perf_event_sample_format_PERF_SAMPLE_ID: perf_event_sample_format = 64; |
| pub const perf_event_sample_format_PERF_SAMPLE_CPU: perf_event_sample_format = 128; |
| pub const perf_event_sample_format_PERF_SAMPLE_PERIOD: perf_event_sample_format = 256; |
| pub const perf_event_sample_format_PERF_SAMPLE_STREAM_ID: perf_event_sample_format = 512; |
| pub const perf_event_sample_format_PERF_SAMPLE_RAW: perf_event_sample_format = 1024; |
| pub const perf_event_sample_format_PERF_SAMPLE_BRANCH_STACK: perf_event_sample_format = 2048; |
| pub const perf_event_sample_format_PERF_SAMPLE_REGS_USER: perf_event_sample_format = 4096; |
| pub const perf_event_sample_format_PERF_SAMPLE_STACK_USER: perf_event_sample_format = 8192; |
| pub const perf_event_sample_format_PERF_SAMPLE_WEIGHT: perf_event_sample_format = 16384; |
| pub const perf_event_sample_format_PERF_SAMPLE_DATA_SRC: perf_event_sample_format = 32768; |
| pub const perf_event_sample_format_PERF_SAMPLE_IDENTIFIER: perf_event_sample_format = 65536; |
| pub const perf_event_sample_format_PERF_SAMPLE_TRANSACTION: perf_event_sample_format = 131072; |
| pub const perf_event_sample_format_PERF_SAMPLE_REGS_INTR: perf_event_sample_format = 262144; |
| pub const perf_event_sample_format_PERF_SAMPLE_PHYS_ADDR: perf_event_sample_format = 524288; |
| pub const perf_event_sample_format_PERF_SAMPLE_AUX: perf_event_sample_format = 1048576; |
| pub const perf_event_sample_format_PERF_SAMPLE_CGROUP: perf_event_sample_format = 2097152; |
| pub const perf_event_sample_format_PERF_SAMPLE_DATA_PAGE_SIZE: perf_event_sample_format = 4194304; |
| pub const perf_event_sample_format_PERF_SAMPLE_CODE_PAGE_SIZE: perf_event_sample_format = 8388608; |
| pub const perf_event_sample_format_PERF_SAMPLE_WEIGHT_STRUCT: perf_event_sample_format = 16777216; |
| pub const perf_event_sample_format_PERF_SAMPLE_MAX: perf_event_sample_format = 33554432; |
| pub type perf_event_sample_format = crate::types::c_uint; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_USER_SHIFT: |
| perf_branch_sample_type_shift = 0; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_KERNEL_SHIFT: |
| perf_branch_sample_type_shift = 1; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_HV_SHIFT: perf_branch_sample_type_shift = |
| 2; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_ANY_SHIFT: |
| perf_branch_sample_type_shift = 3; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT: |
| perf_branch_sample_type_shift = 4; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT: |
| perf_branch_sample_type_shift = 5; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_IND_CALL_SHIFT: |
| perf_branch_sample_type_shift = 6; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT: |
| perf_branch_sample_type_shift = 7; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_IN_TX_SHIFT: |
| perf_branch_sample_type_shift = 8; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_NO_TX_SHIFT: |
| perf_branch_sample_type_shift = 9; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_COND_SHIFT: |
| perf_branch_sample_type_shift = 10; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT: |
| perf_branch_sample_type_shift = 11; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT: |
| perf_branch_sample_type_shift = 12; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_CALL_SHIFT: |
| perf_branch_sample_type_shift = 13; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT: |
| perf_branch_sample_type_shift = 14; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT: |
| perf_branch_sample_type_shift = 15; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT: |
| perf_branch_sample_type_shift = 16; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT: |
| perf_branch_sample_type_shift = 17; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT: |
| perf_branch_sample_type_shift = 18; |
| pub const perf_branch_sample_type_shift_PERF_SAMPLE_BRANCH_MAX_SHIFT: |
| perf_branch_sample_type_shift = 19; |
| pub type perf_branch_sample_type_shift = crate::types::c_uint; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_USER: perf_branch_sample_type = 1; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_KERNEL: perf_branch_sample_type = 2; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_HV: perf_branch_sample_type = 4; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_ANY: perf_branch_sample_type = 8; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_ANY_CALL: perf_branch_sample_type = 16; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_ANY_RETURN: perf_branch_sample_type = 32; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_IND_CALL: perf_branch_sample_type = 64; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_ABORT_TX: perf_branch_sample_type = 128; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_IN_TX: perf_branch_sample_type = 256; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_NO_TX: perf_branch_sample_type = 512; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_COND: perf_branch_sample_type = 1024; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_CALL_STACK: perf_branch_sample_type = 2048; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_IND_JUMP: perf_branch_sample_type = 4096; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_CALL: perf_branch_sample_type = 8192; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_NO_FLAGS: perf_branch_sample_type = 16384; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_NO_CYCLES: perf_branch_sample_type = 32768; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_TYPE_SAVE: perf_branch_sample_type = 65536; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_HW_INDEX: perf_branch_sample_type = 131072; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_PRIV_SAVE: perf_branch_sample_type = 262144; |
| pub const perf_branch_sample_type_PERF_SAMPLE_BRANCH_MAX: perf_branch_sample_type = 524288; |
| pub type perf_branch_sample_type = crate::types::c_uint; |
| pub const PERF_BR_UNKNOWN: _bindgen_ty_53 = 0; |
| pub const PERF_BR_COND: _bindgen_ty_53 = 1; |
| pub const PERF_BR_UNCOND: _bindgen_ty_53 = 2; |
| pub const PERF_BR_IND: _bindgen_ty_53 = 3; |
| pub const PERF_BR_CALL: _bindgen_ty_53 = 4; |
| pub const PERF_BR_IND_CALL: _bindgen_ty_53 = 5; |
| pub const PERF_BR_RET: _bindgen_ty_53 = 6; |
| pub const PERF_BR_SYSCALL: _bindgen_ty_53 = 7; |
| pub const PERF_BR_SYSRET: _bindgen_ty_53 = 8; |
| pub const PERF_BR_COND_CALL: _bindgen_ty_53 = 9; |
| pub const PERF_BR_COND_RET: _bindgen_ty_53 = 10; |
| pub const PERF_BR_ERET: _bindgen_ty_53 = 11; |
| pub const PERF_BR_IRQ: _bindgen_ty_53 = 12; |
| pub const PERF_BR_SERROR: _bindgen_ty_53 = 13; |
| pub const PERF_BR_NO_TX: _bindgen_ty_53 = 14; |
| pub const PERF_BR_EXTEND_ABI: _bindgen_ty_53 = 15; |
| pub const PERF_BR_MAX: _bindgen_ty_53 = 16; |
| pub type _bindgen_ty_53 = crate::types::c_uint; |
| pub const PERF_BR_SPEC_NA: _bindgen_ty_54 = 0; |
| pub const PERF_BR_SPEC_WRONG_PATH: _bindgen_ty_54 = 1; |
| pub const PERF_BR_NON_SPEC_CORRECT_PATH: _bindgen_ty_54 = 2; |
| pub const PERF_BR_SPEC_CORRECT_PATH: _bindgen_ty_54 = 3; |
| pub const PERF_BR_SPEC_MAX: _bindgen_ty_54 = 4; |
| pub type _bindgen_ty_54 = crate::types::c_uint; |
| pub const PERF_BR_NEW_FAULT_ALGN: _bindgen_ty_55 = 0; |
| pub const PERF_BR_NEW_FAULT_DATA: _bindgen_ty_55 = 1; |
| pub const PERF_BR_NEW_FAULT_INST: _bindgen_ty_55 = 2; |
| pub const PERF_BR_NEW_ARCH_1: _bindgen_ty_55 = 3; |
| pub const PERF_BR_NEW_ARCH_2: _bindgen_ty_55 = 4; |
| pub const PERF_BR_NEW_ARCH_3: _bindgen_ty_55 = 5; |
| pub const PERF_BR_NEW_ARCH_4: _bindgen_ty_55 = 6; |
| pub const PERF_BR_NEW_ARCH_5: _bindgen_ty_55 = 7; |
| pub const PERF_BR_NEW_MAX: _bindgen_ty_55 = 8; |
| pub type _bindgen_ty_55 = crate::types::c_uint; |
| pub const PERF_BR_PRIV_UNKNOWN: _bindgen_ty_56 = 0; |
| pub const PERF_BR_PRIV_USER: _bindgen_ty_56 = 1; |
| pub const PERF_BR_PRIV_KERNEL: _bindgen_ty_56 = 2; |
| pub const PERF_BR_PRIV_HV: _bindgen_ty_56 = 3; |
| pub type _bindgen_ty_56 = crate::types::c_uint; |
| pub const perf_sample_regs_abi_PERF_SAMPLE_REGS_ABI_NONE: perf_sample_regs_abi = 0; |
| pub const perf_sample_regs_abi_PERF_SAMPLE_REGS_ABI_32: perf_sample_regs_abi = 1; |
| pub const perf_sample_regs_abi_PERF_SAMPLE_REGS_ABI_64: perf_sample_regs_abi = 2; |
| pub type perf_sample_regs_abi = crate::types::c_uint; |
| pub const PERF_TXN_ELISION: _bindgen_ty_57 = 1; |
| pub const PERF_TXN_TRANSACTION: _bindgen_ty_57 = 2; |
| pub const PERF_TXN_SYNC: _bindgen_ty_57 = 4; |
| pub const PERF_TXN_ASYNC: _bindgen_ty_57 = 8; |
| pub const PERF_TXN_RETRY: _bindgen_ty_57 = 16; |
| pub const PERF_TXN_CONFLICT: _bindgen_ty_57 = 32; |
| pub const PERF_TXN_CAPACITY_WRITE: _bindgen_ty_57 = 64; |
| pub const PERF_TXN_CAPACITY_READ: _bindgen_ty_57 = 128; |
| pub const PERF_TXN_MAX: _bindgen_ty_57 = 256; |
| pub const PERF_TXN_ABORT_MASK: _bindgen_ty_57 = 18446744069414584320; |
| pub const PERF_TXN_ABORT_SHIFT: _bindgen_ty_57 = 32; |
| pub type _bindgen_ty_57 = crate::types::c_ulong; |
| pub const perf_event_read_format_PERF_FORMAT_TOTAL_TIME_ENABLED: perf_event_read_format = 1; |
| pub const perf_event_read_format_PERF_FORMAT_TOTAL_TIME_RUNNING: perf_event_read_format = 2; |
| pub const perf_event_read_format_PERF_FORMAT_ID: perf_event_read_format = 4; |
| pub const perf_event_read_format_PERF_FORMAT_GROUP: perf_event_read_format = 8; |
| pub const perf_event_read_format_PERF_FORMAT_LOST: perf_event_read_format = 16; |
| pub const perf_event_read_format_PERF_FORMAT_MAX: perf_event_read_format = 32; |
| pub type perf_event_read_format = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct perf_event_attr { |
| pub type_: __u32, |
| pub size: __u32, |
| pub config: __u64, |
| pub __bindgen_anon_1: perf_event_attr__bindgen_ty_1, |
| pub sample_type: __u64, |
| pub read_format: __u64, |
| pub _bitfield_align_1: [u32; 0], |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| pub __bindgen_anon_2: perf_event_attr__bindgen_ty_2, |
| pub bp_type: __u32, |
| pub __bindgen_anon_3: perf_event_attr__bindgen_ty_3, |
| pub __bindgen_anon_4: perf_event_attr__bindgen_ty_4, |
| pub branch_sample_type: __u64, |
| pub sample_regs_user: __u64, |
| pub sample_stack_user: __u32, |
| pub clockid: __s32, |
| pub sample_regs_intr: __u64, |
| pub aux_watermark: __u32, |
| pub sample_max_stack: __u16, |
| pub __reserved_2: __u16, |
| pub aux_sample_size: __u32, |
| pub __reserved_3: __u32, |
| pub sig_data: __u64, |
| pub config3: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_event_attr__bindgen_ty_1 { |
| pub sample_period: __u64, |
| pub sample_freq: __u64, |
| } |
| impl Default for perf_event_attr__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_event_attr__bindgen_ty_2 { |
| pub wakeup_events: __u32, |
| pub wakeup_watermark: __u32, |
| } |
| impl Default for perf_event_attr__bindgen_ty_2 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_event_attr__bindgen_ty_3 { |
| pub bp_addr: __u64, |
| pub kprobe_func: __u64, |
| pub uprobe_path: __u64, |
| pub config1: __u64, |
| } |
| impl Default for perf_event_attr__bindgen_ty_3 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_event_attr__bindgen_ty_4 { |
| pub bp_len: __u64, |
| pub kprobe_addr: __u64, |
| pub probe_offset: __u64, |
| pub config2: __u64, |
| } |
| impl Default for perf_event_attr__bindgen_ty_4 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for perf_event_attr { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl perf_event_attr { |
| #[inline] |
| pub fn disabled(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_disabled(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn inherit(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_inherit(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(1usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn pinned(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_pinned(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(2usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclusive(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclusive(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(3usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_user(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_user(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_kernel(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_kernel(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(5usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_hv(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_hv(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(6usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_idle(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_idle(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(7usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mmap(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mmap(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(8usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn comm(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_comm(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(9usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn freq(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_freq(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(10usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn inherit_stat(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_inherit_stat(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(11usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn enable_on_exec(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_enable_on_exec(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(12usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn task(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_task(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(13usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn watermark(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_watermark(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(14usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn precise_ip(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 2u8) as u64) } |
| } |
| #[inline] |
| pub fn set_precise_ip(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(15usize, 2u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mmap_data(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(17usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mmap_data(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(17usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn sample_id_all(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(18usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_sample_id_all(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(18usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_host(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_host(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(19usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_guest(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(20usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_guest(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(20usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_callchain_kernel(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(21usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_callchain_kernel(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(21usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn exclude_callchain_user(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(22usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_exclude_callchain_user(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(22usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mmap2(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(23usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mmap2(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(23usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn comm_exec(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_comm_exec(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(24usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn use_clockid(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(25usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_use_clockid(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(25usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn context_switch(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(26usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_context_switch(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(26usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn write_backward(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(27usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_write_backward(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(27usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn namespaces(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(28usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_namespaces(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(28usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn ksymbol(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(29usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_ksymbol(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(29usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn bpf_event(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_bpf_event(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(30usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn aux_output(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(31usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_aux_output(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(31usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cgroup(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cgroup(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(32usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn text_poke(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_text_poke(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(33usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn build_id(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(34usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_build_id(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(34usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn inherit_thread(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(35usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_inherit_thread(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(35usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn remove_on_exec(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(36usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_remove_on_exec(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(36usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn sigtrap(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(37usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_sigtrap(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(37usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn __reserved_1(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(38usize, 26u8) as u64) } |
| } |
| #[inline] |
| pub fn set___reserved_1(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(38usize, 26u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1( |
| disabled: __u64, |
| inherit: __u64, |
| pinned: __u64, |
| exclusive: __u64, |
| exclude_user: __u64, |
| exclude_kernel: __u64, |
| exclude_hv: __u64, |
| exclude_idle: __u64, |
| mmap: __u64, |
| comm: __u64, |
| freq: __u64, |
| inherit_stat: __u64, |
| enable_on_exec: __u64, |
| task: __u64, |
| watermark: __u64, |
| precise_ip: __u64, |
| mmap_data: __u64, |
| sample_id_all: __u64, |
| exclude_host: __u64, |
| exclude_guest: __u64, |
| exclude_callchain_kernel: __u64, |
| exclude_callchain_user: __u64, |
| mmap2: __u64, |
| comm_exec: __u64, |
| use_clockid: __u64, |
| context_switch: __u64, |
| write_backward: __u64, |
| namespaces: __u64, |
| ksymbol: __u64, |
| bpf_event: __u64, |
| aux_output: __u64, |
| cgroup: __u64, |
| text_poke: __u64, |
| build_id: __u64, |
| inherit_thread: __u64, |
| remove_on_exec: __u64, |
| sigtrap: __u64, |
| __reserved_1: __u64, |
| ) -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 1u8, { |
| let disabled: u64 = unsafe { ::std::mem::transmute(disabled) }; |
| disabled as u64 |
| }); |
| __bindgen_bitfield_unit.set(1usize, 1u8, { |
| let inherit: u64 = unsafe { ::std::mem::transmute(inherit) }; |
| inherit as u64 |
| }); |
| __bindgen_bitfield_unit.set(2usize, 1u8, { |
| let pinned: u64 = unsafe { ::std::mem::transmute(pinned) }; |
| pinned as u64 |
| }); |
| __bindgen_bitfield_unit.set(3usize, 1u8, { |
| let exclusive: u64 = unsafe { ::std::mem::transmute(exclusive) }; |
| exclusive as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 1u8, { |
| let exclude_user: u64 = unsafe { ::std::mem::transmute(exclude_user) }; |
| exclude_user as u64 |
| }); |
| __bindgen_bitfield_unit.set(5usize, 1u8, { |
| let exclude_kernel: u64 = unsafe { ::std::mem::transmute(exclude_kernel) }; |
| exclude_kernel as u64 |
| }); |
| __bindgen_bitfield_unit.set(6usize, 1u8, { |
| let exclude_hv: u64 = unsafe { ::std::mem::transmute(exclude_hv) }; |
| exclude_hv as u64 |
| }); |
| __bindgen_bitfield_unit.set(7usize, 1u8, { |
| let exclude_idle: u64 = unsafe { ::std::mem::transmute(exclude_idle) }; |
| exclude_idle as u64 |
| }); |
| __bindgen_bitfield_unit.set(8usize, 1u8, { |
| let mmap: u64 = unsafe { ::std::mem::transmute(mmap) }; |
| mmap as u64 |
| }); |
| __bindgen_bitfield_unit.set(9usize, 1u8, { |
| let comm: u64 = unsafe { ::std::mem::transmute(comm) }; |
| comm as u64 |
| }); |
| __bindgen_bitfield_unit.set(10usize, 1u8, { |
| let freq: u64 = unsafe { ::std::mem::transmute(freq) }; |
| freq as u64 |
| }); |
| __bindgen_bitfield_unit.set(11usize, 1u8, { |
| let inherit_stat: u64 = unsafe { ::std::mem::transmute(inherit_stat) }; |
| inherit_stat as u64 |
| }); |
| __bindgen_bitfield_unit.set(12usize, 1u8, { |
| let enable_on_exec: u64 = unsafe { ::std::mem::transmute(enable_on_exec) }; |
| enable_on_exec as u64 |
| }); |
| __bindgen_bitfield_unit.set(13usize, 1u8, { |
| let task: u64 = unsafe { ::std::mem::transmute(task) }; |
| task as u64 |
| }); |
| __bindgen_bitfield_unit.set(14usize, 1u8, { |
| let watermark: u64 = unsafe { ::std::mem::transmute(watermark) }; |
| watermark as u64 |
| }); |
| __bindgen_bitfield_unit.set(15usize, 2u8, { |
| let precise_ip: u64 = unsafe { ::std::mem::transmute(precise_ip) }; |
| precise_ip as u64 |
| }); |
| __bindgen_bitfield_unit.set(17usize, 1u8, { |
| let mmap_data: u64 = unsafe { ::std::mem::transmute(mmap_data) }; |
| mmap_data as u64 |
| }); |
| __bindgen_bitfield_unit.set(18usize, 1u8, { |
| let sample_id_all: u64 = unsafe { ::std::mem::transmute(sample_id_all) }; |
| sample_id_all as u64 |
| }); |
| __bindgen_bitfield_unit.set(19usize, 1u8, { |
| let exclude_host: u64 = unsafe { ::std::mem::transmute(exclude_host) }; |
| exclude_host as u64 |
| }); |
| __bindgen_bitfield_unit.set(20usize, 1u8, { |
| let exclude_guest: u64 = unsafe { ::std::mem::transmute(exclude_guest) }; |
| exclude_guest as u64 |
| }); |
| __bindgen_bitfield_unit.set(21usize, 1u8, { |
| let exclude_callchain_kernel: u64 = |
| unsafe { ::std::mem::transmute(exclude_callchain_kernel) }; |
| exclude_callchain_kernel as u64 |
| }); |
| __bindgen_bitfield_unit.set(22usize, 1u8, { |
| let exclude_callchain_user: u64 = |
| unsafe { ::std::mem::transmute(exclude_callchain_user) }; |
| exclude_callchain_user as u64 |
| }); |
| __bindgen_bitfield_unit.set(23usize, 1u8, { |
| let mmap2: u64 = unsafe { ::std::mem::transmute(mmap2) }; |
| mmap2 as u64 |
| }); |
| __bindgen_bitfield_unit.set(24usize, 1u8, { |
| let comm_exec: u64 = unsafe { ::std::mem::transmute(comm_exec) }; |
| comm_exec as u64 |
| }); |
| __bindgen_bitfield_unit.set(25usize, 1u8, { |
| let use_clockid: u64 = unsafe { ::std::mem::transmute(use_clockid) }; |
| use_clockid as u64 |
| }); |
| __bindgen_bitfield_unit.set(26usize, 1u8, { |
| let context_switch: u64 = unsafe { ::std::mem::transmute(context_switch) }; |
| context_switch as u64 |
| }); |
| __bindgen_bitfield_unit.set(27usize, 1u8, { |
| let write_backward: u64 = unsafe { ::std::mem::transmute(write_backward) }; |
| write_backward as u64 |
| }); |
| __bindgen_bitfield_unit.set(28usize, 1u8, { |
| let namespaces: u64 = unsafe { ::std::mem::transmute(namespaces) }; |
| namespaces as u64 |
| }); |
| __bindgen_bitfield_unit.set(29usize, 1u8, { |
| let ksymbol: u64 = unsafe { ::std::mem::transmute(ksymbol) }; |
| ksymbol as u64 |
| }); |
| __bindgen_bitfield_unit.set(30usize, 1u8, { |
| let bpf_event: u64 = unsafe { ::std::mem::transmute(bpf_event) }; |
| bpf_event as u64 |
| }); |
| __bindgen_bitfield_unit.set(31usize, 1u8, { |
| let aux_output: u64 = unsafe { ::std::mem::transmute(aux_output) }; |
| aux_output as u64 |
| }); |
| __bindgen_bitfield_unit.set(32usize, 1u8, { |
| let cgroup: u64 = unsafe { ::std::mem::transmute(cgroup) }; |
| cgroup as u64 |
| }); |
| __bindgen_bitfield_unit.set(33usize, 1u8, { |
| let text_poke: u64 = unsafe { ::std::mem::transmute(text_poke) }; |
| text_poke as u64 |
| }); |
| __bindgen_bitfield_unit.set(34usize, 1u8, { |
| let build_id: u64 = unsafe { ::std::mem::transmute(build_id) }; |
| build_id as u64 |
| }); |
| __bindgen_bitfield_unit.set(35usize, 1u8, { |
| let inherit_thread: u64 = unsafe { ::std::mem::transmute(inherit_thread) }; |
| inherit_thread as u64 |
| }); |
| __bindgen_bitfield_unit.set(36usize, 1u8, { |
| let remove_on_exec: u64 = unsafe { ::std::mem::transmute(remove_on_exec) }; |
| remove_on_exec as u64 |
| }); |
| __bindgen_bitfield_unit.set(37usize, 1u8, { |
| let sigtrap: u64 = unsafe { ::std::mem::transmute(sigtrap) }; |
| sigtrap as u64 |
| }); |
| __bindgen_bitfield_unit.set(38usize, 26u8, { |
| let __reserved_1: u64 = unsafe { ::std::mem::transmute(__reserved_1) }; |
| __reserved_1 as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct perf_event_query_bpf { |
| pub ids_len: __u32, |
| pub prog_cnt: __u32, |
| pub ids: __IncompleteArrayField<__u32>, |
| } |
| pub const perf_event_ioc_flags_PERF_IOC_FLAG_GROUP: perf_event_ioc_flags = 1; |
| pub type perf_event_ioc_flags = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct perf_event_mmap_page { |
| pub version: __u32, |
| pub compat_version: __u32, |
| pub lock: __u32, |
| pub index: __u32, |
| pub offset: __s64, |
| pub time_enabled: __u64, |
| pub time_running: __u64, |
| pub __bindgen_anon_1: perf_event_mmap_page__bindgen_ty_1, |
| pub pmc_width: __u16, |
| pub time_shift: __u16, |
| pub time_mult: __u32, |
| pub time_offset: __u64, |
| pub time_zero: __u64, |
| pub size: __u32, |
| pub __reserved_1: __u32, |
| pub time_cycles: __u64, |
| pub time_mask: __u64, |
| pub __reserved: [__u8; 928usize], |
| pub data_head: __u64, |
| pub data_tail: __u64, |
| pub data_offset: __u64, |
| pub data_size: __u64, |
| pub aux_head: __u64, |
| pub aux_tail: __u64, |
| pub aux_offset: __u64, |
| pub aux_size: __u64, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_event_mmap_page__bindgen_ty_1 { |
| pub capabilities: __u64, |
| pub __bindgen_anon_1: perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1 { |
| pub _bitfield_align_1: [u64; 0], |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1 { |
| #[inline] |
| pub fn cap_bit0(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_bit0(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_bit0_is_deprecated(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_bit0_is_deprecated(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(1usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_user_rdpmc(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_user_rdpmc(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(2usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_user_time(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_user_time(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(3usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_user_time_zero(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_user_time_zero(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_user_time_short(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_user_time_short(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(5usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cap_____res(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 58u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cap_____res(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(6usize, 58u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1( |
| cap_bit0: __u64, |
| cap_bit0_is_deprecated: __u64, |
| cap_user_rdpmc: __u64, |
| cap_user_time: __u64, |
| cap_user_time_zero: __u64, |
| cap_user_time_short: __u64, |
| cap_____res: __u64, |
| ) -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 1u8, { |
| let cap_bit0: u64 = unsafe { ::std::mem::transmute(cap_bit0) }; |
| cap_bit0 as u64 |
| }); |
| __bindgen_bitfield_unit.set(1usize, 1u8, { |
| let cap_bit0_is_deprecated: u64 = |
| unsafe { ::std::mem::transmute(cap_bit0_is_deprecated) }; |
| cap_bit0_is_deprecated as u64 |
| }); |
| __bindgen_bitfield_unit.set(2usize, 1u8, { |
| let cap_user_rdpmc: u64 = unsafe { ::std::mem::transmute(cap_user_rdpmc) }; |
| cap_user_rdpmc as u64 |
| }); |
| __bindgen_bitfield_unit.set(3usize, 1u8, { |
| let cap_user_time: u64 = unsafe { ::std::mem::transmute(cap_user_time) }; |
| cap_user_time as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 1u8, { |
| let cap_user_time_zero: u64 = unsafe { ::std::mem::transmute(cap_user_time_zero) }; |
| cap_user_time_zero as u64 |
| }); |
| __bindgen_bitfield_unit.set(5usize, 1u8, { |
| let cap_user_time_short: u64 = unsafe { ::std::mem::transmute(cap_user_time_short) }; |
| cap_user_time_short as u64 |
| }); |
| __bindgen_bitfield_unit.set(6usize, 58u8, { |
| let cap_____res: u64 = unsafe { ::std::mem::transmute(cap_____res) }; |
| cap_____res as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for perf_event_mmap_page__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for perf_event_mmap_page { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_event_header { |
| pub type_: __u32, |
| pub misc: __u16, |
| pub size: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_ns_link_info { |
| pub dev: __u64, |
| pub ino: __u64, |
| } |
| pub const NET_NS_INDEX: _bindgen_ty_58 = 0; |
| pub const UTS_NS_INDEX: _bindgen_ty_58 = 1; |
| pub const IPC_NS_INDEX: _bindgen_ty_58 = 2; |
| pub const PID_NS_INDEX: _bindgen_ty_58 = 3; |
| pub const USER_NS_INDEX: _bindgen_ty_58 = 4; |
| pub const MNT_NS_INDEX: _bindgen_ty_58 = 5; |
| pub const CGROUP_NS_INDEX: _bindgen_ty_58 = 6; |
| pub const NR_NAMESPACES: _bindgen_ty_58 = 7; |
| pub type _bindgen_ty_58 = crate::types::c_uint; |
| pub const perf_event_type_PERF_RECORD_MMAP: perf_event_type = 1; |
| pub const perf_event_type_PERF_RECORD_LOST: perf_event_type = 2; |
| pub const perf_event_type_PERF_RECORD_COMM: perf_event_type = 3; |
| pub const perf_event_type_PERF_RECORD_EXIT: perf_event_type = 4; |
| pub const perf_event_type_PERF_RECORD_THROTTLE: perf_event_type = 5; |
| pub const perf_event_type_PERF_RECORD_UNTHROTTLE: perf_event_type = 6; |
| pub const perf_event_type_PERF_RECORD_FORK: perf_event_type = 7; |
| pub const perf_event_type_PERF_RECORD_READ: perf_event_type = 8; |
| pub const perf_event_type_PERF_RECORD_SAMPLE: perf_event_type = 9; |
| pub const perf_event_type_PERF_RECORD_MMAP2: perf_event_type = 10; |
| pub const perf_event_type_PERF_RECORD_AUX: perf_event_type = 11; |
| pub const perf_event_type_PERF_RECORD_ITRACE_START: perf_event_type = 12; |
| pub const perf_event_type_PERF_RECORD_LOST_SAMPLES: perf_event_type = 13; |
| pub const perf_event_type_PERF_RECORD_SWITCH: perf_event_type = 14; |
| pub const perf_event_type_PERF_RECORD_SWITCH_CPU_WIDE: perf_event_type = 15; |
| pub const perf_event_type_PERF_RECORD_NAMESPACES: perf_event_type = 16; |
| pub const perf_event_type_PERF_RECORD_KSYMBOL: perf_event_type = 17; |
| pub const perf_event_type_PERF_RECORD_BPF_EVENT: perf_event_type = 18; |
| pub const perf_event_type_PERF_RECORD_CGROUP: perf_event_type = 19; |
| pub const perf_event_type_PERF_RECORD_TEXT_POKE: perf_event_type = 20; |
| pub const perf_event_type_PERF_RECORD_AUX_OUTPUT_HW_ID: perf_event_type = 21; |
| pub const perf_event_type_PERF_RECORD_MAX: perf_event_type = 22; |
| pub type perf_event_type = crate::types::c_uint; |
| pub const perf_record_ksymbol_type_PERF_RECORD_KSYMBOL_TYPE_UNKNOWN: perf_record_ksymbol_type = 0; |
| pub const perf_record_ksymbol_type_PERF_RECORD_KSYMBOL_TYPE_BPF: perf_record_ksymbol_type = 1; |
| pub const perf_record_ksymbol_type_PERF_RECORD_KSYMBOL_TYPE_OOL: perf_record_ksymbol_type = 2; |
| pub const perf_record_ksymbol_type_PERF_RECORD_KSYMBOL_TYPE_MAX: perf_record_ksymbol_type = 3; |
| pub type perf_record_ksymbol_type = crate::types::c_uint; |
| pub const perf_bpf_event_type_PERF_BPF_EVENT_UNKNOWN: perf_bpf_event_type = 0; |
| pub const perf_bpf_event_type_PERF_BPF_EVENT_PROG_LOAD: perf_bpf_event_type = 1; |
| pub const perf_bpf_event_type_PERF_BPF_EVENT_PROG_UNLOAD: perf_bpf_event_type = 2; |
| pub const perf_bpf_event_type_PERF_BPF_EVENT_MAX: perf_bpf_event_type = 3; |
| pub type perf_bpf_event_type = crate::types::c_uint; |
| pub const perf_callchain_context_PERF_CONTEXT_HV: perf_callchain_context = 18446744073709551584; |
| pub const perf_callchain_context_PERF_CONTEXT_KERNEL: perf_callchain_context = 18446744073709551488; |
| pub const perf_callchain_context_PERF_CONTEXT_USER: perf_callchain_context = 18446744073709551104; |
| pub const perf_callchain_context_PERF_CONTEXT_GUEST: perf_callchain_context = 18446744073709549568; |
| pub const perf_callchain_context_PERF_CONTEXT_GUEST_KERNEL: perf_callchain_context = |
| 18446744073709549440; |
| pub const perf_callchain_context_PERF_CONTEXT_GUEST_USER: perf_callchain_context = |
| 18446744073709549056; |
| pub const perf_callchain_context_PERF_CONTEXT_MAX: perf_callchain_context = 18446744073709547521; |
| pub type perf_callchain_context = crate::types::c_ulong; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_mem_data_src { |
| pub val: __u64, |
| pub __bindgen_anon_1: perf_mem_data_src__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_mem_data_src__bindgen_ty_1 { |
| pub _bitfield_align_1: [u32; 0], |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl perf_mem_data_src__bindgen_ty_1 { |
| #[inline] |
| pub fn mem_op(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 5u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_op(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 5u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_lvl(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 14u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_lvl(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(5usize, 14u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_snoop(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(19usize, 5u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_snoop(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(19usize, 5u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_lock(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 2u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_lock(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(24usize, 2u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_dtlb(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(26usize, 7u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_dtlb(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(26usize, 7u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_lvl_num(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 4u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_lvl_num(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(33usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_remote(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(37usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_remote(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(37usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_snoopx(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(38usize, 2u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_snoopx(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(38usize, 2u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_blk(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(40usize, 3u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_blk(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(40usize, 3u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_hops(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(43usize, 3u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_hops(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(43usize, 3u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn mem_rsvd(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(46usize, 18u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mem_rsvd(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(46usize, 18u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1( |
| mem_op: __u64, |
| mem_lvl: __u64, |
| mem_snoop: __u64, |
| mem_lock: __u64, |
| mem_dtlb: __u64, |
| mem_lvl_num: __u64, |
| mem_remote: __u64, |
| mem_snoopx: __u64, |
| mem_blk: __u64, |
| mem_hops: __u64, |
| mem_rsvd: __u64, |
| ) -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 5u8, { |
| let mem_op: u64 = unsafe { ::std::mem::transmute(mem_op) }; |
| mem_op as u64 |
| }); |
| __bindgen_bitfield_unit.set(5usize, 14u8, { |
| let mem_lvl: u64 = unsafe { ::std::mem::transmute(mem_lvl) }; |
| mem_lvl as u64 |
| }); |
| __bindgen_bitfield_unit.set(19usize, 5u8, { |
| let mem_snoop: u64 = unsafe { ::std::mem::transmute(mem_snoop) }; |
| mem_snoop as u64 |
| }); |
| __bindgen_bitfield_unit.set(24usize, 2u8, { |
| let mem_lock: u64 = unsafe { ::std::mem::transmute(mem_lock) }; |
| mem_lock as u64 |
| }); |
| __bindgen_bitfield_unit.set(26usize, 7u8, { |
| let mem_dtlb: u64 = unsafe { ::std::mem::transmute(mem_dtlb) }; |
| mem_dtlb as u64 |
| }); |
| __bindgen_bitfield_unit.set(33usize, 4u8, { |
| let mem_lvl_num: u64 = unsafe { ::std::mem::transmute(mem_lvl_num) }; |
| mem_lvl_num as u64 |
| }); |
| __bindgen_bitfield_unit.set(37usize, 1u8, { |
| let mem_remote: u64 = unsafe { ::std::mem::transmute(mem_remote) }; |
| mem_remote as u64 |
| }); |
| __bindgen_bitfield_unit.set(38usize, 2u8, { |
| let mem_snoopx: u64 = unsafe { ::std::mem::transmute(mem_snoopx) }; |
| mem_snoopx as u64 |
| }); |
| __bindgen_bitfield_unit.set(40usize, 3u8, { |
| let mem_blk: u64 = unsafe { ::std::mem::transmute(mem_blk) }; |
| mem_blk as u64 |
| }); |
| __bindgen_bitfield_unit.set(43usize, 3u8, { |
| let mem_hops: u64 = unsafe { ::std::mem::transmute(mem_hops) }; |
| mem_hops as u64 |
| }); |
| __bindgen_bitfield_unit.set(46usize, 18u8, { |
| let mem_rsvd: u64 = unsafe { ::std::mem::transmute(mem_rsvd) }; |
| mem_rsvd as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| impl Default for perf_mem_data_src { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_branch_entry { |
| pub from: __u64, |
| pub to: __u64, |
| pub _bitfield_align_1: [u32; 0], |
| pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, |
| } |
| impl perf_branch_entry { |
| #[inline] |
| pub fn mispred(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_mispred(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(0usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn predicted(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_predicted(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(1usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn in_tx(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_in_tx(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(2usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn abort(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u64) } |
| } |
| #[inline] |
| pub fn set_abort(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(3usize, 1u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn cycles(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 16u8) as u64) } |
| } |
| #[inline] |
| pub fn set_cycles(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(4usize, 16u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn type_(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(20usize, 4u8) as u64) } |
| } |
| #[inline] |
| pub fn set_type(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(20usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn spec(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 2u8) as u64) } |
| } |
| #[inline] |
| pub fn set_spec(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(24usize, 2u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_type(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(26usize, 4u8) as u64) } |
| } |
| #[inline] |
| pub fn set_new_type(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(26usize, 4u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn priv_(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(30usize, 3u8) as u64) } |
| } |
| #[inline] |
| pub fn set_priv(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(30usize, 3u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn reserved(&self) -> __u64 { |
| unsafe { ::std::mem::transmute(self._bitfield_1.get(33usize, 31u8) as u64) } |
| } |
| #[inline] |
| pub fn set_reserved(&mut self, val: __u64) { |
| unsafe { |
| let val: u64 = ::std::mem::transmute(val); |
| self._bitfield_1.set(33usize, 31u8, val as u64) |
| } |
| } |
| #[inline] |
| pub fn new_bitfield_1( |
| mispred: __u64, |
| predicted: __u64, |
| in_tx: __u64, |
| abort: __u64, |
| cycles: __u64, |
| type_: __u64, |
| spec: __u64, |
| new_type: __u64, |
| priv_: __u64, |
| reserved: __u64, |
| ) -> __BindgenBitfieldUnit<[u8; 8usize]> { |
| let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); |
| __bindgen_bitfield_unit.set(0usize, 1u8, { |
| let mispred: u64 = unsafe { ::std::mem::transmute(mispred) }; |
| mispred as u64 |
| }); |
| __bindgen_bitfield_unit.set(1usize, 1u8, { |
| let predicted: u64 = unsafe { ::std::mem::transmute(predicted) }; |
| predicted as u64 |
| }); |
| __bindgen_bitfield_unit.set(2usize, 1u8, { |
| let in_tx: u64 = unsafe { ::std::mem::transmute(in_tx) }; |
| in_tx as u64 |
| }); |
| __bindgen_bitfield_unit.set(3usize, 1u8, { |
| let abort: u64 = unsafe { ::std::mem::transmute(abort) }; |
| abort as u64 |
| }); |
| __bindgen_bitfield_unit.set(4usize, 16u8, { |
| let cycles: u64 = unsafe { ::std::mem::transmute(cycles) }; |
| cycles as u64 |
| }); |
| __bindgen_bitfield_unit.set(20usize, 4u8, { |
| let type_: u64 = unsafe { ::std::mem::transmute(type_) }; |
| type_ as u64 |
| }); |
| __bindgen_bitfield_unit.set(24usize, 2u8, { |
| let spec: u64 = unsafe { ::std::mem::transmute(spec) }; |
| spec as u64 |
| }); |
| __bindgen_bitfield_unit.set(26usize, 4u8, { |
| let new_type: u64 = unsafe { ::std::mem::transmute(new_type) }; |
| new_type as u64 |
| }); |
| __bindgen_bitfield_unit.set(30usize, 3u8, { |
| let priv_: u64 = unsafe { ::std::mem::transmute(priv_) }; |
| priv_ as u64 |
| }); |
| __bindgen_bitfield_unit.set(33usize, 31u8, { |
| let reserved: u64 = unsafe { ::std::mem::transmute(reserved) }; |
| reserved as u64 |
| }); |
| __bindgen_bitfield_unit |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union perf_sample_weight { |
| pub full: __u64, |
| pub __bindgen_anon_1: perf_sample_weight__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct perf_sample_weight__bindgen_ty_1 { |
| pub var1_dw: __u32, |
| pub var2_w: __u16, |
| pub var3_w: __u16, |
| } |
| impl Default for perf_sample_weight { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub const UNAME26: _bindgen_ty_59 = 131072; |
| pub const ADDR_NO_RANDOMIZE: _bindgen_ty_59 = 262144; |
| pub const FDPIC_FUNCPTRS: _bindgen_ty_59 = 524288; |
| pub const MMAP_PAGE_ZERO: _bindgen_ty_59 = 1048576; |
| pub const ADDR_COMPAT_LAYOUT: _bindgen_ty_59 = 2097152; |
| pub const READ_IMPLIES_EXEC: _bindgen_ty_59 = 4194304; |
| pub const ADDR_LIMIT_32BIT: _bindgen_ty_59 = 8388608; |
| pub const SHORT_INODE: _bindgen_ty_59 = 16777216; |
| pub const WHOLE_SECONDS: _bindgen_ty_59 = 33554432; |
| pub const STICKY_TIMEOUTS: _bindgen_ty_59 = 67108864; |
| pub const ADDR_LIMIT_3GB: _bindgen_ty_59 = 134217728; |
| pub type _bindgen_ty_59 = crate::types::c_uint; |
| pub const PER_LINUX: _bindgen_ty_60 = 0; |
| pub const PER_LINUX_32BIT: _bindgen_ty_60 = 8388608; |
| pub const PER_LINUX_FDPIC: _bindgen_ty_60 = 524288; |
| pub const PER_SVR4: _bindgen_ty_60 = 68157441; |
| pub const PER_SVR3: _bindgen_ty_60 = 83886082; |
| pub const PER_SCOSVR3: _bindgen_ty_60 = 117440515; |
| pub const PER_OSR5: _bindgen_ty_60 = 100663299; |
| pub const PER_WYSEV386: _bindgen_ty_60 = 83886084; |
| pub const PER_ISCR4: _bindgen_ty_60 = 67108869; |
| pub const PER_BSD: _bindgen_ty_60 = 6; |
| pub const PER_SUNOS: _bindgen_ty_60 = 67108870; |
| pub const PER_XENIX: _bindgen_ty_60 = 83886087; |
| pub const PER_LINUX32: _bindgen_ty_60 = 8; |
| pub const PER_LINUX32_3GB: _bindgen_ty_60 = 134217736; |
| pub const PER_IRIX32: _bindgen_ty_60 = 67108873; |
| pub const PER_IRIXN32: _bindgen_ty_60 = 67108874; |
| pub const PER_IRIX64: _bindgen_ty_60 = 67108875; |
| pub const PER_RISCOS: _bindgen_ty_60 = 12; |
| pub const PER_SOLARIS: _bindgen_ty_60 = 67108877; |
| pub const PER_UW7: _bindgen_ty_60 = 68157454; |
| pub const PER_OSF4: _bindgen_ty_60 = 15; |
| pub const PER_HPUX: _bindgen_ty_60 = 16; |
| pub const PER_MASK: _bindgen_ty_60 = 255; |
| pub type _bindgen_ty_60 = crate::types::c_uint; |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_msg { |
| pub sadb_msg_version: __u8, |
| pub sadb_msg_type: __u8, |
| pub sadb_msg_errno: __u8, |
| pub sadb_msg_satype: __u8, |
| pub sadb_msg_len: __u16, |
| pub sadb_msg_reserved: __u16, |
| pub sadb_msg_seq: __u32, |
| pub sadb_msg_pid: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_ext { |
| pub sadb_ext_len: __u16, |
| pub sadb_ext_type: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_sa { |
| pub sadb_sa_len: __u16, |
| pub sadb_sa_exttype: __u16, |
| pub sadb_sa_spi: __be32, |
| pub sadb_sa_replay: __u8, |
| pub sadb_sa_state: __u8, |
| pub sadb_sa_auth: __u8, |
| pub sadb_sa_encrypt: __u8, |
| pub sadb_sa_flags: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_lifetime { |
| pub sadb_lifetime_len: __u16, |
| pub sadb_lifetime_exttype: __u16, |
| pub sadb_lifetime_allocations: __u32, |
| pub sadb_lifetime_bytes: __u64, |
| pub sadb_lifetime_addtime: __u64, |
| pub sadb_lifetime_usetime: __u64, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_address { |
| pub sadb_address_len: __u16, |
| pub sadb_address_exttype: __u16, |
| pub sadb_address_proto: __u8, |
| pub sadb_address_prefixlen: __u8, |
| pub sadb_address_reserved: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_key { |
| pub sadb_key_len: __u16, |
| pub sadb_key_exttype: __u16, |
| pub sadb_key_bits: __u16, |
| pub sadb_key_reserved: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_ident { |
| pub sadb_ident_len: __u16, |
| pub sadb_ident_exttype: __u16, |
| pub sadb_ident_type: __u16, |
| pub sadb_ident_reserved: __u16, |
| pub sadb_ident_id: __u64, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_sens { |
| pub sadb_sens_len: __u16, |
| pub sadb_sens_exttype: __u16, |
| pub sadb_sens_dpd: __u32, |
| pub sadb_sens_sens_level: __u8, |
| pub sadb_sens_sens_len: __u8, |
| pub sadb_sens_integ_level: __u8, |
| pub sadb_sens_integ_len: __u8, |
| pub sadb_sens_reserved: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_prop { |
| pub sadb_prop_len: __u16, |
| pub sadb_prop_exttype: __u16, |
| pub sadb_prop_replay: __u8, |
| pub sadb_prop_reserved: [__u8; 3usize], |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_comb { |
| pub sadb_comb_auth: __u8, |
| pub sadb_comb_encrypt: __u8, |
| pub sadb_comb_flags: __u16, |
| pub sadb_comb_auth_minbits: __u16, |
| pub sadb_comb_auth_maxbits: __u16, |
| pub sadb_comb_encrypt_minbits: __u16, |
| pub sadb_comb_encrypt_maxbits: __u16, |
| pub sadb_comb_reserved: __u32, |
| pub sadb_comb_soft_allocations: __u32, |
| pub sadb_comb_hard_allocations: __u32, |
| pub sadb_comb_soft_bytes: __u64, |
| pub sadb_comb_hard_bytes: __u64, |
| pub sadb_comb_soft_addtime: __u64, |
| pub sadb_comb_hard_addtime: __u64, |
| pub sadb_comb_soft_usetime: __u64, |
| pub sadb_comb_hard_usetime: __u64, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_supported { |
| pub sadb_supported_len: __u16, |
| pub sadb_supported_exttype: __u16, |
| pub sadb_supported_reserved: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_alg { |
| pub sadb_alg_id: __u8, |
| pub sadb_alg_ivlen: __u8, |
| pub sadb_alg_minbits: __u16, |
| pub sadb_alg_maxbits: __u16, |
| pub sadb_alg_reserved: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_spirange { |
| pub sadb_spirange_len: __u16, |
| pub sadb_spirange_exttype: __u16, |
| pub sadb_spirange_min: __u32, |
| pub sadb_spirange_max: __u32, |
| pub sadb_spirange_reserved: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_kmprivate { |
| pub sadb_x_kmprivate_len: __u16, |
| pub sadb_x_kmprivate_exttype: __u16, |
| pub sadb_x_kmprivate_reserved: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_sa2 { |
| pub sadb_x_sa2_len: __u16, |
| pub sadb_x_sa2_exttype: __u16, |
| pub sadb_x_sa2_mode: __u8, |
| pub sadb_x_sa2_reserved1: __u8, |
| pub sadb_x_sa2_reserved2: __u16, |
| pub sadb_x_sa2_sequence: __u32, |
| pub sadb_x_sa2_reqid: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_policy { |
| pub sadb_x_policy_len: __u16, |
| pub sadb_x_policy_exttype: __u16, |
| pub sadb_x_policy_type: __u16, |
| pub sadb_x_policy_dir: __u8, |
| pub sadb_x_policy_reserved: __u8, |
| pub sadb_x_policy_id: __u32, |
| pub sadb_x_policy_priority: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_ipsecrequest { |
| pub sadb_x_ipsecrequest_len: __u16, |
| pub sadb_x_ipsecrequest_proto: __u16, |
| pub sadb_x_ipsecrequest_mode: __u8, |
| pub sadb_x_ipsecrequest_level: __u8, |
| pub sadb_x_ipsecrequest_reserved1: __u16, |
| pub sadb_x_ipsecrequest_reqid: __u32, |
| pub sadb_x_ipsecrequest_reserved2: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_nat_t_type { |
| pub sadb_x_nat_t_type_len: __u16, |
| pub sadb_x_nat_t_type_exttype: __u16, |
| pub sadb_x_nat_t_type_type: __u8, |
| pub sadb_x_nat_t_type_reserved: [__u8; 3usize], |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_nat_t_port { |
| pub sadb_x_nat_t_port_len: __u16, |
| pub sadb_x_nat_t_port_exttype: __u16, |
| pub sadb_x_nat_t_port_port: __be16, |
| pub sadb_x_nat_t_port_reserved: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_sec_ctx { |
| pub sadb_x_sec_len: __u16, |
| pub sadb_x_sec_exttype: __u16, |
| pub sadb_x_ctx_alg: __u8, |
| pub sadb_x_ctx_doi: __u8, |
| pub sadb_x_ctx_len: __u16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_kmaddress { |
| pub sadb_x_kmaddress_len: __u16, |
| pub sadb_x_kmaddress_exttype: __u16, |
| pub sadb_x_kmaddress_reserved: __u32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sadb_x_filter { |
| pub sadb_x_filter_len: __u16, |
| pub sadb_x_filter_exttype: __u16, |
| pub sadb_x_filter_saddr: [__u32; 4usize], |
| pub sadb_x_filter_daddr: [__u32; 4usize], |
| pub sadb_x_filter_family: __u16, |
| pub sadb_x_filter_splen: __u8, |
| pub sadb_x_filter_dplen: __u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct prctl_mm_map { |
| pub start_code: __u64, |
| pub end_code: __u64, |
| pub start_data: __u64, |
| pub end_data: __u64, |
| pub start_brk: __u64, |
| pub brk: __u64, |
| pub start_stack: __u64, |
| pub arg_start: __u64, |
| pub arg_end: __u64, |
| pub env_start: __u64, |
| pub env_end: __u64, |
| pub auxv: uref<__u64>, |
| pub auxv_size: __u32, |
| pub exe_fd: __u32, |
| } |
| impl Default for prctl_mm_map { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct rand_pool_info { |
| pub entropy_count: crate::types::c_int, |
| pub buf_size: crate::types::c_int, |
| pub buf: __IncompleteArrayField<__u32>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct rusage { |
| pub ru_utime: timeval, |
| pub ru_stime: timeval, |
| pub ru_maxrss: __kernel_long_t, |
| pub ru_ixrss: __kernel_long_t, |
| pub ru_idrss: __kernel_long_t, |
| pub ru_isrss: __kernel_long_t, |
| pub ru_minflt: __kernel_long_t, |
| pub ru_majflt: __kernel_long_t, |
| pub ru_nswap: __kernel_long_t, |
| pub ru_inblock: __kernel_long_t, |
| pub ru_oublock: __kernel_long_t, |
| pub ru_msgsnd: __kernel_long_t, |
| pub ru_msgrcv: __kernel_long_t, |
| pub ru_nsignals: __kernel_long_t, |
| pub ru_nvcsw: __kernel_long_t, |
| pub ru_nivcsw: __kernel_long_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct rlimit { |
| pub rlim_cur: __kernel_ulong_t, |
| pub rlim_max: __kernel_ulong_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct rlimit64 { |
| pub rlim_cur: __u64, |
| pub rlim_max: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct clone_args { |
| pub flags: __u64, |
| pub pidfd: __u64, |
| pub child_tid: __u64, |
| pub parent_tid: __u64, |
| pub exit_signal: __u64, |
| pub stack: __u64, |
| pub stack_size: __u64, |
| pub tls: __u64, |
| pub set_tid: __u64, |
| pub set_tid_size: __u64, |
| pub cgroup: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sched_param { |
| pub sched_priority: crate::types::c_int, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sched_attr { |
| pub size: __u32, |
| pub sched_policy: __u32, |
| pub sched_flags: __u64, |
| pub sched_nice: __s32, |
| pub sched_priority: __u32, |
| pub sched_runtime: __u64, |
| pub sched_deadline: __u64, |
| pub sched_period: __u64, |
| pub sched_util_min: __u32, |
| pub sched_util_max: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_data { |
| pub nr: crate::types::c_int, |
| pub arch: __u32, |
| pub instruction_pointer: __u64, |
| pub args: [__u64; 6usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_notif_sizes { |
| pub seccomp_notif: __u16, |
| pub seccomp_notif_resp: __u16, |
| pub seccomp_data: __u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_notif { |
| pub id: __u64, |
| pub pid: __u32, |
| pub flags: __u32, |
| pub data: seccomp_data, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_notif_resp { |
| pub id: __u64, |
| pub val: __s64, |
| pub error: __s32, |
| pub flags: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct seccomp_notif_addfd { |
| pub id: __u64, |
| pub flags: __u32, |
| pub srcfd: __u32, |
| pub newfd: __u32, |
| pub newfd_flags: __u32, |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union sigval { |
| pub _bindgen_opaque_blob: u64, |
| } |
| impl Default for sigval { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub type sigval_t = sigval; |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union __sifields { |
| pub _kill: __sifields__bindgen_ty_1, |
| pub _timer: __sifields__bindgen_ty_2, |
| pub _rt: __sifields__bindgen_ty_3, |
| pub _sigchld: __sifields__bindgen_ty_4, |
| pub _sigfault: __sifields__bindgen_ty_5, |
| pub _sigpoll: __sifields__bindgen_ty_6, |
| pub _sigsys: __sifields__bindgen_ty_7, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_1 { |
| pub _pid: __kernel_pid_t, |
| pub _uid: __kernel_uid32_t, |
| } |
| #[repr(C)] |
| #[derive(Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_2 { |
| pub _tid: __kernel_timer_t, |
| pub _overrun: crate::types::c_int, |
| pub _sigval: sigval_t, |
| pub _sys_private: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_3 { |
| pub _pid: __kernel_pid_t, |
| pub _uid: __kernel_uid32_t, |
| pub _sigval: sigval_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_4 { |
| pub _pid: __kernel_pid_t, |
| pub _uid: __kernel_uid32_t, |
| pub _status: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub _utime: __kernel_clock_t, |
| pub _stime: __kernel_clock_t, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct __sifields__bindgen_ty_5 { |
| pub _addr: uaddr, |
| pub __bindgen_anon_1: __sifields__bindgen_ty_5__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union __sifields__bindgen_ty_5__bindgen_ty_1 { |
| pub _trapno: crate::types::c_int, |
| pub _addr_lsb: crate::types::c_short, |
| pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, |
| pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, |
| pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { |
| pub _dummy_bnd: [crate::types::c_char; 8usize], |
| pub _lower: uaddr, |
| pub _upper: uaddr, |
| } |
| impl Default for __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 { |
| pub _dummy_pkey: [crate::types::c_char; 8usize], |
| pub _pkey: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { |
| pub _data: crate::types::c_ulong, |
| pub _type: __u32, |
| pub _flags: __u32, |
| } |
| impl Default for __sifields__bindgen_ty_5__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for __sifields__bindgen_ty_5 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_6 { |
| pub _band: crate::types::c_long, |
| pub _fd: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct __sifields__bindgen_ty_7 { |
| pub _call_addr: uaddr, |
| pub _syscall: crate::types::c_int, |
| pub _arch: crate::types::c_uint, |
| } |
| impl Default for __sifields__bindgen_ty_7 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for __sifields { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct siginfo { |
| pub __bindgen_anon_1: siginfo__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union siginfo__bindgen_ty_1 { |
| pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, |
| pub _si_pad: [crate::types::c_int; 32usize], |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct siginfo__bindgen_ty_1__bindgen_ty_1 { |
| pub si_signo: crate::types::c_int, |
| pub si_errno: crate::types::c_int, |
| pub si_code: crate::types::c_int, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub _sifields: __sifields, |
| } |
| impl Default for siginfo__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for siginfo__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for siginfo { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub type siginfo_t = siginfo; |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct sigevent { |
| pub sigev_value: sigval_t, |
| pub sigev_signo: crate::types::c_int, |
| pub sigev_notify: crate::types::c_int, |
| pub _sigev_un: sigevent__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub union sigevent__bindgen_ty_1 { |
| pub _pad: [crate::types::c_int; 12usize], |
| pub _tid: crate::types::c_int, |
| pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, FromBytes, NoCell, FromZeros)] |
| pub struct sigevent__bindgen_ty_1__bindgen_ty_1 { |
| pub _function: uaddr, |
| pub _attribute: uaddr, |
| } |
| impl Default for sigevent__bindgen_ty_1__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for sigevent__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for sigevent { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| pub type sigevent_t = sigevent; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct signalfd_siginfo { |
| pub ssi_signo: __u32, |
| pub ssi_errno: __s32, |
| pub ssi_code: __s32, |
| pub ssi_pid: __u32, |
| pub ssi_uid: __u32, |
| pub ssi_fd: __s32, |
| pub ssi_tid: __u32, |
| pub ssi_band: __u32, |
| pub ssi_overrun: __u32, |
| pub ssi_trapno: __u32, |
| pub ssi_status: __s32, |
| pub ssi_int: __s32, |
| pub ssi_ptr: __u64, |
| pub ssi_utime: __u64, |
| pub ssi_stime: __u64, |
| pub ssi_addr: __u64, |
| pub ssi_addr_lsb: __u16, |
| pub __pad2: __u16, |
| pub ssi_syscall: __s32, |
| pub ssi_call_addr: __u64, |
| pub ssi_arch: __u32, |
| pub __pad: [__u8; 28usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct statx_timestamp { |
| pub tv_sec: __s64, |
| pub tv_nsec: __u32, |
| pub __reserved: __s32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct statx { |
| pub stx_mask: __u32, |
| pub stx_blksize: __u32, |
| pub stx_attributes: __u64, |
| pub stx_nlink: __u32, |
| pub stx_uid: __u32, |
| pub stx_gid: __u32, |
| pub stx_mode: __u16, |
| pub __spare0: [__u16; 1usize], |
| pub stx_ino: __u64, |
| pub stx_size: __u64, |
| pub stx_blocks: __u64, |
| pub stx_attributes_mask: __u64, |
| pub stx_atime: statx_timestamp, |
| pub stx_btime: statx_timestamp, |
| pub stx_ctime: statx_timestamp, |
| pub stx_mtime: statx_timestamp, |
| pub stx_rdev_major: __u32, |
| pub stx_rdev_minor: __u32, |
| pub stx_dev_major: __u32, |
| pub stx_dev_minor: __u32, |
| pub stx_mnt_id: __u64, |
| pub stx_dio_mem_align: __u32, |
| pub stx_dio_offset_align: __u32, |
| pub __spare3: [__u64; 12usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sync_merge_data { |
| pub name: [crate::types::c_char; 32usize], |
| pub fd2: __s32, |
| pub fence: __s32, |
| pub flags: __u32, |
| pub pad: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sync_fence_info { |
| pub obj_name: [crate::types::c_char; 32usize], |
| pub driver_name: [crate::types::c_char; 32usize], |
| pub status: __s32, |
| pub flags: __u32, |
| pub timestamp_ns: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sync_file_info { |
| pub name: [crate::types::c_char; 32usize], |
| pub status: __s32, |
| pub flags: __u32, |
| pub num_fences: __u32, |
| pub pad: __u32, |
| pub sync_fence_info: __u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, AsBytes, NoCell)] |
| pub struct sysinfo { |
| pub uptime: __kernel_long_t, |
| pub loads: [__kernel_ulong_t; 3usize], |
| pub totalram: __kernel_ulong_t, |
| pub freeram: __kernel_ulong_t, |
| pub sharedram: __kernel_ulong_t, |
| pub bufferram: __kernel_ulong_t, |
| pub totalswap: __kernel_ulong_t, |
| pub freeswap: __kernel_ulong_t, |
| pub procs: __u16, |
| pub pad: __u16, |
| pub __bindgen_padding_0: [u8; 4usize], |
| pub totalhigh: __kernel_ulong_t, |
| pub freehigh: __kernel_ulong_t, |
| pub mem_unit: __u32, |
| pub _f: __IncompleteArrayField<crate::types::c_char>, |
| pub __bindgen_padding_1: [u8; 4usize], |
| } |
| pub type cc_t = crate::types::c_uchar; |
| pub type speed_t = crate::types::c_uint; |
| pub type tcflag_t = crate::types::c_uint; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct termios { |
| pub c_iflag: tcflag_t, |
| pub c_oflag: tcflag_t, |
| pub c_cflag: tcflag_t, |
| pub c_lflag: tcflag_t, |
| pub c_line: cc_t, |
| pub c_cc: [cc_t; 19usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct termios2 { |
| pub c_iflag: tcflag_t, |
| pub c_oflag: tcflag_t, |
| pub c_cflag: tcflag_t, |
| pub c_lflag: tcflag_t, |
| pub c_line: cc_t, |
| pub c_cc: [cc_t; 19usize], |
| pub c_ispeed: speed_t, |
| pub c_ospeed: speed_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct ktermios { |
| pub c_iflag: tcflag_t, |
| pub c_oflag: tcflag_t, |
| pub c_cflag: tcflag_t, |
| pub c_lflag: tcflag_t, |
| pub c_line: cc_t, |
| pub c_cc: [cc_t; 19usize], |
| pub c_ispeed: speed_t, |
| pub c_ospeed: speed_t, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct winsize { |
| pub ws_row: crate::types::c_ushort, |
| pub ws_col: crate::types::c_ushort, |
| pub ws_xpixel: crate::types::c_ushort, |
| pub ws_ypixel: crate::types::c_ushort, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct termio { |
| pub c_iflag: crate::types::c_ushort, |
| pub c_oflag: crate::types::c_ushort, |
| pub c_cflag: crate::types::c_ushort, |
| pub c_lflag: crate::types::c_ushort, |
| pub c_line: crate::types::c_uchar, |
| pub c_cc: [crate::types::c_uchar; 8usize], |
| pub __bindgen_padding_0: u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct tms { |
| pub tms_utime: __kernel_clock_t, |
| pub tms_stime: __kernel_clock_t, |
| pub tms_cutime: __kernel_clock_t, |
| pub tms_cstime: __kernel_clock_t, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub struct uinput_ff_upload { |
| pub request_id: __u32, |
| pub retval: __s32, |
| pub effect: ff_effect, |
| pub old: ff_effect, |
| } |
| impl Default for uinput_ff_upload { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct uinput_ff_erase { |
| pub request_id: __u32, |
| pub retval: __s32, |
| pub effect_id: __u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct uinput_setup { |
| pub id: input_id, |
| pub name: [crate::types::c_char; 80usize], |
| pub ff_effects_max: __u32, |
| } |
| impl Default for uinput_setup { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct uinput_abs_setup { |
| pub code: __u16, |
| pub __bindgen_padding_0: [u8; 2usize], |
| pub absinfo: input_absinfo, |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct uinput_user_dev { |
| pub name: [crate::types::c_char; 80usize], |
| pub id: input_id, |
| pub ff_effects_max: __u32, |
| pub absmax: [__s32; 64usize], |
| pub absmin: [__s32; 64usize], |
| pub absfuzz: [__s32; 64usize], |
| pub absflat: [__s32; 64usize], |
| } |
| impl Default for uinput_user_dev { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct iovec { |
| pub iov_base: uaddr, |
| pub iov_len: __kernel_size_t, |
| } |
| impl Default for iovec { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_un { |
| pub sun_family: __kernel_sa_family_t, |
| pub sun_path: [crate::types::c_char; 108usize], |
| } |
| impl Default for sockaddr_un { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ctrlrequest { |
| pub bRequestType: __u8, |
| pub bRequest: __u8, |
| pub wValue: __le16, |
| pub wIndex: __le16, |
| pub wLength: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_descriptor_header { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_device_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bcdUSB: __le16, |
| pub bDeviceClass: __u8, |
| pub bDeviceSubClass: __u8, |
| pub bDeviceProtocol: __u8, |
| pub bMaxPacketSize0: __u8, |
| pub idVendor: __le16, |
| pub idProduct: __le16, |
| pub bcdDevice: __le16, |
| pub iManufacturer: __u8, |
| pub iProduct: __u8, |
| pub iSerialNumber: __u8, |
| pub bNumConfigurations: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_config_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub wTotalLength: __le16, |
| pub bNumInterfaces: __u8, |
| pub bConfigurationValue: __u8, |
| pub iConfiguration: __u8, |
| pub bmAttributes: __u8, |
| pub bMaxPower: __u8, |
| } |
| #[repr(C, packed)] |
| pub struct usb_string_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub __bindgen_anon_1: usb_string_descriptor__bindgen_ty_1, |
| } |
| #[repr(C)] |
| pub struct usb_string_descriptor__bindgen_ty_1 { |
| pub legacy_padding: __BindgenUnionField<__le16>, |
| pub __bindgen_anon_1: __BindgenUnionField<usb_string_descriptor__bindgen_ty_1__bindgen_ty_1>, |
| pub bindgen_union_field: u16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct usb_string_descriptor__bindgen_ty_1__bindgen_ty_1 { |
| pub __empty_wData: usb_string_descriptor__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, |
| pub wData: __IncompleteArrayField<__le16>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_string_descriptor__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {} |
| impl Default for usb_string_descriptor__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for usb_string_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_interface_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bInterfaceNumber: __u8, |
| pub bAlternateSetting: __u8, |
| pub bNumEndpoints: __u8, |
| pub bInterfaceClass: __u8, |
| pub bInterfaceSubClass: __u8, |
| pub bInterfaceProtocol: __u8, |
| pub iInterface: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_endpoint_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bEndpointAddress: __u8, |
| pub bmAttributes: __u8, |
| pub wMaxPacketSize: __le16, |
| pub bInterval: __u8, |
| pub bRefresh: __u8, |
| pub bSynchAddress: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ssp_isoc_ep_comp_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub wReseved: __le16, |
| pub dwBytesPerInterval: __le32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ss_ep_comp_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bMaxBurst: __u8, |
| pub bmAttributes: __u8, |
| pub wBytesPerInterval: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_qualifier_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bcdUSB: __le16, |
| pub bDeviceClass: __u8, |
| pub bDeviceSubClass: __u8, |
| pub bDeviceProtocol: __u8, |
| pub bMaxPacketSize0: __u8, |
| pub bNumConfigurations: __u8, |
| pub bRESERVED: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_otg_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bmAttributes: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_otg20_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bmAttributes: __u8, |
| pub bcdOTG: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_debug_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDebugInEndpoint: __u8, |
| pub bDebugOutEndpoint: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_interface_assoc_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bFirstInterface: __u8, |
| pub bInterfaceCount: __u8, |
| pub bFunctionClass: __u8, |
| pub bFunctionSubClass: __u8, |
| pub bFunctionProtocol: __u8, |
| pub iFunction: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_security_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub wTotalLength: __le16, |
| pub bNumEncryptionTypes: __u8, |
| } |
| #[repr(C, packed)] |
| pub struct usb_key_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub tTKID: [__u8; 3usize], |
| pub bReserved: __u8, |
| pub bKeyData: __IncompleteArrayField<__u8>, |
| } |
| impl Default for usb_key_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_encryption_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bEncryptionType: __u8, |
| pub bEncryptionValue: __u8, |
| pub bAuthKeyIndex: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_bos_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub wTotalLength: __le16, |
| pub bNumDeviceCaps: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_dev_cap_header { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_wireless_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bmAttributes: __u8, |
| pub wPHYRates: __le16, |
| pub bmTFITXPowerInfo: __u8, |
| pub bmFFITXPowerInfo: __u8, |
| pub bmBandGroup: __le16, |
| pub bReserved: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ext_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bmAttributes: __le32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ss_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bmAttributes: __u8, |
| pub wSpeedSupported: __le16, |
| pub bFunctionalitySupport: __u8, |
| pub bU1devExitLat: __u8, |
| pub bU2DevExitLat: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ss_container_id_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved: __u8, |
| pub ContainerID: [__u8; 16usize], |
| } |
| #[repr(C, packed)] |
| pub struct usb_plat_dev_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved: __u8, |
| pub UUID: [__u8; 16usize], |
| pub CapabilityData: __IncompleteArrayField<__u8>, |
| } |
| impl Default for usb_plat_dev_cap_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| pub struct usb_ssp_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved: __u8, |
| pub bmAttributes: __le32, |
| pub wFunctionalitySupport: __le16, |
| pub wReserved: __le16, |
| pub __bindgen_anon_1: usb_ssp_cap_descriptor__bindgen_ty_1, |
| } |
| #[repr(C)] |
| pub struct usb_ssp_cap_descriptor__bindgen_ty_1 { |
| pub legacy_padding: __BindgenUnionField<__le32>, |
| pub __bindgen_anon_1: __BindgenUnionField<usb_ssp_cap_descriptor__bindgen_ty_1__bindgen_ty_1>, |
| pub bindgen_union_field: u32, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct usb_ssp_cap_descriptor__bindgen_ty_1__bindgen_ty_1 { |
| pub __empty_bmSublinkSpeedAttr: |
| usb_ssp_cap_descriptor__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, |
| pub bmSublinkSpeedAttr: __IncompleteArrayField<__le32>, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ssp_cap_descriptor__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {} |
| impl Default for usb_ssp_cap_descriptor__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for usb_ssp_cap_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_pd_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved: __u8, |
| pub bmAttributes: __le32, |
| pub bmProviderPorts: __le16, |
| pub bmConsumerPorts: __le16, |
| pub bcdBCVersion: __le16, |
| pub bcdPDVersion: __le16, |
| pub bcdUSBTypeCVersion: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_pd_cap_battery_info_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub iBattery: __u8, |
| pub iSerial: __u8, |
| pub iManufacturer: __u8, |
| pub bBatteryId: __u8, |
| pub bReserved: __u8, |
| pub dwChargedThreshold: __le32, |
| pub dwWeakThreshold: __le32, |
| pub dwBatteryDesignCapacity: __le32, |
| pub dwBatteryLastFullchargeCapacity: __le32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_pd_cap_consumer_port_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved: __u8, |
| pub bmCapabilities: __u8, |
| pub wMinVoltage: __le16, |
| pub wMaxVoltage: __le16, |
| pub wReserved: __u16, |
| pub dwMaxOperatingPower: __le32, |
| pub dwMaxPeakPower: __le32, |
| pub dwMaxPeakPowerTime: __le32, |
| } |
| #[repr(C, packed)] |
| pub struct usb_pd_cap_provider_port_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| pub bReserved1: __u8, |
| pub bmCapabilities: __u8, |
| pub bNumOfPDObjects: __u8, |
| pub bReserved2: __u8, |
| pub wPowerDataObject: __IncompleteArrayField<__le32>, |
| } |
| impl Default for usb_pd_cap_provider_port_descriptor { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ptm_cap_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bDevCapabilityType: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_wireless_ep_comp_descriptor { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bMaxBurst: __u8, |
| pub bMaxSequence: __u8, |
| pub wMaxStreamDelay: __le16, |
| pub wOverTheAirPacketSize: __le16, |
| pub bOverTheAirInterval: __u8, |
| pub bmCompAttributes: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_handshake { |
| pub bMessageNumber: __u8, |
| pub bStatus: __u8, |
| pub tTKID: [__u8; 3usize], |
| pub bReserved: __u8, |
| pub CDID: [__u8; 16usize], |
| pub nonce: [__u8; 16usize], |
| pub MIC: [__u8; 8usize], |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_connection_context { |
| pub CHID: [__u8; 16usize], |
| pub CDID: [__u8; 16usize], |
| pub CK: [__u8; 16usize], |
| } |
| pub const usb_device_speed_USB_SPEED_UNKNOWN: usb_device_speed = 0; |
| pub const usb_device_speed_USB_SPEED_LOW: usb_device_speed = 1; |
| pub const usb_device_speed_USB_SPEED_FULL: usb_device_speed = 2; |
| pub const usb_device_speed_USB_SPEED_HIGH: usb_device_speed = 3; |
| pub const usb_device_speed_USB_SPEED_WIRELESS: usb_device_speed = 4; |
| pub const usb_device_speed_USB_SPEED_SUPER: usb_device_speed = 5; |
| pub const usb_device_speed_USB_SPEED_SUPER_PLUS: usb_device_speed = 6; |
| pub type usb_device_speed = crate::types::c_uint; |
| pub const usb_device_state_USB_STATE_NOTATTACHED: usb_device_state = 0; |
| pub const usb_device_state_USB_STATE_ATTACHED: usb_device_state = 1; |
| pub const usb_device_state_USB_STATE_POWERED: usb_device_state = 2; |
| pub const usb_device_state_USB_STATE_RECONNECTING: usb_device_state = 3; |
| pub const usb_device_state_USB_STATE_UNAUTHENTICATED: usb_device_state = 4; |
| pub const usb_device_state_USB_STATE_DEFAULT: usb_device_state = 5; |
| pub const usb_device_state_USB_STATE_ADDRESS: usb_device_state = 6; |
| pub const usb_device_state_USB_STATE_CONFIGURED: usb_device_state = 7; |
| pub const usb_device_state_USB_STATE_SUSPENDED: usb_device_state = 8; |
| pub type usb_device_state = crate::types::c_uint; |
| pub const usb3_link_state_USB3_LPM_U0: usb3_link_state = 0; |
| pub const usb3_link_state_USB3_LPM_U1: usb3_link_state = 1; |
| pub const usb3_link_state_USB3_LPM_U2: usb3_link_state = 2; |
| pub const usb3_link_state_USB3_LPM_U3: usb3_link_state = 3; |
| pub type usb3_link_state = crate::types::c_uint; |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_set_sel_req { |
| pub u1_sel: __u8, |
| pub u1_pel: __u8, |
| pub u2_sel: __le16, |
| pub u2_pel: __le16, |
| } |
| pub const FUNCTIONFS_DESCRIPTORS_MAGIC: _bindgen_ty_61 = 1; |
| pub const FUNCTIONFS_STRINGS_MAGIC: _bindgen_ty_61 = 2; |
| pub const FUNCTIONFS_DESCRIPTORS_MAGIC_V2: _bindgen_ty_61 = 3; |
| pub type _bindgen_ty_61 = crate::types::c_uint; |
| pub const functionfs_flags_FUNCTIONFS_HAS_FS_DESC: functionfs_flags = 1; |
| pub const functionfs_flags_FUNCTIONFS_HAS_HS_DESC: functionfs_flags = 2; |
| pub const functionfs_flags_FUNCTIONFS_HAS_SS_DESC: functionfs_flags = 4; |
| pub const functionfs_flags_FUNCTIONFS_HAS_MS_OS_DESC: functionfs_flags = 8; |
| pub const functionfs_flags_FUNCTIONFS_VIRTUAL_ADDR: functionfs_flags = 16; |
| pub const functionfs_flags_FUNCTIONFS_EVENTFD: functionfs_flags = 32; |
| pub const functionfs_flags_FUNCTIONFS_ALL_CTRL_RECIP: functionfs_flags = 64; |
| pub const functionfs_flags_FUNCTIONFS_CONFIG0_SETUP: functionfs_flags = 128; |
| pub type functionfs_flags = crate::types::c_uint; |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_endpoint_descriptor_no_audio { |
| pub bLength: __u8, |
| pub bDescriptorType: __u8, |
| pub bEndpointAddress: __u8, |
| pub bmAttributes: __u8, |
| pub wMaxPacketSize: __le16, |
| pub bInterval: __u8, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_functionfs_descs_head_v2 { |
| pub magic: __le32, |
| pub length: __le32, |
| pub flags: __le32, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_functionfs_descs_head { |
| pub magic: __le32, |
| pub length: __le32, |
| pub fs_count: __le32, |
| pub hs_count: __le32, |
| } |
| #[repr(C, packed)] |
| #[derive(Copy, Clone)] |
| pub struct usb_os_desc_header { |
| pub interface: __u8, |
| pub dwLength: __le32, |
| pub bcdVersion: __le16, |
| pub wIndex: __le16, |
| pub __bindgen_anon_1: usb_os_desc_header__bindgen_ty_1, |
| } |
| #[repr(C)] |
| #[derive(Copy, Clone)] |
| pub union usb_os_desc_header__bindgen_ty_1 { |
| pub __bindgen_anon_1: usb_os_desc_header__bindgen_ty_1__bindgen_ty_1, |
| pub wCount: __le16, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_os_desc_header__bindgen_ty_1__bindgen_ty_1 { |
| pub bCount: __u8, |
| pub Reserved: __u8, |
| } |
| impl Default for usb_os_desc_header__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for usb_os_desc_header { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ext_compat_desc { |
| pub bFirstInterfaceNumber: __u8, |
| pub Reserved1: __u8, |
| pub CompatibleID: [__u8; 8usize], |
| pub SubCompatibleID: [__u8; 8usize], |
| pub Reserved2: [__u8; 6usize], |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_ext_prop_desc { |
| pub dwSize: __le32, |
| pub dwPropertyDataType: __le32, |
| pub wPropertyNameLength: __le16, |
| } |
| #[repr(C, packed)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_functionfs_strings_head { |
| pub magic: __le32, |
| pub length: __le32, |
| pub str_count: __le32, |
| pub lang_count: __le32, |
| } |
| pub const usb_functionfs_event_type_FUNCTIONFS_BIND: usb_functionfs_event_type = 0; |
| pub const usb_functionfs_event_type_FUNCTIONFS_UNBIND: usb_functionfs_event_type = 1; |
| pub const usb_functionfs_event_type_FUNCTIONFS_ENABLE: usb_functionfs_event_type = 2; |
| pub const usb_functionfs_event_type_FUNCTIONFS_DISABLE: usb_functionfs_event_type = 3; |
| pub const usb_functionfs_event_type_FUNCTIONFS_SETUP: usb_functionfs_event_type = 4; |
| pub const usb_functionfs_event_type_FUNCTIONFS_SUSPEND: usb_functionfs_event_type = 5; |
| pub const usb_functionfs_event_type_FUNCTIONFS_RESUME: usb_functionfs_event_type = 6; |
| pub type usb_functionfs_event_type = crate::types::c_uint; |
| #[repr(C, packed)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct usb_functionfs_event { |
| pub u: usb_functionfs_event__bindgen_ty_1, |
| pub type_: __u8, |
| pub _pad: [__u8; 3usize], |
| } |
| #[repr(C, packed)] |
| #[derive(Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub union usb_functionfs_event__bindgen_ty_1 { |
| pub setup: usb_ctrlrequest, |
| } |
| impl Default for usb_functionfs_event__bindgen_ty_1 { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| impl Default for usb_functionfs_event { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct oldold_utsname { |
| pub sysname: [crate::types::c_char; 9usize], |
| pub nodename: [crate::types::c_char; 9usize], |
| pub release: [crate::types::c_char; 9usize], |
| pub version: [crate::types::c_char; 9usize], |
| pub machine: [crate::types::c_char; 9usize], |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct old_utsname { |
| pub sysname: [crate::types::c_char; 65usize], |
| pub nodename: [crate::types::c_char; 65usize], |
| pub release: [crate::types::c_char; 65usize], |
| pub version: [crate::types::c_char; 65usize], |
| pub machine: [crate::types::c_char; 65usize], |
| } |
| impl Default for old_utsname { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct new_utsname { |
| pub sysname: [crate::types::c_char; 65usize], |
| pub nodename: [crate::types::c_char; 65usize], |
| pub release: [crate::types::c_char; 65usize], |
| pub version: [crate::types::c_char; 65usize], |
| pub machine: [crate::types::c_char; 65usize], |
| pub domainname: [crate::types::c_char; 65usize], |
| } |
| impl Default for new_utsname { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct sockaddr_vm { |
| pub svm_family: __kernel_sa_family_t, |
| pub svm_reserved1: crate::types::c_ushort, |
| pub svm_port: crate::types::c_uint, |
| pub svm_cid: crate::types::c_uint, |
| pub svm_flags: __u8, |
| pub svm_zero: [crate::types::c_uchar; 3usize], |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default)] |
| pub struct StdAtomicI64 { |
| pub _bindgen_opaque_blob: u64, |
| } |
| #[repr(C)] |
| #[repr(align(4))] |
| #[derive(Debug, Default)] |
| pub struct StdAtomicU32 { |
| pub _bindgen_opaque_blob: u32, |
| } |
| #[repr(C)] |
| #[repr(align(8))] |
| #[derive(Debug, Default)] |
| pub struct StdAtomicU64 { |
| pub _bindgen_opaque_blob: u64, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default)] |
| pub struct vvar_data { |
| pub raw_ticks_to_ticks_offset: std::sync::atomic::AtomicI64, |
| pub ticks_to_mono_numerator: std::sync::atomic::AtomicU32, |
| pub ticks_to_mono_denominator: std::sync::atomic::AtomicU32, |
| pub seq_num: std::sync::atomic::AtomicU64, |
| pub mono_to_utc_reference_offset: std::sync::atomic::AtomicI64, |
| pub mono_to_utc_synthetic_offset: std::sync::atomic::AtomicI64, |
| pub mono_to_utc_reference_ticks: std::sync::atomic::AtomicU32, |
| pub mono_to_utc_synthetic_ticks: std::sync::atomic::AtomicU32, |
| } |
| pub const SECCOMP_IOCTL_NOTIF_RECV: __u32 = 3226476800; |
| pub const SECCOMP_IOCTL_NOTIF_SEND: __u32 = 3222806785; |
| pub const SECCOMP_IOCTL_NOTIF_ID_VALID: __u32 = 1074274562; |
| pub const SECCOMP_IOCTL_NOTIF_ADDFD: __u32 = 1075323139; |
| pub const TIOCSPTLCK: __u32 = 1074025521; |
| pub const TIOCGPTLCK: __u32 = 2147767353; |
| pub const TIOCGPKT: __u32 = 2147767352; |
| pub const TIOCSIG: __u32 = 1074025526; |
| pub const TIOCGPTN: __u32 = 2147767344; |
| pub const BLKGETSIZE: __u32 = 4704; |
| pub const BLKFLSBUF: __u32 = 4705; |
| pub const BLKGETSIZE64: __u32 = 2148012658; |
| pub const BINDER_WRITE_READ: __u32 = 3224396289; |
| pub const BINDER_SET_IDLE_TIMEOUT: __u32 = 1074291203; |
| pub const BINDER_SET_MAX_THREADS: __u32 = 1074029061; |
| pub const BINDER_SET_IDLE_PRIORITY: __u32 = 1074029062; |
| pub const BINDER_SET_CONTEXT_MGR: __u32 = 1074029063; |
| pub const BINDER_THREAD_EXIT: __u32 = 1074029064; |
| pub const BINDER_VERSION: __u32 = 3221512713; |
| pub const BINDER_GET_NODE_DEBUG_INFO: __u32 = 3222823435; |
| pub const BINDER_GET_NODE_INFO_FOR_REF: __u32 = 3222823436; |
| pub const BINDER_SET_CONTEXT_MGR_EXT: __u32 = 1075339789; |
| pub const BINDER_FREEZE: __u32 = 1074553358; |
| pub const BINDER_GET_FROZEN_INFO: __u32 = 3222037007; |
| pub const BINDER_ENABLE_ONEWAY_SPAM_DETECTION: __u32 = 1074029072; |
| pub const EVIOCGVERSION: __u32 = 2147763457; |
| pub const EVIOCGID: __u32 = 2148025602; |
| pub const RWF_HIPRI: __u32 = 1; |
| pub const RWF_DSYNC: __u32 = 2; |
| pub const RWF_SYNC: __u32 = 4; |
| pub const RWF_NOWAIT: __u32 = 8; |
| pub const RWF_APPEND: __u32 = 16; |
| pub const RWF_SUPPORTED: __u32 = 31; |
| pub const EVIOCGBIT_EV_KEY: __u32 = 2153792801; |
| pub const EVIOCGBIT_EV_ABS: __u32 = 2148025635; |
| pub const EVIOCGBIT_EV_REL: __u32 = 2147632418; |
| pub const EVIOCGBIT_EV_SW: __u32 = 2147632421; |
| pub const EVIOCGBIT_EV_LED: __u32 = 2147632433; |
| pub const EVIOCGBIT_EV_FF: __u32 = 2148549941; |
| pub const EVIOCGBIT_EV_MSC: __u32 = 2147566884; |
| pub const EVIOCGPROP: __u32 = 2147763465; |
| pub const EVIOCGABS_X: __u32 = 2149074240; |
| pub const EVIOCGABS_Y: __u32 = 2149074241; |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct remote_binder_start_command { |
| pub incoming_service: uref<crate::types::c_char>, |
| } |
| impl Default for remote_binder_start_command { |
| fn default() -> Self { |
| let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); |
| unsafe { |
| ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); |
| s.assume_init() |
| } |
| } |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct remote_binder_wait_command { |
| pub spawn_thread: crate::types::c_char, |
| } |
| pub const _REMOTE_BINDER_START: __u32 = 2148028929; |
| pub const REMOTE_BINDER_START: __u32 = 2148028929; |
| pub const _REMOTE_BINDER_WAIT: __u32 = 1073828354; |
| pub const REMOTE_BINDER_WAIT: __u32 = 1073828354; |
| pub const FS_IOC_FSGETXATTR: __u32 = 2149341215; |
| pub const FS_IOC_FSSETXATTR: __u32 = 1075599392; |
| pub const FS_IOC_GETFLAGS: __u32 = 2148034049; |
| pub const FS_IOC_SETFLAGS: __u32 = 1074292226; |
| pub const FS_IOC_ENABLE_VERITY: __u32 = 1082156677; |
| pub const FS_IOC_MEASURE_VERITY: __u32 = 3221513862; |
| pub const FS_IOC_READ_VERITY_METADATA: __u32 = 3223873159; |
| pub const UI_DEV_CREATE: __u32 = 21761; |
| pub const UI_DEV_DESTROY: __u32 = 21762; |
| pub const UI_DEV_SETUP: __u32 = 1079792899; |
| pub const UI_ABS_SETUP: __u32 = 1075598596; |
| pub const UI_SET_EVBIT: __u32 = 1074025828; |
| pub const UI_SET_KEYBIT: __u32 = 1074025829; |
| pub const UI_SET_RELBIT: __u32 = 1074025830; |
| pub const UI_SET_ABSBIT: __u32 = 1074025831; |
| pub const UI_SET_MSCBIT: __u32 = 1074025832; |
| pub const UI_SET_LEDBIT: __u32 = 1074025833; |
| pub const UI_SET_SNDBIT: __u32 = 1074025834; |
| pub const UI_SET_FFBIT: __u32 = 1074025835; |
| pub const UI_SET_PHYS: __u32 = 1074287980; |
| pub const UI_SET_SWBIT: __u32 = 1074025837; |
| pub const UI_SET_PROPBIT: __u32 = 1074025838; |
| pub const UI_BEGIN_FF_UPLOAD: __u32 = 3228063176; |
| pub const UI_END_FF_UPLOAD: __u32 = 1080579529; |
| pub const UI_BEGIN_FF_ERASE: __u32 = 3222033866; |
| pub const UI_END_FF_ERASE: __u32 = 1074550219; |
| pub const UI_GET_VERSION: __u32 = 2147767597; |
| pub const ASHMEM_SET_NAME: __u32 = 1090549505; |
| pub const ASHMEM_GET_NAME: __u32 = 2164291330; |
| pub const ASHMEM_SET_SIZE: __u32 = 1074296579; |
| pub const ASHMEM_GET_SIZE: __u32 = 30468; |
| pub const ASHMEM_SET_PROT_MASK: __u32 = 1074296581; |
| pub const ASHMEM_GET_PROT_MASK: __u32 = 30470; |
| pub const ASHMEM_PIN: __u32 = 1074296583; |
| pub const ASHMEM_UNPIN: __u32 = 1074296584; |
| pub const ASHMEM_GET_PIN_STATUS: __u32 = 30473; |
| pub const ASHMEM_PURGE_ALL_CACHES: __u32 = 30474; |
| pub const ASHMEM_GET_FILE_ID: __u32 = 2148038411; |
| pub const RNDGETENTCNT: __u32 = 2147766784; |
| pub const RNDADDTOENTCNT: __u32 = 1074024961; |
| pub const RNDGETPOOL: __u32 = 2148028930; |
| pub const RNDADDENTROPY: __u32 = 1074287107; |
| pub const RNDZAPENTCNT: __u32 = 20996; |
| pub const RNDCLEARPOOL: __u32 = 20998; |
| pub const RNDRESEEDCRNG: __u32 = 20999; |
| pub type utsname = new_utsname; |
| pub type gid_t = __kernel_gid_t; |
| pub type ino_t = __kernel_ino_t; |
| pub type mode_t = __kernel_mode_t; |
| pub type off_t = __kernel_off_t; |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_match { |
| pub _address: u8, |
| } |
| #[repr(C)] |
| #[derive(Debug, Default, Copy, Clone, AsBytes, FromBytes, NoCell, FromZeros)] |
| pub struct xt_target { |
| pub _address: u8, |
| } |