Searched refs:ipfwdRule (Results 1 – 1 of 1) sorted by relevance
1337 bool ipRuleIpfwdExists(const char* ipVersion, const std::string& ipfwdRule) { in ipRuleIpfwdExists() argument1340 if (rule.find(ipfwdRule) != std::string::npos) { in ipRuleIpfwdExists()1348 std::string ipfwdRule = StringPrintf("18000:\tfrom all iif %s lookup %s ", fromIf, toIf); in expectIpfwdRuleExists() local1351 EXPECT_TRUE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleExists()1356 std::string ipfwdRule = StringPrintf("18000:\tfrom all iif %s lookup %s ", fromIf, toIf); in expectIpfwdRuleNotExists() local1359 EXPECT_FALSE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleNotExists()