Searched refs:TypeOfKey (Results 1 – 2 of 2) sorted by relevance
/system/bpf/progs/include/ |
D | bpf_helpers.h | 105 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, usr, grp, md) \ argument 108 .key_size = sizeof(TypeOfKey), \ 122 const TypeOfKey* k) { \ 127 const TypeOfKey* k, const TypeOfValue* v, unsigned long long flags) { \ 131 static inline __always_inline __unused int bpf_##the_map##_delete_elem(const TypeOfKey* k) { \ 135 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument 136 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600) 138 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument 139 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0620) 141 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument [all …]
|
/system/netd/bpf_progs/ |
D | netd.c | 99 #define DEFINE_UPDATE_STATS(the_stats_map, TypeOfKey) \ argument 101 int direction, TypeOfKey* key) { \
|