Home
last modified time | relevance | path

Searched refs:ipfwdRule (Results 1 – 1 of 1) sorted by relevance

/system/netd/tests/
Dbinder_test.cpp1337 bool ipRuleIpfwdExists(const char* ipVersion, const std::string& ipfwdRule) { in ipRuleIpfwdExists() argument
1340 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() local
1351 EXPECT_TRUE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleExists()
1356 std::string ipfwdRule = StringPrintf("18000:\tfrom all iif %s lookup %s ", fromIf, toIf); in expectIpfwdRuleNotExists() local
1359 EXPECT_FALSE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleNotExists()