Home
last modified time | relevance | path

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

/system/bpf/progs/include/
Dbpf_helpers.h65 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, usr, grp, md) \ argument
68 .key_size = sizeof(TypeOfKey), \
77 const TypeOfKey* k) { \
82 const TypeOfKey* k, const TypeOfValue* v, unsigned long long flags) { \
86 static inline __always_inline __unused int bpf_##the_map##_delete_elem(const TypeOfKey* k) { \
90 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
91 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600)
93 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
94 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0620)
96 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
[all …]
/system/netd/bpf_progs/
Dnetd.c99 #define DEFINE_UPDATE_STATS(the_stats_map, TypeOfKey) \ argument
101 int direction, TypeOfKey* key) { \