@ -505,6 +505,7 @@ pub mod bpf_prog_type {
pub const BPF_PROG_TYPE_LSM : Type = 29 ;
pub const BPF_PROG_TYPE_LSM : Type = 29 ;
pub const BPF_PROG_TYPE_SK_LOOKUP : Type = 30 ;
pub const BPF_PROG_TYPE_SK_LOOKUP : Type = 30 ;
pub const BPF_PROG_TYPE_SYSCALL : Type = 31 ;
pub const BPF_PROG_TYPE_SYSCALL : Type = 31 ;
pub const BPF_PROG_TYPE_NETFILTER : Type = 32 ;
}
}
pub mod bpf_attach_type {
pub mod bpf_attach_type {
pub type Type = ::aya_bpf_cty ::c_uint ;
pub type Type = ::aya_bpf_cty ::c_uint ;
@ -552,7 +553,8 @@ pub mod bpf_attach_type {
pub const BPF_PERF_EVENT : Type = 41 ;
pub const BPF_PERF_EVENT : Type = 41 ;
pub const BPF_TRACE_KPROBE_MULTI : Type = 42 ;
pub const BPF_TRACE_KPROBE_MULTI : Type = 42 ;
pub const BPF_LSM_CGROUP : Type = 43 ;
pub const BPF_LSM_CGROUP : Type = 43 ;
pub const __MAX_BPF_ATTACH_TYPE : Type = 44 ;
pub const BPF_STRUCT_OPS : Type = 44 ;
pub const __MAX_BPF_ATTACH_TYPE : Type = 45 ;
}
}
pub mod bpf_link_type {
pub mod bpf_link_type {
pub type Type = ::aya_bpf_cty ::c_uint ;
pub type Type = ::aya_bpf_cty ::c_uint ;
@ -566,7 +568,8 @@ pub mod bpf_link_type {
pub const BPF_LINK_TYPE_PERF_EVENT : Type = 7 ;
pub const BPF_LINK_TYPE_PERF_EVENT : Type = 7 ;
pub const BPF_LINK_TYPE_KPROBE_MULTI : Type = 8 ;
pub const BPF_LINK_TYPE_KPROBE_MULTI : Type = 8 ;
pub const BPF_LINK_TYPE_STRUCT_OPS : Type = 9 ;
pub const BPF_LINK_TYPE_STRUCT_OPS : Type = 9 ;
pub const MAX_BPF_LINK_TYPE : Type = 10 ;
pub const BPF_LINK_TYPE_NETFILTER : Type = 10 ;
pub const MAX_BPF_LINK_TYPE : Type = 11 ;
}
}
pub const BPF_ANY : _bindgen_ty_2 = 0 ;
pub const BPF_ANY : _bindgen_ty_2 = 0 ;
pub const BPF_NOEXIST : _bindgen_ty_2 = 1 ;
pub const BPF_NOEXIST : _bindgen_ty_2 = 1 ;
@ -586,6 +589,8 @@ pub const BPF_F_CLONE: _bindgen_ty_3 = 512;
pub const BPF_F_MMAPABLE : _bindgen_ty_3 = 1024 ;
pub const BPF_F_MMAPABLE : _bindgen_ty_3 = 1024 ;
pub const BPF_F_PRESERVE_ELEMS : _bindgen_ty_3 = 2048 ;
pub const BPF_F_PRESERVE_ELEMS : _bindgen_ty_3 = 2048 ;
pub const BPF_F_INNER_MAP : _bindgen_ty_3 = 4096 ;
pub const BPF_F_INNER_MAP : _bindgen_ty_3 = 4096 ;
pub const BPF_F_LINK : _bindgen_ty_3 = 8192 ;
pub const BPF_F_PATH_FD : _bindgen_ty_3 = 16384 ;
pub type _bindgen_ty_3 = ::aya_bpf_cty ::c_uint ;
pub type _bindgen_ty_3 = ::aya_bpf_cty ::c_uint ;
pub mod bpf_stats_type {
pub mod bpf_stats_type {
pub type Type = ::aya_bpf_cty ::c_uint ;
pub type Type = ::aya_bpf_cty ::c_uint ;
@ -705,6 +710,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub fd_array : __u64 ,
pub fd_array : __u64 ,
pub core_relos : __u64 ,
pub core_relos : __u64 ,
pub core_relo_rec_size : __u32 ,
pub core_relo_rec_size : __u32 ,
pub log_true_size : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Copy, Clone) ]
#[ derive(Copy, Clone) ]
@ -718,6 +724,7 @@ pub struct bpf_attr__bindgen_ty_5 {
pub pathname : __u64 ,
pub pathname : __u64 ,
pub bpf_fd : __u32 ,
pub bpf_fd : __u32 ,
pub file_flags : __u32 ,
pub file_flags : __u32 ,
pub path_fd : __s32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
@ -795,6 +802,7 @@ pub struct bpf_attr__bindgen_ty_12 {
pub btf_size : __u32 ,
pub btf_size : __u32 ,
pub btf_log_size : __u32 ,
pub btf_log_size : __u32 ,
pub btf_log_level : __u32 ,
pub btf_log_level : __u32 ,
pub btf_log_true_size : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
@ -812,41 +820,48 @@ pub struct bpf_attr__bindgen_ty_13 {
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Copy, Clone) ]
#[ derive(Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14 {
pub struct bpf_attr__bindgen_ty_14 {
pub prog_fd : __u32 ,
pub __bindgen_anon_1 : bpf_attr__bindgen_ty_14__bindgen_ty_1 ,
pub __bindgen_anon_1 : bpf_attr__bindgen_ty_14__bindgen_ty_1 ,
pub __bindgen_anon_2 : bpf_attr__bindgen_ty_14__bindgen_ty_2 ,
pub attach_type : __u32 ,
pub attach_type : __u32 ,
pub flags : __u32 ,
pub flags : __u32 ,
pub __bindgen_anon_ 2: bpf_attr__bindgen_ty_14__bindgen_ty_2 ,
pub __bindgen_anon_ 3: bpf_attr__bindgen_ty_14__bindgen_ty_3 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Copy, Clone) ]
#[ derive(Copy, Clone) ]
pub union bpf_attr__bindgen_ty_14__bindgen_ty_1 {
pub union bpf_attr__bindgen_ty_14__bindgen_ty_1 {
pub prog_fd : __u32 ,
pub map_fd : __u32 ,
}
#[ repr(C) ]
#[ derive(Copy, Clone) ]
pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 {
pub target_fd : __u32 ,
pub target_fd : __u32 ,
pub target_ifindex : __u32 ,
pub target_ifindex : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Copy, Clone) ]
#[ derive(Copy, Clone) ]
pub union bpf_attr__bindgen_ty_14__bindgen_ty_2 {
pub union bpf_attr__bindgen_ty_14__bindgen_ty_ 3 {
pub target_btf_id : __u32 ,
pub target_btf_id : __u32 ,
pub __bindgen_anon_1 : bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_1 ,
pub __bindgen_anon_1 : bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_1 ,
pub perf_event : bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_2 ,
pub perf_event : bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_2 ,
pub kprobe_multi : bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3 ,
pub kprobe_multi : bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_3 ,
pub tracing : bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_4 ,
pub tracing : bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_4 ,
pub netfilter : bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_5 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 2 __bindgen_ty_1 {
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 3 __bindgen_ty_1 {
pub iter_info : __u64 ,
pub iter_info : __u64 ,
pub iter_info_len : __u32 ,
pub iter_info_len : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 2 __bindgen_ty_2 {
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 3 __bindgen_ty_2 {
pub bpf_cookie : __u64 ,
pub bpf_cookie : __u64 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 2 __bindgen_ty_3 {
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 3 __bindgen_ty_3 {
pub flags : __u32 ,
pub flags : __u32 ,
pub cnt : __u32 ,
pub cnt : __u32 ,
pub syms : __u64 ,
pub syms : __u64 ,
@ -855,17 +870,37 @@ pub struct bpf_attr__bindgen_ty_14__bindgen_ty_2__bindgen_ty_3 {
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 2 __bindgen_ty_4 {
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_ 3 __bindgen_ty_4 {
pub target_btf_id : __u32 ,
pub target_btf_id : __u32 ,
pub cookie : __u64 ,
pub cookie : __u64 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_5 {
pub pf : __u32 ,
pub hooknum : __u32 ,
pub priority : __s32 ,
pub flags : __u32 ,
}
#[ repr(C) ]
#[ derive(Copy, Clone) ]
pub struct bpf_attr__bindgen_ty_15 {
pub struct bpf_attr__bindgen_ty_15 {
pub link_fd : __u32 ,
pub link_fd : __u32 ,
pub new_prog_fd : __u32 ,
pub __bindgen_anon_1: bpf_attr__bindgen_ty_15__bindgen_ty_1 ,
pub flags : __u32 ,
pub flags : __u32 ,
pub __bindgen_anon_2 : bpf_attr__bindgen_ty_15__bindgen_ty_2 ,
}
#[ repr(C) ]
#[ derive(Copy, Clone) ]
pub union bpf_attr__bindgen_ty_15__bindgen_ty_1 {
pub new_prog_fd : __u32 ,
pub new_map_fd : __u32 ,
}
#[ repr(C) ]
#[ derive(Copy, Clone) ]
pub union bpf_attr__bindgen_ty_15__bindgen_ty_2 {
pub old_prog_fd : __u32 ,
pub old_prog_fd : __u32 ,
pub old_map_fd : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
@ -1713,6 +1748,8 @@ pub union bpf_link_info__bindgen_ty_1 {
pub iter : bpf_link_info__bindgen_ty_1__bindgen_ty_4 ,
pub iter : bpf_link_info__bindgen_ty_1__bindgen_ty_4 ,
pub netns : bpf_link_info__bindgen_ty_1__bindgen_ty_5 ,
pub netns : bpf_link_info__bindgen_ty_1__bindgen_ty_5 ,
pub xdp : bpf_link_info__bindgen_ty_1__bindgen_ty_6 ,
pub xdp : bpf_link_info__bindgen_ty_1__bindgen_ty_6 ,
pub struct_ops : bpf_link_info__bindgen_ty_1__bindgen_ty_7 ,
pub netfilter : bpf_link_info__bindgen_ty_1__bindgen_ty_8 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
@ -1781,6 +1818,19 @@ pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_6 {
pub ifindex : __u32 ,
pub ifindex : __u32 ,
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_7 {
pub map_id : __u32 ,
}
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_link_info__bindgen_ty_1__bindgen_ty_8 {
pub pf : __u32 ,
pub hooknum : __u32 ,
pub priority : __s32 ,
pub flags : __u32 ,
}
#[ repr(C) ]
#[ derive(Copy, Clone) ]
#[ derive(Copy, Clone) ]
pub struct bpf_sock_addr {
pub struct bpf_sock_addr {
pub user_family : __u32 ,
pub user_family : __u32 ,
@ -2207,6 +2257,20 @@ impl bpf_rb_node {
}
}
}
}
#[ repr(C) ]
#[ repr(C) ]
#[ repr(align(4)) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_refcount {
pub _bitfield_align_1 : [ u8 ; 0 ] ,
pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4 usize ] > ,
}
impl bpf_refcount {
#[ inline ]
pub fn new_bitfield_1 ( ) -> __BindgenBitfieldUnit < [ u8 ; 4 usize ] > {
let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4 usize ] > = Default ::default ( ) ;
__bindgen_bitfield_unit
}
}
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_sysctl {
pub struct bpf_sysctl {
pub write : __u32 ,
pub write : __u32 ,
@ -2347,6 +2411,47 @@ pub struct bpf_core_relo {
}
}
pub const BPF_F_TIMER_ABS : _bindgen_ty_39 = 1 ;
pub const BPF_F_TIMER_ABS : _bindgen_ty_39 = 1 ;
pub type _bindgen_ty_39 = ::aya_bpf_cty ::c_uint ;
pub type _bindgen_ty_39 = ::aya_bpf_cty ::c_uint ;
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
pub struct bpf_iter_num {
pub __opaque : [ __u64 ; 1 usize ] ,
}
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
pub struct user_regs_struct {
pub pc : ::aya_bpf_cty ::c_ulong ,
pub ra : ::aya_bpf_cty ::c_ulong ,
pub sp : ::aya_bpf_cty ::c_ulong ,
pub gp : ::aya_bpf_cty ::c_ulong ,
pub tp : ::aya_bpf_cty ::c_ulong ,
pub t0 : ::aya_bpf_cty ::c_ulong ,
pub t1 : ::aya_bpf_cty ::c_ulong ,
pub t2 : ::aya_bpf_cty ::c_ulong ,
pub s0 : ::aya_bpf_cty ::c_ulong ,
pub s1 : ::aya_bpf_cty ::c_ulong ,
pub a0 : ::aya_bpf_cty ::c_ulong ,
pub a1 : ::aya_bpf_cty ::c_ulong ,
pub a2 : ::aya_bpf_cty ::c_ulong ,
pub a3 : ::aya_bpf_cty ::c_ulong ,
pub a4 : ::aya_bpf_cty ::c_ulong ,
pub a5 : ::aya_bpf_cty ::c_ulong ,
pub a6 : ::aya_bpf_cty ::c_ulong ,
pub a7 : ::aya_bpf_cty ::c_ulong ,
pub s2 : ::aya_bpf_cty ::c_ulong ,
pub s3 : ::aya_bpf_cty ::c_ulong ,
pub s4 : ::aya_bpf_cty ::c_ulong ,
pub s5 : ::aya_bpf_cty ::c_ulong ,
pub s6 : ::aya_bpf_cty ::c_ulong ,
pub s7 : ::aya_bpf_cty ::c_ulong ,
pub s8 : ::aya_bpf_cty ::c_ulong ,
pub s9 : ::aya_bpf_cty ::c_ulong ,
pub s10 : ::aya_bpf_cty ::c_ulong ,
pub s11 : ::aya_bpf_cty ::c_ulong ,
pub t3 : ::aya_bpf_cty ::c_ulong ,
pub t4 : ::aya_bpf_cty ::c_ulong ,
pub t5 : ::aya_bpf_cty ::c_ulong ,
pub t6 : ::aya_bpf_cty ::c_ulong ,
}
pub type sa_family_t = ::aya_bpf_cty ::c_ushort ;
pub type sa_family_t = ::aya_bpf_cty ::c_ushort ;
#[ repr(C) ]
#[ repr(C) ]
#[ derive(Debug, Copy, Clone) ]
#[ derive(Debug, Copy, Clone) ]