Searched refs:IPTABLES_PATH (Results 1 - 4 of 4) sorted by relevance
/system/netd/ |
H A D | NatController.cpp | 36 static char IPTABLES_PATH[] = "/system/bin/iptables"; variable 66 if (runCmd(IPTABLES_PATH, "-P INPUT ACCEPT")) 68 if (runCmd(IPTABLES_PATH, "-P OUTPUT ACCEPT")) 70 if (runCmd(IPTABLES_PATH, "-P FORWARD DROP")) 72 if (runCmd(IPTABLES_PATH, "-F FORWARD")) 74 if (runCmd(IPTABLES_PATH, "-t nat -F")) 165 if (runCmd(IPTABLES_PATH, cmd)) { 188 if (runCmd(IPTABLES_PATH, cmd) && add) { 196 if (runCmd(IPTABLES_PATH, cmd) && add) { 202 runCmd(IPTABLES_PATH, cm [all...] |
H A D | oem_iptables_hook.cpp | 30 static char IPTABLES_PATH[] = "/system/bin/iptables"; variable 43 asprintf(&buffer, "%s %s", IPTABLES_PATH, cmd);
|
H A D | BandwidthController.h | 157 static const char IPTABLES_PATH[]; member in class:BandwidthController
|
H A D | BandwidthController.cpp | 55 const char BandwidthController::IPTABLES_PATH[] = "/system/bin/iptables"; member in class:BandwidthController 187 fullCmd.insert(0, iptVer == IptIpV4 ? IPTABLES_PATH : IP6TABLES_PATH); 988 fullCmd = IPTABLES_PATH;
|
Completed in 89 milliseconds