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