Add a dump method to TetherController
Test: manual
Change-Id: I56834d4dd8afa49460e4e02e084b4f268a51d3fe
diff --git a/server/TetherController.h b/server/TetherController.h
index 7f8ba06..c83267b 100644
--- a/server/TetherController.h
+++ b/server/TetherController.h
@@ -21,6 +21,7 @@
#include <set>
#include <string>
+#include <netdutils/DumpWriter.h>
#include <netdutils/StatusOr.h>
#include <sysutils/SocketClient.h>
@@ -145,6 +146,9 @@
std::mutex lock;
+ void dump(netdutils::DumpWriter& dw);
+ void dumpIfaces(netdutils::DumpWriter& dw);
+
private:
bool setIpFwdEnabled();
std::vector<char*> toCstrVec(const std::vector<std::string>& addrs);