• Home
  • Raw
  • Download

Lines Matching refs:command

10 int RunExternalCommand(const std::string& command) {  in RunExternalCommand()  argument
12 LOG(INFO) << "Running external command: " << command; in RunExternalCommand()
13 fp = popen(command.c_str(), "r"); in RunExternalCommand()
164 auto command = ss.str(); in AddGateway() local
165 LOG(INFO) << "setup gateway: " << command; in AddGateway()
166 int status = RunExternalCommand(command); in AddGateway()
175 auto command = ss.str(); in DestroyGateway() local
176 LOG(INFO) << "removing gateway: " << command; in DestroyGateway()
177 int status = RunExternalCommand(command); in DestroyGateway()
236 auto command = ss.str(); in EbtablesBroute() local
237 int status = RunExternalCommand(command); in EbtablesBroute()
253 auto command = ss.str(); in EbtablesFilter() local
254 int status = RunExternalCommand(command); in EbtablesFilter()
263 auto command = ss.str(); in LinkTapToBridge() local
264 int status = RunExternalCommand(command); in LinkTapToBridge()
325 auto command = ss.str(); in CreateBridge() local
326 LOG(INFO) << "create bridge: " << command; in CreateBridge()
327 int status = RunExternalCommand(command); in CreateBridge()
412 auto command = ss.str(); in StartDnsmasq() local
413 LOG(INFO) << "start_dnsmasq: " << command; in StartDnsmasq()
414 int status = RunExternalCommand(command); in StartDnsmasq()
433 std::string command = "kill " + pid; in StopDnsmasq() local
434 int status = RunExternalCommand(command); in StopDnsmasq()
450 auto command = ss.str(); in IptableConfig() local
451 LOG(INFO) << "iptable_config: " << command; in IptableConfig()
452 int status = RunExternalCommand(command); in IptableConfig()