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/bpf/aya-bpf/src/maps
Hengqi Chen e12e8a9ded aya-bpf/maps: Create LPMTrie with BPF_F_NO_PREALLOC
The Linux kernel requires BPF_F_NO_PREALLOC on creating LPMTrie ([0]).
Add BPF_F_NO_PREALLOC flag in LPMTrie constructor.

Closes #332.

  [0]: https://github.com/torvalds/linux/blob/9e6b19a66d9b/kernel/bpf/lpm_trie.c#L551

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
2 years ago
..
perf bpf: Replace map types to use &self, remove HashMap::get_mut 2 years ago
array.rs bpf: Replace map types to use &self, remove HashMap::get_mut 2 years ago
bloom_filter.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
hash_map.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
lpm_trie.rs aya-bpf/maps: Create LPMTrie with BPF_F_NO_PREALLOC 2 years ago
mod.rs Merge pull request #286 from nak3/add-BPF_MAP_TYPE_BLOOM_FILTER 2 years ago
per_cpu_array.rs bpf: Remove unnecessary Sync bound on PerCpuArray<T> 2 years ago
program_array.rs bpf: Only use never type with rust nightly 2 years ago
queue.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
sock_hash.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
sock_map.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
stack.rs bpf: Use `then_some` instead of `then(|| [...])` 2 years ago
stack_trace.rs Restore previous check for bpf_get_stackid 2 years ago