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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,496 changes: 1,496 additions & 0 deletions gen/build_logs.txt

Large diffs are not rendered by default.

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 = "v6.18";

/// Some commonly used features.
const DEFAULT_FEATURES: &str = "\"general\", \"errno\"";
Expand Down
4 changes: 2 additions & 2 deletions src/aarch64/btrfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
#[derive(Debug, Copy, Clone)]
pub struct mnt_id_req {
pub size: __u32,
pub spare: __u32,
pub mnt_ns_fd: __u32,
pub mnt_id: __u64,
pub param: __u64,
pub mnt_ns_id: __u64,
Expand Down Expand Up @@ -741,7 +741,7 @@ pub dirid: __u64,
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btrfs_ioctl_encoded_io_args {
pub iov: *const iovec,
pub iov: *mut iovec,
pub iovcnt: crate::ctypes::c_ulong,
pub offset: __s64,
pub flags: __u64,
Expand Down
7 changes: 4 additions & 3 deletions src/aarch64/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
#[derive(Debug, Copy, Clone)]
pub struct mnt_id_req {
pub size: __u32,
pub spare: __u32,
pub mnt_ns_fd: __u32,
pub mnt_id: __u64,
pub param: __u64,
pub mnt_ns_id: __u64,
Expand Down Expand Up @@ -1059,9 +1059,9 @@ pub sa_flags: crate::ctypes::c_ulong,
pub sa_restorer: __sigrestore_t,
pub sa_mask: kernel_sigset_t,
}
pub const LINUX_VERSION_CODE: u32 = 397568;
pub const LINUX_VERSION_CODE: u32 = 397824;
pub const LINUX_VERSION_MAJOR: u32 = 6;
pub const LINUX_VERSION_PATCHLEVEL: u32 = 17;
pub const LINUX_VERSION_PATCHLEVEL: u32 = 18;
pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
pub const __BITS_PER_LONG_LONG: u32 = 64;
pub const __FD_SETSIZE: u32 = 1024;
Expand Down Expand Up @@ -1232,6 +1232,7 @@ pub const AT_FDCWD: i32 = -100;
pub const PIDFD_SELF_THREAD: i32 = -10000;
pub const PIDFD_SELF_THREAD_GROUP: i32 = -10001;
pub const FD_PIDFS_ROOT: i32 = -10002;
pub const FD_NSFS_ROOT: i32 = -10003;
pub const FD_INVALID: i32 = -10009;
pub const AT_SYMLINK_NOFOLLOW: u32 = 256;
pub const AT_SYMLINK_FOLLOW: u32 = 1024;
Expand Down
10 changes: 8 additions & 2 deletions src/aarch64/if_arp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,8 @@ pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_GRO_IPV4_M
pub const IFLA_DPLL_PIN: _bindgen_ty_4 = _bindgen_ty_4::IFLA_DPLL_PIN;
pub const IFLA_MAX_PACING_OFFLOAD_HORIZON: _bindgen_ty_4 = _bindgen_ty_4::IFLA_MAX_PACING_OFFLOAD_HORIZON;
pub const IFLA_NETNS_IMMUTABLE: _bindgen_ty_4 = _bindgen_ty_4::IFLA_NETNS_IMMUTABLE;
pub const IFLA_HEADROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_HEADROOM;
pub const IFLA_TAILROOM: _bindgen_ty_4 = _bindgen_ty_4::IFLA_TAILROOM;
pub const __IFLA_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_MAX;
pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_UNSPEC;
pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_5 = _bindgen_ty_5::IFLA_PROTO_DOWN_REASON_MASK;
Expand Down Expand Up @@ -1452,6 +1454,7 @@ pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_31 = _bindgen_ty_31::IFL
pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE;
pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE;
pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_PRIO;
pub const IFLA_BOND_SLAVE_ACTOR_PORT_PRIO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_BOND_SLAVE_ACTOR_PORT_PRIO;
pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_BOND_SLAVE_MAX;
pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO_UNSPEC;
pub const IFLA_VF_INFO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_INFO;
Expand Down Expand Up @@ -1812,7 +1815,9 @@ IFLA_GRO_IPV4_MAX_SIZE = 64,
IFLA_DPLL_PIN = 65,
IFLA_MAX_PACING_OFFLOAD_HORIZON = 66,
IFLA_NETNS_IMMUTABLE = 67,
__IFLA_MAX = 68,
IFLA_HEADROOM = 68,
IFLA_TAILROOM = 69,
__IFLA_MAX = 70,
}
#[repr(u32)]
#[non_exhaustive]
Expand Down Expand Up @@ -2392,7 +2397,8 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6,
IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7,
IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8,
IFLA_BOND_SLAVE_PRIO = 9,
__IFLA_BOND_SLAVE_MAX = 10,
IFLA_BOND_SLAVE_ACTOR_PORT_PRIO = 10,
__IFLA_BOND_SLAVE_MAX = 11,
}
#[repr(u32)]
#[non_exhaustive]
Expand Down
12 changes: 9 additions & 3 deletions src/aarch64/io_uring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ pub str_: __IncompleteArrayField<crate::ctypes::c_char>,
#[derive(Debug, Copy, Clone)]
pub struct mnt_id_req {
pub size: __u32,
pub spare: __u32,
pub mnt_ns_fd: __u32,
pub mnt_id: __u64,
pub param: __u64,
pub mnt_ns_id: __u64,
Expand Down Expand Up @@ -1006,8 +1006,10 @@ pub const IORING_SETUP_NO_MMAP: u32 = 16384;
pub const IORING_SETUP_REGISTERED_FD_ONLY: u32 = 32768;
pub const IORING_SETUP_NO_SQARRAY: u32 = 65536;
pub const IORING_SETUP_HYBRID_IOPOLL: u32 = 131072;
pub const IORING_SETUP_CQE_MIXED: u32 = 262144;
pub const IORING_URING_CMD_FIXED: u32 = 1;
pub const IORING_URING_CMD_MASK: u32 = 1;
pub const IORING_URING_CMD_MULTISHOT: u32 = 2;
pub const IORING_URING_CMD_MASK: u32 = 3;
pub const IORING_FSYNC_DATASYNC: u32 = 1;
pub const IORING_TIMEOUT_ABS: u32 = 1;
pub const IORING_TIMEOUT_UPDATE: u32 = 2;
Expand Down Expand Up @@ -1047,11 +1049,14 @@ pub const IORING_NOP_FILE: u32 = 2;
pub const IORING_NOP_FIXED_FILE: u32 = 4;
pub const IORING_NOP_FIXED_BUFFER: u32 = 8;
pub const IORING_NOP_TW: u32 = 16;
pub const IORING_NOP_CQE32: u32 = 32;
pub const IORING_CQE_F_BUFFER: u32 = 1;
pub const IORING_CQE_F_MORE: u32 = 2;
pub const IORING_CQE_F_SOCK_NONEMPTY: u32 = 4;
pub const IORING_CQE_F_NOTIF: u32 = 8;
pub const IORING_CQE_F_BUF_MORE: u32 = 16;
pub const IORING_CQE_F_SKIP: u32 = 32;
pub const IORING_CQE_F_32: u32 = 32768;
pub const IORING_CQE_BUFFER_SHIFT: u32 = 16;
pub const IORING_OFF_SQ_RING: u32 = 0;
pub const IORING_OFF_CQ_RING: u32 = 134217728;
Expand Down Expand Up @@ -1258,7 +1263,8 @@ IORING_REGISTER_SEND_MSG_RING = 31,
IORING_REGISTER_ZCRX_IFQ = 32,
IORING_REGISTER_RESIZE_RINGS = 33,
IORING_REGISTER_MEM_REGION = 34,
IORING_REGISTER_LAST = 35,
IORING_REGISTER_QUERY = 35,
IORING_REGISTER_LAST = 36,
IORING_REGISTER_USE_REGISTERED_RING = 2147483648,
}
#[repr(u32)]
Expand Down
9 changes: 9 additions & 0 deletions src/aarch64/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,15 @@ pub tcpi_rehash: __u32,
pub tcpi_total_rto: __u16,
pub tcpi_total_rto_recoveries: __u16,
pub tcpi_total_rto_time: __u32,
pub tcpi_received_ce: __u32,
pub tcpi_delivered_e1_bytes: __u32,
pub tcpi_delivered_e0_bytes: __u32,
pub tcpi_delivered_ce_bytes: __u32,
pub tcpi_received_e1_bytes: __u32,
pub tcpi_received_e0_bytes: __u32,
pub tcpi_received_ce_bytes: __u32,
pub tcpi_accecn_fail_mode: __u16,
pub tcpi_accecn_opt_seen: __u16,
}
#[repr(C)]
#[derive(Copy, Clone)]
Expand Down
Loading
Loading