Commit Graph

111 Commits (46e0a2ede4e423e620acd55f3ed4f755aa8c8b38)
 

Author SHA1 Message Date
Alessandro Decina a41edbca2c maps: add ProgramArray
ProgramArray is a wrapper around BPF_MAP_TYPE_PROG_ARRAY maps. Can be
used to setup jump tables for bpf_tail_call().
4 years ago
Alessandro Decina f7cdd2e059 maps: move maps inside RefCells 4 years ago
Alessandro Decina 77fa7d857c syscalls: add Pod bound on keys 4 years ago
Alessandro Decina 83f57447dc maps: move MapsIter/MapsKeys from hash_map.rs to the parent module 4 years ago
Alessandro Decina 72e43aae1a maps: hash_map: make MapKeys and MapIter generic
Introduce IterableMap trait and make MapKeys/MapIter use that.
4 years ago
Alessandro Decina 70fab20193 maps: hash map: remove Clone bound 4 years ago
Alessandro Decina b0b83cbd8c Use own Pod trait 4 years ago
Alessandro Decina 561b0015bb programs: xdp: support detaching with FdLink 4 years ago
Alessandro Decina 0f0bc795e3 programs: add FdLink
FdLink is a generic Link impl that calls close() on the given fd.
4 years ago
Alessandro Decina 84afa318c8 Formatting fixes 4 years ago
Alessandro Decina 15be301f8c Initial commit 4 years ago