Searched refs:the_stats_map (Results 1 – 1 of 1) sorted by relevance
183 #define DEFINE_UPDATE_STATS(the_stats_map, TypeOfKey) \ in DEFINE_BPF_MAP_RO_NETD() argument184 static __always_inline inline void update_##the_stats_map(const struct __sk_buff* const skb, \ in DEFINE_BPF_MAP_RO_NETD()188 StatsValue* value = bpf_##the_stats_map##_lookup_elem(key); \ in DEFINE_BPF_MAP_RO_NETD()191 bpf_##the_stats_map##_update_elem(key, &newValue, BPF_NOEXIST); \ in DEFINE_BPF_MAP_RO_NETD()192 value = bpf_##the_stats_map##_lookup_elem(key); \ in DEFINE_BPF_MAP_RO_NETD()