Home
last modified time | relevance | path

Searched refs:the_map (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h238 #define DEFINE_BPF_MAP_BASE(the_map, TYPE, keysize, valuesize, num_entries, \ argument
242 const struct bpf_map_def SECTION("maps") the_map = { \
270 #define DEFINE_BPF_RINGBUF_EXT(the_map, ValueType, size_bytes, usr, grp, md, \ argument
273 DEFINE_BPF_MAP_BASE(the_map, RINGBUF, 0, 0, size_bytes, usr, grp, md, \
283 static inline __always_inline __unused int bpf_##the_map##_output( \
285 return bpf_ringbuf_output_unsafe(&the_map, v, sizeof(*v), 0); \
289 ValueType* bpf_##the_map##_reserve() { \
290 return bpf_ringbuf_reserve_unsafe(&the_map, sizeof(ValueType), 0); \
293 static inline __always_inline __unused void bpf_##the_map##_submit( \
316 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument
[all …]
/packages/modules/Connectivity/bpf_progs/
Dnetd.c62 #define DEFINE_BPF_MAP_NO_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
63 DEFINE_BPF_MAP_EXT(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \
69 #define DEFINE_BPF_MAP_RO_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
70 DEFINE_BPF_MAP_EXT(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \
76 #define DEFINE_BPF_MAP_RW_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
77 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \