Selaa lähdekoodia

aya-obj, aya-ebpf-bindings: regenerate

libbpf commit: 20ea95b4505c477af3b6ff6ce9d19cee868ddc5d
tamird 1 kuukausi sitten
vanhempi
commit
ade2e2a739

+ 2 - 5
aya-obj/src/generated/linux_bindings_aarch64.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;

+ 2 - 5
aya-obj/src/generated/linux_bindings_armv7.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;

+ 2 - 5
aya-obj/src/generated/linux_bindings_mips.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 536880128;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 536880129;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = -2147212280;

+ 2 - 5
aya-obj/src/generated/linux_bindings_powerpc64.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 536880128;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 536880129;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = -2147212280;

+ 2 - 5
aya-obj/src/generated/linux_bindings_riscv64.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;

+ 2 - 5
aya-obj/src/generated/linux_bindings_s390x.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;

+ 2 - 5
aya-obj/src/generated/linux_bindings_x86_64.rs

@@ -167,8 +167,6 @@ impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
         fmt.write_str("__IncompleteArrayField")
     }
 }
-pub const SO_ATTACH_BPF: u32 = 50;
-pub const SO_DETACH_BPF: u32 = 27;
 pub const BPF_LD: u32 = 0;
 pub const BPF_LDX: u32 = 1;
 pub const BPF_ST: u32 = 2;
@@ -253,6 +251,8 @@ pub const TC_H_MIN_PRIORITY: u32 = 65504;
 pub const TC_H_MIN_INGRESS: u32 = 65522;
 pub const TC_H_MIN_EGRESS: u32 = 65523;
 pub const TCA_BPF_FLAG_ACT_DIRECT: u32 = 1;
+pub const SO_ATTACH_BPF: u32 = 50;
+pub const SO_DETACH_BPF: u32 = 27;
 pub type __u8 = ::core::ffi::c_uchar;
 pub type __s16 = ::core::ffi::c_short;
 pub type __u16 = ::core::ffi::c_ushort;
@@ -3835,6 +3835,3 @@ pub const TCA_INGRESS_BLOCK: _bindgen_ty_172 = 13;
 pub const TCA_EGRESS_BLOCK: _bindgen_ty_172 = 14;
 pub const __TCA_MAX: _bindgen_ty_172 = 15;
 pub type _bindgen_ty_172 = ::core::ffi::c_uint;
-pub const AYA_PERF_EVENT_IOC_ENABLE: ::core::ffi::c_int = 9216;
-pub const AYA_PERF_EVENT_IOC_DISABLE: ::core::ffi::c_int = 9217;
-pub const AYA_PERF_EVENT_IOC_SET_BPF: ::core::ffi::c_int = 1074013192;

+ 0 - 3
xtask/public-api/aya-obj.txt

@@ -6962,9 +6962,6 @@ impl<T> core::clone::CloneToUninit for aya_obj::generated::tcmsg where T: core::
 pub unsafe fn aya_obj::generated::tcmsg::clone_to_uninit(&self, dst: *mut u8)
 impl<T> core::convert::From<T> for aya_obj::generated::tcmsg
 pub fn aya_obj::generated::tcmsg::from(t: T) -> T
-pub const aya_obj::generated::AYA_PERF_EVENT_IOC_DISABLE: core::ffi::primitives::c_int
-pub const aya_obj::generated::AYA_PERF_EVENT_IOC_ENABLE: core::ffi::primitives::c_int
-pub const aya_obj::generated::AYA_PERF_EVENT_IOC_SET_BPF: core::ffi::primitives::c_int
 pub const aya_obj::generated::BPF_ALU: u32
 pub const aya_obj::generated::BPF_ALU64: u32
 pub const aya_obj::generated::BPF_ANY: aya_obj::generated::_bindgen_ty_4