Searched refs:ip_version (Results 1 – 3 of 3) sorted by relevance
428 bool IpTables::ApplyRuleForUserTrafficWithVersion(const std::string& ip_version, in ApplyRuleForUserTrafficWithVersion() argument432 if (ip_version == kIPv6) in ApplyRuleForUserTrafficWithVersion()444 LOG(ERROR) << (add ? "Adding" : "Removing") << " rule for " << ip_version in ApplyRuleForUserTrafficWithVersion()
104 bool ApplyRuleForUserTrafficWithVersion(const std::string& ip_version,
1207 string ip_version; in SetIPFlag() local1209 ip_version = kIPFlagVersion4; in SetIPFlag()1211 ip_version = kIPFlagVersion6; in SetIPFlag()1215 FilePath flag_file(StringPrintf(kIPFlagTemplate, ip_version.c_str(), in SetIPFlag()