From b686d6a245a8d91b6677102c26c57f67e38d47ca Mon Sep 17 00:00:00 2001 From: dave-tucker Date: Sat, 1 Feb 2025 17:10:13 +0000 Subject: [PATCH] chore(aya-obj, aya-ebpf-bindings): Regenerate bindings libbpf commit: d4a841a32b04d69194ab5bdac359a51938a206ce Files changed: M aya-obj/src/generated/linux_bindings_aarch64.rs M aya-obj/src/generated/linux_bindings_armv7.rs M aya-obj/src/generated/linux_bindings_mips.rs M aya-obj/src/generated/linux_bindings_powerpc64.rs M aya-obj/src/generated/linux_bindings_riscv64.rs M aya-obj/src/generated/linux_bindings_s390x.rs M aya-obj/src/generated/linux_bindings_x86_64.rs M xtask/public-api/aya-obj.txt --- .../src/generated/linux_bindings_aarch64.rs | 12 +++++ aya-obj/src/generated/linux_bindings_armv7.rs | 12 +++++ aya-obj/src/generated/linux_bindings_mips.rs | 12 +++++ .../src/generated/linux_bindings_powerpc64.rs | 12 +++++ .../src/generated/linux_bindings_riscv64.rs | 12 +++++ aya-obj/src/generated/linux_bindings_s390x.rs | 12 +++++ .../src/generated/linux_bindings_x86_64.rs | 12 +++++ xtask/public-api/aya-obj.txt | 47 +++++++++++++++++++ 8 files changed, 131 insertions(+) diff --git a/aya-obj/src/generated/linux_bindings_aarch64.rs b/aya-obj/src/generated/linux_bindings_aarch64.rs index 1246cc16..61fbdce7 100644 --- a/aya-obj/src/generated/linux_bindings_aarch64.rs +++ b/aya-obj/src/generated/linux_bindings_aarch64.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_armv7.rs b/aya-obj/src/generated/linux_bindings_armv7.rs index 0889a09e..418a80f9 100644 --- a/aya-obj/src/generated/linux_bindings_armv7.rs +++ b/aya-obj/src/generated/linux_bindings_armv7.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_mips.rs b/aya-obj/src/generated/linux_bindings_mips.rs index f6980d8c..620b083c 100644 --- a/aya-obj/src/generated/linux_bindings_mips.rs +++ b/aya-obj/src/generated/linux_bindings_mips.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_powerpc64.rs b/aya-obj/src/generated/linux_bindings_powerpc64.rs index 94c0aea7..01f80239 100644 --- a/aya-obj/src/generated/linux_bindings_powerpc64.rs +++ b/aya-obj/src/generated/linux_bindings_powerpc64.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_riscv64.rs b/aya-obj/src/generated/linux_bindings_riscv64.rs index 1246cc16..61fbdce7 100644 --- a/aya-obj/src/generated/linux_bindings_riscv64.rs +++ b/aya-obj/src/generated/linux_bindings_riscv64.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_s390x.rs b/aya-obj/src/generated/linux_bindings_s390x.rs index 1246cc16..61fbdce7 100644 --- a/aya-obj/src/generated/linux_bindings_s390x.rs +++ b/aya-obj/src/generated/linux_bindings_s390x.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/aya-obj/src/generated/linux_bindings_x86_64.rs b/aya-obj/src/generated/linux_bindings_x86_64.rs index 1246cc16..61fbdce7 100644 --- a/aya-obj/src/generated/linux_bindings_x86_64.rs +++ b/aya-obj/src/generated/linux_bindings_x86_64.rs @@ -1557,6 +1557,18 @@ pub struct btf_var_secinfo { pub struct btf_decl_tag { pub component_idx: __s32, } +impl nlmsgerr_attrs { + pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE; +} +#[repr(u32)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +pub enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + __NLMSGERR_ATTR_MAX = 4, +} pub const IFLA_XDP_UNSPEC: _bindgen_ty_92 = 0; pub const IFLA_XDP_FD: _bindgen_ty_92 = 1; pub const IFLA_XDP_ATTACHED: _bindgen_ty_92 = 2; diff --git a/xtask/public-api/aya-obj.txt b/xtask/public-api/aya-obj.txt index b8c00f94..956c3cd2 100644 --- a/xtask/public-api/aya-obj.txt +++ b/xtask/public-api/aya-obj.txt @@ -2060,6 +2060,53 @@ impl core::clone::CloneToUninit for aya_obj::generated::nf_inet_hooks where T pub unsafe fn aya_obj::generated::nf_inet_hooks::clone_to_uninit(&self, dst: *mut u8) impl core::convert::From for aya_obj::generated::nf_inet_hooks pub fn aya_obj::generated::nf_inet_hooks::from(t: T) -> T +#[repr(u32)] pub enum aya_obj::generated::nlmsgerr_attrs +pub aya_obj::generated::nlmsgerr_attrs::NLMSGERR_ATTR_COOKIE = 3 +pub aya_obj::generated::nlmsgerr_attrs::NLMSGERR_ATTR_MSG = 1 +pub aya_obj::generated::nlmsgerr_attrs::NLMSGERR_ATTR_OFFS = 2 +pub aya_obj::generated::nlmsgerr_attrs::NLMSGERR_ATTR_UNUSED = 0 +pub aya_obj::generated::nlmsgerr_attrs::__NLMSGERR_ATTR_MAX = 4 +impl aya_obj::generated::nlmsgerr_attrs +pub const aya_obj::generated::nlmsgerr_attrs::NLMSGERR_ATTR_MAX: aya_obj::generated::nlmsgerr_attrs +impl core::clone::Clone for aya_obj::generated::nlmsgerr_attrs +pub fn aya_obj::generated::nlmsgerr_attrs::clone(&self) -> aya_obj::generated::nlmsgerr_attrs +impl core::cmp::Eq for aya_obj::generated::nlmsgerr_attrs +impl core::cmp::PartialEq for aya_obj::generated::nlmsgerr_attrs +pub fn aya_obj::generated::nlmsgerr_attrs::eq(&self, other: &aya_obj::generated::nlmsgerr_attrs) -> bool +impl core::fmt::Debug for aya_obj::generated::nlmsgerr_attrs +pub fn aya_obj::generated::nlmsgerr_attrs::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result +impl core::hash::Hash for aya_obj::generated::nlmsgerr_attrs +pub fn aya_obj::generated::nlmsgerr_attrs::hash<__H: core::hash::Hasher>(&self, state: &mut __H) +impl core::marker::Copy for aya_obj::generated::nlmsgerr_attrs +impl core::marker::StructuralPartialEq for aya_obj::generated::nlmsgerr_attrs +impl core::marker::Freeze for aya_obj::generated::nlmsgerr_attrs +impl core::marker::Send for aya_obj::generated::nlmsgerr_attrs +impl core::marker::Sync for aya_obj::generated::nlmsgerr_attrs +impl core::marker::Unpin for aya_obj::generated::nlmsgerr_attrs +impl core::panic::unwind_safe::RefUnwindSafe for aya_obj::generated::nlmsgerr_attrs +impl core::panic::unwind_safe::UnwindSafe for aya_obj::generated::nlmsgerr_attrs +impl core::convert::Into for aya_obj::generated::nlmsgerr_attrs where U: core::convert::From +pub fn aya_obj::generated::nlmsgerr_attrs::into(self) -> U +impl core::convert::TryFrom for aya_obj::generated::nlmsgerr_attrs where U: core::convert::Into +pub type aya_obj::generated::nlmsgerr_attrs::Error = core::convert::Infallible +pub fn aya_obj::generated::nlmsgerr_attrs::try_from(value: U) -> core::result::Result>::Error> +impl core::convert::TryInto for aya_obj::generated::nlmsgerr_attrs where U: core::convert::TryFrom +pub type aya_obj::generated::nlmsgerr_attrs::Error = >::Error +pub fn aya_obj::generated::nlmsgerr_attrs::try_into(self) -> core::result::Result>::Error> +impl alloc::borrow::ToOwned for aya_obj::generated::nlmsgerr_attrs where T: core::clone::Clone +pub type aya_obj::generated::nlmsgerr_attrs::Owned = T +pub fn aya_obj::generated::nlmsgerr_attrs::clone_into(&self, target: &mut T) +pub fn aya_obj::generated::nlmsgerr_attrs::to_owned(&self) -> T +impl core::any::Any for aya_obj::generated::nlmsgerr_attrs where T: 'static + ?core::marker::Sized +pub fn aya_obj::generated::nlmsgerr_attrs::type_id(&self) -> core::any::TypeId +impl core::borrow::Borrow for aya_obj::generated::nlmsgerr_attrs where T: ?core::marker::Sized +pub fn aya_obj::generated::nlmsgerr_attrs::borrow(&self) -> &T +impl core::borrow::BorrowMut for aya_obj::generated::nlmsgerr_attrs where T: ?core::marker::Sized +pub fn aya_obj::generated::nlmsgerr_attrs::borrow_mut(&mut self) -> &mut T +impl core::clone::CloneToUninit for aya_obj::generated::nlmsgerr_attrs where T: core::clone::Clone +pub unsafe fn aya_obj::generated::nlmsgerr_attrs::clone_to_uninit(&self, dst: *mut u8) +impl core::convert::From for aya_obj::generated::nlmsgerr_attrs +pub fn aya_obj::generated::nlmsgerr_attrs::from(t: T) -> T #[repr(u32)] pub enum aya_obj::generated::perf_event_sample_format pub aya_obj::generated::perf_event_sample_format::PERF_SAMPLE_ADDR = 8 pub aya_obj::generated::perf_event_sample_format::PERF_SAMPLE_AUX = 1048576