Searched refs:kIpTablesPath (Results 1 – 2 of 2) sorted by relevance
/system/firewalld/ |
D | iptables.cc | 37 const char kIpTablesPath[] = "/system/bin/iptables"; variable 41 const char kIpTablesPath[] = "/sbin/iptables"; variable 230 if (!AddAcceptRule(kIpTablesPath, protocol, port, interface)) { in AddAcceptRules() 231 LOG(ERROR) << "Could not add ACCEPT rule using '" << kIpTablesPath << "'"; in AddAcceptRules() 242 DeleteAcceptRule(kIpTablesPath, protocol, port, interface); in AddAcceptRules() 256 bool ip4_success = DeleteAcceptRule(kIpTablesPath, protocol, port, in DeleteAcceptRules() 308 apply_masquerade, {kIpTablesPath, kIp6TablesPath}, add); in ApplyMasquerade() 317 return RunForAllArguments(apply_mark, {kIpTablesPath, kIp6TablesPath}, add); in ApplyMarkForUserTraffic() 423 << " using '" << kIpTablesPath << "'"; in ApplyMarkForUserTrafficWithExecutable()
|
D | iptables_unittest.cc | 23 const char kIpTablesPath[] = "/system/bin/iptables"; variable 26 const char kIpTablesPath[] = "/sbin/iptables"; 52 EXPECT_CALL(*iptables, AddAcceptRule(kIpTablesPath, _, _, _)) in SetMockExpectationsPerExecutable() 56 EXPECT_CALL(*iptables, DeleteAcceptRule(kIpTablesPath, _, _, _)) in SetMockExpectationsPerExecutable()
|