OSDN Git Service

Merge "netd: Switch throttling to use HTB instead of CBQ" into froyo
[android-x86/system-netd.git] / NatController.h
index 4182f1d..1ab0202 100644 (file)
@@ -31,9 +31,12 @@ public:
     int disableNat(const char *intIface, const char *extIface);
 
 private:
+    int natCount;
+
     int setDefaults();
     int runIptablesCmd(const char *cmd);
     bool interfaceExists(const char *iface);
+    int doNatCommands(const char *intIface, const char *extIface, bool add);
 };
 
 #endif