Searched defs:runCmd (Results 1 - 1 of 1) sorted by relevance

/system/netd/
H A DNatController.cpp48 int NatController::runCmd(const char *path, const char *cmd) { function in class:NatController
61 ALOGV("runCmd() buffer='%s' res=%d", buffer, res);
72 if (runCmd(IPTABLES_PATH, "-F natctrl_FORWARD"))
74 if (runCmd(IPTABLES_PATH, "-t nat -F natctrl_nat_POSTROUTING"))
77 runCmd(IP_PATH, "rule flush");
78 runCmd(IP_PATH, "-6 rule flush");
79 runCmd(IP_PATH, "rule add from all lookup default prio 32767");
80 runCmd(IP_PATH, "rule add from all lookup main prio 32766");
81 runCmd(IP_PATH, "-6 rule add from all lookup default prio 32767");
82 runCmd(IP_PAT
[all...]

Completed in 2 milliseconds