diff --git a/gen/src/main.rs b/gen/src/main.rs index 965458eb..93e166be 100644 --- a/gen/src/main.rs +++ b/gen/src/main.rs @@ -10,7 +10,7 @@ use std::process::Command; use std::{env, fs}; #[allow(unused_doc_comments)] -const LINUX_VERSION: &str = "v6.17"; +const LINUX_VERSION: &str = "v6.18"; /// Some commonly used features. const DEFAULT_FEATURES: &str = "\"general\", \"errno\""; diff --git a/src/aarch64/btrfs.rs b/src/aarch64/btrfs.rs index 89ec9126..5c28aefa 100644 --- a/src/aarch64/btrfs.rs +++ b/src/aarch64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/aarch64/general.rs b/src/aarch64/general.rs index a9513534..7eb01e78 100644 --- a/src/aarch64/general.rs +++ b/src/aarch64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1059,9 +1059,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1232,6 +1232,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/aarch64/if_arp.rs b/src/aarch64/if_arp.rs index dec271a6..8efdb85b 100644 --- a/src/aarch64/if_arp.rs +++ b/src/aarch64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/aarch64/io_uring.rs b/src/aarch64/io_uring.rs index db5da523..719b1ce1 100644 --- a/src/aarch64/io_uring.rs +++ b/src/aarch64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/aarch64/net.rs b/src/aarch64/net.rs index 8a28727e..de29b80f 100644 --- a/src/aarch64/net.rs +++ b/src/aarch64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/aarch64/netlink.rs b/src/aarch64/netlink.rs index 79151d75..2552721f 100644 --- a/src/aarch64/netlink.rs +++ b/src/aarch64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -744,6 +749,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -975,6 +981,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1310,6 +1318,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1954,7 +1963,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2301,7 +2312,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2384,6 +2400,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2645,7 +2671,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3042,7 +3071,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3418,7 +3450,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3621,6 +3654,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3942,6 +4003,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4011,7 +4085,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4591,7 +4667,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5379,13 +5456,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5421,7 +5498,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5463,7 +5540,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5505,7 +5582,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5528,6 +5605,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5591,6 +5674,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/aarch64/prctl.rs b/src/aarch64/prctl.rs index 7cbb05e2..f1976037 100644 --- a/src/aarch64/prctl.rs +++ b/src/aarch64/prctl.rs @@ -150,6 +150,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/aarch64/ptrace.rs b/src/aarch64/ptrace.rs index 6192cdff..a633319d 100644 --- a/src/aarch64/ptrace.rs +++ b/src/aarch64/ptrace.rs @@ -432,6 +432,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; @@ -883,6 +885,7 @@ pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; pub const HWCAP2_POE: i64 = -9223372036854775808; pub const HWCAP3_MTE_FAR: u32 = 1; pub const HWCAP3_MTE_STORE_ONLY: u32 = 2; +pub const HWCAP3_LSFE: u32 = 4; pub const __SVE_VQ_BYTES: u32 = 16; pub const __SVE_VQ_MIN: u32 = 1; pub const __SVE_VQ_MAX: u32 = 512; diff --git a/src/arm/btrfs.rs b/src/arm/btrfs.rs index f394082c..738e2dd4 100644 --- a/src/arm/btrfs.rs +++ b/src/arm/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/arm/general.rs b/src/arm/general.rs index 3688945f..0eed8563 100644 --- a/src/arm/general.rs +++ b/src/arm/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1088,9 +1088,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1264,6 +1264,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/arm/if_arp.rs b/src/arm/if_arp.rs index d310822a..d6bb40e0 100644 --- a/src/arm/if_arp.rs +++ b/src/arm/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/arm/io_uring.rs b/src/arm/io_uring.rs index 9fe580ef..40991405 100644 --- a/src/arm/io_uring.rs +++ b/src/arm/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/arm/net.rs b/src/arm/net.rs index dd925ce3..745ffdd5 100644 --- a/src/arm/net.rs +++ b/src/arm/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/arm/netlink.rs b/src/arm/netlink.rs index 287111f8..c349b4ca 100644 --- a/src/arm/netlink.rs +++ b/src/arm/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/arm/prctl.rs b/src/arm/prctl.rs index 88cdc034..92dffdff 100644 --- a/src/arm/prctl.rs +++ b/src/arm/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/arm/ptrace.rs b/src/arm/ptrace.rs index 1c1c0330..4f1d760e 100644 --- a/src/arm/ptrace.rs +++ b/src/arm/ptrace.rs @@ -355,6 +355,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/csky/btrfs.rs b/src/csky/btrfs.rs index bf523af3..3badd718 100644 --- a/src/csky/btrfs.rs +++ b/src/csky/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/csky/general.rs b/src/csky/general.rs index 12691f99..fb730a6f 100644 --- a/src/csky/general.rs +++ b/src/csky/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1081,9 +1081,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1257,6 +1257,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/csky/if_arp.rs b/src/csky/if_arp.rs index e33ba391..1ea921cb 100644 --- a/src/csky/if_arp.rs +++ b/src/csky/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/csky/io_uring.rs b/src/csky/io_uring.rs index ebcce305..74cd0450 100644 --- a/src/csky/io_uring.rs +++ b/src/csky/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1008,8 +1008,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1049,11 +1051,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1260,7 +1265,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/csky/net.rs b/src/csky/net.rs index 75a1fbff..f7e90a72 100644 --- a/src/csky/net.rs +++ b/src/csky/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/csky/netlink.rs b/src/csky/netlink.rs index 54bbc563..2647cfe5 100644 --- a/src/csky/netlink.rs +++ b/src/csky/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/csky/prctl.rs b/src/csky/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/csky/prctl.rs +++ b/src/csky/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/csky/ptrace.rs b/src/csky/ptrace.rs index 11f5cbae..9870b485 100644 --- a/src/csky/ptrace.rs +++ b/src/csky/ptrace.rs @@ -374,6 +374,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/hexagon/btrfs.rs b/src/hexagon/btrfs.rs index 5864757e..30aee601 100644 --- a/src/hexagon/btrfs.rs +++ b/src/hexagon/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/hexagon/general.rs b/src/hexagon/general.rs index b08f8125..95981aa0 100644 --- a/src/hexagon/general.rs +++ b/src/hexagon/general.rs @@ -293,7 +293,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1084,9 +1084,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1260,6 +1260,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/hexagon/if_arp.rs b/src/hexagon/if_arp.rs index c6df1361..98f7b056 100644 --- a/src/hexagon/if_arp.rs +++ b/src/hexagon/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u8)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u8)] #[non_exhaustive] diff --git a/src/hexagon/io_uring.rs b/src/hexagon/io_uring.rs index 4fc3f172..2e5a93d3 100644 --- a/src/hexagon/io_uring.rs +++ b/src/hexagon/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u8)] diff --git a/src/hexagon/net.rs b/src/hexagon/net.rs index f4db6751..336ad60e 100644 --- a/src/hexagon/net.rs +++ b/src/hexagon/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/hexagon/netlink.rs b/src/hexagon/netlink.rs index 7ca8f409..ddb73d03 100644 --- a/src/hexagon/netlink.rs +++ b/src/hexagon/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u16)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u8)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u8)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u8)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u8)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u8)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u8)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u8)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u8)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/hexagon/prctl.rs b/src/hexagon/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/hexagon/prctl.rs +++ b/src/hexagon/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/hexagon/ptrace.rs b/src/hexagon/ptrace.rs index 332870f0..f5a73aa3 100644 --- a/src/hexagon/ptrace.rs +++ b/src/hexagon/ptrace.rs @@ -519,6 +519,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/loongarch64/btrfs.rs b/src/loongarch64/btrfs.rs index a64f6c3c..f653b555 100644 --- a/src/loongarch64/btrfs.rs +++ b/src/loongarch64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/loongarch64/general.rs b/src/loongarch64/general.rs index 473d1f0f..6a898367 100644 --- a/src/loongarch64/general.rs +++ b/src/loongarch64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1057,9 +1057,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1230,6 +1230,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/loongarch64/if_arp.rs b/src/loongarch64/if_arp.rs index 0c2cbf49..9bb0679e 100644 --- a/src/loongarch64/if_arp.rs +++ b/src/loongarch64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/loongarch64/io_uring.rs b/src/loongarch64/io_uring.rs index 0fefed60..4cf32d2b 100644 --- a/src/loongarch64/io_uring.rs +++ b/src/loongarch64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/loongarch64/net.rs b/src/loongarch64/net.rs index 276f8de6..2ce431bc 100644 --- a/src/loongarch64/net.rs +++ b/src/loongarch64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/loongarch64/netlink.rs b/src/loongarch64/netlink.rs index 736004e6..f382fd55 100644 --- a/src/loongarch64/netlink.rs +++ b/src/loongarch64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -744,6 +749,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -975,6 +981,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1310,6 +1318,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1954,7 +1963,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2301,7 +2312,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2384,6 +2400,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2645,7 +2671,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3042,7 +3071,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3418,7 +3450,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3621,6 +3654,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3942,6 +4003,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4011,7 +4085,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4591,7 +4667,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5379,13 +5456,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5421,7 +5498,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5463,7 +5540,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5505,7 +5582,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5528,6 +5605,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5591,6 +5674,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/loongarch64/prctl.rs b/src/loongarch64/prctl.rs index bc9d4fcc..718a062f 100644 --- a/src/loongarch64/prctl.rs +++ b/src/loongarch64/prctl.rs @@ -150,6 +150,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/loongarch64/ptrace.rs b/src/loongarch64/ptrace.rs index 3f05a6b5..4cf6ad31 100644 --- a/src/loongarch64/ptrace.rs +++ b/src/loongarch64/ptrace.rs @@ -182,54 +182,54 @@ pub reserved: [crate::ctypes::c_ulong; 10usize], #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_fp_state { -pub fpr: [u64; 32usize], -pub fcc: u64, -pub fcsr: u32, +pub fpr: [__u64; 32usize], +pub fcc: __u64, +pub fcsr: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lsx_state { -pub vregs: [u64; 64usize], +pub vregs: [__u64; 64usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lasx_state { -pub vregs: [u64; 128usize], +pub vregs: [__u64; 128usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_lbt_state { -pub scr: [u64; 4usize], -pub eflags: u32, -pub ftop: u32, +pub scr: [__u64; 4usize], +pub eflags: __u32, +pub ftop: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state { -pub dbg_info: u64, +pub dbg_info: __u64, pub dbg_regs: [user_watch_state__bindgen_ty_1; 8usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state__bindgen_ty_1 { -pub addr: u64, -pub mask: u64, -pub ctrl: u32, -pub pad: u32, +pub addr: __u64, +pub mask: __u64, +pub ctrl: __u32, +pub pad: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state_v2 { -pub dbg_info: u64, +pub dbg_info: __u64, pub dbg_regs: [user_watch_state_v2__bindgen_ty_1; 14usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct user_watch_state_v2__bindgen_ty_1 { -pub addr: u64, -pub mask: u64, -pub ctrl: u32, -pub pad: u32, +pub addr: __u64, +pub mask: __u64, +pub ctrl: __u32, +pub pad: __u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -413,6 +413,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/m68k/btrfs.rs b/src/m68k/btrfs.rs index f394082c..738e2dd4 100644 --- a/src/m68k/btrfs.rs +++ b/src/m68k/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/m68k/general.rs b/src/m68k/general.rs index 698b826a..bbd8b609 100644 --- a/src/m68k/general.rs +++ b/src/m68k/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1089,9 +1089,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1265,6 +1265,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/m68k/if_arp.rs b/src/m68k/if_arp.rs index 7c279cfe..fba17db8 100644 --- a/src/m68k/if_arp.rs +++ b/src/m68k/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/m68k/io_uring.rs b/src/m68k/io_uring.rs index 9fe580ef..40991405 100644 --- a/src/m68k/io_uring.rs +++ b/src/m68k/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/m68k/net.rs b/src/m68k/net.rs index e3d493ae..3a52bc7c 100644 --- a/src/m68k/net.rs +++ b/src/m68k/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/m68k/netlink.rs b/src/m68k/netlink.rs index 287111f8..c349b4ca 100644 --- a/src/m68k/netlink.rs +++ b/src/m68k/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/m68k/prctl.rs b/src/m68k/prctl.rs index 88cdc034..92dffdff 100644 --- a/src/m68k/prctl.rs +++ b/src/m68k/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/m68k/ptrace.rs b/src/m68k/ptrace.rs index 70f965d3..4e4dcf47 100644 --- a/src/m68k/ptrace.rs +++ b/src/m68k/ptrace.rs @@ -385,6 +385,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/mips/btrfs.rs b/src/mips/btrfs.rs index d1de05a4..24e9335d 100644 --- a/src/mips/btrfs.rs +++ b/src/mips/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips/general.rs b/src/mips/general.rs index 4a395fa9..593c70db 100644 --- a/src/mips/general.rs +++ b/src/mips/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1095,9 +1095,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1281,6 +1281,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips/if_arp.rs b/src/mips/if_arp.rs index 19614159..f8184687 100644 --- a/src/mips/if_arp.rs +++ b/src/mips/if_arp.rs @@ -1125,6 +1125,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1460,6 +1462,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1820,7 +1823,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2400,7 +2405,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips/io_uring.rs b/src/mips/io_uring.rs index d832f9af..e5e54d16 100644 --- a/src/mips/io_uring.rs +++ b/src/mips/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1014,8 +1014,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1055,11 +1057,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1266,7 +1271,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips/net.rs b/src/mips/net.rs index 83790658..600a52ac 100644 --- a/src/mips/net.rs +++ b/src/mips/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips/netlink.rs b/src/mips/netlink.rs index 3d68d722..87dc2872 100644 --- a/src/mips/netlink.rs +++ b/src/mips/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -752,6 +757,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -983,6 +989,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1318,6 +1326,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1962,7 +1971,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2309,7 +2320,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2392,6 +2408,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2653,7 +2679,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3050,7 +3079,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3426,7 +3458,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3629,6 +3662,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3950,6 +4011,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4019,7 +4093,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4599,7 +4675,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5387,13 +5464,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5429,7 +5506,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5471,7 +5548,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5513,7 +5590,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5536,6 +5613,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5599,6 +5682,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips/prctl.rs b/src/mips/prctl.rs index 327adb01..e7599ff0 100644 --- a/src/mips/prctl.rs +++ b/src/mips/prctl.rs @@ -158,6 +158,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips/ptrace.rs b/src/mips/ptrace.rs index 9b785f7d..45055055 100644 --- a/src/mips/ptrace.rs +++ b/src/mips/ptrace.rs @@ -394,6 +394,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/mips32r6/btrfs.rs b/src/mips32r6/btrfs.rs index d1de05a4..24e9335d 100644 --- a/src/mips32r6/btrfs.rs +++ b/src/mips32r6/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips32r6/general.rs b/src/mips32r6/general.rs index 4a395fa9..593c70db 100644 --- a/src/mips32r6/general.rs +++ b/src/mips32r6/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1095,9 +1095,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1281,6 +1281,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips32r6/if_arp.rs b/src/mips32r6/if_arp.rs index 19614159..f8184687 100644 --- a/src/mips32r6/if_arp.rs +++ b/src/mips32r6/if_arp.rs @@ -1125,6 +1125,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1460,6 +1462,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1820,7 +1823,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2400,7 +2405,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips32r6/io_uring.rs b/src/mips32r6/io_uring.rs index d832f9af..e5e54d16 100644 --- a/src/mips32r6/io_uring.rs +++ b/src/mips32r6/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1014,8 +1014,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1055,11 +1057,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1266,7 +1271,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips32r6/net.rs b/src/mips32r6/net.rs index 83790658..600a52ac 100644 --- a/src/mips32r6/net.rs +++ b/src/mips32r6/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips32r6/netlink.rs b/src/mips32r6/netlink.rs index 3d68d722..87dc2872 100644 --- a/src/mips32r6/netlink.rs +++ b/src/mips32r6/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -752,6 +757,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -983,6 +989,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1318,6 +1326,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1962,7 +1971,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2309,7 +2320,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2392,6 +2408,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2653,7 +2679,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3050,7 +3079,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3426,7 +3458,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3629,6 +3662,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3950,6 +4011,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4019,7 +4093,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4599,7 +4675,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5387,13 +5464,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5429,7 +5506,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5471,7 +5548,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5513,7 +5590,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5536,6 +5613,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5599,6 +5682,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips32r6/prctl.rs b/src/mips32r6/prctl.rs index 327adb01..e7599ff0 100644 --- a/src/mips32r6/prctl.rs +++ b/src/mips32r6/prctl.rs @@ -158,6 +158,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips32r6/ptrace.rs b/src/mips32r6/ptrace.rs index 9b785f7d..45055055 100644 --- a/src/mips32r6/ptrace.rs +++ b/src/mips32r6/ptrace.rs @@ -394,6 +394,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/mips64/btrfs.rs b/src/mips64/btrfs.rs index f322b77b..44aae94e 100644 --- a/src/mips64/btrfs.rs +++ b/src/mips64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips64/general.rs b/src/mips64/general.rs index aade8ffb..be57d121 100644 --- a/src/mips64/general.rs +++ b/src/mips64/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1087,9 +1087,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1270,6 +1270,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips64/if_arp.rs b/src/mips64/if_arp.rs index 7a19f43b..10ca687b 100644 --- a/src/mips64/if_arp.rs +++ b/src/mips64/if_arp.rs @@ -1127,6 +1127,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1462,6 +1464,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1822,7 +1825,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2402,7 +2407,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64/io_uring.rs b/src/mips64/io_uring.rs index 465e9197..1218f56a 100644 --- a/src/mips64/io_uring.rs +++ b/src/mips64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1016,8 +1016,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1057,11 +1059,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1268,7 +1273,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips64/net.rs b/src/mips64/net.rs index e11ef238..efcdd395 100644 --- a/src/mips64/net.rs +++ b/src/mips64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips64/netlink.rs b/src/mips64/netlink.rs index f484eef1..93f1e4e0 100644 --- a/src/mips64/netlink.rs +++ b/src/mips64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -754,6 +759,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -985,6 +991,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1320,6 +1328,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1964,7 +1973,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2311,7 +2322,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2394,6 +2410,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2655,7 +2681,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3052,7 +3081,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3428,7 +3460,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3631,6 +3664,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3952,6 +4013,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4021,7 +4095,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4601,7 +4677,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5389,13 +5466,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5431,7 +5508,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5473,7 +5550,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5515,7 +5592,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5538,6 +5615,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5601,6 +5684,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips64/prctl.rs b/src/mips64/prctl.rs index f221615a..fb9c1171 100644 --- a/src/mips64/prctl.rs +++ b/src/mips64/prctl.rs @@ -160,6 +160,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips64/ptrace.rs b/src/mips64/ptrace.rs index fdca98f2..2bdba07b 100644 --- a/src/mips64/ptrace.rs +++ b/src/mips64/ptrace.rs @@ -396,6 +396,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/mips64r6/btrfs.rs b/src/mips64r6/btrfs.rs index f322b77b..44aae94e 100644 --- a/src/mips64r6/btrfs.rs +++ b/src/mips64r6/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/mips64r6/general.rs b/src/mips64r6/general.rs index aade8ffb..be57d121 100644 --- a/src/mips64r6/general.rs +++ b/src/mips64r6/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1087,9 +1087,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1270,6 +1270,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/mips64r6/if_arp.rs b/src/mips64r6/if_arp.rs index 7a19f43b..10ca687b 100644 --- a/src/mips64r6/if_arp.rs +++ b/src/mips64r6/if_arp.rs @@ -1127,6 +1127,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1462,6 +1464,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1822,7 +1825,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2402,7 +2407,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64r6/io_uring.rs b/src/mips64r6/io_uring.rs index 465e9197..1218f56a 100644 --- a/src/mips64r6/io_uring.rs +++ b/src/mips64r6/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1016,8 +1016,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1057,11 +1059,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1268,7 +1273,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/mips64r6/net.rs b/src/mips64r6/net.rs index e11ef238..efcdd395 100644 --- a/src/mips64r6/net.rs +++ b/src/mips64r6/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/mips64r6/netlink.rs b/src/mips64r6/netlink.rs index f484eef1..93f1e4e0 100644 --- a/src/mips64r6/netlink.rs +++ b/src/mips64r6/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -754,6 +759,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -985,6 +991,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1320,6 +1328,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1964,7 +1973,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2311,7 +2322,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2394,6 +2410,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2655,7 +2681,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3052,7 +3081,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3428,7 +3460,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3631,6 +3664,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3952,6 +4013,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4021,7 +4095,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4601,7 +4677,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5389,13 +5466,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5431,7 +5508,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5473,7 +5550,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5515,7 +5592,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5538,6 +5615,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5601,6 +5684,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/mips64r6/prctl.rs b/src/mips64r6/prctl.rs index f221615a..fb9c1171 100644 --- a/src/mips64r6/prctl.rs +++ b/src/mips64r6/prctl.rs @@ -160,6 +160,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/mips64r6/ptrace.rs b/src/mips64r6/ptrace.rs index fdca98f2..2bdba07b 100644 --- a/src/mips64r6/ptrace.rs +++ b/src/mips64r6/ptrace.rs @@ -396,6 +396,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/powerpc/btrfs.rs b/src/powerpc/btrfs.rs index 97f3b11d..33aec925 100644 --- a/src/powerpc/btrfs.rs +++ b/src/powerpc/btrfs.rs @@ -180,7 +180,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -745,7 +745,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/powerpc/general.rs b/src/powerpc/general.rs index 8ad1a7a5..753eb72a 100644 --- a/src/powerpc/general.rs +++ b/src/powerpc/general.rs @@ -295,7 +295,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1133,9 +1133,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1309,6 +1309,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/powerpc/if_arp.rs b/src/powerpc/if_arp.rs index 89efcb0c..a6aec3d5 100644 --- a/src/powerpc/if_arp.rs +++ b/src/powerpc/if_arp.rs @@ -1121,6 +1121,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1456,6 +1458,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1816,7 +1819,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2396,7 +2401,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc/io_uring.rs b/src/powerpc/io_uring.rs index 8be31991..9a9b4c55 100644 --- a/src/powerpc/io_uring.rs +++ b/src/powerpc/io_uring.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1010,8 +1010,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1051,11 +1053,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1262,7 +1267,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/powerpc/net.rs b/src/powerpc/net.rs index 23cf256f..9e0e58f8 100644 --- a/src/powerpc/net.rs +++ b/src/powerpc/net.rs @@ -454,6 +454,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/powerpc/netlink.rs b/src/powerpc/netlink.rs index d9c95a48..5798abb0 100644 --- a/src/powerpc/netlink.rs +++ b/src/powerpc/netlink.rs @@ -143,6 +143,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -748,6 +753,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -979,6 +985,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1314,6 +1322,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1958,7 +1967,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2305,7 +2316,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2388,6 +2404,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2649,7 +2675,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3046,7 +3075,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3422,7 +3454,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3625,6 +3658,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3946,6 +4007,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4015,7 +4089,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4595,7 +4671,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5383,13 +5460,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5425,7 +5502,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5467,7 +5544,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5509,7 +5586,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5532,6 +5609,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5595,6 +5678,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/powerpc/prctl.rs b/src/powerpc/prctl.rs index dc8f22ba..40c22022 100644 --- a/src/powerpc/prctl.rs +++ b/src/powerpc/prctl.rs @@ -154,6 +154,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/powerpc/ptrace.rs b/src/powerpc/ptrace.rs index fbf1a680..6b24bfb7 100644 --- a/src/powerpc/ptrace.rs +++ b/src/powerpc/ptrace.rs @@ -395,6 +395,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/powerpc64/btrfs.rs b/src/powerpc64/btrfs.rs index 3b8cd333..cb4d3c96 100644 --- a/src/powerpc64/btrfs.rs +++ b/src/powerpc64/btrfs.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -747,7 +747,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/powerpc64/general.rs b/src/powerpc64/general.rs index 5cf4d958..eef8abab 100644 --- a/src/powerpc64/general.rs +++ b/src/powerpc64/general.rs @@ -297,7 +297,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1115,9 +1115,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1288,6 +1288,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/powerpc64/if_arp.rs b/src/powerpc64/if_arp.rs index f9174def..3997072c 100644 --- a/src/powerpc64/if_arp.rs +++ b/src/powerpc64/if_arp.rs @@ -1123,6 +1123,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1458,6 +1460,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1818,7 +1821,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2398,7 +2403,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc64/io_uring.rs b/src/powerpc64/io_uring.rs index 87893ffe..598ab3ee 100644 --- a/src/powerpc64/io_uring.rs +++ b/src/powerpc64/io_uring.rs @@ -184,7 +184,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1012,8 +1012,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1053,11 +1055,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1264,7 +1269,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/powerpc64/net.rs b/src/powerpc64/net.rs index 261208a4..136b6d4f 100644 --- a/src/powerpc64/net.rs +++ b/src/powerpc64/net.rs @@ -456,6 +456,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/powerpc64/netlink.rs b/src/powerpc64/netlink.rs index a66c3e89..4c0f06b2 100644 --- a/src/powerpc64/netlink.rs +++ b/src/powerpc64/netlink.rs @@ -145,6 +145,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -750,6 +755,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -981,6 +987,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1316,6 +1324,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1960,7 +1969,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2307,7 +2318,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2390,6 +2406,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2651,7 +2677,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3048,7 +3077,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3424,7 +3456,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3627,6 +3660,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3948,6 +4009,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4017,7 +4091,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4597,7 +4673,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5385,13 +5462,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5427,7 +5504,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5469,7 +5546,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5511,7 +5588,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5534,6 +5611,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5597,6 +5680,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/powerpc64/prctl.rs b/src/powerpc64/prctl.rs index 71247ba8..60e0294a 100644 --- a/src/powerpc64/prctl.rs +++ b/src/powerpc64/prctl.rs @@ -156,6 +156,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/powerpc64/ptrace.rs b/src/powerpc64/ptrace.rs index 9e4fc021..124b2ebc 100644 --- a/src/powerpc64/ptrace.rs +++ b/src/powerpc64/ptrace.rs @@ -397,6 +397,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/riscv32/btrfs.rs b/src/riscv32/btrfs.rs index bf523af3..3badd718 100644 --- a/src/riscv32/btrfs.rs +++ b/src/riscv32/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/riscv32/general.rs b/src/riscv32/general.rs index 9ccb390b..92aa96fa 100644 --- a/src/riscv32/general.rs +++ b/src/riscv32/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1079,9 +1079,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1255,6 +1255,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/riscv32/if_arp.rs b/src/riscv32/if_arp.rs index c49c80ce..6cb779e3 100644 --- a/src/riscv32/if_arp.rs +++ b/src/riscv32/if_arp.rs @@ -1115,6 +1115,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1450,6 +1452,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1810,7 +1813,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2390,7 +2395,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv32/io_uring.rs b/src/riscv32/io_uring.rs index b7ed64c3..35495182 100644 --- a/src/riscv32/io_uring.rs +++ b/src/riscv32/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1004,8 +1004,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1045,11 +1047,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1256,7 +1261,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/riscv32/net.rs b/src/riscv32/net.rs index 5b47bb5c..587279f1 100644 --- a/src/riscv32/net.rs +++ b/src/riscv32/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/riscv32/netlink.rs b/src/riscv32/netlink.rs index 54bbc563..2647cfe5 100644 --- a/src/riscv32/netlink.rs +++ b/src/riscv32/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/riscv32/prctl.rs b/src/riscv32/prctl.rs index ff251ffa..2a8e6f03 100644 --- a/src/riscv32/prctl.rs +++ b/src/riscv32/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/riscv32/ptrace.rs b/src/riscv32/ptrace.rs index 7af62579..3ae63ffb 100644 --- a/src/riscv32/ptrace.rs +++ b/src/riscv32/ptrace.rs @@ -440,6 +440,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/riscv64/btrfs.rs b/src/riscv64/btrfs.rs index a64f6c3c..f653b555 100644 --- a/src/riscv64/btrfs.rs +++ b/src/riscv64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/riscv64/general.rs b/src/riscv64/general.rs index 59632f6a..0294c9e7 100644 --- a/src/riscv64/general.rs +++ b/src/riscv64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1057,9 +1057,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1230,6 +1230,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/riscv64/if_arp.rs b/src/riscv64/if_arp.rs index 0c2cbf49..9bb0679e 100644 --- a/src/riscv64/if_arp.rs +++ b/src/riscv64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv64/io_uring.rs b/src/riscv64/io_uring.rs index 0fefed60..4cf32d2b 100644 --- a/src/riscv64/io_uring.rs +++ b/src/riscv64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/riscv64/net.rs b/src/riscv64/net.rs index 276f8de6..2ce431bc 100644 --- a/src/riscv64/net.rs +++ b/src/riscv64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/riscv64/netlink.rs b/src/riscv64/netlink.rs index 736004e6..f382fd55 100644 --- a/src/riscv64/netlink.rs +++ b/src/riscv64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -744,6 +749,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -975,6 +981,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1310,6 +1318,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1954,7 +1963,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2301,7 +2312,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2384,6 +2400,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2645,7 +2671,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3042,7 +3071,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3418,7 +3450,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3621,6 +3654,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3942,6 +4003,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4011,7 +4085,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4591,7 +4667,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5379,13 +5456,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5421,7 +5498,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5463,7 +5540,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5505,7 +5582,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5528,6 +5605,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5591,6 +5674,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/riscv64/prctl.rs b/src/riscv64/prctl.rs index bc9d4fcc..718a062f 100644 --- a/src/riscv64/prctl.rs +++ b/src/riscv64/prctl.rs @@ -150,6 +150,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/riscv64/ptrace.rs b/src/riscv64/ptrace.rs index fd719a12..42ea3316 100644 --- a/src/riscv64/ptrace.rs +++ b/src/riscv64/ptrace.rs @@ -442,6 +442,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/s390x/btrfs.rs b/src/s390x/btrfs.rs index b37fa305..43532d0f 100644 --- a/src/s390x/btrfs.rs +++ b/src/s390x/btrfs.rs @@ -190,7 +190,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -755,7 +755,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/s390x/general.rs b/src/s390x/general.rs index 196d4a58..5b86f138 100644 --- a/src/s390x/general.rs +++ b/src/s390x/general.rs @@ -305,7 +305,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1056,9 +1056,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1229,6 +1229,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/s390x/if_arp.rs b/src/s390x/if_arp.rs index 7e3208f5..12a87f20 100644 --- a/src/s390x/if_arp.rs +++ b/src/s390x/if_arp.rs @@ -1131,6 +1131,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1466,6 +1468,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1826,7 +1829,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2406,7 +2411,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/s390x/io_uring.rs b/src/s390x/io_uring.rs index 9ff9df5b..4a72cf5e 100644 --- a/src/s390x/io_uring.rs +++ b/src/s390x/io_uring.rs @@ -192,7 +192,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1020,8 +1020,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1061,11 +1063,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1272,7 +1277,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/s390x/net.rs b/src/s390x/net.rs index 52fbdbf4..4753e369 100644 --- a/src/s390x/net.rs +++ b/src/s390x/net.rs @@ -464,6 +464,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/s390x/netlink.rs b/src/s390x/netlink.rs index c53eb6b4..83c0a7d5 100644 --- a/src/s390x/netlink.rs +++ b/src/s390x/netlink.rs @@ -153,6 +153,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -758,6 +763,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -989,6 +995,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1324,6 +1332,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1968,7 +1977,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2315,7 +2326,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2398,6 +2414,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2659,7 +2685,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3056,7 +3085,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3432,7 +3464,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3635,6 +3668,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3956,6 +4017,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4025,7 +4099,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4605,7 +4681,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5399,13 +5476,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5441,7 +5518,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5483,7 +5560,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5525,7 +5602,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5548,6 +5625,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5611,6 +5694,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/s390x/prctl.rs b/src/s390x/prctl.rs index 34759a6d..6a634a15 100644 --- a/src/s390x/prctl.rs +++ b/src/s390x/prctl.rs @@ -164,6 +164,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/s390x/ptrace.rs b/src/s390x/ptrace.rs index 6194649f..97feac38 100644 --- a/src/s390x/ptrace.rs +++ b/src/s390x/ptrace.rs @@ -470,6 +470,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/sparc/btrfs.rs b/src/sparc/btrfs.rs index c4ef80a1..617fa1e0 100644 --- a/src/sparc/btrfs.rs +++ b/src/sparc/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/sparc/general.rs b/src/sparc/general.rs index e4379f18..3dd55280 100644 --- a/src/sparc/general.rs +++ b/src/sparc/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1093,9 +1093,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1269,6 +1269,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/sparc/if_arp.rs b/src/sparc/if_arp.rs index ca22d664..aa9119bf 100644 --- a/src/sparc/if_arp.rs +++ b/src/sparc/if_arp.rs @@ -1331,6 +1331,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1666,6 +1668,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -2026,7 +2029,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2606,7 +2611,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc/io_uring.rs b/src/sparc/io_uring.rs index aa69507c..769f1ae2 100644 --- a/src/sparc/io_uring.rs +++ b/src/sparc/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1005,8 +1005,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1046,11 +1048,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1257,7 +1262,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/sparc/net.rs b/src/sparc/net.rs index 3f90f50a..230dc8a7 100644 --- a/src/sparc/net.rs +++ b/src/sparc/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/sparc/netlink.rs b/src/sparc/netlink.rs index 3da0b4bc..e2f61b97 100644 --- a/src/sparc/netlink.rs +++ b/src/sparc/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/sparc/prctl.rs b/src/sparc/prctl.rs index b63839ec..8137ddba 100644 --- a/src/sparc/prctl.rs +++ b/src/sparc/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/sparc/ptrace.rs b/src/sparc/ptrace.rs index cd6bd935..dbdc94c2 100644 --- a/src/sparc/ptrace.rs +++ b/src/sparc/ptrace.rs @@ -376,6 +376,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/sparc64/btrfs.rs b/src/sparc64/btrfs.rs index 2a879189..cf314d05 100644 --- a/src/sparc64/btrfs.rs +++ b/src/sparc64/btrfs.rs @@ -182,7 +182,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -747,7 +747,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/sparc64/general.rs b/src/sparc64/general.rs index cc877b07..adf0f010 100644 --- a/src/sparc64/general.rs +++ b/src/sparc64/general.rs @@ -298,7 +298,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1090,9 +1090,9 @@ pub sa_handler_kernel: __kernel_sighandler_t, pub sa_flags: crate::ctypes::c_ulong, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1263,6 +1263,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/sparc64/if_arp.rs b/src/sparc64/if_arp.rs index d14a84cd..1b2e24df 100644 --- a/src/sparc64/if_arp.rs +++ b/src/sparc64/if_arp.rs @@ -1339,6 +1339,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1674,6 +1676,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -2034,7 +2037,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2614,7 +2619,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc64/io_uring.rs b/src/sparc64/io_uring.rs index eb3eebe8..80c609d5 100644 --- a/src/sparc64/io_uring.rs +++ b/src/sparc64/io_uring.rs @@ -184,7 +184,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1007,8 +1007,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1048,11 +1050,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1259,7 +1264,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/sparc64/net.rs b/src/sparc64/net.rs index c691d4fb..83037f8c 100644 --- a/src/sparc64/net.rs +++ b/src/sparc64/net.rs @@ -456,6 +456,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/sparc64/netlink.rs b/src/sparc64/netlink.rs index 1cbe8875..4b2a7907 100644 --- a/src/sparc64/netlink.rs +++ b/src/sparc64/netlink.rs @@ -145,6 +145,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -750,6 +755,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -981,6 +987,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1316,6 +1324,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1960,7 +1969,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2307,7 +2318,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2390,6 +2406,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2651,7 +2677,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3048,7 +3077,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3424,7 +3456,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3627,6 +3660,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3948,6 +4009,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4017,7 +4091,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4597,7 +4673,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5385,13 +5462,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5427,7 +5504,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5469,7 +5546,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5511,7 +5588,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5534,6 +5611,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5597,6 +5680,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/sparc64/prctl.rs b/src/sparc64/prctl.rs index b972403f..840e427d 100644 --- a/src/sparc64/prctl.rs +++ b/src/sparc64/prctl.rs @@ -156,6 +156,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/sparc64/ptrace.rs b/src/sparc64/ptrace.rs index ce3bf692..261d136c 100644 --- a/src/sparc64/ptrace.rs +++ b/src/sparc64/ptrace.rs @@ -419,6 +419,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/x32/btrfs.rs b/src/x32/btrfs.rs index fcd13dfb..878c7c06 100644 --- a/src/x32/btrfs.rs +++ b/src/x32/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x32/general.rs b/src/x32/general.rs index 993970fb..127e1622 100644 --- a/src/x32/general.rs +++ b/src/x32/general.rs @@ -291,7 +291,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1069,9 +1069,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1245,6 +1245,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; @@ -2610,6 +2611,7 @@ pub const __NR_statx: u32 = 1073742156; pub const __NR_io_pgetevents: u32 = 1073742157; pub const __NR_rseq: u32 = 1073742158; pub const __NR_uretprobe: u32 = 1073742159; +pub const __NR_uprobe: u32 = 1073742160; pub const __NR_pidfd_send_signal: u32 = 1073742248; pub const __NR_io_uring_setup: u32 = 1073742249; pub const __NR_io_uring_enter: u32 = 1073742250; diff --git a/src/x32/if_arp.rs b/src/x32/if_arp.rs index 70e204ba..d073bb33 100644 --- a/src/x32/if_arp.rs +++ b/src/x32/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x32/io_uring.rs b/src/x32/io_uring.rs index 21429fc7..928b77cf 100644 --- a/src/x32/io_uring.rs +++ b/src/x32/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x32/net.rs b/src/x32/net.rs index 0f8da94c..f3ed9858 100644 --- a/src/x32/net.rs +++ b/src/x32/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x32/netlink.rs b/src/x32/netlink.rs index 905e150a..5e4840d2 100644 --- a/src/x32/netlink.rs +++ b/src/x32/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -744,6 +749,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -975,6 +981,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1310,6 +1318,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1954,7 +1963,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2301,7 +2312,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2384,6 +2400,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2645,7 +2671,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3042,7 +3071,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3418,7 +3450,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3621,6 +3654,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3942,6 +4003,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4011,7 +4085,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4591,7 +4667,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5379,13 +5456,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5421,7 +5498,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5463,7 +5540,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5505,7 +5582,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5528,6 +5605,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5591,6 +5674,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x32/prctl.rs b/src/x32/prctl.rs index 3344cd11..43e3fe7d 100644 --- a/src/x32/prctl.rs +++ b/src/x32/prctl.rs @@ -150,6 +150,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x32/ptrace.rs b/src/x32/ptrace.rs index c8174cea..b2c3face 100644 --- a/src/x32/ptrace.rs +++ b/src/x32/ptrace.rs @@ -377,6 +377,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/x86/btrfs.rs b/src/x86/btrfs.rs index f394082c..738e2dd4 100644 --- a/src/x86/btrfs.rs +++ b/src/x86/btrfs.rs @@ -174,7 +174,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -739,7 +739,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x86/general.rs b/src/x86/general.rs index df5e3685..8340e443 100644 --- a/src/x86/general.rs +++ b/src/x86/general.rs @@ -288,7 +288,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1090,9 +1090,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1266,6 +1266,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; diff --git a/src/x86/if_arp.rs b/src/x86/if_arp.rs index 258b3344..493d9eed 100644 --- a/src/x86/if_arp.rs +++ b/src/x86/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86/io_uring.rs b/src/x86/io_uring.rs index 25b871ca..daa4d5f0 100644 --- a/src/x86/io_uring.rs +++ b/src/x86/io_uring.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1008,8 +1008,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1049,11 +1051,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1260,7 +1265,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x86/net.rs b/src/x86/net.rs index f3093ac8..dd8508dc 100644 --- a/src/x86/net.rs +++ b/src/x86/net.rs @@ -448,6 +448,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x86/netlink.rs b/src/x86/netlink.rs index 287111f8..c349b4ca 100644 --- a/src/x86/netlink.rs +++ b/src/x86/netlink.rs @@ -137,6 +137,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -742,6 +747,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -973,6 +979,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1308,6 +1316,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1952,7 +1961,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2299,7 +2310,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2382,6 +2398,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2643,7 +2669,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3040,7 +3069,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3416,7 +3448,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3619,6 +3652,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3940,6 +4001,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4009,7 +4083,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4589,7 +4665,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5377,13 +5454,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5419,7 +5496,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5461,7 +5538,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5503,7 +5580,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5526,6 +5603,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5589,6 +5672,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x86/prctl.rs b/src/x86/prctl.rs index 88cdc034..92dffdff 100644 --- a/src/x86/prctl.rs +++ b/src/x86/prctl.rs @@ -148,6 +148,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x86/ptrace.rs b/src/x86/ptrace.rs index cabcf029..b253c4aa 100644 --- a/src/x86/ptrace.rs +++ b/src/x86/ptrace.rs @@ -371,6 +371,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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; diff --git a/src/x86_64/btrfs.rs b/src/x86_64/btrfs.rs index c7cf4e1d..3bd5fa3a 100644 --- a/src/x86_64/btrfs.rs +++ b/src/x86_64/btrfs.rs @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -741,7 +741,7 @@ pub dirid: __u64, #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct btrfs_ioctl_encoded_io_args { -pub iov: *const iovec, +pub iov: *mut iovec, pub iovcnt: crate::ctypes::c_ulong, pub offset: __s64, pub flags: __u64, diff --git a/src/x86_64/general.rs b/src/x86_64/general.rs index 2c052e7f..fa7abe68 100644 --- a/src/x86_64/general.rs +++ b/src/x86_64/general.rs @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1067,9 +1067,9 @@ pub sa_flags: crate::ctypes::c_ulong, pub sa_restorer: __sigrestore_t, pub sa_mask: kernel_sigset_t, } -pub const LINUX_VERSION_CODE: u32 = 397568; +pub const LINUX_VERSION_CODE: u32 = 397824; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 17; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 18; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const __BITS_PER_LONG_LONG: u32 = 64; pub const __FD_SETSIZE: u32 = 1024; @@ -1240,6 +1240,7 @@ pub const AT_FDCWD: i32 = -100; pub const PIDFD_SELF_THREAD: i32 = -10000; pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001; pub const FD_PIDFS_ROOT: i32 = -10002; +pub const FD_NSFS_ROOT: i32 = -10003; pub const FD_INVALID: i32 = -10009; pub const AT_SYMLINK_NOFOLLOW: u32 = 256; pub const AT_SYMLINK_FOLLOW: u32 = 1024; @@ -2652,6 +2653,7 @@ pub const __NR_statx: u32 = 332; pub const __NR_io_pgetevents: u32 = 333; pub const __NR_rseq: u32 = 334; pub const __NR_uretprobe: u32 = 335; +pub const __NR_uprobe: u32 = 336; pub const __NR_pidfd_send_signal: u32 = 424; pub const __NR_io_uring_setup: u32 = 425; pub const __NR_io_uring_enter: u32 = 426; diff --git a/src/x86_64/if_arp.rs b/src/x86_64/if_arp.rs index b049cfec..b72fa7bd 100644 --- a/src/x86_64/if_arp.rs +++ b/src/x86_64/if_arp.rs @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK; @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO; @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86_64/io_uring.rs b/src/x86_64/io_uring.rs index 465f7d6b..678ae8fe 100644 --- a/src/x86_64/io_uring.rs +++ b/src/x86_64/io_uring.rs @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField, #[derive(Debug, Copy, Clone)] pub struct mnt_id_req { pub size: __u32, -pub spare: __u32, +pub mnt_ns_fd: __u32, pub mnt_id: __u64, pub param: __u64, pub mnt_ns_id: __u64, @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384; pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768; pub const IORING_SETUP_NO_SQARRAY: u32 = 65536; pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072; +pub const IORING_SETUP_CQE_MIXED: u32 = 262144; pub const IORING_URING_CMD_FIXED: u32 = 1; -pub const IORING_URING_CMD_MASK: u32 = 1; +pub const IORING_URING_CMD_MULTISHOT: u32 = 2; +pub const IORING_URING_CMD_MASK: u32 = 3; pub const IORING_FSYNC_DATASYNC: u32 = 1; pub const IORING_TIMEOUT_ABS: u32 = 1; pub const IORING_TIMEOUT_UPDATE: u32 = 2; @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2; pub const IORING_NOP_FIXED_FILE: u32 = 4; pub const IORING_NOP_FIXED_BUFFER: u32 = 8; pub const IORING_NOP_TW: u32 = 16; +pub const IORING_NOP_CQE32: u32 = 32; pub const IORING_CQE_F_BUFFER: u32 = 1; pub const IORING_CQE_F_MORE: u32 = 2; pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4; pub const IORING_CQE_F_NOTIF: u32 = 8; pub const IORING_CQE_F_BUF_MORE: u32 = 16; +pub const IORING_CQE_F_SKIP: u32 = 32; +pub const IORING_CQE_F_32: u32 = 32768; pub const IORING_CQE_BUFFER_SHIFT: u32 = 16; pub const IORING_OFF_SQ_RING: u32 = 0; pub const IORING_OFF_CQ_RING: u32 = 134217728; @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31, IORING_REGISTER_ZCRX_IFQ = 32, IORING_REGISTER_RESIZE_RINGS = 33, IORING_REGISTER_MEM_REGION = 34, -IORING_REGISTER_LAST = 35, +IORING_REGISTER_QUERY = 35, +IORING_REGISTER_LAST = 36, IORING_REGISTER_USE_REGISTERED_RING = 2147483648, } #[repr(u32)] diff --git a/src/x86_64/net.rs b/src/x86_64/net.rs index 21cf8c2a..7a95c67c 100644 --- a/src/x86_64/net.rs +++ b/src/x86_64/net.rs @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32, pub tcpi_total_rto: __u16, pub tcpi_total_rto_recoveries: __u16, pub tcpi_total_rto_time: __u32, +pub tcpi_received_ce: __u32, +pub tcpi_delivered_e1_bytes: __u32, +pub tcpi_delivered_e0_bytes: __u32, +pub tcpi_delivered_ce_bytes: __u32, +pub tcpi_received_e1_bytes: __u32, +pub tcpi_received_e0_bytes: __u32, +pub tcpi_received_ce_bytes: __u32, +pub tcpi_accecn_fail_mode: __u16, +pub tcpi_accecn_opt_seen: __u16, } #[repr(C)] #[derive(Copy, Clone)] diff --git a/src/x86_64/netlink.rs b/src/x86_64/netlink.rs index cc0a52de..f8a99c5c 100644 --- a/src/x86_64/netlink.rs +++ b/src/x86_64/netlink.rs @@ -139,6 +139,11 @@ pub mcs: [__u16; 8usize], pub struct nl80211_txrate_he { pub mcs: [__u16; 8usize], } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct nl80211_txrate_eht { +pub mcs: [__u16; 16usize], +} #[repr(C, packed)] #[derive(Debug, Copy, Clone)] pub struct nl80211_pattern_support { @@ -744,6 +749,7 @@ pub const NL80211_SCAN_RSSI_THOLD_OFF: i32 = -300; pub const NL80211_CQM_TXE_MAX_INTVL: u32 = 1800; pub const NL80211_VHT_NSS_MAX: u32 = 8; pub const NL80211_HE_NSS_MAX: u32 = 8; +pub const NL80211_EHT_NSS_MAX: u32 = 16; pub const NL80211_KCK_LEN: u32 = 16; pub const NL80211_KEK_LEN: u32 = 16; pub const NL80211_KCK_EXT_LEN: u32 = 24; @@ -975,6 +981,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_M pub const IFLA_DPLL_PIN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DPLL_PIN; pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_PACING_OFFLOAD_HORIZON; pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NETNS_IMMUTABLE; +pub const IFLA_HEADROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_HEADROOM; +pub const IFLA_TAILROOM: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TAILROOM; pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX; pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC; pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK; @@ -1310,6 +1318,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_29 = _bindgen_ty_29::IFL pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE; pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_PRIO; +pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO; pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_BOND_SLAVE_MAX; pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO_UNSPEC; pub const IFLA_VF_INFO: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_INFO; @@ -1954,7 +1963,9 @@ NL80211_CMD_LINKS_REMOVED = 154, NL80211_CMD_SET_TID_TO_LINK_MAPPING = 155, NL80211_CMD_ASSOC_MLO_RECONF = 156, NL80211_CMD_EPCS_CFG = 157, -__NL80211_CMD_AFTER_LAST = 158, +NL80211_CMD_NAN_NEXT_DW_NOTIFICATION = 158, +NL80211_CMD_NAN_CLUSTER_JOINED = 159, +__NL80211_CMD_AFTER_LAST = 160, } #[repr(u32)] #[non_exhaustive] @@ -2301,7 +2312,12 @@ NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS = 337, NL80211_ATTR_WIPHY_RADIO_INDEX = 338, NL80211_ATTR_S1G_LONG_BEACON_PERIOD = 339, NL80211_ATTR_S1G_SHORT_BEACON = 340, -__NL80211_ATTR_AFTER_LAST = 341, +NL80211_ATTR_BSS_PARAM = 341, +NL80211_ATTR_NAN_CONFIG = 342, +NL80211_ATTR_NAN_NEW_CLUSTER = 343, +NL80211_ATTR_NAN_CAPABILITIES = 344, +NL80211_ATTR_S1G_PRIMARY_2MHZ = 345, +__NL80211_ATTR_AFTER_LAST = 346, } #[repr(u32)] #[non_exhaustive] @@ -2384,6 +2400,16 @@ NL80211_RATE_INFO_EHT_GI_3_2 = 2, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_eht_ltf { +NL80211_RATE_INFO_EHT_1XLTF = 0, +NL80211_RATE_INFO_EHT_2XLTF = 1, +NL80211_RATE_INFO_EHT_4XLTF = 2, +NL80211_RATE_INFO_EHT_6XLTF = 3, +NL80211_RATE_INFO_EHT_8XLTF = 4, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_eht_ru_alloc { NL80211_RATE_INFO_EHT_RU_ALLOC_26 = 0, NL80211_RATE_INFO_EHT_RU_ALLOC_52 = 1, @@ -2645,7 +2671,10 @@ NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 31, NL80211_FREQUENCY_ATTR_CAN_MONITOR = 32, NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 33, NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY = 34, -__NL80211_FREQUENCY_ATTR_AFTER_LAST = 35, +NL80211_FREQUENCY_ATTR_NO_4MHZ = 35, +NL80211_FREQUENCY_ATTR_NO_8MHZ = 36, +NL80211_FREQUENCY_ATTR_NO_16MHZ = 37, +__NL80211_FREQUENCY_ATTR_AFTER_LAST = 38, } #[repr(u32)] #[non_exhaustive] @@ -3042,7 +3071,10 @@ NL80211_TXRATE_GI = 4, NL80211_TXRATE_HE = 5, NL80211_TXRATE_HE_GI = 6, NL80211_TXRATE_HE_LTF = 7, -__NL80211_TXRATE_AFTER_LAST = 8, +NL80211_TXRATE_EHT = 8, +NL80211_TXRATE_EHT_GI = 9, +NL80211_TXRATE_EHT_LTF = 10, +__NL80211_TXRATE_AFTER_LAST = 11, } #[repr(u32)] #[non_exhaustive] @@ -3418,7 +3450,8 @@ NL80211_EXT_FEATURE_OWE_OFFLOAD = 65, NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 66, NL80211_EXT_FEATURE_DFS_CONCURRENT = 67, NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 68, -NUM_NL80211_EXT_FEATURES = 69, +NL80211_EXT_FEATURE_BEACON_RATE_EHT = 69, +NUM_NL80211_EXT_FEATURES = 70, } #[repr(u32)] #[non_exhaustive] @@ -3621,6 +3654,34 @@ NUM_NL80211_NAN_MATCH_ATTR = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_band_conf_attributes { +__NL80211_NAN_BAND_CONF_INVALID = 0, +NL80211_NAN_BAND_CONF_BAND = 1, +NL80211_NAN_BAND_CONF_FREQ = 2, +NL80211_NAN_BAND_CONF_RSSI_CLOSE = 3, +NL80211_NAN_BAND_CONF_RSSI_MIDDLE = 4, +NL80211_NAN_BAND_CONF_WAKE_DW = 5, +NL80211_NAN_BAND_CONF_DISABLE_SCAN = 6, +NUM_NL80211_NAN_BAND_CONF_ATTR = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_conf_attributes { +__NL80211_NAN_CONF_INVALID = 0, +NL80211_NAN_CONF_CLUSTER_ID = 1, +NL80211_NAN_CONF_EXTRA_ATTRS = 2, +NL80211_NAN_CONF_VENDOR_ELEMS = 3, +NL80211_NAN_CONF_BAND_CONFIGS = 4, +NL80211_NAN_CONF_SCAN_PERIOD = 5, +NL80211_NAN_CONF_SCAN_DWELL_TIME = 6, +NL80211_NAN_CONF_DISCOVERY_BEACON_INTERVAL = 7, +NL80211_NAN_CONF_NOTIFY_DW = 8, +NUM_NL80211_NAN_CONF_ATTR = 9, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum nl80211_external_auth_action { NL80211_EXTERNAL_AUTH_START = 0, NL80211_EXTERNAL_AUTH_ABORT = 1, @@ -3942,6 +4003,19 @@ __NL80211_S1G_SHORT_BEACON_ATTR_LAST = 3, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nl80211_nan_capabilities { +__NL80211_NAN_CAPABILITIES_INVALID = 0, +NL80211_NAN_CAPA_CONFIGURABLE_SYNC = 1, +NL80211_NAN_CAPA_USERSPACE_DE = 2, +NL80211_NAN_CAPA_OP_MODE = 3, +NL80211_NAN_CAPA_NUM_ANTENNAS = 4, +NL80211_NAN_CAPA_MAX_CHANNEL_SWITCH_TIME = 5, +NL80211_NAN_CAPA_CAPABILITIES = 6, +__NL80211_NAN_CAPABILITIES_LAST = 7, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_2 { IFLA_UNSPEC = 0, IFLA_ADDRESS = 1, @@ -4011,7 +4085,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64, IFLA_DPLL_PIN = 65, IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, IFLA_NETNS_IMMUTABLE = 67, -__IFLA_MAX = 68, +IFLA_HEADROOM = 68, +IFLA_TAILROOM = 69, +__IFLA_MAX = 70, } #[repr(u32)] #[non_exhaustive] @@ -4591,7 +4667,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8, IFLA_BOND_SLAVE_PRIO = 9, -__IFLA_BOND_SLAVE_MAX = 10, +IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10, +__IFLA_BOND_SLAVE_MAX = 11, } #[repr(u32)] #[non_exhaustive] @@ -5379,13 +5456,13 @@ impl nl80211_commands { pub const NL80211_CMD_ACTION_TX_STATUS: nl80211_commands = nl80211_commands::NL80211_CMD_FRAME_TX_STATUS; } impl nl80211_commands { -pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_EPCS_CFG; +pub const NL80211_CMD_MAX: nl80211_commands = nl80211_commands::NL80211_CMD_NAN_CLUSTER_JOINED; } impl nl80211_attrs { pub const NUM_NL80211_ATTR: nl80211_attrs = nl80211_attrs::__NL80211_ATTR_AFTER_LAST; } impl nl80211_attrs { -pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_SHORT_BEACON; +pub const NL80211_ATTR_MAX: nl80211_attrs = nl80211_attrs::NL80211_ATTR_S1G_PRIMARY_2MHZ; } impl nl80211_iftype { pub const NL80211_IFTYPE_MAX: nl80211_iftype = nl80211_iftype::NL80211_IFTYPE_NAN; @@ -5421,7 +5498,7 @@ impl nl80211_wmm_rule { pub const NL80211_WMMR_MAX: nl80211_wmm_rule = nl80211_wmm_rule::NL80211_WMMR_TXOP; } impl nl80211_frequency_attr { -pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY; +pub const NL80211_FREQUENCY_ATTR_MAX: nl80211_frequency_attr = nl80211_frequency_attr::NL80211_FREQUENCY_ATTR_NO_16MHZ; } impl nl80211_bitrate_attr { pub const NL80211_BITRATE_ATTR_MAX: nl80211_bitrate_attr = nl80211_bitrate_attr::NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE; @@ -5463,7 +5540,7 @@ impl nl80211_key_attributes { pub const NL80211_KEY_MAX: nl80211_key_attributes = nl80211_key_attributes::NL80211_KEY_DEFAULT_BEACON; } impl nl80211_tx_rate_attributes { -pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_HE_LTF; +pub const NL80211_TXRATE_MAX: nl80211_tx_rate_attributes = nl80211_tx_rate_attributes::NL80211_TXRATE_EHT_LTF; } impl nl80211_attr_cqm { pub const NL80211_ATTR_CQM_MAX: nl80211_attr_cqm = nl80211_attr_cqm::NL80211_ATTR_CQM_RSSI_LEVEL; @@ -5505,7 +5582,7 @@ impl nl80211_ext_feature_index { pub const NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_ACK_SIGNAL_SUPPORT; } impl nl80211_ext_feature_index { -pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT; +pub const MAX_NL80211_EXT_FEATURES: nl80211_ext_feature_index = nl80211_ext_feature_index::NL80211_EXT_FEATURE_BEACON_RATE_EHT; } impl nl80211_smps_mode { pub const NL80211_SMPS_MAX: nl80211_smps_mode = nl80211_smps_mode::NL80211_SMPS_DYNAMIC; @@ -5528,6 +5605,12 @@ pub const NL80211_NAN_SRF_ATTR_MAX: nl80211_nan_srf_attributes = nl80211_nan_srf impl nl80211_nan_match_attributes { pub const NL80211_NAN_MATCH_ATTR_MAX: nl80211_nan_match_attributes = nl80211_nan_match_attributes::NL80211_NAN_MATCH_FUNC_PEER; } +impl nl80211_nan_band_conf_attributes { +pub const NL80211_NAN_BAND_CONF_ATTR_MAX: nl80211_nan_band_conf_attributes = nl80211_nan_band_conf_attributes::NL80211_NAN_BAND_CONF_DISABLE_SCAN; +} +impl nl80211_nan_conf_attributes { +pub const NL80211_NAN_CONF_ATTR_MAX: nl80211_nan_conf_attributes = nl80211_nan_conf_attributes::NL80211_NAN_CONF_NOTIFY_DW; +} impl nl80211_ftm_responder_attributes { pub const NL80211_FTM_RESP_ATTR_MAX: nl80211_ftm_responder_attributes = nl80211_ftm_responder_attributes::NL80211_FTM_RESP_ATTR_CIVICLOC; } @@ -5591,6 +5674,9 @@ pub const NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: nl80211_wiphy_radio_freq_range = nl impl nl80211_s1g_short_beacon_attrs { pub const NL80211_S1G_SHORT_BEACON_ATTR_MAX: nl80211_s1g_short_beacon_attrs = nl80211_s1g_short_beacon_attrs::NL80211_S1G_SHORT_BEACON_ATTR_TAIL; } +impl nl80211_nan_capabilities { +pub const NL80211_NAN_CAPABILITIES_MAX: nl80211_nan_capabilities = nl80211_nan_capabilities::NL80211_NAN_CAPA_CAPABILITIES; +} impl macsec_validation_type { pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT; } diff --git a/src/x86_64/prctl.rs b/src/x86_64/prctl.rs index c4980142..e98e0a80 100644 --- a/src/x86_64/prctl.rs +++ b/src/x86_64/prctl.rs @@ -150,6 +150,7 @@ 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_THP_DISABLE_EXCEPT_ADVISED: u32 = 2; pub const PR_GET_THP_DISABLE: u32 = 42; pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; diff --git a/src/x86_64/ptrace.rs b/src/x86_64/ptrace.rs index ebe66614..67629c6e 100644 --- a/src/x86_64/ptrace.rs +++ b/src/x86_64/ptrace.rs @@ -377,6 +377,8 @@ pub const AUDIT_IPE_CONFIG_CHANGE: u32 = 1421; pub const AUDIT_IPE_POLICY_LOAD: u32 = 1422; pub const AUDIT_LANDLOCK_ACCESS: u32 = 1423; pub const AUDIT_LANDLOCK_DOMAIN: u32 = 1424; +pub const AUDIT_MAC_TASK_CONTEXTS: u32 = 1425; +pub const AUDIT_MAC_OBJ_CONTEXTS: u32 = 1426; 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;