chore(aya-ebpf)!: Deprecate aya-ebpf-cty

I don't recall why we used aya-ebpf-cty (a fork of the cty crate).
I assume it's because the ffi types in libcore weren't stablized when
the project first started.

Either way, I've replaced aya-ebpf-cty with core::ffi types and
the tests appear to pass still, which is reassuring.

This is a breaking change since the re-export of aya-ebpf-cty as
aya-ebpf::cty has also been removed. Migration is as simple as
replacing import with core::ffi.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
reviewable/pr1164/r1
Dave Tucker 6 months ago
parent 67a0595f87
commit 9ae2742e39

@ -17,7 +17,7 @@ pub fn user_builder() -> Builder {
pub fn bpf_builder() -> Builder {
common_builder()
.ctypes_prefix("::aya_ebpf::cty")
.use_core()
.clang_arg("-Wno-unknown-attributes")
.default_enum_style(EnumVariation::ModuleConsts)
}

@ -7,6 +7,3 @@ license.workspace = true
repository.workspace = true
homepage.workspace = true
edition.workspace = true
[dependencies]
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }

@ -345,13 +345,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 20;
pub const SO_SNDTIMEO: u32 = 21;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_longlong;
pub type __u64 = ::aya_ebpf_cty::c_ulonglong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_longlong;
pub type __u64 = core::ffi::c_ulonglong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -456,7 +456,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -471,7 +471,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -591,7 +591,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -625,7 +625,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -667,7 +667,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -707,7 +707,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -744,7 +744,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -804,7 +804,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -822,7 +822,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -832,18 +832,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -863,13 +863,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -878,7 +878,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -921,7 +921,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -969,7 +969,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1296,7 +1296,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1513,41 +1513,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulong;
pub type _bindgen_ty_14 = core::ffi::c_ulong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1557,55 +1557,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1729,7 +1729,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1821,7 +1821,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1833,7 +1833,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1859,7 +1859,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1871,11 +1871,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1897,7 +1897,7 @@ pub struct sk_msg_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1911,7 +1911,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1952,7 +1952,7 @@ pub struct sk_reuseport_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1966,7 +1966,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2019,7 +2019,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2101,7 +2101,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2429,7 +2429,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2443,7 +2443,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2462,7 +2462,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2479,7 +2479,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2494,13 +2494,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2514,10 +2514,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2535,7 +2535,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2546,7 +2546,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2613,17 +2613,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2634,7 +2634,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2758,7 +2758,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2772,7 +2772,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2835,12 +2835,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2865,7 +2865,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2879,10 +2879,10 @@ pub struct user_pt_regs {
pub pc: __u64,
pub pstate: __u64,
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

@ -345,13 +345,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 20;
pub const SO_SNDTIMEO: u32 = 21;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_longlong;
pub type __u64 = ::aya_ebpf_cty::c_ulonglong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_longlong;
pub type __u64 = core::ffi::c_ulonglong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -451,7 +451,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -466,7 +466,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -586,7 +586,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -620,7 +620,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -662,7 +662,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -702,7 +702,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -739,7 +739,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -799,7 +799,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -817,7 +817,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -827,18 +827,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -858,13 +858,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -873,7 +873,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -916,7 +916,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -964,7 +964,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1291,7 +1291,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1508,41 +1508,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulonglong;
pub type _bindgen_ty_14 = core::ffi::c_ulonglong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1552,55 +1552,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1726,7 +1726,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1818,7 +1818,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1830,7 +1830,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1856,7 +1856,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1868,11 +1868,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1895,7 +1895,7 @@ pub struct sk_msg_md {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1910,7 +1910,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1953,7 +1953,7 @@ pub struct sk_reuseport_md {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1968,7 +1968,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2023,7 +2023,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2105,7 +2105,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2436,7 +2436,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2451,7 +2451,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2470,7 +2470,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2487,7 +2487,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2502,13 +2502,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2522,10 +2522,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2543,7 +2543,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2554,7 +2554,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2621,17 +2621,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2642,7 +2642,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2768,7 +2768,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2783,7 +2783,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2847,12 +2847,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2877,7 +2877,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2886,12 +2886,12 @@ pub struct bpf_iter_num {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct pt_regs {
pub uregs: [::aya_ebpf_cty::c_long; 18usize],
pub uregs: [core::ffi::c_long; 18usize],
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

@ -59,12 +59,12 @@ pub mod bindings {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_map_def {
pub type_: ::aya_ebpf_cty::c_uint,
pub key_size: ::aya_ebpf_cty::c_uint,
pub value_size: ::aya_ebpf_cty::c_uint,
pub max_entries: ::aya_ebpf_cty::c_uint,
pub map_flags: ::aya_ebpf_cty::c_uint,
pub id: ::aya_ebpf_cty::c_uint,
pub pinning: ::aya_ebpf_cty::c_uint,
pub type_: core::ffi::c_uint,
pub key_size: core::ffi::c_uint,
pub value_size: core::ffi::c_uint,
pub max_entries: core::ffi::c_uint,
pub map_flags: core::ffi::c_uint,
pub id: core::ffi::c_uint,
pub pinning: core::ffi::c_uint,
}
}

@ -346,13 +346,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 4102;
pub const SO_SNDTIMEO: u32 = 4101;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_longlong;
pub type __u64 = ::aya_ebpf_cty::c_ulonglong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_longlong;
pub type __u64 = core::ffi::c_ulonglong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -452,7 +452,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -467,7 +467,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -587,7 +587,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -621,7 +621,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -663,7 +663,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -703,7 +703,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -740,7 +740,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -800,7 +800,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -818,7 +818,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -828,18 +828,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -859,13 +859,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -874,7 +874,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -917,7 +917,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -965,7 +965,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1292,7 +1292,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1509,41 +1509,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulonglong;
pub type _bindgen_ty_14 = core::ffi::c_ulonglong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1553,55 +1553,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1727,7 +1727,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1819,7 +1819,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1831,7 +1831,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1857,7 +1857,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1869,11 +1869,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1896,7 +1896,7 @@ pub struct sk_msg_md {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1911,7 +1911,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1954,7 +1954,7 @@ pub struct sk_reuseport_md {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1969,7 +1969,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2024,7 +2024,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2106,7 +2106,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2437,7 +2437,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2452,7 +2452,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2471,7 +2471,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2488,7 +2488,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2503,13 +2503,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2523,10 +2523,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2544,7 +2544,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2555,7 +2555,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2622,17 +2622,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2643,7 +2643,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2769,7 +2769,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2784,7 +2784,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(align(8))]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2848,12 +2848,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2878,7 +2878,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2895,10 +2895,10 @@ pub struct pt_regs {
pub cp0_status: __u64,
pub cp0_cause: __u64,
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

@ -345,13 +345,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 18;
pub const SO_SNDTIMEO: u32 = 19;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_long;
pub type __u64 = ::aya_ebpf_cty::c_ulong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_long;
pub type __u64 = core::ffi::c_ulong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -451,7 +451,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -466,7 +466,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -586,7 +586,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -620,7 +620,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -662,7 +662,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -702,7 +702,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -739,7 +739,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -799,7 +799,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -817,7 +817,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -827,18 +827,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -858,13 +858,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -873,7 +873,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -916,7 +916,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -964,7 +964,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1291,7 +1291,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1508,41 +1508,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulong;
pub type _bindgen_ty_14 = core::ffi::c_ulong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1552,55 +1552,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1724,7 +1724,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1816,7 +1816,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1828,7 +1828,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1854,7 +1854,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1866,11 +1866,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1892,7 +1892,7 @@ pub struct sk_msg_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1906,7 +1906,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1947,7 +1947,7 @@ pub struct sk_reuseport_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1961,7 +1961,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2014,7 +2014,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2096,7 +2096,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2424,7 +2424,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2438,7 +2438,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2457,7 +2457,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2474,7 +2474,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2489,13 +2489,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2509,10 +2509,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2530,7 +2530,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2541,7 +2541,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2608,17 +2608,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2629,7 +2629,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2753,7 +2753,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2767,7 +2767,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2830,12 +2830,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2860,7 +2860,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2869,24 +2869,24 @@ pub struct bpf_iter_num {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct pt_regs {
pub gpr: [::aya_ebpf_cty::c_ulong; 32usize],
pub nip: ::aya_ebpf_cty::c_ulong,
pub msr: ::aya_ebpf_cty::c_ulong,
pub orig_gpr3: ::aya_ebpf_cty::c_ulong,
pub ctr: ::aya_ebpf_cty::c_ulong,
pub link: ::aya_ebpf_cty::c_ulong,
pub xer: ::aya_ebpf_cty::c_ulong,
pub ccr: ::aya_ebpf_cty::c_ulong,
pub softe: ::aya_ebpf_cty::c_ulong,
pub trap: ::aya_ebpf_cty::c_ulong,
pub dar: ::aya_ebpf_cty::c_ulong,
pub dsisr: ::aya_ebpf_cty::c_ulong,
pub result: ::aya_ebpf_cty::c_ulong,
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub gpr: [core::ffi::c_ulong; 32usize],
pub nip: core::ffi::c_ulong,
pub msr: core::ffi::c_ulong,
pub orig_gpr3: core::ffi::c_ulong,
pub ctr: core::ffi::c_ulong,
pub link: core::ffi::c_ulong,
pub xer: core::ffi::c_ulong,
pub ccr: core::ffi::c_ulong,
pub softe: core::ffi::c_ulong,
pub trap: core::ffi::c_ulong,
pub dar: core::ffi::c_ulong,
pub dsisr: core::ffi::c_ulong,
pub result: core::ffi::c_ulong,
}
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

@ -345,13 +345,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 20;
pub const SO_SNDTIMEO: u32 = 21;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_longlong;
pub type __u64 = ::aya_ebpf_cty::c_ulonglong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_longlong;
pub type __u64 = core::ffi::c_ulonglong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -456,7 +456,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -471,7 +471,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -591,7 +591,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -625,7 +625,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -667,7 +667,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -707,7 +707,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -744,7 +744,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -804,7 +804,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -822,7 +822,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -832,18 +832,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -863,13 +863,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -878,7 +878,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -921,7 +921,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -969,7 +969,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1296,7 +1296,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1513,41 +1513,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulong;
pub type _bindgen_ty_14 = core::ffi::c_ulong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1557,55 +1557,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1729,7 +1729,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1821,7 +1821,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1833,7 +1833,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1859,7 +1859,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1871,11 +1871,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1897,7 +1897,7 @@ pub struct sk_msg_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1911,7 +1911,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1952,7 +1952,7 @@ pub struct sk_reuseport_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1966,7 +1966,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2019,7 +2019,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2101,7 +2101,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2429,7 +2429,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2443,7 +2443,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2462,7 +2462,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2479,7 +2479,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2494,13 +2494,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2514,10 +2514,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2535,7 +2535,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2546,7 +2546,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2613,17 +2613,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2634,7 +2634,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2758,7 +2758,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2772,7 +2772,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2835,12 +2835,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2865,7 +2865,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2874,43 +2874,43 @@ pub struct bpf_iter_num {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct user_regs_struct {
pub pc: ::aya_ebpf_cty::c_ulong,
pub ra: ::aya_ebpf_cty::c_ulong,
pub sp: ::aya_ebpf_cty::c_ulong,
pub gp: ::aya_ebpf_cty::c_ulong,
pub tp: ::aya_ebpf_cty::c_ulong,
pub t0: ::aya_ebpf_cty::c_ulong,
pub t1: ::aya_ebpf_cty::c_ulong,
pub t2: ::aya_ebpf_cty::c_ulong,
pub s0: ::aya_ebpf_cty::c_ulong,
pub s1: ::aya_ebpf_cty::c_ulong,
pub a0: ::aya_ebpf_cty::c_ulong,
pub a1: ::aya_ebpf_cty::c_ulong,
pub a2: ::aya_ebpf_cty::c_ulong,
pub a3: ::aya_ebpf_cty::c_ulong,
pub a4: ::aya_ebpf_cty::c_ulong,
pub a5: ::aya_ebpf_cty::c_ulong,
pub a6: ::aya_ebpf_cty::c_ulong,
pub a7: ::aya_ebpf_cty::c_ulong,
pub s2: ::aya_ebpf_cty::c_ulong,
pub s3: ::aya_ebpf_cty::c_ulong,
pub s4: ::aya_ebpf_cty::c_ulong,
pub s5: ::aya_ebpf_cty::c_ulong,
pub s6: ::aya_ebpf_cty::c_ulong,
pub s7: ::aya_ebpf_cty::c_ulong,
pub s8: ::aya_ebpf_cty::c_ulong,
pub s9: ::aya_ebpf_cty::c_ulong,
pub s10: ::aya_ebpf_cty::c_ulong,
pub s11: ::aya_ebpf_cty::c_ulong,
pub t3: ::aya_ebpf_cty::c_ulong,
pub t4: ::aya_ebpf_cty::c_ulong,
pub t5: ::aya_ebpf_cty::c_ulong,
pub t6: ::aya_ebpf_cty::c_ulong,
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub pc: core::ffi::c_ulong,
pub ra: core::ffi::c_ulong,
pub sp: core::ffi::c_ulong,
pub gp: core::ffi::c_ulong,
pub tp: core::ffi::c_ulong,
pub t0: core::ffi::c_ulong,
pub t1: core::ffi::c_ulong,
pub t2: core::ffi::c_ulong,
pub s0: core::ffi::c_ulong,
pub s1: core::ffi::c_ulong,
pub a0: core::ffi::c_ulong,
pub a1: core::ffi::c_ulong,
pub a2: core::ffi::c_ulong,
pub a3: core::ffi::c_ulong,
pub a4: core::ffi::c_ulong,
pub a5: core::ffi::c_ulong,
pub a6: core::ffi::c_ulong,
pub a7: core::ffi::c_ulong,
pub s2: core::ffi::c_ulong,
pub s3: core::ffi::c_ulong,
pub s4: core::ffi::c_ulong,
pub s5: core::ffi::c_ulong,
pub s6: core::ffi::c_ulong,
pub s7: core::ffi::c_ulong,
pub s8: core::ffi::c_ulong,
pub s9: core::ffi::c_ulong,
pub s10: core::ffi::c_ulong,
pub s11: core::ffi::c_ulong,
pub t3: core::ffi::c_ulong,
pub t4: core::ffi::c_ulong,
pub t5: core::ffi::c_ulong,
pub t6: core::ffi::c_ulong,
}
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -345,13 +345,13 @@ pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 20;
pub const SO_SNDTIMEO: u32 = 21;
pub type __u8 = ::aya_ebpf_cty::c_uchar;
pub type __s16 = ::aya_ebpf_cty::c_short;
pub type __u16 = ::aya_ebpf_cty::c_ushort;
pub type __s32 = ::aya_ebpf_cty::c_int;
pub type __u32 = ::aya_ebpf_cty::c_uint;
pub type __s64 = ::aya_ebpf_cty::c_longlong;
pub type __u64 = ::aya_ebpf_cty::c_ulonglong;
pub type __u8 = core::ffi::c_uchar;
pub type __s16 = core::ffi::c_short;
pub type __u16 = core::ffi::c_ushort;
pub type __s32 = core::ffi::c_int;
pub type __u32 = core::ffi::c_uint;
pub type __s64 = core::ffi::c_longlong;
pub type __u64 = core::ffi::c_ulonglong;
pub type __be16 = __u16;
pub type __be32 = __u32;
pub type __wsum = __u32;
@ -451,7 +451,7 @@ pub struct ipv6hdr {
_unused: [u8; 0],
}
pub mod bpf_cond_pseudo_jmp {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAY_GOTO: Type = 0;
}
pub const BPF_REG_0: _bindgen_ty_1 = 0;
@ -466,7 +466,7 @@ pub const BPF_REG_8: _bindgen_ty_1 = 8;
pub const BPF_REG_9: _bindgen_ty_1 = 9;
pub const BPF_REG_10: _bindgen_ty_1 = 10;
pub const __MAX_BPF_REG: _bindgen_ty_1 = 11;
pub type _bindgen_ty_1 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_1 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_insn {
@ -586,7 +586,7 @@ pub struct bpf_cgroup_storage_key {
pub attach_type: __u32,
}
pub mod bpf_cgroup_iter_order {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_ITER_ORDER_UNSPEC: Type = 0;
pub const BPF_CGROUP_ITER_SELF_ONLY: Type = 1;
pub const BPF_CGROUP_ITER_DESCENDANTS_PRE: Type = 2;
@ -620,7 +620,7 @@ pub struct bpf_iter_link_info__bindgen_ty_3 {
pub pid_fd: __u32,
}
pub mod bpf_cmd {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_CREATE: Type = 0;
pub const BPF_MAP_LOOKUP_ELEM: Type = 1;
pub const BPF_MAP_UPDATE_ELEM: Type = 2;
@ -662,7 +662,7 @@ pub mod bpf_cmd {
pub const __MAX_BPF_CMD: Type = 37;
}
pub mod bpf_map_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MAP_TYPE_UNSPEC: Type = 0;
pub const BPF_MAP_TYPE_HASH: Type = 1;
pub const BPF_MAP_TYPE_ARRAY: Type = 2;
@ -702,7 +702,7 @@ pub mod bpf_map_type {
pub const __MAX_BPF_MAP_TYPE: Type = 34;
}
pub mod bpf_prog_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PROG_TYPE_UNSPEC: Type = 0;
pub const BPF_PROG_TYPE_SOCKET_FILTER: Type = 1;
pub const BPF_PROG_TYPE_KPROBE: Type = 2;
@ -739,7 +739,7 @@ pub mod bpf_prog_type {
pub const __MAX_BPF_PROG_TYPE: Type = 33;
}
pub mod bpf_attach_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CGROUP_INET_INGRESS: Type = 0;
pub const BPF_CGROUP_INET_EGRESS: Type = 1;
pub const BPF_CGROUP_INET_SOCK_CREATE: Type = 2;
@ -799,7 +799,7 @@ pub mod bpf_attach_type {
pub const __MAX_BPF_ATTACH_TYPE: Type = 56;
}
pub mod bpf_link_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LINK_TYPE_UNSPEC: Type = 0;
pub const BPF_LINK_TYPE_RAW_TRACEPOINT: Type = 1;
pub const BPF_LINK_TYPE_TRACING: Type = 2;
@ -817,7 +817,7 @@ pub mod bpf_link_type {
pub const __MAX_BPF_LINK_TYPE: Type = 14;
}
pub mod bpf_perf_event_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_PERF_EVENT_UNSPEC: Type = 0;
pub const BPF_PERF_EVENT_UPROBE: Type = 1;
pub const BPF_PERF_EVENT_URETPROBE: Type = 2;
@ -827,18 +827,18 @@ pub mod bpf_perf_event_type {
pub const BPF_PERF_EVENT_EVENT: Type = 6;
}
pub const BPF_F_KPROBE_MULTI_RETURN: _bindgen_ty_2 = 1;
pub type _bindgen_ty_2 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_2 = core::ffi::c_uint;
pub const BPF_F_UPROBE_MULTI_RETURN: _bindgen_ty_3 = 1;
pub type _bindgen_ty_3 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_3 = core::ffi::c_uint;
pub mod bpf_addr_space_cast {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADDR_SPACE_CAST: Type = 1;
}
pub const BPF_ANY: _bindgen_ty_4 = 0;
pub const BPF_NOEXIST: _bindgen_ty_4 = 1;
pub const BPF_EXIST: _bindgen_ty_4 = 2;
pub const BPF_F_LOCK: _bindgen_ty_4 = 4;
pub type _bindgen_ty_4 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_4 = core::ffi::c_uint;
pub const BPF_F_NO_PREALLOC: _bindgen_ty_5 = 1;
pub const BPF_F_NO_COMMON_LRU: _bindgen_ty_5 = 2;
pub const BPF_F_NUMA_NODE: _bindgen_ty_5 = 4;
@ -858,13 +858,13 @@ pub const BPF_F_VTYPE_BTF_OBJ_FD: _bindgen_ty_5 = 32768;
pub const BPF_F_TOKEN_FD: _bindgen_ty_5 = 65536;
pub const BPF_F_SEGV_ON_FAULT: _bindgen_ty_5 = 131072;
pub const BPF_F_NO_USER_CONV: _bindgen_ty_5 = 262144;
pub type _bindgen_ty_5 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_5 = core::ffi::c_uint;
pub mod bpf_stats_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STATS_RUN_TIME: Type = 0;
}
pub mod bpf_stack_build_id_status {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_STACK_BUILD_ID_EMPTY: Type = 0;
pub const BPF_STACK_BUILD_ID_VALID: Type = 1;
pub const BPF_STACK_BUILD_ID_IP: Type = 2;
@ -873,7 +873,7 @@ pub mod bpf_stack_build_id_status {
#[derive(Copy, Clone)]
pub struct bpf_stack_build_id {
pub status: __s32,
pub build_id: [::aya_ebpf_cty::c_uchar; 20usize],
pub build_id: [core::ffi::c_uchar; 20usize],
pub __bindgen_anon_1: bpf_stack_build_id__bindgen_ty_1,
}
#[repr(C)]
@ -916,7 +916,7 @@ pub struct bpf_attr__bindgen_ty_1 {
pub map_flags: __u32,
pub inner_map_fd: __u32,
pub numa_node: __u32,
pub map_name: [::aya_ebpf_cty::c_char; 16usize],
pub map_name: [core::ffi::c_char; 16usize],
pub map_ifindex: __u32,
pub btf_fd: __u32,
pub btf_key_type_id: __u32,
@ -964,7 +964,7 @@ pub struct bpf_attr__bindgen_ty_4 {
pub log_buf: __u64,
pub kern_version: __u32,
pub prog_flags: __u32,
pub prog_name: [::aya_ebpf_cty::c_char; 16usize],
pub prog_name: [core::ffi::c_char; 16usize],
pub prog_ifindex: __u32,
pub expected_attach_type: __u32,
pub prog_btf_fd: __u32,
@ -1291,7 +1291,7 @@ pub struct bpf_attr__bindgen_ty_20 {
pub bpffs_fd: __u32,
}
pub mod bpf_func_id {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FUNC_unspec: Type = 0;
pub const BPF_FUNC_map_lookup_elem: Type = 1;
pub const BPF_FUNC_map_update_elem: Type = 2;
@ -1508,41 +1508,41 @@ pub mod bpf_func_id {
}
pub const BPF_F_RECOMPUTE_CSUM: _bindgen_ty_6 = 1;
pub const BPF_F_INVALIDATE_HASH: _bindgen_ty_6 = 2;
pub type _bindgen_ty_6 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_6 = core::ffi::c_uint;
pub const BPF_F_HDR_FIELD_MASK: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_7 = core::ffi::c_uint;
pub const BPF_F_PSEUDO_HDR: _bindgen_ty_8 = 16;
pub const BPF_F_MARK_MANGLED_0: _bindgen_ty_8 = 32;
pub const BPF_F_MARK_ENFORCE: _bindgen_ty_8 = 64;
pub type _bindgen_ty_8 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_8 = core::ffi::c_uint;
pub const BPF_F_INGRESS: _bindgen_ty_9 = 1;
pub type _bindgen_ty_9 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_9 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_IPV6: _bindgen_ty_10 = 1;
pub type _bindgen_ty_10 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_10 = core::ffi::c_uint;
pub const BPF_F_SKIP_FIELD_MASK: _bindgen_ty_11 = 255;
pub const BPF_F_USER_STACK: _bindgen_ty_11 = 256;
pub const BPF_F_FAST_STACK_CMP: _bindgen_ty_11 = 512;
pub const BPF_F_REUSE_STACKID: _bindgen_ty_11 = 1024;
pub const BPF_F_USER_BUILD_ID: _bindgen_ty_11 = 2048;
pub type _bindgen_ty_11 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_11 = core::ffi::c_uint;
pub const BPF_F_ZERO_CSUM_TX: _bindgen_ty_12 = 2;
pub const BPF_F_DONT_FRAGMENT: _bindgen_ty_12 = 4;
pub const BPF_F_SEQ_NUMBER: _bindgen_ty_12 = 8;
pub const BPF_F_NO_TUNNEL_KEY: _bindgen_ty_12 = 16;
pub type _bindgen_ty_12 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_12 = core::ffi::c_uint;
pub const BPF_F_TUNINFO_FLAGS: _bindgen_ty_13 = 16;
pub type _bindgen_ty_13 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_13 = core::ffi::c_uint;
pub const BPF_F_INDEX_MASK: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CURRENT_CPU: _bindgen_ty_14 = 4294967295;
pub const BPF_F_CTXLEN_MASK: _bindgen_ty_14 = 4503595332403200;
pub type _bindgen_ty_14 = ::aya_ebpf_cty::c_ulong;
pub type _bindgen_ty_14 = core::ffi::c_ulong;
pub const BPF_F_CURRENT_NETNS: _bindgen_ty_15 = -1;
pub type _bindgen_ty_15 = ::aya_ebpf_cty::c_int;
pub type _bindgen_ty_15 = core::ffi::c_int;
pub const BPF_CSUM_LEVEL_QUERY: _bindgen_ty_16 = 0;
pub const BPF_CSUM_LEVEL_INC: _bindgen_ty_16 = 1;
pub const BPF_CSUM_LEVEL_DEC: _bindgen_ty_16 = 2;
pub const BPF_CSUM_LEVEL_RESET: _bindgen_ty_16 = 3;
pub type _bindgen_ty_16 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_16 = core::ffi::c_uint;
pub const BPF_F_ADJ_ROOM_FIXED_GSO: _bindgen_ty_17 = 1;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV4: _bindgen_ty_17 = 2;
pub const BPF_F_ADJ_ROOM_ENCAP_L3_IPV6: _bindgen_ty_17 = 4;
@ -1552,55 +1552,55 @@ pub const BPF_F_ADJ_ROOM_NO_CSUM_RESET: _bindgen_ty_17 = 32;
pub const BPF_F_ADJ_ROOM_ENCAP_L2_ETH: _bindgen_ty_17 = 64;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV4: _bindgen_ty_17 = 128;
pub const BPF_F_ADJ_ROOM_DECAP_L3_IPV6: _bindgen_ty_17 = 256;
pub type _bindgen_ty_17 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_17 = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_ENCAP_L2_MASK: _bindgen_ty_18 = 255;
pub const BPF_ADJ_ROOM_ENCAP_L2_SHIFT: _bindgen_ty_18 = 56;
pub type _bindgen_ty_18 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_18 = core::ffi::c_uint;
pub const BPF_F_SYSCTL_BASE_NAME: _bindgen_ty_19 = 1;
pub type _bindgen_ty_19 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_19 = core::ffi::c_uint;
pub const BPF_LOCAL_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub const BPF_SK_STORAGE_GET_F_CREATE: _bindgen_ty_20 = 1;
pub type _bindgen_ty_20 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_20 = core::ffi::c_uint;
pub const BPF_F_GET_BRANCH_RECORDS_SIZE: _bindgen_ty_21 = 1;
pub type _bindgen_ty_21 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_21 = core::ffi::c_uint;
pub const BPF_RB_NO_WAKEUP: _bindgen_ty_22 = 1;
pub const BPF_RB_FORCE_WAKEUP: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_22 = core::ffi::c_uint;
pub const BPF_RB_AVAIL_DATA: _bindgen_ty_23 = 0;
pub const BPF_RB_RING_SIZE: _bindgen_ty_23 = 1;
pub const BPF_RB_CONS_POS: _bindgen_ty_23 = 2;
pub const BPF_RB_PROD_POS: _bindgen_ty_23 = 3;
pub type _bindgen_ty_23 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_23 = core::ffi::c_uint;
pub const BPF_RINGBUF_BUSY_BIT: _bindgen_ty_24 = 2147483648;
pub const BPF_RINGBUF_DISCARD_BIT: _bindgen_ty_24 = 1073741824;
pub const BPF_RINGBUF_HDR_SZ: _bindgen_ty_24 = 8;
pub type _bindgen_ty_24 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_24 = core::ffi::c_uint;
pub const BPF_SK_LOOKUP_F_REPLACE: _bindgen_ty_25 = 1;
pub const BPF_SK_LOOKUP_F_NO_REUSEPORT: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_25 = core::ffi::c_uint;
pub mod bpf_adj_room_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_ADJ_ROOM_NET: Type = 0;
pub const BPF_ADJ_ROOM_MAC: Type = 1;
}
pub mod bpf_hdr_start_off {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_HDR_START_MAC: Type = 0;
pub const BPF_HDR_START_NET: Type = 1;
}
pub mod bpf_lwt_encap_mode {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LWT_ENCAP_SEG6: Type = 0;
pub const BPF_LWT_ENCAP_SEG6_INLINE: Type = 1;
pub const BPF_LWT_ENCAP_IP: Type = 2;
}
pub const BPF_F_BPRM_SECUREEXEC: _bindgen_ty_26 = 1;
pub type _bindgen_ty_26 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_26 = core::ffi::c_uint;
pub const BPF_F_BROADCAST: _bindgen_ty_27 = 8;
pub const BPF_F_EXCLUDE_INGRESS: _bindgen_ty_27 = 16;
pub type _bindgen_ty_27 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_27 = core::ffi::c_uint;
pub mod _bindgen_ty_28 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_SKB_TSTAMP_UNSPEC: Type = 0;
pub const BPF_SKB_TSTAMP_DELIVERY_MONO: Type = 1;
}
@ -1724,7 +1724,7 @@ pub union bpf_xfrm_state__bindgen_ty_1 {
pub remote_ipv6: [__u32; 4usize],
}
pub mod bpf_ret_code {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_OK: Type = 0;
pub const BPF_DROP: Type = 2;
pub const BPF_REDIRECT: Type = 7;
@ -1816,7 +1816,7 @@ pub struct bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 {
pub dport: __be16,
}
pub mod tcx_action_base {
pub type Type = ::aya_ebpf_cty::c_int;
pub type Type = core::ffi::c_int;
pub const TCX_NEXT: Type = -1;
pub const TCX_PASS: Type = 0;
pub const TCX_DROP: Type = 2;
@ -1828,7 +1828,7 @@ pub struct bpf_xdp_sock {
pub queue_id: __u32,
}
pub mod xdp_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const XDP_ABORTED: Type = 0;
pub const XDP_DROP: Type = 1;
pub const XDP_PASS: Type = 2;
@ -1854,7 +1854,7 @@ pub struct bpf_devmap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_devmap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
#[repr(C)]
@ -1866,11 +1866,11 @@ pub struct bpf_cpumap_val {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_cpumap_val__bindgen_ty_1 {
pub fd: ::aya_ebpf_cty::c_int,
pub fd: core::ffi::c_int,
pub id: __u32,
}
pub mod sk_action {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const SK_DROP: Type = 0;
pub const SK_PASS: Type = 1;
}
@ -1892,7 +1892,7 @@ pub struct sk_msg_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1906,7 +1906,7 @@ impl sk_msg_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_msg_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1947,7 +1947,7 @@ pub struct sk_reuseport_md {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_1 {
pub data: *mut ::aya_ebpf_cty::c_void,
pub data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -1961,7 +1961,7 @@ impl sk_reuseport_md__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union sk_reuseport_md__bindgen_ty_2 {
pub data_end: *mut ::aya_ebpf_cty::c_void,
pub data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2014,7 +2014,7 @@ pub struct bpf_prog_info {
pub created_by_uid: __u32,
pub nr_map_ids: __u32,
pub map_ids: __u64,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
@ -2096,7 +2096,7 @@ pub struct bpf_map_info {
pub value_size: __u32,
pub max_entries: __u32,
pub map_flags: __u32,
pub name: [::aya_ebpf_cty::c_char; 16usize],
pub name: [core::ffi::c_char; 16usize],
pub ifindex: __u32,
pub btf_vmlinux_value_type_id: __u32,
pub netns_dev: __u64,
@ -2424,7 +2424,7 @@ impl bpf_sock_ops__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_3 {
pub skb_data: *mut ::aya_ebpf_cty::c_void,
pub skb_data: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2438,7 +2438,7 @@ impl bpf_sock_ops__bindgen_ty_3 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sock_ops__bindgen_ty_4 {
pub skb_data_end: *mut ::aya_ebpf_cty::c_void,
pub skb_data_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2457,7 +2457,7 @@ pub const BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 16;
pub const BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 32;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG: _bindgen_ty_29 = 64;
pub const BPF_SOCK_OPS_ALL_CB_FLAGS: _bindgen_ty_29 = 127;
pub type _bindgen_ty_29 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_29 = core::ffi::c_uint;
pub const BPF_SOCK_OPS_VOID: _bindgen_ty_30 = 0;
pub const BPF_SOCK_OPS_TIMEOUT_INIT: _bindgen_ty_30 = 1;
pub const BPF_SOCK_OPS_RWND_INIT: _bindgen_ty_30 = 2;
@ -2474,7 +2474,7 @@ pub const BPF_SOCK_OPS_RTT_CB: _bindgen_ty_30 = 12;
pub const BPF_SOCK_OPS_PARSE_HDR_OPT_CB: _bindgen_ty_30 = 13;
pub const BPF_SOCK_OPS_HDR_OPT_LEN_CB: _bindgen_ty_30 = 14;
pub const BPF_SOCK_OPS_WRITE_HDR_OPT_CB: _bindgen_ty_30 = 15;
pub type _bindgen_ty_30 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_30 = core::ffi::c_uint;
pub const BPF_TCP_ESTABLISHED: _bindgen_ty_31 = 1;
pub const BPF_TCP_SYN_SENT: _bindgen_ty_31 = 2;
pub const BPF_TCP_SYN_RECV: _bindgen_ty_31 = 3;
@ -2489,13 +2489,13 @@ pub const BPF_TCP_CLOSING: _bindgen_ty_31 = 11;
pub const BPF_TCP_NEW_SYN_RECV: _bindgen_ty_31 = 12;
pub const BPF_TCP_BOUND_INACTIVE: _bindgen_ty_31 = 13;
pub const BPF_TCP_MAX_STATES: _bindgen_ty_31 = 14;
pub type _bindgen_ty_31 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_31 = core::ffi::c_uint;
pub mod _bindgen_ty_33 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_LOAD_HDR_OPT_TCP_SYN: Type = 1;
}
pub mod _bindgen_ty_34 {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_WRITE_HDR_TCP_CURRENT_MSS: Type = 1;
pub const BPF_WRITE_HDR_TCP_SYNACK_COOKIE: Type = 2;
}
@ -2509,10 +2509,10 @@ pub struct bpf_perf_event_value {
pub const BPF_DEVCG_ACC_MKNOD: _bindgen_ty_35 = 1;
pub const BPF_DEVCG_ACC_READ: _bindgen_ty_35 = 2;
pub const BPF_DEVCG_ACC_WRITE: _bindgen_ty_35 = 4;
pub type _bindgen_ty_35 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_35 = core::ffi::c_uint;
pub const BPF_DEVCG_DEV_BLOCK: _bindgen_ty_36 = 1;
pub const BPF_DEVCG_DEV_CHAR: _bindgen_ty_36 = 2;
pub type _bindgen_ty_36 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_36 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_cgroup_dev_ctx {
@ -2530,7 +2530,7 @@ pub const BPF_FIB_LOOKUP_OUTPUT: _bindgen_ty_37 = 2;
pub const BPF_FIB_LOOKUP_SKIP_NEIGH: _bindgen_ty_37 = 4;
pub const BPF_FIB_LOOKUP_TBID: _bindgen_ty_37 = 8;
pub const BPF_FIB_LOOKUP_SRC: _bindgen_ty_37 = 16;
pub type _bindgen_ty_37 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_37 = core::ffi::c_uint;
pub const BPF_FIB_LKUP_RET_SUCCESS: _bindgen_ty_38 = 0;
pub const BPF_FIB_LKUP_RET_BLACKHOLE: _bindgen_ty_38 = 1;
pub const BPF_FIB_LKUP_RET_UNREACHABLE: _bindgen_ty_38 = 2;
@ -2541,7 +2541,7 @@ pub const BPF_FIB_LKUP_RET_UNSUPP_LWT: _bindgen_ty_38 = 6;
pub const BPF_FIB_LKUP_RET_NO_NEIGH: _bindgen_ty_38 = 7;
pub const BPF_FIB_LKUP_RET_FRAG_NEEDED: _bindgen_ty_38 = 8;
pub const BPF_FIB_LKUP_RET_NO_SRC_ADDR: _bindgen_ty_38 = 9;
pub type _bindgen_ty_38 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_38 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_fib_lookup {
@ -2608,17 +2608,17 @@ pub union bpf_redir_neigh__bindgen_ty_1 {
pub ipv6_nh: [__u32; 4usize],
}
pub mod bpf_check_mtu_flags {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_SEGS: Type = 1;
}
pub mod bpf_check_mtu_ret {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_MTU_CHK_RET_SUCCESS: Type = 0;
pub const BPF_MTU_CHK_RET_FRAG_NEEDED: Type = 1;
pub const BPF_MTU_CHK_RET_SEGS_TOOBIG: Type = 2;
}
pub mod bpf_task_fd_type {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_FD_TYPE_RAW_TRACEPOINT: Type = 0;
pub const BPF_FD_TYPE_TRACEPOINT: Type = 1;
pub const BPF_FD_TYPE_KPROBE: Type = 2;
@ -2629,7 +2629,7 @@ pub mod bpf_task_fd_type {
pub const BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG: _bindgen_ty_39 = 1;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL: _bindgen_ty_39 = 2;
pub const BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP: _bindgen_ty_39 = 4;
pub type _bindgen_ty_39 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_39 = core::ffi::c_uint;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct bpf_flow_keys {
@ -2753,7 +2753,7 @@ impl bpf_sockopt__bindgen_ty_1 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut ::aya_ebpf_cty::c_void,
pub optval: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2767,7 +2767,7 @@ impl bpf_sockopt__bindgen_ty_2 {
#[repr(C)]
#[derive(Copy, Clone)]
pub union bpf_sockopt__bindgen_ty_3 {
pub optval_end: *mut ::aya_ebpf_cty::c_void,
pub optval_end: *mut core::ffi::c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
}
@ -2830,12 +2830,12 @@ impl bpf_sk_lookup {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct btf_ptr {
pub ptr: *mut ::aya_ebpf_cty::c_void,
pub ptr: *mut core::ffi::c_void,
pub type_id: __u32,
pub flags: __u32,
}
pub mod bpf_core_relo_kind {
pub type Type = ::aya_ebpf_cty::c_uint;
pub type Type = core::ffi::c_uint;
pub const BPF_CORE_FIELD_BYTE_OFFSET: Type = 0;
pub const BPF_CORE_FIELD_BYTE_SIZE: Type = 1;
pub const BPF_CORE_FIELD_EXISTS: Type = 2;
@ -2860,7 +2860,7 @@ pub struct bpf_core_relo {
}
pub const BPF_F_TIMER_ABS: _bindgen_ty_41 = 1;
pub const BPF_F_TIMER_CPU_PIN: _bindgen_ty_41 = 2;
pub type _bindgen_ty_41 = ::aya_ebpf_cty::c_uint;
pub type _bindgen_ty_41 = core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct bpf_iter_num {
@ -2869,32 +2869,32 @@ pub struct bpf_iter_num {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct pt_regs {
pub r15: ::aya_ebpf_cty::c_ulong,
pub r14: ::aya_ebpf_cty::c_ulong,
pub r13: ::aya_ebpf_cty::c_ulong,
pub r12: ::aya_ebpf_cty::c_ulong,
pub rbp: ::aya_ebpf_cty::c_ulong,
pub rbx: ::aya_ebpf_cty::c_ulong,
pub r11: ::aya_ebpf_cty::c_ulong,
pub r10: ::aya_ebpf_cty::c_ulong,
pub r9: ::aya_ebpf_cty::c_ulong,
pub r8: ::aya_ebpf_cty::c_ulong,
pub rax: ::aya_ebpf_cty::c_ulong,
pub rcx: ::aya_ebpf_cty::c_ulong,
pub rdx: ::aya_ebpf_cty::c_ulong,
pub rsi: ::aya_ebpf_cty::c_ulong,
pub rdi: ::aya_ebpf_cty::c_ulong,
pub orig_rax: ::aya_ebpf_cty::c_ulong,
pub rip: ::aya_ebpf_cty::c_ulong,
pub cs: ::aya_ebpf_cty::c_ulong,
pub eflags: ::aya_ebpf_cty::c_ulong,
pub rsp: ::aya_ebpf_cty::c_ulong,
pub ss: ::aya_ebpf_cty::c_ulong,
}
pub type sa_family_t = ::aya_ebpf_cty::c_ushort;
pub r15: core::ffi::c_ulong,
pub r14: core::ffi::c_ulong,
pub r13: core::ffi::c_ulong,
pub r12: core::ffi::c_ulong,
pub rbp: core::ffi::c_ulong,
pub rbx: core::ffi::c_ulong,
pub r11: core::ffi::c_ulong,
pub r10: core::ffi::c_ulong,
pub r9: core::ffi::c_ulong,
pub r8: core::ffi::c_ulong,
pub rax: core::ffi::c_ulong,
pub rcx: core::ffi::c_ulong,
pub rdx: core::ffi::c_ulong,
pub rsi: core::ffi::c_ulong,
pub rdi: core::ffi::c_ulong,
pub orig_rax: core::ffi::c_ulong,
pub rip: core::ffi::c_ulong,
pub cs: core::ffi::c_ulong,
pub eflags: core::ffi::c_ulong,
pub rsp: core::ffi::c_ulong,
pub ss: core::ffi::c_ulong,
}
pub type sa_family_t = core::ffi::c_ushort;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr {
pub sa_family: sa_family_t,
pub sa_data: [::aya_ebpf_cty::c_char; 14usize],
pub sa_data: [core::ffi::c_char; 14usize],
}

File diff suppressed because it is too large Load Diff

@ -1,124 +0,0 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to $[Semantic Versioning](http://semver.org/).
## [Unreleased]
## [v0.2.1] - 2019-11-16
### Added
- Support for the `xtensa`, `riscv32` and `riscv64` architectures
## [v0.2.0] - 2019-02-06
### Changed
- [breaking-change] `cty::c_void` is now a type alias of `core::ffi::c_void`.
## [v0.1.5] - 2017-05-29
### Added
- More types like `int32_t`
## [v0.1.4] - 2017-05-29
### Added
- Support for the `msp430` architecture.
### Fixed
- [breaking-change] The type definitions of `c_long` and `c_ulong`.
## [v0.1.3] - 2017-05-29 - YANKED
### Added
- Support for the `nvptx` and `nvptx64` architectures.
## [v0.1.2] - 2017-05-29 - YANKED
### Fixed
- [breaking-change] The type definitions of `c_int` and `c_uint`.
## [v0.1.1] - 2017-05-29 - YANKED
### Fixed
- [breaking-change] The type definitions of `c_long`, `c_ulong` and
`c_longlong`.
## v0.1.0 - 2017-05-24 - YANKED
- Initial release
[Unreleased]: https://github.com/japaric/cty/compare/v0.2.1...HEAD
[v0.2.1]: https://github.com/japaric/cty/compare/v0.2.0...v0.2.1
[v0.2.0]: https://github.com/japaric/cty/compare/v0.1.5...v0.2.0
[v0.1.5]: https://github.com/japaric/cty/compare/v0.1.4...v0.1.5
[v0.1.4]: https://github.com/japaric/cty/compare/v0.1.3...v0.1.4
[v0.1.3]: https://github.com/japaric/cty/compare/v0.1.2...v0.1.3
[v0.1.2]: https://github.com/japaric/cty/compare/v0.1.1...v0.1.2
[v0.1.1]: https://github.com/japaric/cty/compare/v0.1.0...v0.1.1
## v0.2.2 (2024-10-09)
### Other
- <csr-id-b513af12e8baa5c5097eaf0afdae61a830c3f877/> add archs powerpc64 and s390x to aya
bpfman, a project using aya, has a requirement to support powerpc64 and
s390x architectures. Adding these two architectures to aya.
### Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 185 days passed between releases.
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' were seen in commit messages
### Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
* **Uncategorized**
- Merge pull request #974 from Billy99/billy99-arch-ppc64-s390x ([`ab5e688`](https://github.com/aya-rs/aya/commit/ab5e688fd49fcfb402ad47d51cb445437fbd8cb7))
- Add archs powerpc64 and s390x to aya ([`b513af1`](https://github.com/aya-rs/aya/commit/b513af12e8baa5c5097eaf0afdae61a830c3f877))
- Allowlist expected cfgs ([`e4f9ed8`](https://github.com/aya-rs/aya/commit/e4f9ed8d79e4cd19ab5124352fca9e6cbdc1030b))
</details>
## v0.2.1 (2024-04-06)
<csr-id-21f570a19cd8d6e8eeaa6127d936877a701ceac3/>
### Chore
- <csr-id-21f570a19cd8d6e8eeaa6127d936877a701ceac3/> Rename bpf -> ebpf
### Commit Statistics
<csr-read-only-do-not-edit/>
- 3 commits contributed to the release.
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' were seen in commit messages
### Commit Details
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
* **Uncategorized**
- Release aya-ebpf-cty v0.2.1, aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`e372fcf`](https://github.com/aya-rs/aya/commit/e372fcf653304c6d7c2647cd7812ca11474f41fc))
- Merge pull request #528 from dave-tucker/rename-all-the-things ([`63d8d4d`](https://github.com/aya-rs/aya/commit/63d8d4d34bdbbee149047dc0a5e9c2b191f3b32d))
- Rename bpf -> ebpf ([`21f570a`](https://github.com/aya-rs/aya/commit/21f570a19cd8d6e8eeaa6127d936877a701ceac3))
</details>

@ -1,11 +0,0 @@
[package]
categories = ["embedded", "external-ffi-bindings", "no-std"]
description = "Type aliases to C types like c_int for use with bindgen"
documentation = "https://docs.rs/aya-bpf-cty"
name = "aya-ebpf-cty"
version = "0.2.2"
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
edition.workspace = true

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

@ -1,25 +0,0 @@
Copyright (c) 2017 Jorge Aparicio
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

@ -1,21 +0,0 @@
# `cty`
[![crates.io](https://img.shields.io/crates/v/cty.svg)](https://crates.io/crates/cty)
[![crates.io](https://img.shields.io/crates/d/cty.svg)](https://crates.io/crates/cty)
> Type aliases to C types like c_int for use with bindgen
## License
Licensed under either of
- Apache License, Version 2.0 [LICENSE-APACHE](./LICENSE-APACHE) or
- MIT license [LICENSE-MIT](./LICENSE-MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.

@ -1,17 +0,0 @@
use std::env;
fn main() {
println!("cargo:rerun-if-env-changed=CARGO_CFG_BPF_TARGET_ARCH");
if let Ok(arch) = env::var("CARGO_CFG_BPF_TARGET_ARCH") {
println!("cargo:rustc-cfg=bpf_target_arch=\"{arch}\"");
} else {
let arch = env::var("HOST").unwrap();
let mut arch = arch.split_once('-').map_or(&*arch, |x| x.0);
if arch.starts_with("riscv64") {
arch = "riscv64";
}
println!("cargo:rustc-cfg=bpf_target_arch=\"{arch}\"");
}
println!("cargo::rustc-check-cfg=cfg(bpf_target_arch, values(\"x86_64\",\"arm\",\"aarch64\",\"riscv64\",\"powerpc64\",\"s390x\",\"mips\"))");
println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"asmjs\",\"nvptx\",\"xtensa\"))");
}

@ -1,143 +0,0 @@
//! Type aliases to C types like c_int for use with bindgen
//!
//! # MSRV
//!
//! This crate is guaranteed to compile on stable Rust 1.30.0 and up. It *might* compile with older
//! versions but that may change in any new patch release.
#![no_std]
#![allow(non_camel_case_types)]
#![deny(warnings)]
// AD = Architecture dependent
pub use ad::*;
// OD = OS dependent
pub use od::*;
#[cfg(target_arch = "bpf")]
mod ad {
pub type c_int = i32;
pub type c_uint = u32;
#[cfg(bpf_target_arch = "arm")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "aarch64")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "powerpc64")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "riscv64")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "s390x")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "mips")]
pub type c_char = super::c_uchar;
#[cfg(bpf_target_arch = "x86_64")]
pub type c_char = super::c_schar;
}
#[cfg(any(
target_arch = "aarch64",
target_arch = "arm",
target_arch = "asmjs",
target_arch = "wasm32",
target_arch = "wasm64",
target_arch = "powerpc",
target_arch = "powerpc64",
target_arch = "s390x",
target_arch = "riscv32",
target_arch = "riscv64"
))]
mod ad {
pub type c_char = super::c_uchar;
pub type c_int = i32;
pub type c_uint = u32;
}
#[cfg(any(
target_arch = "mips",
target_arch = "mips64",
target_arch = "sparc64",
target_arch = "x86",
target_arch = "x86_64",
target_arch = "nvptx",
target_arch = "nvptx64",
target_arch = "xtensa"
))]
mod ad {
pub type c_char = super::c_schar;
pub type c_int = i32;
pub type c_uint = u32;
}
#[cfg(target_arch = "msp430")]
mod ad {
pub type c_char = super::c_uchar;
pub type c_int = i16;
pub type c_uint = u16;
}
// NOTE c_{,u}long definitions come from libc v0.2.3
#[cfg(not(any(windows, target_os = "redox", target_os = "solaris")))]
mod od {
#[cfg(any(target_pointer_width = "16", target_pointer_width = "32"))]
pub type c_long = i32;
#[cfg(any(target_pointer_width = "16", target_pointer_width = "32"))]
pub type c_ulong = u32;
#[cfg(target_pointer_width = "64")]
pub type c_long = i64;
#[cfg(target_pointer_width = "64")]
pub type c_ulong = u64;
}
#[cfg(windows)]
mod od {
pub type c_long = i32;
pub type c_ulong = u32;
}
#[cfg(any(target_os = "redox", target_os = "solaris"))]
mod od {
pub type c_long = i64;
pub type c_ulong = u64;
}
pub type int8_t = i8;
pub type int16_t = i16;
pub type int32_t = i32;
pub type int64_t = i64;
pub type uint8_t = u8;
pub type uint16_t = u16;
pub type uint32_t = u32;
pub type uint64_t = u64;
pub type c_schar = i8;
pub type c_short = i16;
pub type c_longlong = i64;
pub type c_uchar = u8;
pub type c_ushort = u16;
pub type c_ulonglong = u64;
pub type c_float = f32;
pub type c_double = f64;
pub type intmax_t = i64;
pub type uintmax_t = u64;
pub type size_t = usize;
pub type ptrdiff_t = isize;
pub type intptr_t = isize;
pub type uintptr_t = usize;
pub type ssize_t = isize;
pub type c_void = core::ffi::c_void;

@ -0,0 +1,24 @@
# Breaking Changes
This document contains a list of breaking changes in each version and some notes
to help migrate between versions. It is compiled manually from the commit
history and changelog. We also tag PRs on github with a [breaking change] label.
[breaking change]: (https://github.com/aya-rs/aya/issues?q=label%3A%22breaking+change%22)
## Summary
- [unreleased](#unreleased)
- `aya-ebpf::cty` has been removed. Please use `core::ffi` instead.
## Unreleased
### `aya-ebpf::cty` has been removed. Please use `core::ffi` instead
`aya-ebpf::cty` was a re-export of a crate called `aya-ebpf-cty`.
This crate, which itself was a fork of the `cty` crate, was used to provide
c types for use in bindgen.
Since `core::ffi` contains all of the types we need, there is no longer any
need for `aya-ebpf::cty`. If you were using `aya-ebpf::cty`, you can simply
replace it with `core::ffi`.

@ -9,7 +9,6 @@ homepage.workspace = true
edition.workspace = true
[dependencies]
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }
aya-ebpf-macros = { version = "^0.1.1", path = "../../aya-ebpf-macros" }
aya-ebpf-bindings = { version = "^0.1.1", path = "../aya-ebpf-bindings" }

@ -1,3 +1,5 @@
use core::ffi::c_void;
#[cfg(any(
bpf_target_arch = "x86_64",
bpf_target_arch = "arm",
@ -11,7 +13,7 @@ use crate::bindings::user_pt_regs as pt_regs;
// riscv64 uses user_regs_struct instead of pt_regs
#[cfg(bpf_target_arch = "riscv64")]
use crate::bindings::user_regs_struct as pt_regs;
use crate::{bindings::bpf_raw_tracepoint_args, cty::c_void, helpers::bpf_probe_read};
use crate::{bindings::bpf_raw_tracepoint_args, helpers::bpf_probe_read};
/// A trait that indicates a valid type for an argument which can be coerced from a BTF
/// context.

@ -11,7 +11,7 @@
use core::{
cmp::Ordering,
ffi::CStr,
ffi::{c_char, c_long, c_void, CStr},
mem::{self, MaybeUninit},
};
@ -19,10 +19,7 @@ pub use aya_ebpf_bindings::helpers as gen;
#[doc(hidden)]
pub use gen::*;
use crate::{
check_bounds_signed,
cty::{c_char, c_long, c_void},
};
use crate::check_bounds_signed;
/// Read bytes stored at `src` and store them as a `T`.
///
@ -36,7 +33,8 @@ use crate::{
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const c_int = 0 as _;
/// let my_int: c_int = unsafe { bpf_probe_read(kernel_ptr)? };
@ -73,7 +71,8 @@ pub unsafe fn bpf_probe_read<T>(src: *const T) -> Result<T, c_long> {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read_buf};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read_buf;
/// # fn try_test() -> Result<(), c_long> {
/// # let ptr: *const u8 = 0 as _;
/// let mut buf = [0u8; 16];
@ -109,7 +108,8 @@ pub unsafe fn bpf_probe_read_buf(src: *const u8, dst: &mut [u8]) -> Result<(), c
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read_user};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read_user;
/// # fn try_test() -> Result<(), c_long> {
/// # let user_ptr: *const c_int = 0 as _;
/// let my_int: c_int = unsafe { bpf_probe_read_user(user_ptr)? };
@ -144,7 +144,8 @@ pub unsafe fn bpf_probe_read_user<T>(src: *const T) -> Result<T, c_long> {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read_user_buf};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read_user_buf;
/// # fn try_test() -> Result<(), c_long> {
/// # let user_ptr: *const u8 = 0 as _;
/// let mut buf = [0u8; 16];
@ -180,7 +181,8 @@ pub unsafe fn bpf_probe_read_user_buf(src: *const u8, dst: &mut [u8]) -> Result<
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read_kernel};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read_kernel;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const c_int = 0 as _;
/// let my_int: c_int = unsafe { bpf_probe_read_kernel(kernel_ptr)? };
@ -215,7 +217,8 @@ pub unsafe fn bpf_probe_read_kernel<T>(src: *const T) -> Result<T, c_long> {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::{c_int, c_long}, helpers::bpf_probe_read_kernel_buf};
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::helpers::bpf_probe_read_kernel_buf;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const u8 = 0 as _;
/// let mut buf = [0u8; 16];
@ -254,7 +257,8 @@ pub unsafe fn bpf_probe_read_kernel_buf(src: *const u8, dst: &mut [u8]) -> Resul
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_str};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_str;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const u8 = 0 as _;
/// let mut my_str = [0u8; 16];
@ -292,7 +296,8 @@ pub unsafe fn bpf_probe_read_str(src: *const u8, dest: &mut [u8]) -> Result<usiz
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_user_str};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_user_str;
/// # fn try_test() -> Result<(), c_long> {
/// # let user_ptr: *const u8 = 0 as _;
/// let mut my_str = [0u8; 16];
@ -333,7 +338,8 @@ pub unsafe fn bpf_probe_read_user_str(src: *const u8, dest: &mut [u8]) -> Result
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_user_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_user_str_bytes;
/// # fn try_test() -> Result<(), c_long> {
/// # let user_ptr: *const u8 = 0 as _;
/// let mut buf = [0u8; 16];
@ -347,7 +353,8 @@ pub unsafe fn bpf_probe_read_user_str(src: *const u8, dest: &mut [u8]) -> Result
/// With a `PerCpuArray` (with size defined by us):
///
/// ```no_run
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_user_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_user_str_bytes;
/// use aya_ebpf::{macros::map, maps::PerCpuArray};
///
/// #[repr(C)]
@ -376,7 +383,8 @@ pub unsafe fn bpf_probe_read_user_str(src: *const u8, dest: &mut [u8]) -> Result
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_user_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_user_str_bytes;
/// # use aya_ebpf::{macros::map, maps::PerCpuArray};
/// # #[repr(C)]
/// # pub struct Buf {
@ -442,7 +450,8 @@ fn read_str_bytes(len: i64, dest: &[u8]) -> Result<&[u8], c_long> {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_kernel_str};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_kernel_str;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const u8 = 0 as _;
/// let mut my_str = [0u8; 16];
@ -483,7 +492,8 @@ pub unsafe fn bpf_probe_read_kernel_str(src: *const u8, dest: &mut [u8]) -> Resu
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_kernel_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_kernel_str_bytes;
/// # fn try_test() -> Result<(), c_long> {
/// # let kernel_ptr: *const u8 = 0 as _;
/// let mut buf = [0u8; 16];
@ -498,7 +508,8 @@ pub unsafe fn bpf_probe_read_kernel_str(src: *const u8, dest: &mut [u8]) -> Resu
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_kernel_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::helpers::bpf_probe_read_kernel_str_bytes;
/// use aya_ebpf::{macros::map, maps::PerCpuArray};
///
/// #[repr(C)]
@ -527,7 +538,8 @@ pub unsafe fn bpf_probe_read_kernel_str(src: *const u8, dest: &mut [u8]) -> Resu
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_long, helpers::bpf_probe_read_kernel_str_bytes};
/// # use core::ffi::c_long;
/// # use aya_ebpf::{helpers::bpf_probe_read_kernel_str_bytes};
/// # use aya_ebpf::{macros::map, maps::PerCpuArray};
/// # #[repr(C)]
/// # pub struct Buf {
@ -573,8 +585,8 @@ pub unsafe fn bpf_probe_read_kernel_str_bytes(
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use core::ffi::{c_int, c_long};
/// # use aya_ebpf::{
/// # cty::{c_int, c_long},
/// # helpers::bpf_probe_write_user,
/// # programs::ProbeContext,
/// # };

@ -23,12 +23,9 @@ pub use args::{PtRegs, RawTracepointArgs};
pub mod helpers;
pub mod maps;
pub mod programs;
use core::ffi::{c_int, c_long, c_void};
use core::ffi::c_void;
pub use aya_ebpf_cty as cty;
pub use aya_ebpf_macros as macros;
use cty::{c_int, c_long};
use helpers::{bpf_get_current_comm, bpf_get_current_pid_tgid, bpf_get_current_uid_gid};
pub const TASK_COMM_LEN: usize = 16;

@ -1,6 +1,4 @@
use core::{cell::UnsafeCell, marker::PhantomData, mem, ptr::NonNull};
use aya_ebpf_cty::c_void;
use core::{cell::UnsafeCell, ffi::c_void, marker::PhantomData, mem, ptr::NonNull};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_ARRAY},

@ -1,6 +1,4 @@
use core::{marker::PhantomData, mem};
use aya_ebpf_cty::c_void;
use core::{ffi::c_void, marker::PhantomData, mem};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_BLOOM_FILTER},

@ -1,9 +1,14 @@
use core::{cell::UnsafeCell, marker::PhantomData, mem, ptr::NonNull};
use core::{
cell::UnsafeCell,
ffi::{c_long, c_void},
marker::PhantomData,
mem,
ptr::NonNull,
};
use aya_ebpf_bindings::bindings::bpf_map_type::{
BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH, BPF_MAP_TYPE_PERCPU_HASH,
};
use aya_ebpf_cty::{c_long, c_void};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_HASH},

@ -1,7 +1,12 @@
use core::{cell::UnsafeCell, marker::PhantomData, mem, ptr::NonNull};
use core::{
cell::UnsafeCell,
ffi::{c_long, c_void},
marker::PhantomData,
mem,
ptr::NonNull,
};
use aya_ebpf_bindings::bindings::BPF_F_NO_PREALLOC;
use aya_ebpf_cty::{c_long, c_void};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_LPM_TRIE},

@ -1,6 +1,4 @@
use core::{cell::UnsafeCell, marker::PhantomData, mem, ptr::NonNull};
use aya_ebpf_cty::c_void;
use core::{cell::UnsafeCell, ffi::c_void, marker::PhantomData, mem, ptr::NonNull};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_PERCPU_ARRAY},

@ -1,6 +1,4 @@
use core::{cell::UnsafeCell, hint::unreachable_unchecked, mem};
use aya_ebpf_cty::c_long;
use core::{cell::UnsafeCell, ffi::c_long, hint::unreachable_unchecked, mem};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_PROG_ARRAY},
@ -15,7 +13,8 @@ use crate::{
///
/// ```no_run
/// # #![allow(dead_code)]
/// use aya_ebpf::{macros::map, maps::ProgramArray, cty::c_long};
/// use core::ffi::c_long;
/// use aya_ebpf::{macros::map, maps::ProgramArray};
/// # use aya_ebpf::{programs::LsmContext};
///
/// #[map]

@ -1,6 +1,4 @@
use core::{borrow::Borrow, cell::UnsafeCell, marker::PhantomData, mem};
use aya_ebpf_cty::c_void;
use core::{borrow::Borrow, cell::UnsafeCell, ffi::c_void, marker::PhantomData, mem};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_SOCKHASH, bpf_sock_ops},

@ -1,6 +1,4 @@
use core::{cell::UnsafeCell, mem};
use aya_ebpf_cty::c_void;
use core::{cell::UnsafeCell, ffi::c_void, mem};
use crate::{
bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_SOCKMAP, bpf_sock_ops},

@ -1,7 +1,6 @@
use core::{cell::UnsafeCell, mem, num::NonZeroU32, ptr::NonNull};
use core::{cell::UnsafeCell, ffi::c_void, mem, num::NonZeroU32, ptr::NonNull};
use aya_ebpf_bindings::bindings::bpf_devmap_val;
use aya_ebpf_cty::c_void;
use super::try_redirect_map;
use crate::{

@ -1,7 +1,6 @@
use core::{cell::UnsafeCell, mem, num::NonZeroU32, ptr::NonNull};
use core::{cell::UnsafeCell, ffi::c_void, mem, num::NonZeroU32, ptr::NonNull};
use aya_ebpf_bindings::bindings::bpf_devmap_val;
use aya_ebpf_cty::c_void;
use super::{dev_map::DevMapValue, try_redirect_map};
use crate::{

@ -1,7 +1,6 @@
use core::{cell::UnsafeCell, mem, ptr::NonNull};
use core::{cell::UnsafeCell, ffi::c_void, mem, ptr::NonNull};
use aya_ebpf_bindings::bindings::bpf_xdp_sock;
use aya_ebpf_cty::c_void;
use super::try_redirect_map;
use crate::{

@ -18,7 +18,8 @@ impl FEntryContext {
/// ```no_run
/// # #![allow(non_camel_case_types)]
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_int, programs::FEntryContext};
/// # use core::ffi::c_int;
/// # use aya_ebpf::programs::FEntryContext;
/// # type pid_t = c_int;
/// # struct task_struct {
/// # pid: pid_t,

@ -18,7 +18,8 @@ impl FExitContext {
/// ```no_run
/// # #![allow(non_camel_case_types)]
/// # #![allow(dead_code)]
/// # use aya_ebpf::{cty::c_int, programs::FExitContext};
/// # use core::ffi::c_int;
/// # use aya_ebpf::programs::FExitContext;
/// # type pid_t = c_int;
/// # struct task_struct {
/// # pid: pid_t,

@ -30,7 +30,8 @@ impl LsmContext {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{programs::LsmContext, cty::{c_int, c_ulong}};
/// # use core::ffi::{c_int, c_ulong};
/// # use aya_ebpf::{programs::LsmContext};
/// unsafe fn try_lsm_mmap_addr(ctx: LsmContext) -> Result<i32, i32> {
/// // In the kernel, this hook is defined as:
/// // LSM_HOOK(int, 0, mmap_addr, unsigned long addr)

@ -33,7 +33,8 @@ impl ProbeContext {
/// ```no_run
/// # #![allow(non_camel_case_types)]
/// # #![allow(dead_code)]
/// # use aya_ebpf::{programs::ProbeContext, cty::c_int, helpers::bpf_probe_read};
/// # use core::ffi::c_int;
/// # use aya_ebpf::{programs::ProbeContext, helpers::bpf_probe_read};
/// # type pid_t = c_int;
/// # struct task_struct {
/// # pid: pid_t,

@ -32,7 +32,8 @@ impl RetProbeContext {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{programs::RetProbeContext, cty::c_int};
/// # use core::ffi::c_int;
/// # use aya_ebpf::{programs::RetProbeContext};
/// unsafe fn try_kretprobe_try_to_wake_up(ctx: RetProbeContext) -> Result<u32, u32> {
/// let retval: c_int = ctx.ret().ok_or(1u32)?;
///

@ -1,5 +1,5 @@
use core::{
ffi::c_void,
ffi::{c_long, c_void},
mem::{self, MaybeUninit},
};
@ -8,7 +8,6 @@ use aya_ebpf_bindings::helpers::{
bpf_skb_adjust_room, bpf_skb_change_proto, bpf_skb_change_type, bpf_skb_load_bytes,
bpf_skb_pull_data, bpf_skb_store_bytes,
};
use aya_ebpf_cty::c_long;
use crate::{bindings::__sk_buff, EbpfContext};

@ -1,4 +1,4 @@
use aya_ebpf_cty::{c_long, c_void};
use core::ffi::{c_long, c_void};
use crate::{bindings::__sk_buff, programs::sk_buff::SkBuff, EbpfContext};

@ -24,7 +24,8 @@ impl BtfTracePointContext {
///
/// ```no_run
/// # #![allow(dead_code)]
/// # use aya_ebpf::{programs::BtfTracePointContext, cty::{c_int, c_ulong, c_char}};
/// # use core::ffi::{c_int, c_ulong, c_char};
/// # use aya_ebpf::{programs::BtfTracePointContext};
/// unsafe fn try_tp_btf_sched_process_fork(ctx: BtfTracePointContext) -> Result<u32, u32> {
/// // Grab arguments
/// let parent_comm: *const c_char = ctx.arg(0);

@ -1,8 +1,8 @@
#![no_std]
#![no_main]
use core::ffi::c_long;
use aya_ebpf::{
cty::c_long,
helpers::{bpf_probe_read_user_str_bytes, bpf_strncmp},
macros::{map, uprobe},
maps::Array,

@ -3,21 +3,21 @@ pub mod aya_ebpf_bindings::bindings
pub mod aya_ebpf_bindings::bindings::_bindgen_ty_28
pub const aya_ebpf_bindings::bindings::_bindgen_ty_28::BPF_SKB_TSTAMP_DELIVERY_MONO: aya_ebpf_bindings::bindings::_bindgen_ty_28::Type
pub const aya_ebpf_bindings::bindings::_bindgen_ty_28::BPF_SKB_TSTAMP_UNSPEC: aya_ebpf_bindings::bindings::_bindgen_ty_28::Type
pub type aya_ebpf_bindings::bindings::_bindgen_ty_28::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_28::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::_bindgen_ty_33
pub const aya_ebpf_bindings::bindings::_bindgen_ty_33::BPF_LOAD_HDR_OPT_TCP_SYN: aya_ebpf_bindings::bindings::_bindgen_ty_33::Type
pub type aya_ebpf_bindings::bindings::_bindgen_ty_33::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_33::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::_bindgen_ty_34
pub const aya_ebpf_bindings::bindings::_bindgen_ty_34::BPF_WRITE_HDR_TCP_CURRENT_MSS: aya_ebpf_bindings::bindings::_bindgen_ty_34::Type
pub const aya_ebpf_bindings::bindings::_bindgen_ty_34::BPF_WRITE_HDR_TCP_SYNACK_COOKIE: aya_ebpf_bindings::bindings::_bindgen_ty_34::Type
pub type aya_ebpf_bindings::bindings::_bindgen_ty_34::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_34::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_addr_space_cast
pub const aya_ebpf_bindings::bindings::bpf_addr_space_cast::BPF_ADDR_SPACE_CAST: aya_ebpf_bindings::bindings::bpf_addr_space_cast::Type
pub type aya_ebpf_bindings::bindings::bpf_addr_space_cast::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_addr_space_cast::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_adj_room_mode
pub const aya_ebpf_bindings::bindings::bpf_adj_room_mode::BPF_ADJ_ROOM_MAC: aya_ebpf_bindings::bindings::bpf_adj_room_mode::Type
pub const aya_ebpf_bindings::bindings::bpf_adj_room_mode::BPF_ADJ_ROOM_NET: aya_ebpf_bindings::bindings::bpf_adj_room_mode::Type
pub type aya_ebpf_bindings::bindings::bpf_adj_room_mode::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_adj_room_mode::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_attach_type
pub const aya_ebpf_bindings::bindings::bpf_attach_type::BPF_CGROUP_DEVICE: aya_ebpf_bindings::bindings::bpf_attach_type::Type
pub const aya_ebpf_bindings::bindings::bpf_attach_type::BPF_CGROUP_GETSOCKOPT: aya_ebpf_bindings::bindings::bpf_attach_type::Type
@ -76,22 +76,22 @@ pub const aya_ebpf_bindings::bindings::bpf_attach_type::BPF_XDP: aya_ebpf_bindin
pub const aya_ebpf_bindings::bindings::bpf_attach_type::BPF_XDP_CPUMAP: aya_ebpf_bindings::bindings::bpf_attach_type::Type
pub const aya_ebpf_bindings::bindings::bpf_attach_type::BPF_XDP_DEVMAP: aya_ebpf_bindings::bindings::bpf_attach_type::Type
pub const aya_ebpf_bindings::bindings::bpf_attach_type::__MAX_BPF_ATTACH_TYPE: aya_ebpf_bindings::bindings::bpf_attach_type::Type
pub type aya_ebpf_bindings::bindings::bpf_attach_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_attach_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_cgroup_iter_order
pub const aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::BPF_CGROUP_ITER_ANCESTORS_UP: aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type
pub const aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::BPF_CGROUP_ITER_DESCENDANTS_POST: aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type
pub const aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::BPF_CGROUP_ITER_DESCENDANTS_PRE: aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type
pub const aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::BPF_CGROUP_ITER_ORDER_UNSPEC: aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type
pub const aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::BPF_CGROUP_ITER_SELF_ONLY: aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type
pub type aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_cgroup_iter_order::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_check_mtu_flags
pub const aya_ebpf_bindings::bindings::bpf_check_mtu_flags::BPF_MTU_CHK_SEGS: aya_ebpf_bindings::bindings::bpf_check_mtu_flags::Type
pub type aya_ebpf_bindings::bindings::bpf_check_mtu_flags::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_check_mtu_flags::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_check_mtu_ret
pub const aya_ebpf_bindings::bindings::bpf_check_mtu_ret::BPF_MTU_CHK_RET_FRAG_NEEDED: aya_ebpf_bindings::bindings::bpf_check_mtu_ret::Type
pub const aya_ebpf_bindings::bindings::bpf_check_mtu_ret::BPF_MTU_CHK_RET_SEGS_TOOBIG: aya_ebpf_bindings::bindings::bpf_check_mtu_ret::Type
pub const aya_ebpf_bindings::bindings::bpf_check_mtu_ret::BPF_MTU_CHK_RET_SUCCESS: aya_ebpf_bindings::bindings::bpf_check_mtu_ret::Type
pub type aya_ebpf_bindings::bindings::bpf_check_mtu_ret::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_check_mtu_ret::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_cmd
pub const aya_ebpf_bindings::bindings::bpf_cmd::BPF_BTF_GET_FD_BY_ID: aya_ebpf_bindings::bindings::bpf_cmd::Type
pub const aya_ebpf_bindings::bindings::bpf_cmd::BPF_BTF_GET_NEXT_ID: aya_ebpf_bindings::bindings::bpf_cmd::Type
@ -132,10 +132,10 @@ pub const aya_ebpf_bindings::bindings::bpf_cmd::BPF_RAW_TRACEPOINT_OPEN: aya_ebp
pub const aya_ebpf_bindings::bindings::bpf_cmd::BPF_TASK_FD_QUERY: aya_ebpf_bindings::bindings::bpf_cmd::Type
pub const aya_ebpf_bindings::bindings::bpf_cmd::BPF_TOKEN_CREATE: aya_ebpf_bindings::bindings::bpf_cmd::Type
pub const aya_ebpf_bindings::bindings::bpf_cmd::__MAX_BPF_CMD: aya_ebpf_bindings::bindings::bpf_cmd::Type
pub type aya_ebpf_bindings::bindings::bpf_cmd::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_cmd::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_cond_pseudo_jmp
pub const aya_ebpf_bindings::bindings::bpf_cond_pseudo_jmp::BPF_MAY_GOTO: aya_ebpf_bindings::bindings::bpf_cond_pseudo_jmp::Type
pub type aya_ebpf_bindings::bindings::bpf_cond_pseudo_jmp::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_cond_pseudo_jmp::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_core_relo_kind
pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_ENUMVAL_EXISTS: aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type
pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_ENUMVAL_VALUE: aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type
@ -150,7 +150,7 @@ pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_TYPE_ID_LOCA
pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_TYPE_ID_TARGET: aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type
pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_TYPE_MATCHES: aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type
pub const aya_ebpf_bindings::bindings::bpf_core_relo_kind::BPF_CORE_TYPE_SIZE: aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type
pub type aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_core_relo_kind::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_func_id
pub const aya_ebpf_bindings::bindings::bpf_func_id::BPF_FUNC_bind: aya_ebpf_bindings::bindings::bpf_func_id::Type
pub const aya_ebpf_bindings::bindings::bpf_func_id::BPF_FUNC_bprm_opts_set: aya_ebpf_bindings::bindings::bpf_func_id::Type
@ -365,11 +365,11 @@ pub const aya_ebpf_bindings::bindings::bpf_func_id::BPF_FUNC_xdp_load_bytes: aya
pub const aya_ebpf_bindings::bindings::bpf_func_id::BPF_FUNC_xdp_output: aya_ebpf_bindings::bindings::bpf_func_id::Type
pub const aya_ebpf_bindings::bindings::bpf_func_id::BPF_FUNC_xdp_store_bytes: aya_ebpf_bindings::bindings::bpf_func_id::Type
pub const aya_ebpf_bindings::bindings::bpf_func_id::__BPF_FUNC_MAX_ID: aya_ebpf_bindings::bindings::bpf_func_id::Type
pub type aya_ebpf_bindings::bindings::bpf_func_id::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_func_id::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_hdr_start_off
pub const aya_ebpf_bindings::bindings::bpf_hdr_start_off::BPF_HDR_START_MAC: aya_ebpf_bindings::bindings::bpf_hdr_start_off::Type
pub const aya_ebpf_bindings::bindings::bpf_hdr_start_off::BPF_HDR_START_NET: aya_ebpf_bindings::bindings::bpf_hdr_start_off::Type
pub type aya_ebpf_bindings::bindings::bpf_hdr_start_off::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_hdr_start_off::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_link_type
pub const aya_ebpf_bindings::bindings::bpf_link_type::BPF_LINK_TYPE_CGROUP: aya_ebpf_bindings::bindings::bpf_link_type::Type
pub const aya_ebpf_bindings::bindings::bpf_link_type::BPF_LINK_TYPE_ITER: aya_ebpf_bindings::bindings::bpf_link_type::Type
@ -386,12 +386,12 @@ pub const aya_ebpf_bindings::bindings::bpf_link_type::BPF_LINK_TYPE_UNSPEC: aya_
pub const aya_ebpf_bindings::bindings::bpf_link_type::BPF_LINK_TYPE_UPROBE_MULTI: aya_ebpf_bindings::bindings::bpf_link_type::Type
pub const aya_ebpf_bindings::bindings::bpf_link_type::BPF_LINK_TYPE_XDP: aya_ebpf_bindings::bindings::bpf_link_type::Type
pub const aya_ebpf_bindings::bindings::bpf_link_type::__MAX_BPF_LINK_TYPE: aya_ebpf_bindings::bindings::bpf_link_type::Type
pub type aya_ebpf_bindings::bindings::bpf_link_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_link_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_lwt_encap_mode
pub const aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::BPF_LWT_ENCAP_IP: aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::Type
pub const aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::BPF_LWT_ENCAP_SEG6: aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::Type
pub const aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::BPF_LWT_ENCAP_SEG6_INLINE: aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::Type
pub type aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_lwt_encap_mode::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_map_type
pub const aya_ebpf_bindings::bindings::bpf_map_type::BPF_MAP_TYPE_ARENA: aya_ebpf_bindings::bindings::bpf_map_type::Type
pub const aya_ebpf_bindings::bindings::bpf_map_type::BPF_MAP_TYPE_ARRAY: aya_ebpf_bindings::bindings::bpf_map_type::Type
@ -430,7 +430,7 @@ pub const aya_ebpf_bindings::bindings::bpf_map_type::BPF_MAP_TYPE_UNSPEC: aya_eb
pub const aya_ebpf_bindings::bindings::bpf_map_type::BPF_MAP_TYPE_USER_RINGBUF: aya_ebpf_bindings::bindings::bpf_map_type::Type
pub const aya_ebpf_bindings::bindings::bpf_map_type::BPF_MAP_TYPE_XSKMAP: aya_ebpf_bindings::bindings::bpf_map_type::Type
pub const aya_ebpf_bindings::bindings::bpf_map_type::__MAX_BPF_MAP_TYPE: aya_ebpf_bindings::bindings::bpf_map_type::Type
pub type aya_ebpf_bindings::bindings::bpf_map_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_map_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_perf_event_type
pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_EVENT: aya_ebpf_bindings::bindings::bpf_perf_event_type::Type
pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_KPROBE: aya_ebpf_bindings::bindings::bpf_perf_event_type::Type
@ -439,7 +439,7 @@ pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_TRACE
pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_UNSPEC: aya_ebpf_bindings::bindings::bpf_perf_event_type::Type
pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_UPROBE: aya_ebpf_bindings::bindings::bpf_perf_event_type::Type
pub const aya_ebpf_bindings::bindings::bpf_perf_event_type::BPF_PERF_EVENT_URETPROBE: aya_ebpf_bindings::bindings::bpf_perf_event_type::Type
pub type aya_ebpf_bindings::bindings::bpf_perf_event_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_perf_event_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_prog_type
pub const aya_ebpf_bindings::bindings::bpf_prog_type::BPF_PROG_TYPE_CGROUP_DEVICE: aya_ebpf_bindings::bindings::bpf_prog_type::Type
pub const aya_ebpf_bindings::bindings::bpf_prog_type::BPF_PROG_TYPE_CGROUP_SKB: aya_ebpf_bindings::bindings::bpf_prog_type::Type
@ -475,22 +475,22 @@ pub const aya_ebpf_bindings::bindings::bpf_prog_type::BPF_PROG_TYPE_TRACING: aya
pub const aya_ebpf_bindings::bindings::bpf_prog_type::BPF_PROG_TYPE_UNSPEC: aya_ebpf_bindings::bindings::bpf_prog_type::Type
pub const aya_ebpf_bindings::bindings::bpf_prog_type::BPF_PROG_TYPE_XDP: aya_ebpf_bindings::bindings::bpf_prog_type::Type
pub const aya_ebpf_bindings::bindings::bpf_prog_type::__MAX_BPF_PROG_TYPE: aya_ebpf_bindings::bindings::bpf_prog_type::Type
pub type aya_ebpf_bindings::bindings::bpf_prog_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_prog_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_ret_code
pub const aya_ebpf_bindings::bindings::bpf_ret_code::BPF_DROP: aya_ebpf_bindings::bindings::bpf_ret_code::Type
pub const aya_ebpf_bindings::bindings::bpf_ret_code::BPF_FLOW_DISSECTOR_CONTINUE: aya_ebpf_bindings::bindings::bpf_ret_code::Type
pub const aya_ebpf_bindings::bindings::bpf_ret_code::BPF_LWT_REROUTE: aya_ebpf_bindings::bindings::bpf_ret_code::Type
pub const aya_ebpf_bindings::bindings::bpf_ret_code::BPF_OK: aya_ebpf_bindings::bindings::bpf_ret_code::Type
pub const aya_ebpf_bindings::bindings::bpf_ret_code::BPF_REDIRECT: aya_ebpf_bindings::bindings::bpf_ret_code::Type
pub type aya_ebpf_bindings::bindings::bpf_ret_code::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_ret_code::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_stack_build_id_status
pub const aya_ebpf_bindings::bindings::bpf_stack_build_id_status::BPF_STACK_BUILD_ID_EMPTY: aya_ebpf_bindings::bindings::bpf_stack_build_id_status::Type
pub const aya_ebpf_bindings::bindings::bpf_stack_build_id_status::BPF_STACK_BUILD_ID_IP: aya_ebpf_bindings::bindings::bpf_stack_build_id_status::Type
pub const aya_ebpf_bindings::bindings::bpf_stack_build_id_status::BPF_STACK_BUILD_ID_VALID: aya_ebpf_bindings::bindings::bpf_stack_build_id_status::Type
pub type aya_ebpf_bindings::bindings::bpf_stack_build_id_status::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_stack_build_id_status::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_stats_type
pub const aya_ebpf_bindings::bindings::bpf_stats_type::BPF_STATS_RUN_TIME: aya_ebpf_bindings::bindings::bpf_stats_type::Type
pub type aya_ebpf_bindings::bindings::bpf_stats_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_stats_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::bpf_task_fd_type
pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_KPROBE: aya_ebpf_bindings::bindings::bpf_task_fd_type::Type
pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_KRETPROBE: aya_ebpf_bindings::bindings::bpf_task_fd_type::Type
@ -498,24 +498,24 @@ pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_RAW_TRACEPO
pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_TRACEPOINT: aya_ebpf_bindings::bindings::bpf_task_fd_type::Type
pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_UPROBE: aya_ebpf_bindings::bindings::bpf_task_fd_type::Type
pub const aya_ebpf_bindings::bindings::bpf_task_fd_type::BPF_FD_TYPE_URETPROBE: aya_ebpf_bindings::bindings::bpf_task_fd_type::Type
pub type aya_ebpf_bindings::bindings::bpf_task_fd_type::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::bpf_task_fd_type::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::sk_action
pub const aya_ebpf_bindings::bindings::sk_action::SK_DROP: aya_ebpf_bindings::bindings::sk_action::Type
pub const aya_ebpf_bindings::bindings::sk_action::SK_PASS: aya_ebpf_bindings::bindings::sk_action::Type
pub type aya_ebpf_bindings::bindings::sk_action::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::sk_action::Type = core::ffi::c_uint
pub mod aya_ebpf_bindings::bindings::tcx_action_base
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_DROP: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_NEXT: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_PASS: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub const aya_ebpf_bindings::bindings::tcx_action_base::TCX_REDIRECT: aya_ebpf_bindings::bindings::tcx_action_base::Type
pub type aya_ebpf_bindings::bindings::tcx_action_base::Type = aya_ebpf_cty::ad::c_int
pub type aya_ebpf_bindings::bindings::tcx_action_base::Type = core::ffi::c_int
pub mod aya_ebpf_bindings::bindings::xdp_action
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_ABORTED: aya_ebpf_bindings::bindings::xdp_action::Type
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_DROP: aya_ebpf_bindings::bindings::xdp_action::Type
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_PASS: aya_ebpf_bindings::bindings::xdp_action::Type
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_REDIRECT: aya_ebpf_bindings::bindings::xdp_action::Type
pub const aya_ebpf_bindings::bindings::xdp_action::XDP_TX: aya_ebpf_bindings::bindings::xdp_action::Type
pub type aya_ebpf_bindings::bindings::xdp_action::Type = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::xdp_action::Type = core::ffi::c_uint
#[repr(C)] pub union aya_ebpf_bindings::bindings::__sk_buff__bindgen_ty_1
pub aya_ebpf_bindings::bindings::__sk_buff__bindgen_ty_1::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::__sk_buff__bindgen_ty_1::_bitfield_align_1: [u8; 0]
@ -1061,7 +1061,7 @@ pub unsafe fn aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_8__bindgen_ty_1:
impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_8__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_8__bindgen_ty_1::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1
pub aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::fd: aya_ebpf_cty::ad::c_int
pub aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::fd: core::ffi::c_int
pub aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::id: aya_ebpf_bindings::bindings::__u32
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::clone(&self) -> aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1
@ -1091,7 +1091,7 @@ pub unsafe fn aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::clone_t
impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::bpf_cpumap_val__bindgen_ty_1::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1
pub aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1::fd: aya_ebpf_cty::ad::c_int
pub aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1::fd: core::ffi::c_int
pub aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1::id: aya_ebpf_bindings::bindings::__u32
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1::clone(&self) -> aya_ebpf_bindings::bindings::bpf_devmap_val__bindgen_ty_1
@ -1687,7 +1687,7 @@ pub fn aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_2::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::skb_data: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::skb_data: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3
pub fn aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3
@ -1720,7 +1720,7 @@ pub fn aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_3::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4::skb_data_end: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4::skb_data_end: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4
pub fn aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_sock_ops__bindgen_ty_4
@ -1816,7 +1816,7 @@ pub fn aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_1::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::optval: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::optval: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2
pub fn aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2
@ -1849,7 +1849,7 @@ pub fn aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_2::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3::optval_end: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3::optval_end: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3
pub fn aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_sockopt__bindgen_ty_3
@ -2032,7 +2032,7 @@ pub fn aya_ebpf_bindings::bindings::bpf_xfrm_state__bindgen_ty_1::from(t: T) ->
#[repr(C)] pub union aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::data: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::data: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1
@ -2065,7 +2065,7 @@ pub fn aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_1::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2::data_end: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2::data_end: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2
pub fn aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_2
@ -2131,7 +2131,7 @@ pub fn aya_ebpf_bindings::bindings::sk_msg_md__bindgen_ty_3::from(t: T) -> T
#[repr(C)] pub union aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::data: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::data: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1
pub fn aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1
@ -2164,7 +2164,7 @@ pub fn aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_1::from(t: T) ->
#[repr(C)] pub union aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2::_bitfield_1: aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2::_bitfield_align_1: [u8; 0]
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2::data_end: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2::data_end: *mut core::ffi::c_void
impl aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2
pub fn aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2::new_bitfield_1() -> aya_ebpf_bindings::bindings::__BindgenBitfieldUnit<[u8; 8]>
impl core::clone::Clone for aya_ebpf_bindings::bindings::sk_reuseport_md__bindgen_ty_2
@ -2422,7 +2422,7 @@ pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::key_size: aya_ebpf_bind
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_extra: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_flags: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_ifindex: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_name: [aya_ebpf_cty::ad::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_name: [core::ffi::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_token_fd: aya_ebpf_bindings::bindings::__s32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::map_type: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_1::max_entries: aya_ebpf_bindings::bindings::__u32
@ -3194,7 +3194,7 @@ pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::log_true_size: aya_ebpf
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_btf_fd: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_flags: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_ifindex: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_name: [aya_ebpf_cty::ad::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_name: [core::ffi::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_token_fd: aya_ebpf_bindings::bindings::__s32
pub aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4::prog_type: aya_ebpf_bindings::bindings::__u32
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_attr__bindgen_ty_4
@ -4889,13 +4889,13 @@ pub fn aya_ebpf_bindings::bindings::bpf_lpm_trie_key_u8::borrow_mut(&mut self) -
impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::bpf_lpm_trie_key_u8
pub fn aya_ebpf_bindings::bindings::bpf_lpm_trie_key_u8::from(t: T) -> T
#[repr(C)] pub struct aya_ebpf_bindings::bindings::bpf_map_def
pub aya_ebpf_bindings::bindings::bpf_map_def::id: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::key_size: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::map_flags: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::max_entries: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::pinning: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::type_: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::value_size: aya_ebpf_cty::ad::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::id: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::key_size: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::map_flags: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::max_entries: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::pinning: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::type_: core::ffi::c_uint
pub aya_ebpf_bindings::bindings::bpf_map_def::value_size: core::ffi::c_uint
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_map_def
pub fn aya_ebpf_bindings::bindings::bpf_map_def::clone(&self) -> aya_ebpf_bindings::bindings::bpf_map_def
impl core::fmt::Debug for aya_ebpf_bindings::bindings::bpf_map_def
@ -4937,7 +4937,7 @@ pub aya_ebpf_bindings::bindings::bpf_map_info::key_size: aya_ebpf_bindings::bind
pub aya_ebpf_bindings::bindings::bpf_map_info::map_extra: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_map_info::map_flags: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_map_info::max_entries: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_map_info::name: [aya_ebpf_cty::ad::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_map_info::name: [core::ffi::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_map_info::netns_dev: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_map_info::netns_ino: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_map_info::type_: aya_ebpf_bindings::bindings::__u32
@ -5087,7 +5087,7 @@ pub aya_ebpf_bindings::bindings::bpf_prog_info::line_info: aya_ebpf_bindings::bi
pub aya_ebpf_bindings::bindings::bpf_prog_info::line_info_rec_size: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::bpf_prog_info::load_time: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_prog_info::map_ids: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_prog_info::name: [aya_ebpf_cty::ad::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_prog_info::name: [core::ffi::c_char; 16]
pub aya_ebpf_bindings::bindings::bpf_prog_info::netns_dev: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_prog_info::netns_ino: aya_ebpf_bindings::bindings::__u64
pub aya_ebpf_bindings::bindings::bpf_prog_info::nr_func_info: aya_ebpf_bindings::bindings::__u32
@ -5652,7 +5652,7 @@ impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::bpf_spin_lock
pub fn aya_ebpf_bindings::bindings::bpf_spin_lock::from(t: T) -> T
#[repr(C)] pub struct aya_ebpf_bindings::bindings::bpf_stack_build_id
pub aya_ebpf_bindings::bindings::bpf_stack_build_id::__bindgen_anon_1: aya_ebpf_bindings::bindings::bpf_stack_build_id__bindgen_ty_1
pub aya_ebpf_bindings::bindings::bpf_stack_build_id::build_id: [aya_ebpf_cty::c_uchar; 20]
pub aya_ebpf_bindings::bindings::bpf_stack_build_id::build_id: [core::ffi::c_uchar; 20]
pub aya_ebpf_bindings::bindings::bpf_stack_build_id::status: aya_ebpf_bindings::bindings::__s32
impl core::clone::Clone for aya_ebpf_bindings::bindings::bpf_stack_build_id
pub fn aya_ebpf_bindings::bindings::bpf_stack_build_id::clone(&self) -> aya_ebpf_bindings::bindings::bpf_stack_build_id
@ -5901,7 +5901,7 @@ impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::bpf_xfrm_state
pub fn aya_ebpf_bindings::bindings::bpf_xfrm_state::from(t: T) -> T
#[repr(C)] pub struct aya_ebpf_bindings::bindings::btf_ptr
pub aya_ebpf_bindings::bindings::btf_ptr::flags: aya_ebpf_bindings::bindings::__u32
pub aya_ebpf_bindings::bindings::btf_ptr::ptr: *mut aya_ebpf_cty::c_void
pub aya_ebpf_bindings::bindings::btf_ptr::ptr: *mut core::ffi::c_void
pub aya_ebpf_bindings::bindings::btf_ptr::type_id: aya_ebpf_bindings::bindings::__u32
impl core::clone::Clone for aya_ebpf_bindings::bindings::btf_ptr
pub fn aya_ebpf_bindings::bindings::btf_ptr::clone(&self) -> aya_ebpf_bindings::bindings::btf_ptr
@ -6173,27 +6173,27 @@ pub unsafe fn aya_ebpf_bindings::bindings::path::clone_to_uninit(&self, dst: *mu
impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::path
pub fn aya_ebpf_bindings::bindings::path::from(t: T) -> T
#[repr(C)] pub struct aya_ebpf_bindings::bindings::pt_regs
pub aya_ebpf_bindings::bindings::pt_regs::cs: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::eflags: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::orig_rax: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r10: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r11: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r12: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r13: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r14: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r15: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r8: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r9: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rax: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rbp: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rbx: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rcx: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rdi: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rdx: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rip: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rsi: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rsp: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::ss: aya_ebpf_cty::od::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::cs: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::eflags: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::orig_rax: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r10: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r11: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r12: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r13: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r14: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r15: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r8: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::r9: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rax: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rbp: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rbx: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rcx: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rdi: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rdx: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rip: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rsi: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::rsp: core::ffi::c_ulong
pub aya_ebpf_bindings::bindings::pt_regs::ss: core::ffi::c_ulong
impl core::clone::Clone for aya_ebpf_bindings::bindings::pt_regs
pub fn aya_ebpf_bindings::bindings::pt_regs::clone(&self) -> aya_ebpf_bindings::bindings::pt_regs
impl core::fmt::Debug for aya_ebpf_bindings::bindings::pt_regs
@ -6330,7 +6330,7 @@ pub unsafe fn aya_ebpf_bindings::bindings::sk_reuseport_md::clone_to_uninit(&sel
impl<T> core::convert::From<T> for aya_ebpf_bindings::bindings::sk_reuseport_md
pub fn aya_ebpf_bindings::bindings::sk_reuseport_md::from(t: T) -> T
#[repr(C)] pub struct aya_ebpf_bindings::bindings::sockaddr
pub aya_ebpf_bindings::bindings::sockaddr::sa_data: [aya_ebpf_cty::ad::c_char; 14]
pub aya_ebpf_bindings::bindings::sockaddr::sa_data: [core::ffi::c_char; 14]
pub aya_ebpf_bindings::bindings::sockaddr::sa_family: aya_ebpf_bindings::bindings::sa_family_t
impl core::clone::Clone for aya_ebpf_bindings::bindings::sockaddr
pub fn aya_ebpf_bindings::bindings::sockaddr::clone(&self) -> aya_ebpf_bindings::bindings::sockaddr
@ -7004,259 +7004,259 @@ pub const aya_ebpf_bindings::bindings::TC_ACT_VALUE_MAX: i32
pub const aya_ebpf_bindings::bindings::__MAX_BPF_REG: aya_ebpf_bindings::bindings::_bindgen_ty_1
pub type aya_ebpf_bindings::bindings::__be16 = aya_ebpf_bindings::bindings::__u16
pub type aya_ebpf_bindings::bindings::__be32 = aya_ebpf_bindings::bindings::__u32
pub type aya_ebpf_bindings::bindings::__s16 = aya_ebpf_cty::c_short
pub type aya_ebpf_bindings::bindings::__s32 = aya_ebpf_cty::ad::c_int
pub type aya_ebpf_bindings::bindings::__s64 = aya_ebpf_cty::c_longlong
pub type aya_ebpf_bindings::bindings::__u16 = aya_ebpf_cty::c_ushort
pub type aya_ebpf_bindings::bindings::__u32 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::__u64 = aya_ebpf_cty::c_ulonglong
pub type aya_ebpf_bindings::bindings::__u8 = aya_ebpf_cty::c_uchar
pub type aya_ebpf_bindings::bindings::__s16 = core::ffi::c_short
pub type aya_ebpf_bindings::bindings::__s32 = core::ffi::c_int
pub type aya_ebpf_bindings::bindings::__s64 = core::ffi::c_longlong
pub type aya_ebpf_bindings::bindings::__u16 = core::ffi::c_ushort
pub type aya_ebpf_bindings::bindings::__u32 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::__u64 = core::ffi::c_ulonglong
pub type aya_ebpf_bindings::bindings::__u8 = core::ffi::c_uchar
pub type aya_ebpf_bindings::bindings::__wsum = aya_ebpf_bindings::bindings::__u32
pub type aya_ebpf_bindings::bindings::_bindgen_ty_1 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_10 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_11 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_12 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_13 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_14 = aya_ebpf_cty::od::c_ulong
pub type aya_ebpf_bindings::bindings::_bindgen_ty_15 = aya_ebpf_cty::ad::c_int
pub type aya_ebpf_bindings::bindings::_bindgen_ty_16 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_17 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_18 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_19 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_2 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_20 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_21 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_22 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_23 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_24 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_25 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_26 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_27 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_29 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_3 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_30 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_31 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_35 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_36 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_37 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_38 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_39 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_4 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_41 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_5 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_6 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_7 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_8 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_9 = aya_ebpf_cty::ad::c_uint
pub type aya_ebpf_bindings::bindings::sa_family_t = aya_ebpf_cty::c_ushort
pub type aya_ebpf_bindings::bindings::_bindgen_ty_1 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_10 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_11 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_12 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_13 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_14 = core::ffi::c_ulong
pub type aya_ebpf_bindings::bindings::_bindgen_ty_15 = core::ffi::c_int
pub type aya_ebpf_bindings::bindings::_bindgen_ty_16 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_17 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_18 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_19 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_2 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_20 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_21 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_22 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_23 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_24 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_25 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_26 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_27 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_29 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_3 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_30 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_31 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_35 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_36 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_37 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_38 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_39 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_4 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_41 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_5 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_6 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_7 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_8 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::_bindgen_ty_9 = core::ffi::c_uint
pub type aya_ebpf_bindings::bindings::sa_family_t = core::ffi::c_ushort
pub mod aya_ebpf_bindings::helpers
pub unsafe fn aya_ebpf_bindings::helpers::bpf_bind(ctx: *mut aya_ebpf_bindings::bindings::bpf_sock_addr, addr: *mut aya_ebpf_bindings::bindings::sockaddr, addr_len: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_bprm_opts_set(bprm: *mut aya_ebpf_bindings::bindings::linux_binprm, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_btf_find_by_name_kind(name: *mut aya_ebpf_cty::ad::c_char, name_sz: aya_ebpf_cty::ad::c_int, kind: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_cgrp_storage_delete(map: *mut aya_ebpf_cty::c_void, cgroup: *mut aya_ebpf_bindings::bindings::cgroup) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_cgrp_storage_get(map: *mut aya_ebpf_cty::c_void, cgroup: *mut aya_ebpf_bindings::bindings::cgroup, value: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_check_mtu(ctx: *mut aya_ebpf_cty::c_void, ifindex: aya_ebpf_bindings::bindings::__u32, mtu_len: *mut aya_ebpf_bindings::bindings::__u32, len_diff: aya_ebpf_bindings::bindings::__s32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_clone_redirect(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_copy_from_user(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, user_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_copy_from_user_task(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, user_ptr: *const aya_ebpf_cty::c_void, tsk: *mut aya_ebpf_bindings::bindings::task_struct, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_bind(ctx: *mut aya_ebpf_bindings::bindings::bpf_sock_addr, addr: *mut aya_ebpf_bindings::bindings::sockaddr, addr_len: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_bprm_opts_set(bprm: *mut aya_ebpf_bindings::bindings::linux_binprm, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_btf_find_by_name_kind(name: *mut core::ffi::c_char, name_sz: core::ffi::c_int, kind: aya_ebpf_bindings::bindings::__u32, flags: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_cgrp_storage_delete(map: *mut core::ffi::c_void, cgroup: *mut aya_ebpf_bindings::bindings::cgroup) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_cgrp_storage_get(map: *mut core::ffi::c_void, cgroup: *mut aya_ebpf_bindings::bindings::cgroup, value: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_check_mtu(ctx: *mut core::ffi::c_void, ifindex: aya_ebpf_bindings::bindings::__u32, mtu_len: *mut aya_ebpf_bindings::bindings::__u32, len_diff: aya_ebpf_bindings::bindings::__s32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_clone_redirect(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_copy_from_user(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, user_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_copy_from_user_task(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, user_ptr: *const core::ffi::c_void, tsk: *mut aya_ebpf_bindings::bindings::task_struct, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_csum_diff(from: *mut aya_ebpf_bindings::bindings::__be32, from_size: aya_ebpf_bindings::bindings::__u32, to: *mut aya_ebpf_bindings::bindings::__be32, to_size: aya_ebpf_bindings::bindings::__u32, seed: aya_ebpf_bindings::bindings::__wsum) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_csum_level(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, level: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_csum_level(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, level: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_csum_update(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, csum: aya_ebpf_bindings::bindings::__wsum) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_current_task_under_cgroup(map: *mut aya_ebpf_cty::c_void, index: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_d_path(path: *mut aya_ebpf_bindings::bindings::path, buf: *mut aya_ebpf_cty::ad::c_char, sz: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_data(ptr: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_from_mem(data: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64, ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_read(dst: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, src: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_write(dst: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, src: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_fib_lookup(ctx: *mut aya_ebpf_cty::c_void, params: *mut aya_ebpf_bindings::bindings::bpf_fib_lookup, plen: aya_ebpf_cty::ad::c_int, flags: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_find_vma(task: *mut aya_ebpf_bindings::bindings::task_struct, addr: aya_ebpf_bindings::bindings::__u64, callback_fn: *mut aya_ebpf_cty::c_void, callback_ctx: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_for_each_map_elem(map: *mut aya_ebpf_cty::c_void, callback_fn: *mut aya_ebpf_cty::c_void, callback_ctx: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_attach_cookie(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_branch_snapshot(entries: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_current_task_under_cgroup(map: *mut core::ffi::c_void, index: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_d_path(path: *mut aya_ebpf_bindings::bindings::path, buf: *mut core::ffi::c_char, sz: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_data(ptr: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_from_mem(data: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64, ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_read(dst: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, src: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_dynptr_write(dst: *const aya_ebpf_bindings::bindings::bpf_dynptr, offset: aya_ebpf_bindings::bindings::__u32, src: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_fib_lookup(ctx: *mut core::ffi::c_void, params: *mut aya_ebpf_bindings::bindings::bpf_fib_lookup, plen: core::ffi::c_int, flags: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_find_vma(task: *mut aya_ebpf_bindings::bindings::task_struct, addr: aya_ebpf_bindings::bindings::__u64, callback_fn: *mut core::ffi::c_void, callback_ctx: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_for_each_map_elem(map: *mut core::ffi::c_void, callback_fn: *mut core::ffi::c_void, callback_ctx: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_attach_cookie(ctx: *mut core::ffi::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_branch_snapshot(entries: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_cgroup_classid(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_ancestor_cgroup_id(ancestor_level: aya_ebpf_cty::ad::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_ancestor_cgroup_id(ancestor_level: core::ffi::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_cgroup_id() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_comm(buf: *mut aya_ebpf_cty::c_void, size_of_buf: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_comm(buf: *mut core::ffi::c_void, size_of_buf: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_pid_tgid() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_task() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_task_btf() -> *mut aya_ebpf_bindings::bindings::task_struct
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_current_uid_gid() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_arg(ctx: *mut aya_ebpf_cty::c_void, n: aya_ebpf_bindings::bindings::__u32, value: *mut aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_arg_cnt(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_ip(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_ret(ctx: *mut aya_ebpf_cty::c_void, value: *mut aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_arg(ctx: *mut core::ffi::c_void, n: aya_ebpf_bindings::bindings::__u32, value: *mut aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_arg_cnt(ctx: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_ip(ctx: *mut core::ffi::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_func_ret(ctx: *mut core::ffi::c_void, value: *mut aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_hash_recalc(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_listener_sock(sk: *mut aya_ebpf_bindings::bindings::bpf_sock) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_local_storage(map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_netns_cookie(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_ns_current_pid_tgid(dev: aya_ebpf_bindings::bindings::__u64, ino: aya_ebpf_bindings::bindings::__u64, nsdata: *mut aya_ebpf_bindings::bindings::bpf_pidns_info, size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_numa_node_id() -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_local_storage(map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_netns_cookie(ctx: *mut core::ffi::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_ns_current_pid_tgid(dev: aya_ebpf_bindings::bindings::__u64, ino: aya_ebpf_bindings::bindings::__u64, nsdata: *mut aya_ebpf_bindings::bindings::bpf_pidns_info, size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_numa_node_id() -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_prandom_u32() -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_retval() -> aya_ebpf_cty::ad::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_retval() -> core::ffi::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_route_realm(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_smp_processor_id() -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_socket_cookie(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_socket_cookie(ctx: *mut core::ffi::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_socket_uid(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u32
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_stack(ctx: *mut aya_ebpf_cty::c_void, buf: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_stackid(ctx: *mut aya_ebpf_cty::c_void, map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_task_stack(task: *mut aya_ebpf_bindings::bindings::task_struct, buf: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_getsockopt(bpf_socket: *mut aya_ebpf_cty::c_void, level: aya_ebpf_cty::ad::c_int, optname: aya_ebpf_cty::ad::c_int, optval: *mut aya_ebpf_cty::c_void, optlen: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ima_file_hash(file: *mut aya_ebpf_bindings::bindings::file, dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ima_inode_hash(inode: *mut aya_ebpf_bindings::bindings::inode, dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_inode_storage_delete(map: *mut aya_ebpf_cty::c_void, inode: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::ad::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_inode_storage_get(map: *mut aya_ebpf_cty::c_void, inode: *mut aya_ebpf_cty::c_void, value: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_stack(ctx: *mut core::ffi::c_void, buf: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_stackid(ctx: *mut core::ffi::c_void, map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_get_task_stack(task: *mut aya_ebpf_bindings::bindings::task_struct, buf: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_getsockopt(bpf_socket: *mut core::ffi::c_void, level: core::ffi::c_int, optname: core::ffi::c_int, optval: *mut core::ffi::c_void, optlen: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ima_file_hash(file: *mut aya_ebpf_bindings::bindings::file, dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ima_inode_hash(inode: *mut aya_ebpf_bindings::bindings::inode, dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_inode_storage_delete(map: *mut core::ffi::c_void, inode: *mut core::ffi::c_void) -> core::ffi::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_inode_storage_get(map: *mut core::ffi::c_void, inode: *mut core::ffi::c_void, value: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_jiffies64() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_kallsyms_lookup_name(name: *const aya_ebpf_cty::ad::c_char, name_sz: aya_ebpf_cty::ad::c_int, flags: aya_ebpf_cty::ad::c_int, res: *mut aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_kptr_xchg(map_value: *mut aya_ebpf_cty::c_void, ptr: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_kallsyms_lookup_name(name: *const core::ffi::c_char, name_sz: core::ffi::c_int, flags: core::ffi::c_int, res: *mut aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_kptr_xchg(map_value: *mut core::ffi::c_void, ptr: *mut core::ffi::c_void) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ktime_get_boot_ns() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ktime_get_coarse_ns() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ktime_get_ns() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ktime_get_tai_ns() -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_l3_csum_replace(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: aya_ebpf_bindings::bindings::__u64, to: aya_ebpf_bindings::bindings::__u64, size: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_l4_csum_replace(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: aya_ebpf_bindings::bindings::__u64, to: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_load_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, searchby_res: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_loop(nr_loops: aya_ebpf_bindings::bindings::__u32, callback_fn: *mut aya_ebpf_cty::c_void, callback_ctx: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_push_encap(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, type_: aya_ebpf_bindings::bindings::__u32, hdr: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_action(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, action: aya_ebpf_bindings::bindings::__u32, param: *mut aya_ebpf_cty::c_void, param_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_adjust_srh(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, delta: aya_ebpf_bindings::bindings::__s32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_store_bytes(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: *const aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_delete_elem(map: *mut aya_ebpf_cty::c_void, key: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_lookup_elem(map: *mut aya_ebpf_cty::c_void, key: *const aya_ebpf_cty::c_void) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_lookup_percpu_elem(map: *mut aya_ebpf_cty::c_void, key: *const aya_ebpf_cty::c_void, cpu: aya_ebpf_bindings::bindings::__u32) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_peek_elem(map: *mut aya_ebpf_cty::c_void, value: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_pop_elem(map: *mut aya_ebpf_cty::c_void, value: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_push_elem(map: *mut aya_ebpf_cty::c_void, value: *const aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_update_elem(map: *mut aya_ebpf_cty::c_void, key: *const aya_ebpf_cty::c_void, value: *const aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_apply_bytes(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, bytes: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_cork_bytes(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, bytes: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_pop_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_pull_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, end: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_push_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_redirect_hash(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, map: *mut aya_ebpf_cty::c_void, key: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_redirect_map(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, map: *mut aya_ebpf_cty::c_void, key: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_override_return(regs: *mut aya_ebpf_bindings::bindings::pt_regs, rc: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_per_cpu_ptr(percpu_ptr: *const aya_ebpf_cty::c_void, cpu: aya_ebpf_bindings::bindings::__u32) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_output(ctx: *mut aya_ebpf_cty::c_void, map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_read(map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_read_value(map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64, buf: *mut aya_ebpf_bindings::bindings::bpf_perf_event_value, buf_size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_prog_read_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_perf_event_data, buf: *mut aya_ebpf_bindings::bindings::bpf_perf_event_value, buf_size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_kernel(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_kernel_str(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_str(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_user(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_user_str(dst: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_write_user(dst: *mut aya_ebpf_cty::c_void, src: *const aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_keydown(ctx: *mut aya_ebpf_cty::c_void, protocol: aya_ebpf_bindings::bindings::__u32, scancode: aya_ebpf_bindings::bindings::__u64, toggle: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_pointer_rel(ctx: *mut aya_ebpf_cty::c_void, rel_x: aya_ebpf_bindings::bindings::__s32, rel_y: aya_ebpf_bindings::bindings::__s32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_repeat(ctx: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_read_branch_records(ctx: *mut aya_ebpf_bindings::bindings::bpf_perf_event_data, buf: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect(ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_map(map: *mut aya_ebpf_cty::c_void, key: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_neigh(ifindex: aya_ebpf_bindings::bindings::__u32, params: *mut aya_ebpf_bindings::bindings::bpf_redir_neigh, plen: aya_ebpf_cty::ad::c_int, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_peer(ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_reserve_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_discard(data: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_l3_csum_replace(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: aya_ebpf_bindings::bindings::__u64, to: aya_ebpf_bindings::bindings::__u64, size: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_l4_csum_replace(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: aya_ebpf_bindings::bindings::__u64, to: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_load_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, searchby_res: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_loop(nr_loops: aya_ebpf_bindings::bindings::__u32, callback_fn: *mut core::ffi::c_void, callback_ctx: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_push_encap(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, type_: aya_ebpf_bindings::bindings::__u32, hdr: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_action(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, action: aya_ebpf_bindings::bindings::__u32, param: *mut core::ffi::c_void, param_len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_adjust_srh(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, delta: aya_ebpf_bindings::bindings::__s32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_lwt_seg6_store_bytes(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: *const core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_delete_elem(map: *mut core::ffi::c_void, key: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_lookup_elem(map: *mut core::ffi::c_void, key: *const core::ffi::c_void) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_lookup_percpu_elem(map: *mut core::ffi::c_void, key: *const core::ffi::c_void, cpu: aya_ebpf_bindings::bindings::__u32) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_peek_elem(map: *mut core::ffi::c_void, value: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_pop_elem(map: *mut core::ffi::c_void, value: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_push_elem(map: *mut core::ffi::c_void, value: *const core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_map_update_elem(map: *mut core::ffi::c_void, key: *const core::ffi::c_void, value: *const core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_apply_bytes(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, bytes: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_cork_bytes(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, bytes: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_pop_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_pull_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, end: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_push_data(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, start: aya_ebpf_bindings::bindings::__u32, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_redirect_hash(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, map: *mut core::ffi::c_void, key: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_msg_redirect_map(msg: *mut aya_ebpf_bindings::bindings::sk_msg_md, map: *mut core::ffi::c_void, key: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_override_return(regs: *mut aya_ebpf_bindings::bindings::pt_regs, rc: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_per_cpu_ptr(percpu_ptr: *const core::ffi::c_void, cpu: aya_ebpf_bindings::bindings::__u32) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_output(ctx: *mut core::ffi::c_void, map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_read(map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_event_read_value(map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64, buf: *mut aya_ebpf_bindings::bindings::bpf_perf_event_value, buf_size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_perf_prog_read_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_perf_event_data, buf: *mut aya_ebpf_bindings::bindings::bpf_perf_event_value, buf_size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_kernel(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_kernel_str(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_str(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_user(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_read_user_str(dst: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, unsafe_ptr: *const core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_probe_write_user(dst: *mut core::ffi::c_void, src: *const core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_keydown(ctx: *mut core::ffi::c_void, protocol: aya_ebpf_bindings::bindings::__u32, scancode: aya_ebpf_bindings::bindings::__u64, toggle: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_pointer_rel(ctx: *mut core::ffi::c_void, rel_x: aya_ebpf_bindings::bindings::__s32, rel_y: aya_ebpf_bindings::bindings::__s32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_rc_repeat(ctx: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_read_branch_records(ctx: *mut aya_ebpf_bindings::bindings::bpf_perf_event_data, buf: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect(ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_map(map: *mut core::ffi::c_void, key: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_neigh(ifindex: aya_ebpf_bindings::bindings::__u32, params: *mut aya_ebpf_bindings::bindings::bpf_redir_neigh, plen: core::ffi::c_int, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_redirect_peer(ifindex: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_reserve_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_discard(data: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_discard_dynptr(ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_output(ringbuf: *mut aya_ebpf_cty::c_void, data: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_query(ringbuf: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_reserve(ringbuf: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_reserve_dynptr(ringbuf: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64, ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_submit(data: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_output(ringbuf: *mut core::ffi::c_void, data: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_query(ringbuf: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_reserve(ringbuf: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_reserve_dynptr(ringbuf: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64, ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_submit(data: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_ringbuf_submit_dynptr(ptr: *mut aya_ebpf_bindings::bindings::bpf_dynptr, flags: aya_ebpf_bindings::bindings::__u64)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_send_signal(sig: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_send_signal_thread(sig: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_printf(m: *mut aya_ebpf_bindings::bindings::seq_file, fmt: *const aya_ebpf_cty::ad::c_char, fmt_size: aya_ebpf_bindings::bindings::__u32, data: *const aya_ebpf_cty::c_void, data_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_printf_btf(m: *mut aya_ebpf_bindings::bindings::seq_file, ptr: *mut aya_ebpf_bindings::bindings::btf_ptr, ptr_size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_write(m: *mut aya_ebpf_bindings::bindings::seq_file, data: *const aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_set_hash(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, hash: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_send_signal(sig: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_send_signal_thread(sig: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_printf(m: *mut aya_ebpf_bindings::bindings::seq_file, fmt: *const core::ffi::c_char, fmt_size: aya_ebpf_bindings::bindings::__u32, data: *const core::ffi::c_void, data_len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_printf_btf(m: *mut aya_ebpf_bindings::bindings::seq_file, ptr: *mut aya_ebpf_bindings::bindings::btf_ptr, ptr_size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_seq_write(m: *mut aya_ebpf_bindings::bindings::seq_file, data: *const core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_set_hash(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, hash: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_set_hash_invalid(skb: *mut aya_ebpf_bindings::bindings::__sk_buff)
pub unsafe fn aya_ebpf_bindings::helpers::bpf_set_retval(retval: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::ad::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_setsockopt(bpf_socket: *mut aya_ebpf_cty::c_void, level: aya_ebpf_cty::ad::c_int, optname: aya_ebpf_cty::ad::c_int, optval: *mut aya_ebpf_cty::c_void, optlen: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_ancestor_cgroup_id(sk: *mut aya_ebpf_cty::c_void, ancestor_level: aya_ebpf_cty::ad::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_assign(ctx: *mut aya_ebpf_cty::c_void, sk: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_cgroup_id(sk: *mut aya_ebpf_cty::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_set_retval(retval: core::ffi::c_int) -> core::ffi::c_int
pub unsafe fn aya_ebpf_bindings::helpers::bpf_setsockopt(bpf_socket: *mut core::ffi::c_void, level: core::ffi::c_int, optname: core::ffi::c_int, optval: *mut core::ffi::c_void, optlen: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_ancestor_cgroup_id(sk: *mut core::ffi::c_void, ancestor_level: core::ffi::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_assign(ctx: *mut core::ffi::c_void, sk: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_cgroup_id(sk: *mut core::ffi::c_void) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_fullsock(sk: *mut aya_ebpf_bindings::bindings::bpf_sock) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_lookup_tcp(ctx: *mut aya_ebpf_cty::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_lookup_udp(ctx: *mut aya_ebpf_cty::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_redirect_hash(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut aya_ebpf_cty::c_void, key: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_redirect_map(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut aya_ebpf_cty::c_void, key: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_release(sock: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_select_reuseport(reuse: *mut aya_ebpf_bindings::bindings::sk_reuseport_md, map: *mut aya_ebpf_cty::c_void, key: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_storage_delete(map: *mut aya_ebpf_cty::c_void, sk: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_storage_get(map: *mut aya_ebpf_cty::c_void, sk: *mut aya_ebpf_cty::c_void, value: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_adjust_room(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len_diff: aya_ebpf_bindings::bindings::__s32, mode: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_ancestor_cgroup_id(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, ancestor_level: aya_ebpf_cty::ad::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_lookup_tcp(ctx: *mut core::ffi::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_lookup_udp(ctx: *mut core::ffi::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_redirect_hash(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut core::ffi::c_void, key: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_redirect_map(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut core::ffi::c_void, key: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_release(sock: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_select_reuseport(reuse: *mut aya_ebpf_bindings::bindings::sk_reuseport_md, map: *mut core::ffi::c_void, key: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_storage_delete(map: *mut core::ffi::c_void, sk: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sk_storage_get(map: *mut core::ffi::c_void, sk: *mut core::ffi::c_void, value: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_adjust_room(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len_diff: aya_ebpf_bindings::bindings::__s32, mode: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_ancestor_cgroup_id(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, ancestor_level: core::ffi::c_int) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_cgroup_classid(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_cgroup_id(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_head(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_proto(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, proto: aya_ebpf_bindings::bindings::__be16, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_tail(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_type(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, type_: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_ecn_set_ce(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_tunnel_key(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, key: *mut aya_ebpf_bindings::bindings::bpf_tunnel_key, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_tunnel_opt(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, opt: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_xfrm_state(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, index: aya_ebpf_bindings::bindings::__u32, xfrm_state: *mut aya_ebpf_bindings::bindings::bpf_xfrm_state, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_load_bytes(skb: *const aya_ebpf_cty::c_void, offset: aya_ebpf_bindings::bindings::__u32, to: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_load_bytes_relative(skb: *const aya_ebpf_cty::c_void, offset: aya_ebpf_bindings::bindings::__u32, to: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, start_header: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_output(ctx: *mut aya_ebpf_cty::c_void, map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_pull_data(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tstamp(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, tstamp: aya_ebpf_bindings::bindings::__u64, tstamp_type: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tunnel_key(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, key: *mut aya_ebpf_bindings::bindings::bpf_tunnel_key, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tunnel_opt(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, opt: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_store_bytes(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: *const aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_under_cgroup(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut aya_ebpf_cty::c_void, index: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_vlan_pop(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_vlan_push(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, vlan_proto: aya_ebpf_bindings::bindings::__be16, vlan_tci: aya_ebpf_bindings::bindings::__u16) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_lookup_tcp(ctx: *mut aya_ebpf_cty::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_mptcp_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::mptcp_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp6_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::tcp6_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_request_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_request_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_timewait_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_timewait_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_udp6_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::udp6_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_unix_sock(sk: *mut aya_ebpf_cty::c_void) -> *mut aya_ebpf_bindings::bindings::unix_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_snprintf(str_: *mut aya_ebpf_cty::ad::c_char, str_size: aya_ebpf_bindings::bindings::__u32, fmt: *const aya_ebpf_cty::ad::c_char, data: *mut aya_ebpf_bindings::bindings::__u64, data_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_snprintf_btf(str_: *mut aya_ebpf_cty::ad::c_char, str_size: aya_ebpf_bindings::bindings::__u32, ptr: *mut aya_ebpf_bindings::bindings::btf_ptr, btf_ptr_size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_head(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_proto(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, proto: aya_ebpf_bindings::bindings::__be16, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_tail(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_change_type(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, type_: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_ecn_set_ce(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_tunnel_key(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, key: *mut aya_ebpf_bindings::bindings::bpf_tunnel_key, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_tunnel_opt(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, opt: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_get_xfrm_state(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, index: aya_ebpf_bindings::bindings::__u32, xfrm_state: *mut aya_ebpf_bindings::bindings::bpf_xfrm_state, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_load_bytes(skb: *const core::ffi::c_void, offset: aya_ebpf_bindings::bindings::__u32, to: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_load_bytes_relative(skb: *const core::ffi::c_void, offset: aya_ebpf_bindings::bindings::__u32, to: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, start_header: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_output(ctx: *mut core::ffi::c_void, map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_pull_data(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tstamp(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, tstamp: aya_ebpf_bindings::bindings::__u64, tstamp_type: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tunnel_key(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, key: *mut aya_ebpf_bindings::bindings::bpf_tunnel_key, size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_set_tunnel_opt(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, opt: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_store_bytes(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, offset: aya_ebpf_bindings::bindings::__u32, from: *const core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_under_cgroup(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, map: *mut core::ffi::c_void, index: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_vlan_pop(skb: *mut aya_ebpf_bindings::bindings::__sk_buff) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skb_vlan_push(skb: *mut aya_ebpf_bindings::bindings::__sk_buff, vlan_proto: aya_ebpf_bindings::bindings::__be16, vlan_tci: aya_ebpf_bindings::bindings::__u16) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_lookup_tcp(ctx: *mut core::ffi::c_void, tuple: *mut aya_ebpf_bindings::bindings::bpf_sock_tuple, tuple_size: aya_ebpf_bindings::bindings::__u32, netns: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_bindings::bindings::bpf_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_mptcp_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::mptcp_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp6_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::tcp6_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_request_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_request_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_tcp_timewait_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::tcp_timewait_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_udp6_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::udp6_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_skc_to_unix_sock(sk: *mut core::ffi::c_void) -> *mut aya_ebpf_bindings::bindings::unix_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_snprintf(str_: *mut core::ffi::c_char, str_size: aya_ebpf_bindings::bindings::__u32, fmt: *const core::ffi::c_char, data: *mut aya_ebpf_bindings::bindings::__u64, data_len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_snprintf_btf(str_: *mut core::ffi::c_char, str_size: aya_ebpf_bindings::bindings::__u32, ptr: *mut aya_ebpf_bindings::bindings::btf_ptr, btf_ptr_size: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_from_file(file: *mut aya_ebpf_bindings::bindings::file) -> *mut aya_ebpf_bindings::bindings::socket
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_hash_update(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, map: *mut aya_ebpf_cty::c_void, key: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_map_update(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, map: *mut aya_ebpf_cty::c_void, key: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_ops_cb_flags_set(bpf_sock: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, argval: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_spin_lock(lock: *mut aya_ebpf_bindings::bindings::bpf_spin_lock) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_spin_unlock(lock: *mut aya_ebpf_bindings::bindings::bpf_spin_lock) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_store_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, from: *const aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strncmp(s1: *const aya_ebpf_cty::ad::c_char, s1_sz: aya_ebpf_bindings::bindings::__u32, s2: *const aya_ebpf_cty::ad::c_char) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strtol(buf: *const aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong, flags: aya_ebpf_bindings::bindings::__u64, res: *mut aya_ebpf_cty::od::c_long) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strtoul(buf: *const aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong, flags: aya_ebpf_bindings::bindings::__u64, res: *mut aya_ebpf_cty::od::c_ulong) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sys_bpf(cmd: aya_ebpf_bindings::bindings::__u32, attr: *mut aya_ebpf_cty::c_void, attr_size: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sys_close(fd: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_current_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_name(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_new_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_set_new_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *const aya_ebpf_cty::ad::c_char, buf_len: aya_ebpf_cty::od::c_ulong) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tail_call(ctx: *mut aya_ebpf_cty::c_void, prog_array_map: *mut aya_ebpf_cty::c_void, index: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_pt_regs(task: *mut aya_ebpf_bindings::bindings::task_struct) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_storage_delete(map: *mut aya_ebpf_cty::c_void, task: *mut aya_ebpf_bindings::bindings::task_struct) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_storage_get(map: *mut aya_ebpf_cty::c_void, task: *mut aya_ebpf_bindings::bindings::task_struct, value: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_check_syncookie(sk: *mut aya_ebpf_cty::c_void, iph: *mut aya_ebpf_cty::c_void, iph_len: aya_ebpf_bindings::bindings::__u32, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_gen_syncookie(sk: *mut aya_ebpf_cty::c_void, iph: *mut aya_ebpf_cty::c_void, iph_len: aya_ebpf_bindings::bindings::__u32, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_check_syncookie_ipv4(iph: *mut aya_ebpf_bindings::bindings::iphdr, th: *mut aya_ebpf_bindings::bindings::tcphdr) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_check_syncookie_ipv6(iph: *mut aya_ebpf_bindings::bindings::ipv6hdr, th: *mut aya_ebpf_bindings::bindings::tcphdr) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_hash_update(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, map: *mut core::ffi::c_void, key: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_map_update(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, map: *mut core::ffi::c_void, key: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sock_ops_cb_flags_set(bpf_sock: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, argval: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_spin_lock(lock: *mut aya_ebpf_bindings::bindings::bpf_spin_lock) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_spin_unlock(lock: *mut aya_ebpf_bindings::bindings::bpf_spin_lock) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_store_hdr_opt(skops: *mut aya_ebpf_bindings::bindings::bpf_sock_ops, from: *const core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strncmp(s1: *const core::ffi::c_char, s1_sz: aya_ebpf_bindings::bindings::__u32, s2: *const core::ffi::c_char) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strtol(buf: *const core::ffi::c_char, buf_len: core::ffi::c_ulong, flags: aya_ebpf_bindings::bindings::__u64, res: *mut core::ffi::c_long) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_strtoul(buf: *const core::ffi::c_char, buf_len: core::ffi::c_ulong, flags: aya_ebpf_bindings::bindings::__u64, res: *mut core::ffi::c_ulong) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sys_bpf(cmd: aya_ebpf_bindings::bindings::__u32, attr: *mut core::ffi::c_void, attr_size: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sys_close(fd: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_current_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut core::ffi::c_char, buf_len: core::ffi::c_ulong) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_name(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut core::ffi::c_char, buf_len: core::ffi::c_ulong, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_get_new_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *mut core::ffi::c_char, buf_len: core::ffi::c_ulong) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_sysctl_set_new_value(ctx: *mut aya_ebpf_bindings::bindings::bpf_sysctl, buf: *const core::ffi::c_char, buf_len: core::ffi::c_ulong) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tail_call(ctx: *mut core::ffi::c_void, prog_array_map: *mut core::ffi::c_void, index: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_pt_regs(task: *mut aya_ebpf_bindings::bindings::task_struct) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_storage_delete(map: *mut core::ffi::c_void, task: *mut aya_ebpf_bindings::bindings::task_struct) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_task_storage_get(map: *mut core::ffi::c_void, task: *mut aya_ebpf_bindings::bindings::task_struct, value: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_check_syncookie(sk: *mut core::ffi::c_void, iph: *mut core::ffi::c_void, iph_len: aya_ebpf_bindings::bindings::__u32, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_gen_syncookie(sk: *mut core::ffi::c_void, iph: *mut core::ffi::c_void, iph_len: aya_ebpf_bindings::bindings::__u32, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_check_syncookie_ipv4(iph: *mut aya_ebpf_bindings::bindings::iphdr, th: *mut aya_ebpf_bindings::bindings::tcphdr) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_check_syncookie_ipv6(iph: *mut aya_ebpf_bindings::bindings::ipv6hdr, th: *mut aya_ebpf_bindings::bindings::tcphdr) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_gen_syncookie_ipv4(iph: *mut aya_ebpf_bindings::bindings::iphdr, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_raw_gen_syncookie_ipv6(iph: *mut aya_ebpf_bindings::bindings::ipv6hdr, th: *mut aya_ebpf_bindings::bindings::tcphdr, th_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_bindings::bindings::__s64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_send_ack(tp: *mut aya_ebpf_cty::c_void, rcv_nxt: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_send_ack(tp: *mut core::ffi::c_void, rcv_nxt: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_tcp_sock(sk: *mut aya_ebpf_bindings::bindings::bpf_sock) -> *mut aya_ebpf_bindings::bindings::bpf_tcp_sock
pub unsafe fn aya_ebpf_bindings::helpers::bpf_this_cpu_ptr(percpu_ptr: *const aya_ebpf_cty::c_void) -> *mut aya_ebpf_cty::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_cancel(timer: *mut aya_ebpf_bindings::bindings::bpf_timer) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_init(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_set_callback(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, callback_fn: *mut aya_ebpf_cty::c_void) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_start(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, nsecs: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_trace_vprintk(fmt: *const aya_ebpf_cty::ad::c_char, fmt_size: aya_ebpf_bindings::bindings::__u32, data: *const aya_ebpf_cty::c_void, data_len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_user_ringbuf_drain(map: *mut aya_ebpf_cty::c_void, callback_fn: *mut aya_ebpf_cty::c_void, ctx: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_head(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_meta(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_tail(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: aya_ebpf_cty::ad::c_int) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_this_cpu_ptr(percpu_ptr: *const core::ffi::c_void) -> *mut core::ffi::c_void
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_cancel(timer: *mut aya_ebpf_bindings::bindings::bpf_timer) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_init(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_set_callback(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, callback_fn: *mut core::ffi::c_void) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_timer_start(timer: *mut aya_ebpf_bindings::bindings::bpf_timer, nsecs: aya_ebpf_bindings::bindings::__u64, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_trace_vprintk(fmt: *const core::ffi::c_char, fmt_size: aya_ebpf_bindings::bindings::__u32, data: *const core::ffi::c_void, data_len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_user_ringbuf_drain(map: *mut core::ffi::c_void, callback_fn: *mut core::ffi::c_void, ctx: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_head(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_meta(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_adjust_tail(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, delta: core::ffi::c_int) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_get_buff_len(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md) -> aya_ebpf_bindings::bindings::__u64
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_load_bytes(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, offset: aya_ebpf_bindings::bindings::__u32, buf: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_output(ctx: *mut aya_ebpf_cty::c_void, map: *mut aya_ebpf_cty::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut aya_ebpf_cty::c_void, size: aya_ebpf_bindings::bindings::__u64) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_store_bytes(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, offset: aya_ebpf_bindings::bindings::__u32, buf: *mut aya_ebpf_cty::c_void, len: aya_ebpf_bindings::bindings::__u32) -> aya_ebpf_cty::od::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_load_bytes(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, offset: aya_ebpf_bindings::bindings::__u32, buf: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_output(ctx: *mut core::ffi::c_void, map: *mut core::ffi::c_void, flags: aya_ebpf_bindings::bindings::__u64, data: *mut core::ffi::c_void, size: aya_ebpf_bindings::bindings::__u64) -> core::ffi::c_long
pub unsafe fn aya_ebpf_bindings::helpers::bpf_xdp_store_bytes(xdp_md: *mut aya_ebpf_bindings::bindings::xdp_md, offset: aya_ebpf_bindings::bindings::__u32, buf: *mut core::ffi::c_void, len: aya_ebpf_bindings::bindings::__u32) -> core::ffi::c_long

@ -1,6 +1,5 @@
pub mod aya_ebpf
pub use aya_ebpf::bindings
pub use aya_ebpf::cty
pub use aya_ebpf::macros
pub mod aya_ebpf::helpers
pub use aya_ebpf::helpers::gen
@ -61,21 +60,21 @@ impl<T> core::clone::CloneToUninit for aya_ebpf::helpers::PrintkArg where T: cor
pub unsafe fn aya_ebpf::helpers::PrintkArg::clone_to_uninit(&self, dst: *mut u8)
impl<T> core::convert::From<T> for aya_ebpf::helpers::PrintkArg
pub fn aya_ebpf::helpers::PrintkArg::from(t: T) -> T
pub fn aya_ebpf::helpers::bpf_get_current_comm() -> core::result::Result<[u8; 16], aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::helpers::bpf_get_current_comm() -> core::result::Result<[u8; 16], core::ffi::c_long>
pub fn aya_ebpf::helpers::bpf_get_current_pid_tgid() -> u64
pub fn aya_ebpf::helpers::bpf_get_current_uid_gid() -> u64
pub unsafe fn aya_ebpf::helpers::bpf_probe_read<T>(src: *const T) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel<T>(src: *const T) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_str_bytes(src: *const u8, dest: &mut [u8]) -> core::result::Result<&[u8], aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user<T>(src: *const T) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_str_bytes(src: *const u8, dest: &mut [u8]) -> core::result::Result<&[u8], aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_write_user<T>(dst: *mut T, src: *const T) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read<T>(src: *const T) -> core::result::Result<T, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel<T>(src: *const T) -> core::result::Result<T, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_kernel_str_bytes(src: *const u8, dest: &mut [u8]) -> core::result::Result<&[u8], core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user<T>(src: *const T) -> core::result::Result<T, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_buf(src: *const u8, dst: &mut [u8]) -> core::result::Result<(), core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_str(src: *const u8, dest: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_read_user_str_bytes(src: *const u8, dest: &mut [u8]) -> core::result::Result<&[u8], core::ffi::c_long>
pub unsafe fn aya_ebpf::helpers::bpf_probe_write_user<T>(dst: *mut T, src: *const T) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::helpers::bpf_strncmp<const N: usize>(s1: &[u8; N], s2: &core::ffi::c_str::CStr) -> core::cmp::Ordering
pub mod aya_ebpf::maps
pub mod aya_ebpf::maps::array
@ -143,9 +142,9 @@ impl<K, V> aya_ebpf::maps::hash_map::HashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::HashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::HashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::HashMap<K, V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::HashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::HashMap<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::hash_map::HashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::HashMap<K, V>
@ -174,9 +173,9 @@ impl<K, V> aya_ebpf::maps::hash_map::LruHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruHashMap<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::hash_map::LruHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::LruHashMap<K, V>
@ -205,9 +204,9 @@ impl<K, V> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
impl<K, V> core::marker::Sync for aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
@ -236,9 +235,9 @@ impl<K, V> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
impl<K, V> core::marker::Sync for aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
@ -293,9 +292,9 @@ pub fn aya_ebpf::maps::lpm_trie::Key<K>::from(t: T) -> T
#[repr(transparent)] pub struct aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
impl<K, V> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::get(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::option::Option<&V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::insert(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::insert(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::remove(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::remove(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
@ -410,7 +409,7 @@ pub mod aya_ebpf::maps::program_array
#[repr(transparent)] pub struct aya_ebpf::maps::program_array::ProgramArray
impl aya_ebpf::maps::program_array::ProgramArray
pub const fn aya_ebpf::maps::program_array::ProgramArray::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::program_array::ProgramArray
pub unsafe fn aya_ebpf::maps::program_array::ProgramArray::tail_call<C: aya_ebpf::EbpfContext>(&self, ctx: &C, index: u32) -> core::result::Result<never, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::maps::program_array::ProgramArray::tail_call<C: aya_ebpf::EbpfContext>(&self, ctx: &C, index: u32) -> core::result::Result<never, core::ffi::c_long>
pub const fn aya_ebpf::maps::program_array::ProgramArray::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::program_array::ProgramArray
impl core::marker::Sync for aya_ebpf::maps::program_array::ProgramArray
impl !core::marker::Freeze for aya_ebpf::maps::program_array::ProgramArray
@ -902,9 +901,9 @@ impl<K, V> aya_ebpf::maps::hash_map::HashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::HashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::HashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::HashMap<K, V>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::HashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::HashMap<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::hash_map::HashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::HashMap<K, V>
@ -931,9 +930,9 @@ pub fn aya_ebpf::maps::hash_map::HashMap<K, V>::from(t: T) -> T
#[repr(transparent)] pub struct aya_ebpf::maps::LpmTrie<K, V>
impl<K, V> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::get(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::option::Option<&V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::insert(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::insert(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::remove(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::remove(&self, key: &aya_ebpf::maps::lpm_trie::Key<K>) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::lpm_trie::LpmTrie<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::lpm_trie::LpmTrie<K, V>
@ -962,9 +961,9 @@ impl<K, V> aya_ebpf::maps::hash_map::LruHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruHashMap<K, V>
impl<K: core::marker::Sync, V: core::marker::Sync> core::marker::Sync for aya_ebpf::maps::hash_map::LruHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::LruHashMap<K, V>
@ -993,9 +992,9 @@ impl<K, V> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
impl<K, V> core::marker::Sync for aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::LruPerCpuHashMap<K, V>
@ -1053,9 +1052,9 @@ impl<K, V> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
pub unsafe fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get(&self, key: &K) -> core::option::Option<&V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get_ptr(&self, key: &K) -> core::option::Option<*const V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::get_ptr_mut(&self, key: &K) -> core::option::Option<*mut V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::insert(&self, key: &K, value: &V, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::remove(&self, key: &K) -> core::result::Result<(), core::ffi::c_long>
pub const fn aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
impl<K, V> core::marker::Sync for aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
impl<K, V> !core::marker::Freeze for aya_ebpf::maps::hash_map::PerCpuHashMap<K, V>
@ -1138,7 +1137,7 @@ pub fn aya_ebpf::maps::PerfEventByteArray::from(t: T) -> T
#[repr(transparent)] pub struct aya_ebpf::maps::ProgramArray
impl aya_ebpf::maps::program_array::ProgramArray
pub const fn aya_ebpf::maps::program_array::ProgramArray::pinned(max_entries: u32, flags: u32) -> aya_ebpf::maps::program_array::ProgramArray
pub unsafe fn aya_ebpf::maps::program_array::ProgramArray::tail_call<C: aya_ebpf::EbpfContext>(&self, ctx: &C, index: u32) -> core::result::Result<never, aya_ebpf_cty::od::c_long>
pub unsafe fn aya_ebpf::maps::program_array::ProgramArray::tail_call<C: aya_ebpf::EbpfContext>(&self, ctx: &C, index: u32) -> core::result::Result<never, core::ffi::c_long>
pub const fn aya_ebpf::maps::program_array::ProgramArray::with_max_entries(max_entries: u32, flags: u32) -> aya_ebpf::maps::program_array::ProgramArray
impl core::marker::Sync for aya_ebpf::maps::program_array::ProgramArray
impl !core::marker::Freeze for aya_ebpf::maps::program_array::ProgramArray
@ -1600,30 +1599,30 @@ pub mod aya_ebpf::programs::sk_buff
pub struct aya_ebpf::programs::sk_buff::SkBuff
pub aya_ebpf::programs::sk_buff::SkBuff::skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff
impl aya_ebpf::programs::sk_buff::SkBuff
pub fn aya_ebpf::programs::sk_buff::SkBuff::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::cb(&self) -> &[u32]
pub fn aya_ebpf::programs::sk_buff::SkBuff::cb_mut(&mut self) -> &mut [u32]
pub fn aya_ebpf::programs::sk_buff::SkBuff::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::change_type(&self, ty: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::change_type(&self, ty: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::family(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::get_socket_uid(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::len(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::load<T>(&self, offset: usize) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::load<T>(&self, offset: usize) -> core::result::Result<T, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::local_ipv4(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::local_ipv6(&self) -> &[u32; 4]
pub fn aya_ebpf::programs::sk_buff::SkBuff::local_port(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::new(skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff) -> aya_ebpf::programs::sk_buff::SkBuff
pub fn aya_ebpf::programs::sk_buff::SkBuff::protocol(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::pull_data(&self, len: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::pull_data(&self, len: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::remote_ipv4(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::remote_ipv6(&self) -> &[u32; 4]
pub fn aya_ebpf::programs::sk_buff::SkBuff::remote_port(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuff::set_mark(&mut self, mark: u32)
pub fn aya_ebpf::programs::sk_buff::SkBuff::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuff::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), core::ffi::c_long>
impl core::marker::Freeze for aya_ebpf::programs::sk_buff::SkBuff
impl !core::marker::Send for aya_ebpf::programs::sk_buff::SkBuff
impl !core::marker::Sync for aya_ebpf::programs::sk_buff::SkBuff
@ -1649,21 +1648,21 @@ pub fn aya_ebpf::programs::sk_buff::SkBuff::from(t: T) -> T
pub struct aya_ebpf::programs::sk_buff::SkBuffContext
pub aya_ebpf::programs::sk_buff::SkBuffContext::skb: aya_ebpf::programs::sk_buff::SkBuff
impl aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::cb(&self) -> &[u32]
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::cb_mut(&mut self) -> &mut [u32]
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::change_type(&self, ty: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::change_type(&self, ty: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::get_socket_uid(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::len(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load<T>(&self, offset: usize) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load<T>(&self, offset: usize) -> core::result::Result<T, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::new(skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff) -> aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::pull_data(&self, len: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::pull_data(&self, len: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::set_mark(&mut self, mark: u32)
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), core::ffi::c_long>
impl aya_ebpf::EbpfContext for aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::as_ptr(&self) -> *mut core::ffi::c_void
impl core::marker::Freeze for aya_ebpf::programs::sk_buff::SkBuffContext
@ -1912,26 +1911,26 @@ pub mod aya_ebpf::programs::tc
pub struct aya_ebpf::programs::tc::TcContext
pub aya_ebpf::programs::tc::TcContext::skb: aya_ebpf::programs::sk_buff::SkBuff
impl aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::cb(&self) -> &[u32]
pub fn aya_ebpf::programs::tc::TcContext::cb_mut(&mut self) -> &mut [u32]
pub fn aya_ebpf::programs::tc::TcContext::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_type(&self, ty: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_type(&self, ty: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::data(&self) -> usize
pub fn aya_ebpf::programs::tc::TcContext::data_end(&self) -> usize
pub fn aya_ebpf::programs::tc::TcContext::get_socket_uid(&self) -> u32
pub fn aya_ebpf::programs::tc::TcContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::len(&self) -> u32
pub fn aya_ebpf::programs::tc::TcContext::load<T>(&self, offset: usize) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load<T>(&self, offset: usize) -> core::result::Result<T, core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::new(skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff) -> aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::pull_data(&self, len: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::pull_data(&self, len: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::set_mark(&mut self, mark: u32)
pub fn aya_ebpf::programs::tc::TcContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), core::ffi::c_long>
impl aya_ebpf::EbpfContext for aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut aya_ebpf_cty::c_void
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut core::ffi::c_void
impl core::marker::Freeze for aya_ebpf::programs::tc::TcContext
impl !core::marker::Send for aya_ebpf::programs::tc::TcContext
impl !core::marker::Sync for aya_ebpf::programs::tc::TcContext
@ -2301,21 +2300,21 @@ pub fn aya_ebpf::programs::retprobe::RetProbeContext::from(t: T) -> T
pub struct aya_ebpf::programs::SkBuffContext
pub aya_ebpf::programs::SkBuffContext::skb: aya_ebpf::programs::sk_buff::SkBuff
impl aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::cb(&self) -> &[u32]
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::cb_mut(&mut self) -> &mut [u32]
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::change_type(&self, ty: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::change_type(&self, ty: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::get_socket_uid(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::len(&self) -> u32
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load<T>(&self, offset: usize) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load<T>(&self, offset: usize) -> core::result::Result<T, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::new(skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff) -> aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::pull_data(&self, len: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::pull_data(&self, len: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::set_mark(&mut self, mark: u32)
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), core::ffi::c_long>
impl aya_ebpf::EbpfContext for aya_ebpf::programs::sk_buff::SkBuffContext
pub fn aya_ebpf::programs::sk_buff::SkBuffContext::as_ptr(&self) -> *mut core::ffi::c_void
impl core::marker::Freeze for aya_ebpf::programs::sk_buff::SkBuffContext
@ -2556,26 +2555,26 @@ pub fn aya_ebpf::programs::sysctl::SysctlContext::from(t: T) -> T
pub struct aya_ebpf::programs::TcContext
pub aya_ebpf::programs::TcContext::skb: aya_ebpf::programs::sk_buff::SkBuff
impl aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::adjust_room(&self, len_diff: i32, mode: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::cb(&self) -> &[u32]
pub fn aya_ebpf::programs::tc::TcContext::cb_mut(&mut self) -> &mut [u32]
pub fn aya_ebpf::programs::tc::TcContext::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_type(&self, ty: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_proto(&self, proto: u16, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::change_type(&self, ty: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::clone_redirect(&self, if_index: u32, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::data(&self) -> usize
pub fn aya_ebpf::programs::tc::TcContext::data_end(&self) -> usize
pub fn aya_ebpf::programs::tc::TcContext::get_socket_uid(&self) -> u32
pub fn aya_ebpf::programs::tc::TcContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l3_csum_replace(&self, offset: usize, from: u64, to: u64, size: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::l4_csum_replace(&self, offset: usize, from: u64, to: u64, flags: u64) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::len(&self) -> u32
pub fn aya_ebpf::programs::tc::TcContext::load<T>(&self, offset: usize) -> core::result::Result<T, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load<T>(&self, offset: usize) -> core::result::Result<T, core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::load_bytes(&self, offset: usize, dst: &mut [u8]) -> core::result::Result<usize, core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::new(skb: *mut aya_ebpf_bindings::x86_64::bindings::__sk_buff) -> aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::pull_data(&self, len: u32) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::pull_data(&self, len: u32) -> core::result::Result<(), core::ffi::c_long>
pub fn aya_ebpf::programs::tc::TcContext::set_mark(&mut self, mark: u32)
pub fn aya_ebpf::programs::tc::TcContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::programs::tc::TcContext::store<T>(&mut self, offset: usize, v: &T, flags: u64) -> core::result::Result<(), core::ffi::c_long>
impl aya_ebpf::EbpfContext for aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut aya_ebpf_cty::c_void
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut core::ffi::c_void
impl core::marker::Freeze for aya_ebpf::programs::tc::TcContext
impl !core::marker::Send for aya_ebpf::programs::tc::TcContext
impl !core::marker::Sync for aya_ebpf::programs::tc::TcContext
@ -2716,7 +2715,7 @@ pub fn aya_ebpf::RawTracepointArgs::from(t: T) -> T
pub const aya_ebpf::TASK_COMM_LEN: usize
pub trait aya_ebpf::EbpfContext
pub fn aya_ebpf::EbpfContext::as_ptr(&self) -> *mut core::ffi::c_void
pub fn aya_ebpf::EbpfContext::command(&self) -> core::result::Result<[u8; 16], aya_ebpf_cty::od::c_long>
pub fn aya_ebpf::EbpfContext::command(&self) -> core::result::Result<[u8; 16], core::ffi::c_long>
pub fn aya_ebpf::EbpfContext::gid(&self) -> u32
pub fn aya_ebpf::EbpfContext::pid(&self) -> u32
pub fn aya_ebpf::EbpfContext::tgid(&self) -> u32
@ -2754,7 +2753,7 @@ pub fn aya_ebpf::programs::sockopt::SockoptContext::as_ptr(&self) -> *mut core::
impl aya_ebpf::EbpfContext for aya_ebpf::programs::sysctl::SysctlContext
pub fn aya_ebpf::programs::sysctl::SysctlContext::as_ptr(&self) -> *mut core::ffi::c_void
impl aya_ebpf::EbpfContext for aya_ebpf::programs::tc::TcContext
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut aya_ebpf_cty::c_void
pub fn aya_ebpf::programs::tc::TcContext::as_ptr(&self) -> *mut core::ffi::c_void
impl aya_ebpf::EbpfContext for aya_ebpf::programs::tp_btf::BtfTracePointContext
pub fn aya_ebpf::programs::tp_btf::BtfTracePointContext::as_ptr(&self) -> *mut core::ffi::c_void
impl aya_ebpf::EbpfContext for aya_ebpf::programs::tracepoint::TracePointContext
@ -2764,4 +2763,4 @@ pub fn aya_ebpf::programs::xdp::XdpContext::as_ptr(&self) -> *mut core::ffi::c_v
pub fn aya_ebpf::check_bounds_signed(value: i64, lower: i64, upper: i64) -> bool
#[no_mangle] pub unsafe c fn aya_ebpf::memcpy(dest: *mut u8, src: *mut u8, n: usize)
#[no_mangle] pub unsafe c fn aya_ebpf::memmove(dest: *mut u8, src: *mut u8, n: usize)
#[no_mangle] pub unsafe c fn aya_ebpf::memset(s: *mut u8, c: aya_ebpf_cty::ad::c_int, n: usize)
#[no_mangle] pub unsafe c fn aya_ebpf::memset(s: *mut u8, c: core::ffi::c_int, n: usize)

@ -30,9 +30,7 @@ pub fn codegen(opts: &SysrootOptions, libbpf_dir: &Path) -> Result<(), anyhow::E
let builder = || {
let mut bindgen = bindgen::bpf_builder()
.header(&*dir.join("include/bindings.h").to_string_lossy())
// aya-tool uses aya_ebpf::cty. We can't use that here since aya-bpf
// depends on aya-ebpf-bindings so it would create a circular dep.
.ctypes_prefix("::aya_ebpf_cty")
.use_core()
.clang_args(&["-I", &*libbpf_dir.join("include/uapi").to_string_lossy()])
.clang_args(&["-I", &*libbpf_dir.join("include").to_string_lossy()])
.clang_args(&["-I", &*libbpf_dir.join("src").to_string_lossy()])

Loading…
Cancel
Save