Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::process::Command;
use std::{env, fs};

#[allow(unused_doc_comments)]
const LINUX_VERSION: &str = "v6.17";
const LINUX_VERSION: &str = "v7.0";

/// Some commonly used features.
const DEFAULT_FEATURES: &str = "\"general\", \"errno\"";
Expand Down
48 changes: 43 additions & 5 deletions src/aarch64/btrfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = crate::ctypes::c_longlong;
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
pub type __kernel_old_time_t = __kernel_long_t;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_time64_t = crate::ctypes::c_longlong;
Expand Down Expand Up @@ -173,10 +174,10 @@ pub __spare2: [__u64; 43usize],
pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[derive(Copy, Clone)]
pub struct mnt_id_req {
pub size: __u32,
pub spare: __u32,
pub __bindgen_anon_1: mnt_id_req__bindgen_ty_1,
pub mnt_id: __u64,
pub param: __u64,
pub mnt_ns_id: __u64,
Expand Down Expand Up @@ -741,7 +742,7 @@ pub dirid: __u64,
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btrfs_ioctl_encoded_io_args {
pub iov: *const iovec,
pub iov: *mut iovec,
pub iovcnt: crate::ctypes::c_ulong,
pub offset: __s64,
pub flags: __u64,
Expand Down Expand Up @@ -912,7 +913,10 @@ pub cache_generation: __le64,
pub uuid_tree_generation: __le64,
pub metadata_uuid: [__u8; 16usize],
pub nr_global_roots: __u64,
pub reserved: [__le64; 27usize],
pub remap_root: __le64,
pub remap_root_generation: __le64,
pub remap_root_level: __u8,
pub reserved: [__u8; 199usize],
pub sys_chunk_array: [__u8; 2048usize],
pub super_roots: [btrfs_root_backup; 4usize],
pub padding: [__u8; 565usize],
Expand Down Expand Up @@ -1176,6 +1180,15 @@ pub flags: __le64,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct btrfs_block_group_item_v2 {
pub used: __le64,
pub chunk_objectid: __le64,
pub flags: __le64,
pub remap_bytes: __le64,
pub identity_remap_count: __le32,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct btrfs_free_space_info {
pub extent_count: __le32,
pub flags: __le32,
Expand Down Expand Up @@ -1214,6 +1227,11 @@ pub size: __le64,
pub reserved: [__le64; 2usize],
pub encryption: __u8,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct btrfs_remap_item {
pub address: __le64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct iovec {
Expand Down Expand Up @@ -1340,6 +1358,7 @@ pub const MS_RMT_MASK: u32 = 41943121;
pub const MS_MGC_VAL: u32 = 3236757504;
pub const MS_MGC_MSK: u32 = 4294901760;
pub const OPEN_TREE_CLONE: u32 = 1;
pub const OPEN_TREE_NAMESPACE: u32 = 2;
pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1;
pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2;
pub const MOVE_MOUNT_F_EMPTY_PATH: u32 = 4;
Expand Down Expand Up @@ -1386,6 +1405,7 @@ pub const STATMOUNT_MNT_UIDMAP: u32 = 8192;
pub const STATMOUNT_MNT_GIDMAP: u32 = 16384;
pub const LSMT_ROOT: i32 = -1;
pub const LISTMOUNT_REVERSE: u32 = 1;
pub const STATMOUNT_BY_FD: u32 = 1;
pub const INR_OPEN_CUR: u32 = 1024;
pub const INR_OPEN_MAX: u32 = 4096;
pub const BLOCK_SIZE_BITS: u32 = 10;
Expand Down Expand Up @@ -1431,6 +1451,7 @@ pub const FS_XFLAG_NODEFRAG: u32 = 8192;
pub const FS_XFLAG_FILESTREAM: u32 = 16384;
pub const FS_XFLAG_DAX: u32 = 32768;
pub const FS_XFLAG_COWEXTSIZE: u32 = 65536;
pub const FS_XFLAG_VERITY: u32 = 131072;
pub const FS_XFLAG_HASATTR: u32 = 2147483648;
pub const BMAP_IOCTL: u32 = 1;
pub const FSLABEL_MAX: u32 = 256;
Expand Down Expand Up @@ -1547,6 +1568,7 @@ pub const BTRFS_FEATURE_INCOMPAT_ZONED: u32 = 4096;
pub const BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2: u32 = 8192;
pub const BTRFS_FEATURE_INCOMPAT_RAID_STRIPE_TREE: u32 = 16384;
pub const BTRFS_FEATURE_INCOMPAT_SIMPLE_QUOTA: u32 = 65536;
pub const BTRFS_FEATURE_INCOMPAT_REMAP_TREE: u32 = 131072;
pub const BTRFS_BALANCE_CTL_PAUSE: u32 = 1;
pub const BTRFS_BALANCE_CTL_CANCEL: u32 = 2;
pub const BTRFS_BALANCE_DATA: u32 = 1;
Expand Down Expand Up @@ -1607,6 +1629,10 @@ pub const BTRFS_SUBVOL_SYNC_WAIT_FOR_QUEUED: u32 = 1;
pub const BTRFS_SUBVOL_SYNC_COUNT: u32 = 2;
pub const BTRFS_SUBVOL_SYNC_PEEK_FIRST: u32 = 3;
pub const BTRFS_SUBVOL_SYNC_PEEK_LAST: u32 = 4;
pub const BTRFS_SHUTDOWN_FLAGS_DEFAULT: u32 = 0;
pub const BTRFS_SHUTDOWN_FLAGS_LOGFLUSH: u32 = 1;
pub const BTRFS_SHUTDOWN_FLAGS_NOLOGFLUSH: u32 = 2;
pub const BTRFS_SHUTDOWN_FLAGS_LAST: u32 = 3;
pub const BTRFS_MAGIC: u64 = 5575266562640200287;
pub const BTRFS_MAX_LEVEL: u32 = 8;
pub const BTRFS_NAME_LEN: u32 = 255;
Expand All @@ -1623,6 +1649,7 @@ pub const BTRFS_UUID_TREE_OBJECTID: u32 = 9;
pub const BTRFS_FREE_SPACE_TREE_OBJECTID: u32 = 10;
pub const BTRFS_BLOCK_GROUP_TREE_OBJECTID: u32 = 11;
pub const BTRFS_RAID_STRIPE_TREE_OBJECTID: u32 = 12;
pub const BTRFS_REMAP_TREE_OBJECTID: u32 = 13;
pub const BTRFS_DEV_STATS_OBJECTID: u32 = 0;
pub const BTRFS_BALANCE_OBJECTID: i32 = -4;
pub const BTRFS_ORPHAN_OBJECTID: i32 = -5;
Expand Down Expand Up @@ -1672,6 +1699,9 @@ pub const BTRFS_DEV_EXTENT_KEY: u32 = 204;
pub const BTRFS_DEV_ITEM_KEY: u32 = 216;
pub const BTRFS_CHUNK_ITEM_KEY: u32 = 228;
pub const BTRFS_RAID_STRIPE_KEY: u32 = 230;
pub const BTRFS_IDENTITY_REMAP_KEY: u32 = 234;
pub const BTRFS_REMAP_KEY: u32 = 235;
pub const BTRFS_REMAP_BACKREF_KEY: u32 = 236;
pub const BTRFS_QGROUP_STATUS_KEY: u32 = 240;
pub const BTRFS_QGROUP_INFO_KEY: u32 = 242;
pub const BTRFS_QGROUP_LIMIT_KEY: u32 = 244;
Expand Down Expand Up @@ -1751,7 +1781,9 @@ pub const BTRFS_BLOCK_GROUP_RAID5: u32 = 128;
pub const BTRFS_BLOCK_GROUP_RAID6: u32 = 256;
pub const BTRFS_BLOCK_GROUP_RAID1C3: u32 = 512;
pub const BTRFS_BLOCK_GROUP_RAID1C4: u32 = 1024;
pub const BTRFS_BLOCK_GROUP_TYPE_MASK: u32 = 7;
pub const BTRFS_BLOCK_GROUP_REMAPPED: u32 = 2048;
pub const BTRFS_BLOCK_GROUP_METADATA_REMAP: u32 = 4096;
pub const BTRFS_BLOCK_GROUP_TYPE_MASK: u32 = 4103;
pub const BTRFS_BLOCK_GROUP_PROFILE_MASK: u32 = 2040;
pub const BTRFS_BLOCK_GROUP_RAID56_MASK: u32 = 384;
pub const BTRFS_BLOCK_GROUP_RAID1_MASK: u32 = 1552;
Expand Down Expand Up @@ -1861,6 +1893,12 @@ pub identifier: [__u8; 16usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union mnt_id_req__bindgen_ty_1 {
pub mnt_ns_fd: __u32,
pub mnt_fd: __u32,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union btrfs_ioctl_vol_args_v2__bindgen_ty_1 {
pub __bindgen_anon_1: btrfs_ioctl_vol_args_v2__bindgen_ty_1__bindgen_ty_1,
pub unused: [__u64; 4usize],
Expand Down
3 changes: 3 additions & 0 deletions src/aarch64/elf_uapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = crate::ctypes::c_longlong;
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
pub type __kernel_old_time_t = __kernel_long_t;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_time64_t = crate::ctypes::c_longlong;
Expand Down Expand Up @@ -624,6 +625,8 @@ pub const NN_RISCV_VECTOR: &[u8; 6] = b"LINUX\0";
pub const NT_RISCV_VECTOR: u32 = 2305;
pub const NN_RISCV_TAGGED_ADDR_CTRL: &[u8; 6] = b"LINUX\0";
pub const NT_RISCV_TAGGED_ADDR_CTRL: u32 = 2306;
pub const NN_RISCV_USER_CFI: &[u8; 6] = b"LINUX\0";
pub const NT_RISCV_USER_CFI: u32 = 2307;
pub const NN_LOONGARCH_CPUCFG: &[u8; 6] = b"LINUX\0";
pub const NT_LOONGARCH_CPUCFG: u32 = 2560;
pub const NN_LOONGARCH_CSR: &[u8; 6] = b"LINUX\0";
Expand Down
2 changes: 2 additions & 0 deletions src/aarch64/errno.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub const EPROTO: u32 = 71;
pub const EMULTIHOP: u32 = 72;
pub const EDOTDOT: u32 = 73;
pub const EBADMSG: u32 = 74;
pub const EFSBADCRC: u32 = 74;
pub const EOVERFLOW: u32 = 75;
pub const ENOTUNIQ: u32 = 76;
pub const EBADFD: u32 = 77;
Expand Down Expand Up @@ -117,6 +118,7 @@ pub const EALREADY: u32 = 114;
pub const EINPROGRESS: u32 = 115;
pub const ESTALE: u32 = 116;
pub const EUCLEAN: u32 = 117;
pub const EFSCORRUPTED: u32 = 117;
pub const ENOTNAM: u32 = 118;
pub const ENAVAIL: u32 = 119;
pub const EISNAM: u32 = 120;
Expand Down
34 changes: 29 additions & 5 deletions src/aarch64/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = crate::ctypes::c_longlong;
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
pub type __kernel_old_time_t = __kernel_long_t;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_time64_t = crate::ctypes::c_longlong;
Expand Down Expand Up @@ -156,6 +157,13 @@ pub resolve: __u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct delegation {
pub d_flags: __u32,
pub d_type: __u16,
pub __pad: __u16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct epoll_event {
pub events: __poll_t,
pub data: __u64,
Expand Down Expand Up @@ -287,10 +295,10 @@ pub __spare2: [__u64; 43usize],
pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[derive(Copy, Clone)]
pub struct mnt_id_req {
pub size: __u32,
pub spare: __u32,
pub __bindgen_anon_1: mnt_id_req__bindgen_ty_1,
pub mnt_id: __u64,
pub param: __u64,
pub mnt_ns_id: __u64,
Expand Down Expand Up @@ -1059,9 +1067,9 @@ pub sa_flags: crate::ctypes::c_ulong,
pub sa_restorer: __sigrestore_t,
pub sa_mask: kernel_sigset_t,
}
pub const LINUX_VERSION_CODE: u32 = 397568;
pub const LINUX_VERSION_MAJOR: u32 = 6;
pub const LINUX_VERSION_PATCHLEVEL: u32 = 17;
pub const LINUX_VERSION_CODE: u32 = 458752;
pub const LINUX_VERSION_MAJOR: u32 = 7;
pub const LINUX_VERSION_PATCHLEVEL: u32 = 0;
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
pub const __BITS_PER_LONG_LONG: u32 = 64;
pub const __FD_SETSIZE: u32 = 1024;
Expand Down Expand Up @@ -1221,6 +1229,8 @@ pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3;
pub const RWH_WRITE_LIFE_LONG: u32 = 4;
pub const RWH_WRITE_LIFE_EXTREME: u32 = 5;
pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0;
pub const F_GETDELEG: u32 = 1039;
pub const F_SETDELEG: u32 = 1040;
pub const DN_ACCESS: u32 = 1;
pub const DN_MODIFY: u32 = 2;
pub const DN_CREATE: u32 = 4;
Expand All @@ -1232,6 +1242,7 @@ pub const AT_FDCWD: i32 = -100;
pub const PIDFD_SELF_THREAD: i32 = -10000;
pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001;
pub const FD_PIDFS_ROOT: i32 = -10002;
pub const FD_NSFS_ROOT: i32 = -10003;
pub const FD_INVALID: i32 = -10009;
pub const AT_SYMLINK_NOFOLLOW: u32 = 256;
pub const AT_SYMLINK_FOLLOW: u32 = 1024;
Expand Down Expand Up @@ -1391,6 +1402,7 @@ pub const MS_RMT_MASK: u32 = 41943121;
pub const MS_MGC_VAL: u32 = 3236757504;
pub const MS_MGC_MSK: u32 = 4294901760;
pub const OPEN_TREE_CLONE: u32 = 1;
pub const OPEN_TREE_NAMESPACE: u32 = 2;
pub const OPEN_TREE_CLOEXEC: u32 = 524288;
pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1;
pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2;
Expand Down Expand Up @@ -1438,6 +1450,7 @@ pub const STATMOUNT_MNT_UIDMAP: u32 = 8192;
pub const STATMOUNT_MNT_GIDMAP: u32 = 16384;
pub const LSMT_ROOT: i32 = -1;
pub const LISTMOUNT_REVERSE: u32 = 1;
pub const STATMOUNT_BY_FD: u32 = 1;
pub const INR_OPEN_CUR: u32 = 1024;
pub const INR_OPEN_MAX: u32 = 4096;
pub const BLOCK_SIZE_BITS: u32 = 10;
Expand Down Expand Up @@ -1483,6 +1496,7 @@ pub const FS_XFLAG_NODEFRAG: u32 = 8192;
pub const FS_XFLAG_FILESTREAM: u32 = 16384;
pub const FS_XFLAG_DAX: u32 = 32768;
pub const FS_XFLAG_COWEXTSIZE: u32 = 65536;
pub const FS_XFLAG_VERITY: u32 = 131072;
pub const FS_XFLAG_HASATTR: u32 = 2147483648;
pub const BMAP_IOCTL: u32 = 1;
pub const FSLABEL_MAX: u32 = 256;
Expand Down Expand Up @@ -1705,6 +1719,8 @@ pub const DMA_BUF_MAGIC: u32 = 1145913666;
pub const DEVMEM_MAGIC: u32 = 1162691661;
pub const SECRETMEM_MAGIC: u32 = 1397048141;
pub const PID_FS_MAGIC: u32 = 1346978886;
pub const GUEST_MEMFD_MAGIC: u32 = 1196246349;
pub const NULL_FS_MAGIC: u32 = 1314212940;
pub const PROT_READ: u32 = 1;
pub const PROT_WRITE: u32 = 2;
pub const PROT_EXEC: u32 = 4;
Expand Down Expand Up @@ -2637,6 +2653,8 @@ pub const __NR_removexattrat: u32 = 466;
pub const __NR_open_tree_attr: u32 = 467;
pub const __NR_file_getattr: u32 = 468;
pub const __NR_file_setattr: u32 = 469;
pub const __NR_listns: u32 = 470;
pub const __NR_rseq_slice_yield: u32 = 471;
pub const WNOHANG: u32 = 1;
pub const WUNTRACED: u32 = 2;
pub const WSTOPPED: u32 = 2;
Expand Down Expand Up @@ -2879,6 +2897,12 @@ pub identifier: [__u8; 16usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union mnt_id_req__bindgen_ty_1 {
pub mnt_ns_fd: __u32,
pub mnt_fd: __u32,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigval {
pub sival_int: crate::ctypes::c_int,
pub sival_ptr: *mut crate::ctypes::c_void,
Expand Down
17 changes: 14 additions & 3 deletions src/aarch64/if_arp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = crate::ctypes::c_longlong;
pub type __kernel_uoff_t = crate::ctypes::c_ulonglong;
pub type __kernel_old_time_t = __kernel_long_t;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_time64_t = crate::ctypes::c_longlong;
Expand Down Expand Up @@ -731,6 +732,7 @@ pub const ETH_P_AOE: u32 = 34978;
pub const ETH_P_ETHERCAT: u32 = 34980;
pub const ETH_P_8021AD: u32 = 34984;
pub const ETH_P_802_EX1: u32 = 34997;
pub const ETH_P_MXLGSW: u32 = 35011;
pub const ETH_P_PREAUTH: u32 = 35015;
pub const ETH_P_TIPC: u32 = 35018;
pub const ETH_P_LLDP: u32 = 35020;
Expand All @@ -753,6 +755,7 @@ pub const ETH_P_LOOPBACK: u32 = 36864;
pub const ETH_P_QINQ1: u32 = 37120;
pub const ETH_P_QINQ2: u32 = 37376;
pub const ETH_P_QINQ3: u32 = 37632;
pub const ETH_P_YT921X: u32 = 39304;
pub const ETH_P_EDSA: u32 = 56026;
pub const ETH_P_DSA_8021Q: u32 = 56027;
pub const ETH_P_DSA_A5PSW: u32 = 57345;
Expand Down Expand Up @@ -1117,6 +1120,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M
pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN;
pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON;
pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE;
pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM;
pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM;
pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX;
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC;
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK;
Expand Down Expand Up @@ -1380,6 +1385,7 @@ pub const IFLA_GENEVE_TTL_INHERIT: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_
pub const IFLA_GENEVE_DF: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_DF;
pub const IFLA_GENEVE_INNER_PROTO_INHERIT: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_INNER_PROTO_INHERIT;
pub const IFLA_GENEVE_PORT_RANGE: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_PORT_RANGE;
pub const IFLA_GENEVE_GRO_HINT: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GENEVE_GRO_HINT;
pub const __IFLA_GENEVE_MAX: _bindgen_ty_25 = _bindgen_ty_25::__IFLA_GENEVE_MAX;
pub const IFLA_BAREUDP_UNSPEC: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BAREUDP_UNSPEC;
pub const IFLA_BAREUDP_PORT: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BAREUDP_PORT;
Expand Down Expand Up @@ -1452,6 +1458,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL
pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE;
pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE;
pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO;
pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO;
pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX;
pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC;
pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO;
Expand Down Expand Up @@ -1812,7 +1819,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64,
IFLA_DPLL_PIN = 65,
IFLA_MAX_PACING_OFFLOAD_HORIZON = 66,
IFLA_NETNS_IMMUTABLE = 67,
__IFLA_MAX = 68,
IFLA_HEADROOM = 68,
IFLA_TAILROOM = 69,
__IFLA_MAX = 70,
}
#[repr(u32)]
#[non_exhaustive]
Expand Down Expand Up @@ -2274,7 +2283,8 @@ IFLA_GENEVE_TTL_INHERIT = 12,
IFLA_GENEVE_DF = 13,
IFLA_GENEVE_INNER_PROTO_INHERIT = 14,
IFLA_GENEVE_PORT_RANGE = 15,
__IFLA_GENEVE_MAX = 16,
IFLA_GENEVE_GRO_HINT = 16,
__IFLA_GENEVE_MAX = 17,
}
#[repr(u32)]
#[non_exhaustive]
Expand Down Expand Up @@ -2392,7 +2402,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6,
IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7,
IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8,
IFLA_BOND_SLAVE_PRIO = 9,
__IFLA_BOND_SLAVE_MAX = 10,
IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10,
__IFLA_BOND_SLAVE_MAX = 11,
}
#[repr(u32)]
#[non_exhaustive]
Expand Down
Loading
Loading