diff --git a/gen/src/main.rs b/gen/src/main.rs index add259db..47d679df 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.13"; +const LINUX_VERSION: &str = "v6.14"; /// Some commonly used features. const DEFAULT_FEATURES: &str = "\"general\", \"errno\""; diff --git a/src/aarch64/btrfs.rs b/src/aarch64/btrfs.rs index 7c0ee937..0c9716ef 100644 --- a/src/aarch64/btrfs.rs +++ b/src/aarch64/btrfs.rs @@ -1349,6 +1349,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/aarch64/general.rs b/src/aarch64/general.rs index 085c857a..01c48ff8 100644 --- a/src/aarch64/general.rs +++ b/src/aarch64/general.rs @@ -703,7 +703,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1026,9 +1026,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_MINSIGSTKSZ: u32 = 51; @@ -1243,6 +1243,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1429,6 +1430,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2079,6 +2084,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/aarch64/if_arp.rs b/src/aarch64/if_arp.rs index f214bb12..904444b1 100644 --- a/src/aarch64/if_arp.rs +++ b/src/aarch64/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/aarch64/io_uring.rs b/src/aarch64/io_uring.rs index e4844b6d..43f815e5 100644 --- a/src/aarch64/io_uring.rs +++ b/src/aarch64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -784,6 +801,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -862,6 +883,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -959,6 +981,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/aarch64/net.rs b/src/aarch64/net.rs index e89ef849..4ac1cdb7 100644 --- a/src/aarch64/net.rs +++ b/src/aarch64/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1586,6 +1605,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1795,6 +1815,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2108,6 +2129,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/aarch64/netlink.rs b/src/aarch64/netlink.rs index 6abe0a49..35495e3b 100644 --- a/src/aarch64/netlink.rs +++ b/src/aarch64/netlink.rs @@ -1012,6 +1012,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1067,6 +1069,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1408,7 +1411,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2002,7 +2009,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2077,7 +2086,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2644,7 +2654,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2762,7 +2776,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2869,7 +2884,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/aarch64/ptrace.rs b/src/aarch64/ptrace.rs index aaf6080b..1c0f36a7 100644 --- a/src/aarch64/ptrace.rs +++ b/src/aarch64/ptrace.rs @@ -442,6 +442,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; @@ -796,6 +797,21 @@ pub const HWCAP_SB: u32 = 536870912; pub const HWCAP_PACA: u32 = 1073741824; pub const HWCAP_PACG: u32 = 2147483648; pub const HWCAP_GCS: u64 = 4294967296; +pub const HWCAP_CMPBR: u64 = 8589934592; +pub const HWCAP_FPRCVT: u64 = 17179869184; +pub const HWCAP_F8MM8: u64 = 34359738368; +pub const HWCAP_F8MM4: u64 = 68719476736; +pub const HWCAP_SVE_F16MM: u64 = 137438953472; +pub const HWCAP_SVE_ELTPERM: u64 = 274877906944; +pub const HWCAP_SVE_AES2: u64 = 549755813888; +pub const HWCAP_SVE_BFSCALE: u64 = 1099511627776; +pub const HWCAP_SVE2P2: u64 = 2199023255552; +pub const HWCAP_SME2P2: u64 = 4398046511104; +pub const HWCAP_SME_SBITPERM: u64 = 8796093022208; +pub const HWCAP_SME_AES: u64 = 17592186044416; +pub const HWCAP_SME_SFEXPA: u64 = 35184372088832; +pub const HWCAP_SME_STMOP: u64 = 70368744177664; +pub const HWCAP_SME_SMOP4: u64 = 140737488355328; pub const HWCAP2_DCPODP: u32 = 1; pub const HWCAP2_SVE2: u32 = 2; pub const HWCAP2_SVEAES: u32 = 4; diff --git a/src/arm/btrfs.rs b/src/arm/btrfs.rs index 60a5d057..908238e0 100644 --- a/src/arm/btrfs.rs +++ b/src/arm/btrfs.rs @@ -1347,6 +1347,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/arm/general.rs b/src/arm/general.rs index fef9c970..2bd01a4f 100644 --- a/src/arm/general.rs +++ b/src/arm/general.rs @@ -696,7 +696,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1055,9 +1055,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_NULL: u32 = 0; @@ -1274,6 +1274,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1460,6 +1461,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2105,6 +2110,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/arm/if_arp.rs b/src/arm/if_arp.rs index 19895deb..9d8de0ab 100644 --- a/src/arm/if_arp.rs +++ b/src/arm/if_arp.rs @@ -1295,6 +1295,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1350,6 +1352,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2137,7 +2140,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2212,7 +2217,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/arm/io_uring.rs b/src/arm/io_uring.rs index bb2b74b6..c664088c 100644 --- a/src/arm/io_uring.rs +++ b/src/arm/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -782,6 +799,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -860,6 +881,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -957,6 +979,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/arm/net.rs b/src/arm/net.rs index f8695150..1b5f463a 100644 --- a/src/arm/net.rs +++ b/src/arm/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1578,6 +1597,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1787,6 +1807,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2100,6 +2121,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/arm/netlink.rs b/src/arm/netlink.rs index 08aeeaaf..fc0ebd15 100644 --- a/src/arm/netlink.rs +++ b/src/arm/netlink.rs @@ -1010,6 +1010,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1065,6 +1067,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1406,7 +1409,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2000,7 +2007,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2075,7 +2084,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2642,7 +2652,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2760,7 +2774,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2867,7 +2882,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/arm/ptrace.rs b/src/arm/ptrace.rs index 0860d6e5..ab4f9255 100644 --- a/src/arm/ptrace.rs +++ b/src/arm/ptrace.rs @@ -365,6 +365,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/csky/btrfs.rs b/src/csky/btrfs.rs index 2e88fe21..2c416887 100644 --- a/src/csky/btrfs.rs +++ b/src/csky/btrfs.rs @@ -1347,6 +1347,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/csky/general.rs b/src/csky/general.rs index c5734508..363ec552 100644 --- a/src/csky/general.rs +++ b/src/csky/general.rs @@ -701,7 +701,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1048,9 +1048,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_NULL: u32 = 0; pub const AT_IGNORE: u32 = 1; @@ -1266,6 +1266,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1452,6 +1453,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2095,6 +2100,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/csky/if_arp.rs b/src/csky/if_arp.rs index e04c2175..a6128907 100644 --- a/src/csky/if_arp.rs +++ b/src/csky/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/csky/io_uring.rs b/src/csky/io_uring.rs index 241e6556..646e4587 100644 --- a/src/csky/io_uring.rs +++ b/src/csky/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u32; 4usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -786,6 +803,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -864,6 +885,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -961,6 +983,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/csky/net.rs b/src/csky/net.rs index 812efc0c..6a1bb55d 100644 --- a/src/csky/net.rs +++ b/src/csky/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1229,6 +1247,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1580,6 +1599,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1789,6 +1809,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2102,6 +2123,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/csky/netlink.rs b/src/csky/netlink.rs index 3ef9b03a..05add609 100644 --- a/src/csky/netlink.rs +++ b/src/csky/netlink.rs @@ -1010,6 +1010,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1065,6 +1067,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1406,7 +1409,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2000,7 +2007,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2075,7 +2084,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2642,7 +2652,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2760,7 +2774,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2867,7 +2882,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/csky/ptrace.rs b/src/csky/ptrace.rs index 7c196b5c..7de0dc3d 100644 --- a/src/csky/ptrace.rs +++ b/src/csky/ptrace.rs @@ -384,6 +384,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/loongarch64/btrfs.rs b/src/loongarch64/btrfs.rs index 941a4a21..8c6823f0 100644 --- a/src/loongarch64/btrfs.rs +++ b/src/loongarch64/btrfs.rs @@ -1349,6 +1349,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/loongarch64/general.rs b/src/loongarch64/general.rs index 837e26f4..06d1cfe8 100644 --- a/src/loongarch64/general.rs +++ b/src/loongarch64/general.rs @@ -702,7 +702,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1024,9 +1024,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1241,6 +1241,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1427,6 +1428,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2070,6 +2075,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/loongarch64/if_arp.rs b/src/loongarch64/if_arp.rs index fcb2f485..8731d592 100644 --- a/src/loongarch64/if_arp.rs +++ b/src/loongarch64/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/loongarch64/io_uring.rs b/src/loongarch64/io_uring.rs index 0558dcba..e0ffdd5f 100644 --- a/src/loongarch64/io_uring.rs +++ b/src/loongarch64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -784,6 +801,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -862,6 +883,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -959,6 +981,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/loongarch64/net.rs b/src/loongarch64/net.rs index 6890cdda..f8006e7c 100644 --- a/src/loongarch64/net.rs +++ b/src/loongarch64/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1586,6 +1605,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1795,6 +1815,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2108,6 +2129,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/loongarch64/netlink.rs b/src/loongarch64/netlink.rs index 0fafa7ac..9c6c594c 100644 --- a/src/loongarch64/netlink.rs +++ b/src/loongarch64/netlink.rs @@ -1012,6 +1012,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1067,6 +1069,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1408,7 +1411,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2002,7 +2009,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2077,7 +2086,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2644,7 +2654,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2762,7 +2776,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2869,7 +2884,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/loongarch64/ptrace.rs b/src/loongarch64/ptrace.rs index e36f555f..b33ab3c2 100644 --- a/src/loongarch64/ptrace.rs +++ b/src/loongarch64/ptrace.rs @@ -217,6 +217,20 @@ pub pad: u32, } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct user_watch_state_v2 { +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, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct seccomp_data { pub nr: crate::ctypes::c_int, pub arch: __u32, @@ -409,6 +423,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/mips/btrfs.rs b/src/mips/btrfs.rs index 221cfc2f..65edb0cf 100644 --- a/src/mips/btrfs.rs +++ b/src/mips/btrfs.rs @@ -1357,6 +1357,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/mips/general.rs b/src/mips/general.rs index 6bc39d8c..e84ba63e 100644 --- a/src/mips/general.rs +++ b/src/mips/general.rs @@ -703,7 +703,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1062,9 +1062,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1292,6 +1292,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1478,6 +1479,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2119,6 +2124,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/mips/if_arp.rs b/src/mips/if_arp.rs index 8f2e3e26..e267ed18 100644 --- a/src/mips/if_arp.rs +++ b/src/mips/if_arp.rs @@ -1305,6 +1305,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1360,6 +1362,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2147,7 +2150,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2222,7 +2227,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips/io_uring.rs b/src/mips/io_uring.rs index aa544944..c6da87ac 100644 --- a/src/mips/io_uring.rs +++ b/src/mips/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -792,6 +809,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -870,6 +891,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -967,6 +989,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/mips/net.rs b/src/mips/net.rs index ba0a96a1..66cb65c8 100644 --- a/src/mips/net.rs +++ b/src/mips/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1258,6 +1276,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1609,6 +1628,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1818,6 +1838,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2131,6 +2152,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/mips/netlink.rs b/src/mips/netlink.rs index 58bc1bab..5fe60f6c 100644 --- a/src/mips/netlink.rs +++ b/src/mips/netlink.rs @@ -1020,6 +1020,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1075,6 +1077,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1416,7 +1419,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2010,7 +2017,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2085,7 +2094,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2652,7 +2662,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2770,7 +2784,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2877,7 +2892,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips/ptrace.rs b/src/mips/ptrace.rs index 55cee2e4..6f9ca928 100644 --- a/src/mips/ptrace.rs +++ b/src/mips/ptrace.rs @@ -404,6 +404,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/mips32r6/btrfs.rs b/src/mips32r6/btrfs.rs index 221cfc2f..65edb0cf 100644 --- a/src/mips32r6/btrfs.rs +++ b/src/mips32r6/btrfs.rs @@ -1357,6 +1357,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/mips32r6/general.rs b/src/mips32r6/general.rs index 6bc39d8c..e84ba63e 100644 --- a/src/mips32r6/general.rs +++ b/src/mips32r6/general.rs @@ -703,7 +703,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1062,9 +1062,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1292,6 +1292,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1478,6 +1479,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2119,6 +2124,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/mips32r6/if_arp.rs b/src/mips32r6/if_arp.rs index 8f2e3e26..e267ed18 100644 --- a/src/mips32r6/if_arp.rs +++ b/src/mips32r6/if_arp.rs @@ -1305,6 +1305,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1360,6 +1362,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2147,7 +2150,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2222,7 +2227,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips32r6/io_uring.rs b/src/mips32r6/io_uring.rs index aa544944..c6da87ac 100644 --- a/src/mips32r6/io_uring.rs +++ b/src/mips32r6/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -792,6 +809,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -870,6 +891,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -967,6 +989,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/mips32r6/net.rs b/src/mips32r6/net.rs index ba0a96a1..66cb65c8 100644 --- a/src/mips32r6/net.rs +++ b/src/mips32r6/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1258,6 +1276,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1609,6 +1628,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1818,6 +1838,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2131,6 +2152,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/mips32r6/netlink.rs b/src/mips32r6/netlink.rs index 58bc1bab..5fe60f6c 100644 --- a/src/mips32r6/netlink.rs +++ b/src/mips32r6/netlink.rs @@ -1020,6 +1020,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1075,6 +1077,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1416,7 +1419,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2010,7 +2017,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2085,7 +2094,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2652,7 +2662,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2770,7 +2784,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2877,7 +2892,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips32r6/ptrace.rs b/src/mips32r6/ptrace.rs index 55cee2e4..6f9ca928 100644 --- a/src/mips32r6/ptrace.rs +++ b/src/mips32r6/ptrace.rs @@ -404,6 +404,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/mips64/btrfs.rs b/src/mips64/btrfs.rs index d28a05c9..639204eb 100644 --- a/src/mips64/btrfs.rs +++ b/src/mips64/btrfs.rs @@ -1359,6 +1359,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/mips64/general.rs b/src/mips64/general.rs index 327926c6..d89cfe96 100644 --- a/src/mips64/general.rs +++ b/src/mips64/general.rs @@ -703,7 +703,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1054,9 +1054,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1281,6 +1281,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1467,6 +1468,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2108,6 +2113,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/mips64/if_arp.rs b/src/mips64/if_arp.rs index 39b6dc5c..c3ecc455 100644 --- a/src/mips64/if_arp.rs +++ b/src/mips64/if_arp.rs @@ -1307,6 +1307,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1362,6 +1364,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2149,7 +2152,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2224,7 +2229,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64/io_uring.rs b/src/mips64/io_uring.rs index 752ad21c..3c13d3a1 100644 --- a/src/mips64/io_uring.rs +++ b/src/mips64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -794,6 +811,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -872,6 +893,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -969,6 +991,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/mips64/net.rs b/src/mips64/net.rs index 4fc0e227..ad83d15a 100644 --- a/src/mips64/net.rs +++ b/src/mips64/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1258,6 +1276,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1617,6 +1636,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1826,6 +1846,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2139,6 +2160,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/mips64/netlink.rs b/src/mips64/netlink.rs index 2a34d259..cd36e16f 100644 --- a/src/mips64/netlink.rs +++ b/src/mips64/netlink.rs @@ -1022,6 +1022,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1077,6 +1079,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1418,7 +1421,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2012,7 +2019,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2087,7 +2096,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2654,7 +2664,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2772,7 +2786,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2879,7 +2894,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64/ptrace.rs b/src/mips64/ptrace.rs index 75c836b6..9d70c079 100644 --- a/src/mips64/ptrace.rs +++ b/src/mips64/ptrace.rs @@ -406,6 +406,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/mips64r6/btrfs.rs b/src/mips64r6/btrfs.rs index d28a05c9..639204eb 100644 --- a/src/mips64r6/btrfs.rs +++ b/src/mips64r6/btrfs.rs @@ -1359,6 +1359,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/mips64r6/general.rs b/src/mips64r6/general.rs index 327926c6..d89cfe96 100644 --- a/src/mips64r6/general.rs +++ b/src/mips64r6/general.rs @@ -703,7 +703,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1054,9 +1054,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1281,6 +1281,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1467,6 +1468,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2108,6 +2113,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/mips64r6/if_arp.rs b/src/mips64r6/if_arp.rs index 39b6dc5c..c3ecc455 100644 --- a/src/mips64r6/if_arp.rs +++ b/src/mips64r6/if_arp.rs @@ -1307,6 +1307,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1362,6 +1364,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2149,7 +2152,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2224,7 +2229,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64r6/io_uring.rs b/src/mips64r6/io_uring.rs index 752ad21c..3c13d3a1 100644 --- a/src/mips64r6/io_uring.rs +++ b/src/mips64r6/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -794,6 +811,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -872,6 +893,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -969,6 +991,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/mips64r6/net.rs b/src/mips64r6/net.rs index 4fc0e227..ad83d15a 100644 --- a/src/mips64r6/net.rs +++ b/src/mips64r6/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1258,6 +1276,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1617,6 +1636,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1826,6 +1846,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2139,6 +2160,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/mips64r6/netlink.rs b/src/mips64r6/netlink.rs index 2a34d259..cd36e16f 100644 --- a/src/mips64r6/netlink.rs +++ b/src/mips64r6/netlink.rs @@ -1022,6 +1022,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1077,6 +1079,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1418,7 +1421,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2012,7 +2019,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2087,7 +2096,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2654,7 +2664,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2772,7 +2786,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2879,7 +2894,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/mips64r6/ptrace.rs b/src/mips64r6/ptrace.rs index 75c836b6..9d70c079 100644 --- a/src/mips64r6/ptrace.rs +++ b/src/mips64r6/ptrace.rs @@ -406,6 +406,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/powerpc/btrfs.rs b/src/powerpc/btrfs.rs index 6962b74e..16ea3b4a 100644 --- a/src/powerpc/btrfs.rs +++ b/src/powerpc/btrfs.rs @@ -1353,6 +1353,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/powerpc/general.rs b/src/powerpc/general.rs index 289f8de6..3109d991 100644 --- a/src/powerpc/general.rs +++ b/src/powerpc/general.rs @@ -722,7 +722,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1100,9 +1100,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_DCACHEBSIZE: u32 = 19; pub const AT_ICACHEBSIZE: u32 = 20; @@ -1332,6 +1332,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1518,6 +1519,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2167,6 +2172,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/powerpc/if_arp.rs b/src/powerpc/if_arp.rs index 05a75ec3..fed4b95d 100644 --- a/src/powerpc/if_arp.rs +++ b/src/powerpc/if_arp.rs @@ -1301,6 +1301,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1356,6 +1358,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2143,7 +2146,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2218,7 +2223,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc/io_uring.rs b/src/powerpc/io_uring.rs index 645b64da..66001f23 100644 --- a/src/powerpc/io_uring.rs +++ b/src/powerpc/io_uring.rs @@ -366,6 +366,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -377,6 +378,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -788,6 +805,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -866,6 +887,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -963,6 +985,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/powerpc/net.rs b/src/powerpc/net.rs index ea4b85b9..46449b44 100644 --- a/src/powerpc/net.rs +++ b/src/powerpc/net.rs @@ -239,6 +239,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1233,6 +1251,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1584,6 +1603,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1793,6 +1813,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2106,6 +2127,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/powerpc/netlink.rs b/src/powerpc/netlink.rs index 51324606..9695970e 100644 --- a/src/powerpc/netlink.rs +++ b/src/powerpc/netlink.rs @@ -1016,6 +1016,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1071,6 +1073,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1412,7 +1415,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2006,7 +2013,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2081,7 +2090,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2648,7 +2658,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2766,7 +2780,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2873,7 +2888,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc/ptrace.rs b/src/powerpc/ptrace.rs index ead32699..be7321fd 100644 --- a/src/powerpc/ptrace.rs +++ b/src/powerpc/ptrace.rs @@ -405,6 +405,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/powerpc64/btrfs.rs b/src/powerpc64/btrfs.rs index 099b9541..71e28b53 100644 --- a/src/powerpc64/btrfs.rs +++ b/src/powerpc64/btrfs.rs @@ -1355,6 +1355,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/powerpc64/general.rs b/src/powerpc64/general.rs index cc4d96f2..2246176d 100644 --- a/src/powerpc64/general.rs +++ b/src/powerpc64/general.rs @@ -718,7 +718,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1082,9 +1082,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_DCACHEBSIZE: u32 = 19; pub const AT_ICACHEBSIZE: u32 = 20; @@ -1311,6 +1311,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1497,6 +1498,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2144,6 +2149,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/powerpc64/if_arp.rs b/src/powerpc64/if_arp.rs index 2ce5a623..560ab2ed 100644 --- a/src/powerpc64/if_arp.rs +++ b/src/powerpc64/if_arp.rs @@ -1303,6 +1303,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1358,6 +1360,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2145,7 +2148,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2220,7 +2225,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc64/io_uring.rs b/src/powerpc64/io_uring.rs index 915a81a9..9bf9f4b9 100644 --- a/src/powerpc64/io_uring.rs +++ b/src/powerpc64/io_uring.rs @@ -368,6 +368,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -379,6 +380,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -790,6 +807,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -868,6 +889,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -965,6 +987,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/powerpc64/net.rs b/src/powerpc64/net.rs index 5f681c3e..7c300568 100644 --- a/src/powerpc64/net.rs +++ b/src/powerpc64/net.rs @@ -241,6 +241,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1233,6 +1251,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1592,6 +1611,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1801,6 +1821,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2114,6 +2135,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/powerpc64/netlink.rs b/src/powerpc64/netlink.rs index 3a703fe1..b694f435 100644 --- a/src/powerpc64/netlink.rs +++ b/src/powerpc64/netlink.rs @@ -1018,6 +1018,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1073,6 +1075,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1414,7 +1417,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2008,7 +2015,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2083,7 +2092,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2650,7 +2660,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2768,7 +2782,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2875,7 +2890,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/powerpc64/ptrace.rs b/src/powerpc64/ptrace.rs index 70861450..8ab54681 100644 --- a/src/powerpc64/ptrace.rs +++ b/src/powerpc64/ptrace.rs @@ -407,6 +407,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/riscv32/btrfs.rs b/src/riscv32/btrfs.rs index 2e88fe21..2c416887 100644 --- a/src/riscv32/btrfs.rs +++ b/src/riscv32/btrfs.rs @@ -1347,6 +1347,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/riscv32/general.rs b/src/riscv32/general.rs index 7c2f7537..b9b0f0a9 100644 --- a/src/riscv32/general.rs +++ b/src/riscv32/general.rs @@ -700,7 +700,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1046,9 +1046,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_L1I_CACHESIZE: u32 = 40; @@ -1274,6 +1274,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1460,6 +1461,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2103,6 +2108,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/riscv32/if_arp.rs b/src/riscv32/if_arp.rs index ee7947f6..2c3ae1fe 100644 --- a/src/riscv32/if_arp.rs +++ b/src/riscv32/if_arp.rs @@ -1295,6 +1295,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1350,6 +1352,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2137,7 +2140,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2212,7 +2217,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv32/io_uring.rs b/src/riscv32/io_uring.rs index 2f81a093..fd70be99 100644 --- a/src/riscv32/io_uring.rs +++ b/src/riscv32/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -782,6 +799,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -860,6 +881,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -957,6 +979,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/riscv32/net.rs b/src/riscv32/net.rs index 8cf024fd..7f32aad5 100644 --- a/src/riscv32/net.rs +++ b/src/riscv32/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1578,6 +1597,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1787,6 +1807,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2100,6 +2121,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/riscv32/netlink.rs b/src/riscv32/netlink.rs index 3ef9b03a..05add609 100644 --- a/src/riscv32/netlink.rs +++ b/src/riscv32/netlink.rs @@ -1010,6 +1010,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1065,6 +1067,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1406,7 +1409,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2000,7 +2007,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2075,7 +2084,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2642,7 +2652,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2760,7 +2774,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2867,7 +2882,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv32/ptrace.rs b/src/riscv32/ptrace.rs index 8a7059b6..5193f1ad 100644 --- a/src/riscv32/ptrace.rs +++ b/src/riscv32/ptrace.rs @@ -450,6 +450,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/riscv64/btrfs.rs b/src/riscv64/btrfs.rs index 941a4a21..8c6823f0 100644 --- a/src/riscv64/btrfs.rs +++ b/src/riscv64/btrfs.rs @@ -1349,6 +1349,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/riscv64/general.rs b/src/riscv64/general.rs index 3420adfb..9fcaccf3 100644 --- a/src/riscv64/general.rs +++ b/src/riscv64/general.rs @@ -702,7 +702,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1024,9 +1024,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_L1I_CACHESIZE: u32 = 40; @@ -1249,6 +1249,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1435,6 +1436,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2078,6 +2083,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/riscv64/if_arp.rs b/src/riscv64/if_arp.rs index fcb2f485..8731d592 100644 --- a/src/riscv64/if_arp.rs +++ b/src/riscv64/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv64/io_uring.rs b/src/riscv64/io_uring.rs index 0558dcba..e0ffdd5f 100644 --- a/src/riscv64/io_uring.rs +++ b/src/riscv64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -784,6 +801,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -862,6 +883,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -959,6 +981,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/riscv64/net.rs b/src/riscv64/net.rs index 6890cdda..f8006e7c 100644 --- a/src/riscv64/net.rs +++ b/src/riscv64/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1586,6 +1605,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1795,6 +1815,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2108,6 +2129,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/riscv64/netlink.rs b/src/riscv64/netlink.rs index 0fafa7ac..9c6c594c 100644 --- a/src/riscv64/netlink.rs +++ b/src/riscv64/netlink.rs @@ -1012,6 +1012,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1067,6 +1069,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1408,7 +1411,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2002,7 +2009,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2077,7 +2086,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2644,7 +2654,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2762,7 +2776,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2869,7 +2884,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/riscv64/ptrace.rs b/src/riscv64/ptrace.rs index 9894ccf3..22195df5 100644 --- a/src/riscv64/ptrace.rs +++ b/src/riscv64/ptrace.rs @@ -452,6 +452,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/s390x/btrfs.rs b/src/s390x/btrfs.rs index b1083053..b7ff51d0 100644 --- a/src/s390x/btrfs.rs +++ b/src/s390x/btrfs.rs @@ -1363,6 +1363,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/s390x/general.rs b/src/s390x/general.rs index 8e807304..9c0c159d 100644 --- a/src/s390x/general.rs +++ b/src/s390x/general.rs @@ -748,7 +748,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1023,9 +1023,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 1; @@ -1240,6 +1240,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1426,6 +1427,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2088,6 +2093,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/s390x/if_arp.rs b/src/s390x/if_arp.rs index f513feec..3e778276 100644 --- a/src/s390x/if_arp.rs +++ b/src/s390x/if_arp.rs @@ -1311,6 +1311,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1366,6 +1368,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2153,7 +2156,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2228,7 +2233,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/s390x/io_uring.rs b/src/s390x/io_uring.rs index 00764184..4ae80908 100644 --- a/src/s390x/io_uring.rs +++ b/src/s390x/io_uring.rs @@ -376,6 +376,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -387,6 +388,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -798,6 +815,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -876,6 +897,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -973,6 +995,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/s390x/net.rs b/src/s390x/net.rs index 8f2741de..ee4bb945 100644 --- a/src/s390x/net.rs +++ b/src/s390x/net.rs @@ -249,6 +249,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1241,6 +1259,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1600,6 +1619,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1809,6 +1829,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2122,6 +2143,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/s390x/netlink.rs b/src/s390x/netlink.rs index b2cabbb5..7eea3167 100644 --- a/src/s390x/netlink.rs +++ b/src/s390x/netlink.rs @@ -1026,6 +1026,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1081,6 +1083,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1422,7 +1425,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2016,7 +2023,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2091,7 +2100,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2658,7 +2668,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2776,7 +2790,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2883,7 +2898,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/s390x/ptrace.rs b/src/s390x/ptrace.rs index 2148d8d0..bad963f8 100644 --- a/src/s390x/ptrace.rs +++ b/src/s390x/ptrace.rs @@ -480,6 +480,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/sparc/btrfs.rs b/src/sparc/btrfs.rs index e95c606b..7af735b0 100644 --- a/src/sparc/btrfs.rs +++ b/src/sparc/btrfs.rs @@ -1348,6 +1348,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/sparc/general.rs b/src/sparc/general.rs index b99fba6c..44da5839 100644 --- a/src/sparc/general.rs +++ b/src/sparc/general.rs @@ -717,7 +717,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1060,9 +1060,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_ADI_BLKSZ: u32 = 48; @@ -1283,6 +1283,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 4194304; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1470,6 +1471,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2144,6 +2149,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/sparc/if_arp.rs b/src/sparc/if_arp.rs index 14a7a5a6..502e481c 100644 --- a/src/sparc/if_arp.rs +++ b/src/sparc/if_arp.rs @@ -1511,6 +1511,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1566,6 +1568,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2353,7 +2356,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2428,7 +2433,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc/io_uring.rs b/src/sparc/io_uring.rs index db4174b7..6ab08a2e 100644 --- a/src/sparc/io_uring.rs +++ b/src/sparc/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -783,6 +800,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -861,6 +882,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -958,6 +980,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/sparc/net.rs b/src/sparc/net.rs index 0bd7a9af..d1b3bea7 100644 --- a/src/sparc/net.rs +++ b/src/sparc/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1443,6 +1461,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 88; pub const SCM_DEVMEM_DMABUF: u32 = 88; pub const SO_DEVMEM_DONTNEED: u32 = 89; pub const SCM_TS_OPT_ID: u32 = 90; +pub const SO_RCVPRIORITY: u32 = 91; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1794,6 +1813,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -2003,6 +2023,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2316,6 +2337,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/sparc/netlink.rs b/src/sparc/netlink.rs index ae0f359d..98fd98cb 100644 --- a/src/sparc/netlink.rs +++ b/src/sparc/netlink.rs @@ -1010,6 +1010,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1065,6 +1067,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1406,7 +1409,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2000,7 +2007,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2075,7 +2084,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2642,7 +2652,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2760,7 +2774,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2867,7 +2882,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc/ptrace.rs b/src/sparc/ptrace.rs index a81af84a..b4c6f2f5 100644 --- a/src/sparc/ptrace.rs +++ b/src/sparc/ptrace.rs @@ -386,6 +386,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/sparc64/btrfs.rs b/src/sparc64/btrfs.rs index 90496dd1..a91fde14 100644 --- a/src/sparc64/btrfs.rs +++ b/src/sparc64/btrfs.rs @@ -1356,6 +1356,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/sparc64/general.rs b/src/sparc64/general.rs index e91368a4..727e4dde 100644 --- a/src/sparc64/general.rs +++ b/src/sparc64/general.rs @@ -719,7 +719,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_ADI_BLKSZ: u32 = 48; @@ -1277,6 +1277,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 4194304; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1464,6 +1465,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2138,6 +2143,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/sparc64/if_arp.rs b/src/sparc64/if_arp.rs index fc28e409..fe1736cf 100644 --- a/src/sparc64/if_arp.rs +++ b/src/sparc64/if_arp.rs @@ -1519,6 +1519,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1574,6 +1576,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2361,7 +2364,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2436,7 +2441,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc64/io_uring.rs b/src/sparc64/io_uring.rs index 06d715b2..a37d024f 100644 --- a/src/sparc64/io_uring.rs +++ b/src/sparc64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -785,6 +802,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -863,6 +884,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -960,6 +982,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/sparc64/net.rs b/src/sparc64/net.rs index ef685a60..33132d8e 100644 --- a/src/sparc64/net.rs +++ b/src/sparc64/net.rs @@ -241,6 +241,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1449,6 +1467,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 88; pub const SCM_DEVMEM_DMABUF: u32 = 88; pub const SO_DEVMEM_DONTNEED: u32 = 89; pub const SCM_TS_OPT_ID: u32 = 90; +pub const SO_RCVPRIORITY: u32 = 91; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 33; pub const SO_TIMESTAMPING: u32 = 35; @@ -1808,6 +1827,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -2017,6 +2037,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2330,6 +2351,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/sparc64/netlink.rs b/src/sparc64/netlink.rs index 38427e82..0fc4d7b2 100644 --- a/src/sparc64/netlink.rs +++ b/src/sparc64/netlink.rs @@ -1018,6 +1018,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1073,6 +1075,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1414,7 +1417,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2008,7 +2015,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2083,7 +2092,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2650,7 +2660,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2768,7 +2782,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2875,7 +2890,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/sparc64/ptrace.rs b/src/sparc64/ptrace.rs index 3c69cf54..d128c6d0 100644 --- a/src/sparc64/ptrace.rs +++ b/src/sparc64/ptrace.rs @@ -429,6 +429,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/x32/btrfs.rs b/src/x32/btrfs.rs index c705c0bd..772ae198 100644 --- a/src/x32/btrfs.rs +++ b/src/x32/btrfs.rs @@ -1349,6 +1349,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/x32/general.rs b/src/x32/general.rs index ef4a0f3c..e1f9a3a4 100644 --- a/src/x32/general.rs +++ b/src/x32/general.rs @@ -700,7 +700,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1036,9 +1036,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 3; @@ -1256,6 +1256,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1442,6 +1443,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2087,6 +2092,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/x32/if_arp.rs b/src/x32/if_arp.rs index a94b9325..645dc0e7 100644 --- a/src/x32/if_arp.rs +++ b/src/x32/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x32/io_uring.rs b/src/x32/io_uring.rs index 933f4c06..cdd1f50a 100644 --- a/src/x32/io_uring.rs +++ b/src/x32/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -784,6 +801,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -862,6 +883,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -959,6 +981,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/x32/net.rs b/src/x32/net.rs index 481e7667..51a2de36 100644 --- a/src/x32/net.rs +++ b/src/x32/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1229,6 +1247,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1588,6 +1607,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1797,6 +1817,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2110,6 +2131,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/x32/netlink.rs b/src/x32/netlink.rs index 2964383e..86ce96c2 100644 --- a/src/x32/netlink.rs +++ b/src/x32/netlink.rs @@ -1012,6 +1012,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1067,6 +1069,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1408,7 +1411,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2002,7 +2009,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2077,7 +2086,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2644,7 +2654,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2762,7 +2776,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2869,7 +2884,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x32/ptrace.rs b/src/x32/ptrace.rs index bee9b4cd..35aac4aa 100644 --- a/src/x32/ptrace.rs +++ b/src/x32/ptrace.rs @@ -387,6 +387,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/x86/btrfs.rs b/src/x86/btrfs.rs index 60a5d057..908238e0 100644 --- a/src/x86/btrfs.rs +++ b/src/x86/btrfs.rs @@ -1347,6 +1347,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/x86/general.rs b/src/x86/general.rs index 3c6c4e2f..c44fe0c4 100644 --- a/src/x86/general.rs +++ b/src/x86/general.rs @@ -697,7 +697,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1057,9 +1057,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO: u32 = 32; pub const AT_SYSINFO_EHDR: u32 = 33; @@ -1278,6 +1278,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1464,6 +1465,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2109,6 +2114,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/x86/if_arp.rs b/src/x86/if_arp.rs index dfe4195b..6c9bd7c0 100644 --- a/src/x86/if_arp.rs +++ b/src/x86/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86/io_uring.rs b/src/x86/io_uring.rs index 94d26aa1..edfdf9d0 100644 --- a/src/x86/io_uring.rs +++ b/src/x86/io_uring.rs @@ -360,6 +360,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u32; 4usize], @@ -371,6 +372,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -786,6 +803,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -864,6 +885,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -961,6 +983,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/x86/net.rs b/src/x86/net.rs index bd922e6b..a96912e3 100644 --- a/src/x86/net.rs +++ b/src/x86/net.rs @@ -233,6 +233,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1229,6 +1247,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SYS_SOCKET: u32 = 1; pub const SYS_BIND: u32 = 2; pub const SYS_CONNECT: u32 = 3; @@ -1580,6 +1599,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1789,6 +1809,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2102,6 +2123,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/x86/netlink.rs b/src/x86/netlink.rs index 08aeeaaf..fc0ebd15 100644 --- a/src/x86/netlink.rs +++ b/src/x86/netlink.rs @@ -1010,6 +1010,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1065,6 +1067,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1406,7 +1409,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2000,7 +2007,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2075,7 +2084,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2642,7 +2652,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2760,7 +2774,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2867,7 +2882,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86/ptrace.rs b/src/x86/ptrace.rs index 69c35540..6b6b859d 100644 --- a/src/x86/ptrace.rs +++ b/src/x86/ptrace.rs @@ -381,6 +381,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1; diff --git a/src/x86_64/btrfs.rs b/src/x86_64/btrfs.rs index cd8650f5..e99f6831 100644 --- a/src/x86_64/btrfs.rs +++ b/src/x86_64/btrfs.rs @@ -1349,6 +1349,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; diff --git a/src/x86_64/general.rs b/src/x86_64/general.rs index c4024694..f742dfce 100644 --- a/src/x86_64/general.rs +++ b/src/x86_64/general.rs @@ -698,7 +698,7 @@ pub stx_subvol: __u64, pub stx_atomic_write_unit_min: __u32, pub stx_atomic_write_unit_max: __u32, pub stx_atomic_write_segments_max: __u32, -pub __spare1: [__u32; 1usize], +pub stx_dio_read_offset_align: __u32, pub __spare3: [__u64; 9usize], } #[repr(C)] @@ -1034,9 +1034,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 = 396544; +pub const LINUX_VERSION_CODE: u32 = 396800; pub const LINUX_VERSION_MAJOR: u32 = 6; -pub const LINUX_VERSION_PATCHLEVEL: u32 = 13; +pub const LINUX_VERSION_PATCHLEVEL: u32 = 14; pub const LINUX_VERSION_SUBLEVEL: u32 = 0; pub const AT_SYSINFO_EHDR: u32 = 33; pub const AT_VECTOR_SIZE_ARCH: u32 = 3; @@ -1251,6 +1251,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_HANDLE_FID: u32 = 512; pub const AT_HANDLE_MNT_ID_UNIQUE: u32 = 1; pub const AT_HANDLE_CONNECTABLE: u32 = 2; +pub const AT_EXECVE_CHECK: u32 = 65536; pub const EPOLL_CLOEXEC: u32 = 524288; pub const EPOLL_CTL_ADD: u32 = 1; pub const EPOLL_CTL_DEL: u32 = 2; @@ -1437,6 +1438,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -2082,6 +2087,7 @@ pub const STATX_DIOALIGN: u32 = 8192; pub const STATX_MNT_ID_UNIQUE: u32 = 16384; pub const STATX_SUBVOL: u32 = 32768; pub const STATX_WRITE_ATOMIC: u32 = 65536; +pub const STATX_DIO_READ_ALIGN: u32 = 131072; pub const STATX__RESERVED: u32 = 2147483648; pub const STATX_ALL: u32 = 4095; pub const STATX_ATTR_COMPRESSED: u32 = 4; diff --git a/src/x86_64/if_arp.rs b/src/x86_64/if_arp.rs index 5d130145..df7b2322 100644 --- a/src/x86_64/if_arp.rs +++ b/src/x86_64/if_arp.rs @@ -1297,6 +1297,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_20 = _bindgen_ty_20::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_20 = _bindgen_ty_20::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_21 = _bindgen_ty_21::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1352,6 +1354,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_24 = _bindgen_ty_24::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_ID; @@ -2139,7 +2142,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2214,7 +2219,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86_64/io_uring.rs b/src/x86_64/io_uring.rs index 1a09c539..2242f7f2 100644 --- a/src/x86_64/io_uring.rs +++ b/src/x86_64/io_uring.rs @@ -362,6 +362,7 @@ pub __pad3: [__u16; 1usize], #[repr(C)] pub struct io_uring_sqe__bindgen_ty_6 { pub __bindgen_anon_1: __BindgenUnionField, +pub __bindgen_anon_2: __BindgenUnionField, pub optval: __BindgenUnionField<__u64>, pub cmd: __BindgenUnionField<[__u8; 0usize]>, pub bindgen_union_field: [u64; 2usize], @@ -373,6 +374,22 @@ pub addr3: __u64, pub __pad2: [__u64; 1usize], } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_sqe__bindgen_ty_6__bindgen_ty_2 { +pub attr_ptr: __u64, +pub attr_type_mask: __u64, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct io_uring_attr_pi { +pub flags: __u16, +pub app_tag: __u16, +pub len: __u32, +pub addr: __u64, +pub seed: __u64, +pub rsvd: __u64, +} +#[repr(C)] #[derive(Debug)] pub struct io_uring_cqe { pub user_data: __u64, @@ -784,6 +801,10 @@ pub const INR_OPEN_CUR: u32 = 1024; pub const INR_OPEN_MAX: u32 = 4096; pub const BLOCK_SIZE_BITS: u32 = 10; pub const BLOCK_SIZE: u32 = 1024; +pub const IO_INTEGRITY_CHK_GUARD: u32 = 1; +pub const IO_INTEGRITY_CHK_REFTAG: u32 = 2; +pub const IO_INTEGRITY_CHK_APPTAG: u32 = 4; +pub const IO_INTEGRITY_VALID_FLAGS: u32 = 7; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -862,6 +883,7 @@ pub const PAGE_IS_HUGE: u32 = 64; pub const PAGE_IS_SOFT_DIRTY: u32 = 128; pub const PM_SCAN_WP_MATCHING: u32 = 1; pub const PM_SCAN_CHECK_WPASYNC: u32 = 2; +pub const IORING_RW_ATTR_FLAG_PI: u32 = 1; pub const IORING_FILE_INDEX_ALLOC: i32 = -1; pub const IORING_SETUP_IOPOLL: u32 = 1; pub const IORING_SETUP_SQPOLL: u32 = 2; @@ -959,6 +981,7 @@ pub const IORING_FEAT_LINKED_FILE: u32 = 4096; pub const IORING_FEAT_REG_REG_RING: u32 = 8192; pub const IORING_FEAT_RECVSEND_BUNDLE: u32 = 16384; pub const IORING_FEAT_MIN_TIMEOUT: u32 = 32768; +pub const IORING_FEAT_RW_ATTR: u32 = 65536; pub const IORING_RSRC_REGISTER_SPARSE: u32 = 1; pub const IORING_REGISTER_FILES_SKIP: i32 = -2; pub const IO_URING_OP_SUPPORTED: u32 = 1; diff --git a/src/x86_64/net.rs b/src/x86_64/net.rs index f70d4bf3..d62ef9d6 100644 --- a/src/x86_64/net.rs +++ b/src/x86_64/net.rs @@ -235,6 +235,24 @@ pub padlen: __u8, pub reserved: __u8, } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ip_iptfs_cc_hdr { +pub subtype: __u8, +pub flags: __u8, +pub block_offset: __be16, +pub loss_rate: __be32, +pub rtt_adelay_xdelay: __be64, +pub tval: __be32, +pub techo: __be32, +} +#[repr(C)] #[derive(Copy, Clone)] pub struct in6_addr { pub in6_u: in6_addr__bindgen_ty_1, @@ -1227,6 +1245,7 @@ pub const SO_DEVMEM_DMABUF: u32 = 79; pub const SCM_DEVMEM_DMABUF: u32 = 79; pub const SO_DEVMEM_DONTNEED: u32 = 80; pub const SCM_TS_OPT_ID: u32 = 81; +pub const SO_RCVPRIORITY: u32 = 82; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1586,6 +1605,7 @@ pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP; pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE; pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS; pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET; +pub const IPPROTO_AGGFRAG: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AGGFRAG; pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW; pub const IPPROTO_SMC: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SMC; pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP; @@ -1795,6 +1815,7 @@ IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, +IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, @@ -2108,6 +2129,14 @@ NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, #[repr(u32)] #[non_exhaustive] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum hwtstamp_provider_qualifier { +HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, +HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, +HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +} +#[repr(u32)] +#[non_exhaustive] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub enum _bindgen_ty_10 { SOF_TIMESTAMPING_TX_HARDWARE = 1, SOF_TIMESTAMPING_TX_SOFTWARE = 2, diff --git a/src/x86_64/netlink.rs b/src/x86_64/netlink.rs index 3e394d01..ac4d2485 100644 --- a/src/x86_64/netlink.rs +++ b/src/x86_64/netlink.rs @@ -1012,6 +1012,8 @@ pub const IFLA_NETKIT_PEER_POLICY: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_ pub const IFLA_NETKIT_MODE: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_MODE; pub const IFLA_NETKIT_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_SCRUB; pub const IFLA_NETKIT_PEER_SCRUB: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_PEER_SCRUB; +pub const IFLA_NETKIT_HEADROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_HEADROOM; +pub const IFLA_NETKIT_TAILROOM: _bindgen_ty_18 = _bindgen_ty_18::IFLA_NETKIT_TAILROOM; pub const __IFLA_NETKIT_MAX: _bindgen_ty_18 = _bindgen_ty_18::__IFLA_NETKIT_MAX; pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_UNSPEC; pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_19 = _bindgen_ty_19::VNIFILTER_ENTRY_STATS_RX_BYTES; @@ -1067,6 +1069,7 @@ pub const IFLA_VXLAN_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_DF; pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_VNIFILTER; pub const IFLA_VXLAN_LOCALBYPASS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LOCALBYPASS; pub const IFLA_VXLAN_LABEL_POLICY: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_LABEL_POLICY; +pub const IFLA_VXLAN_RESERVED_BITS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_VXLAN_RESERVED_BITS; pub const __IFLA_VXLAN_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_VXLAN_MAX; pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_UNSPEC; pub const IFLA_GENEVE_ID: _bindgen_ty_23 = _bindgen_ty_23::IFLA_GENEVE_ID; @@ -1408,7 +1411,11 @@ pub const RTM_NEWACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWACTION; pub const RTM_DELACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELACTION; pub const RTM_GETACTION: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETACTION; pub const RTM_NEWPREFIX: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWPREFIX; +pub const RTM_NEWMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWMULTICAST; +pub const RTM_DELMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELMULTICAST; pub const RTM_GETMULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETMULTICAST; +pub const RTM_NEWANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWANYCAST; +pub const RTM_DELANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_DELANYCAST; pub const RTM_GETANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETANYCAST; pub const RTM_NEWNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_NEWNEIGHTBL; pub const RTM_GETNEIGHTBL: _bindgen_ty_61 = _bindgen_ty_61::RTM_GETNEIGHTBL; @@ -2002,7 +2009,9 @@ IFLA_NETKIT_PEER_POLICY = 4, IFLA_NETKIT_MODE = 5, IFLA_NETKIT_SCRUB = 6, IFLA_NETKIT_PEER_SCRUB = 7, -__IFLA_NETKIT_MAX = 8, +IFLA_NETKIT_HEADROOM = 8, +IFLA_NETKIT_TAILROOM = 9, +__IFLA_NETKIT_MAX = 10, } #[repr(u32)] #[non_exhaustive] @@ -2077,7 +2086,8 @@ IFLA_VXLAN_DF = 29, IFLA_VXLAN_VNIFILTER = 30, IFLA_VXLAN_LOCALBYPASS = 31, IFLA_VXLAN_LABEL_POLICY = 32, -__IFLA_VXLAN_MAX = 33, +IFLA_VXLAN_RESERVED_BITS = 33, +__IFLA_VXLAN_MAX = 34, } #[repr(u32)] #[non_exhaustive] @@ -2644,7 +2654,11 @@ RTM_NEWACTION = 48, RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, +RTM_NEWMULTICAST = 56, +RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, +RTM_NEWANYCAST = 60, +RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -2762,7 +2776,8 @@ RTA_IP_PROTO = 27, RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, -__RTA_MAX = 31, +RTA_FLOWLABEL = 31, +__RTA_MAX = 32, } #[repr(u32)] #[non_exhaustive] @@ -2869,7 +2884,10 @@ RTNLGRP_BRVLAN = 33, RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, -__RTNLGRP_MAX = 37, +RTNLGRP_IPV4_MCADDR = 37, +RTNLGRP_IPV6_MCADDR = 38, +RTNLGRP_IPV6_ACADDR = 39, +__RTNLGRP_MAX = 40, } #[repr(u32)] #[non_exhaustive] diff --git a/src/x86_64/ptrace.rs b/src/x86_64/ptrace.rs index 042b8461..2d213347 100644 --- a/src/x86_64/ptrace.rs +++ b/src/x86_64/ptrace.rs @@ -387,6 +387,7 @@ pub const AUDIT_INTEGRITY_PCR: u32 = 1804; pub const AUDIT_INTEGRITY_RULE: u32 = 1805; pub const AUDIT_INTEGRITY_EVM_XATTR: u32 = 1806; pub const AUDIT_INTEGRITY_POLICY_RULE: u32 = 1807; +pub const AUDIT_INTEGRITY_USERSPACE: u32 = 1808; pub const AUDIT_KERNEL: u32 = 2000; pub const AUDIT_FILTER_USER: u32 = 0; pub const AUDIT_FILTER_TASK: u32 = 1;