xref: /DragonOS/kernel/src/bpf/helper/consts.rs (revision 55e6f0b65f91b32638fd56581f711a816eccdcd1)
1 pub const HELPER_MAP_LOOKUP_ELEM: u32 = 1;
2 pub const HELPER_MAP_UPDATE_ELEM: u32 = 2;
3 pub const HELPER_MAP_DELETE_ELEM: u32 = 3;
4 pub const HELPER_MAP_FOR_EACH_ELEM: u32 = 164;
5 pub const HELPER_MAP_LOOKUP_PERCPU_ELEM: u32 = 195;
6 pub const HELPER_PERF_EVENT_OUTPUT: u32 = 25;
7 pub const HELPER_BPF_PROBE_READ: u32 = 4;
8 pub const HELPER_TRACE_PRINTF: u32 = 6;
9 pub const HELPER_MAP_PUSH_ELEM: u32 = 87;
10 pub const HELPER_MAP_POP_ELEM: u32 = 88;
11 pub const HELPER_MAP_PEEK_ELEM: u32 = 89;
12