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/src/maps
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`.
1 year ago
..
array feat(aya): Rename Bpf to Ebpf 2 years ago
hash_map s/MiriSafeFd/MockableFd/ 1 year ago
perf test: adjust test byte arrays for big endian 1 year ago
sock Avoid crashing under Miri 1 year ago
xdp feat(aya): Rename Bpf to Ebpf 2 years ago
bloom_filter.rs fix(aya): Fix PerfEventArray resize logic 1 year ago
lpm_trie.rs fix(aya): Fix PerfEventArray resize logic 1 year ago
mod.rs aya-obj: add conversion u32 to enum type for prog, link, & attach type 1 year ago
queue.rs feat(aya): Rename Bpf to Ebpf 2 years ago
ring_buf.rs docs(aya): fix typo 1 year ago
stack.rs feat(aya): Rename Bpf to Ebpf 2 years ago
stack_trace.rs feat(aya): Rename Bpf to Ebpf 2 years ago