Searched refs:runIptablesCmd (Results 1 - 3 of 3) sorted by relevance
/system/netd/ |
H A D | oem_iptables_hook.cpp | 33 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 D | BandwidthController.h | 112 static int runIptablesCmd(const char *cmd, IptRejectOp rejectHandling, IptIpVer iptIpVer);
|
H A D | BandwidthController.cpp | 151 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 242 milliseconds