mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 17:27:48 +04:00
Scripts need the map type to know how to interact with a map, e.g. per-CPU value handling or keyless queue/stack semantics. Add an info() map method returning type, key/value size and max_entries, along with BPF_MAP_TYPE constants for comparison. Signed-off-by: Felix Fietkau <nbd@nbd.name>