Lines Matching refs:Key
26 template <class Key, class Value> class NetsysBpfMap {
28 NetsysBpfMap<Key, Value>() = default;
29 NetsysBpfMap<Key, Value>(const std::string &pathName, uint32_t flags);
30 NetsysBpfMap<Key, Value>(bpf_map_type mapType, uint32_t maxEntries, uint32_t mapFlags);
45 Value ReadValueFromMap(const Key key) const;
55 bool WriteValue(const Key &key, const Value &value, uint64_t flags) const;
62 void Iterate(const std::function<void(const Key &key, const NetsysBpfMap<Key, Value> &map)> &counter) const;
65 * Get the Next Key From Map
68 * @return int next Key
70 int GetNextKeyFromMap(Key &curkey) const;
73 * Get the Next Key From Stats Map
76 * @param nextKey reference of next Key
77 * @return int next Key
79 int GetNextKeyFromStatsMap(const Key &curkey, Key &nextKey) const;
95 bool DeleteEntryFromMap(const Key &deleteKey);