Ipfwd-related commands porting
Test: built, flashed, booted
system/netd/tests/runtests.sh passes
Change-Id: Ib166dcc85bb63fd5557fd0a22b666e1dadeaf90b
diff --git a/server/NetdNativeService.h b/server/NetdNativeService.h
index 6b93a71..a956149 100644
--- a/server/NetdNativeService.h
+++ b/server/NetdNativeService.h
@@ -207,6 +207,15 @@
// Clatd-related commands
binder::Status clatdStart(const std::string& ifName) override;
binder::Status clatdStop(const std::string& ifName) override;
+
+ // Ipfw-related commands
+ binder::Status ipfwdEnabled(bool* status) override;
+ binder::Status ipfwdEnableForwarding(const std::string& requester) override;
+ binder::Status ipfwdDisableForwarding(const std::string& requester) override;
+ binder::Status ipfwdAddInterfaceForward(const std::string& fromIface,
+ const std::string& toIface) override;
+ binder::Status ipfwdRemoveInterfaceForward(const std::string& fromIface,
+ const std::string& toIface) override;
};
} // namespace net