xref: /DragonOS/kernel/src/bpf/helper/consts.rs (revision f5b2038871d3441e1c7f32439ff422957e7ab828)
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