ebpf tethering - add a map to store data limit, part 2
This is higher level glue code, including dump support.
Tested: builds
Bug: 150736748
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I9777d38d319a0b9db265aa339b7e903c49b8a4df
Merged-In: I9777d38d319a0b9db265aa339b7e903c49b8a4df
diff --git a/server/TetherController.h b/server/TetherController.h
index 7fd7166..9476ab0 100644
--- a/server/TetherController.h
+++ b/server/TetherController.h
@@ -75,6 +75,7 @@
// BPF maps, initialized by maybeInitMaps.
bpf::BpfMap<TetherIngressKey, TetherIngressValue> mBpfIngressMap;
bpf::BpfMap<uint32_t, TetherStatsValue> mBpfStatsMap;
+ bpf::BpfMap<uint32_t, uint64_t> mBpfLimitMap;
bpf::BpfMap<uint32_t, IfaceValue> mIfaceIndexNameMap;
public: