ebpf tethering - add a map to store data limit, part 3

This actually starts enforcing the limit.

Note: this requires netd to populate both stats & limit maps
for offload to work.

Bug: 150736748
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I13c21f455155480712fba9b1464b4392d5169a52
Merged-In: I13c21f455155480712fba9b1464b4392d5169a52
diff --git a/server/TetherController.h b/server/TetherController.h
index 9476ab0..3b266e7 100644
--- a/server/TetherController.h
+++ b/server/TetherController.h
@@ -183,6 +183,7 @@
     int setForwardRules(bool set, const char *intIface, const char *extIface);
     int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
 
+    base::Result<void> setBpfLimit(uint32_t ifIndex, uint64_t limit);
     void maybeInitMaps();
     void maybeStartBpf(const char* extIface);
     void maybeStopBpf(const char* extIface);