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

/system/netd/
H A Doem_iptables_hook.cpp33 static int runIptablesCmd(const char *cmd) { function
55 runIptablesCmd("-N oem_out");
56 runIptablesCmd("-D OUTPUT -j oem_out");
57 if (runIptablesCmd("-I OUTPUT -j oem_out"))
60 runIptablesCmd("-N oem_fwd");
61 runIptablesCmd("-D FORWARD -j oem_fwd");
62 if (runIptablesCmd("-I FORWARD -j oem_fwd"))
65 runIptablesCmd("-t nat -N oem_nat_pre");
66 runIptablesCmd("-t nat -D PREROUTING -j oem_nat_pre");
67 if (runIptablesCmd("
[all...]
H A DBandwidthController.cpp151 res |= runIptablesCmd(cmd, rejectHandling, IptIpV4);
152 res |= runIptablesCmd(cmd, rejectHandling, IptIpV6);
163 int BandwidthController::runIptablesCmd(const char *cmd, IptRejectOp rejectHandling, function in class:BandwidthController
210 LOGE("runIptablesCmd(): failed %s res=%d", fullCmd.c_str(), res);

Completed in 18 milliseconds