Nat-related commands porting
Test: built, flashed, booted
system/netd/tests/runtests.sh passes
Change-Id: I14e80377bc1b7c08993c3cf8fbf2b6fd0f99f4ba
diff --git a/server/NetdNativeService.h b/server/NetdNativeService.h
index 7ae2e34..62f9b3f 100644
--- a/server/NetdNativeService.h
+++ b/server/NetdNativeService.h
@@ -259,6 +259,11 @@
const std::string& toIface) override;
binder::Status ipfwdRemoveInterfaceForward(const std::string& fromIface,
const std::string& toIface) override;
+ // Tether-forward-related commands
+ binder::Status tetherAddForward(const std::string& intIface,
+ const std::string& extIface) override;
+ binder::Status tetherRemoveForward(const std::string& intIface,
+ const std::string& extIface) override;
private:
std::vector<uid_t> intsToUids(const std::vector<int32_t>& intUids);