Lines Matching refs:fullCmd
166 std::string fullCmd = cmd; in runIptablesCmd() local
169 fullCmd += " --jump REJECT --reject-with"; in runIptablesCmd()
172 fullCmd += " icmp-net-prohibited"; in runIptablesCmd()
175 fullCmd += " icmp6-adm-prohibited"; in runIptablesCmd()
180 fullCmd.insert(0, " "); in runIptablesCmd()
181 fullCmd.insert(0, iptVer == IptIpV4 ? IPTABLES_PATH : IP6TABLES_PATH); in runIptablesCmd()
183 if (StrncpyAndCheck(buffer, fullCmd.c_str(), sizeof(buffer))) { in runIptablesCmd()
203 fullCmd.c_str()); in runIptablesCmd()
1040 std::string fullCmd; in getTetherStats() local
1056 fullCmd = IPTABLES_PATH; in getTetherStats()
1057 fullCmd += " -nvx -L natctrl_FORWARD"; in getTetherStats()
1058 iptOutput = popen(fullCmd.c_str(), "r"); in getTetherStats()
1060 ALOGE("Failed to run %s err=%s", fullCmd.c_str(), strerror(errno)); in getTetherStats()