Home
last modified time | relevance | path

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

/aosp12/system/bpf/progs/include/
H A Dbpf_helpers.h105 #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) { \
135 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
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
142 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0640)
144 #define DEFINE_BPF_MAP_GRW(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
[all …]
/aosp12/system/netd/bpf_progs/
H A Dnetd.c99 #define DEFINE_UPDATE_STATS(the_stats_map, TypeOfKey) \ argument
101 int direction, TypeOfKey* key) { \