You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/aya-obj/src/programs
tyrone-wu 1634fa7188
aya-obj: add conversion u32 to enum type for prog, link, & attach type
Add conversion from u32 to program type, link type, and attach type.
Additionally, remove duplicate match statement for u32 conversion to
`BPF_MAP_TYPE_BLOOM_FILTER` & `BPF_MAP_TYPE_CGRP_STORAGE`.

New error `InvalidTypeBinding<T>` is created to represent when a
parsed/received value binding to a type is invalid.
This is used in the new conversions added here, and also replaces
`InvalidMapTypeError` in `TryFrom` for `bpf_map_type`.
8 months ago
..
cgroup_sock.rs aya-obj: reduce indirection in section parsing 2 years ago
cgroup_sock_addr.rs aya-obj: reduce indirection in section parsing 2 years ago
cgroup_sockopt.rs aya-obj: reduce indirection in section parsing 2 years ago
mod.rs aya-obj: add conversion u32 to enum type for prog, link, & attach type 8 months ago
types.rs aya-obj: add conversion u32 to enum type for prog, link, & attach type 8 months ago
xdp.rs aya: add support for map-bound XDP programs 2 years ago