• Home
  • Raw
  • Download

Lines Matching refs:ipVersion

567                                  const std::string& action, const char* ipVersion,  in ipRuleExistsForRange()  argument
572 std::vector<std::string> rules = listIpRules(ipVersion); in ipRuleExistsForRange()
1492 bool ipRuleIpfwdExists(const char* ipVersion, const std::string& ipfwdRule) { in ipRuleIpfwdExists() argument
1493 std::vector<std::string> rules = listIpRules(ipVersion); in ipRuleIpfwdExists()
1506 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectIpfwdRuleExists()
1507 EXPECT_TRUE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleExists()
1515 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectIpfwdRuleNotExists()
1516 EXPECT_FALSE(ipRuleIpfwdExists(ipVersion, ipfwdRule)); in expectIpfwdRuleNotExists()
1784 void expectNetworkRouteExistsWithMtu(const char* ipVersion, const std::string& ifName, in expectNetworkRouteExistsWithMtu() argument
1788 EXPECT_TRUE(ipRouteExists(ipVersion, table, ipRouteString(ifName, dst, nextHop, mtu))) in expectNetworkRouteExistsWithMtu()
1792 void expectNetworkRouteExists(const char* ipVersion, const std::string& ifName, in expectNetworkRouteExists() argument
1795 expectNetworkRouteExistsWithMtu(ipVersion, ifName, dst, nextHop, "", table); in expectNetworkRouteExists()
1798 void expectNetworkRouteDoesNotExist(const char* ipVersion, const std::string& ifName, in expectNetworkRouteDoesNotExist() argument
1802 EXPECT_FALSE(ipRouteExists(ipVersion, table, ipRouteString(ifName, dst, nextHop, ""))) in expectNetworkRouteDoesNotExist()
1806 bool ipRuleExists(const char* ipVersion, const std::string& ipRule) { in ipRuleExists() argument
1807 std::vector<std::string> rules = listIpRules(ipVersion); in ipRuleExists()
1821 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectNetworkDefaultIpRuleExists()
1822 EXPECT_TRUE(ipRuleExists(ipVersion, networkDefaultRule)); in expectNetworkDefaultIpRuleExists()
1830 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectNetworkDefaultIpRuleDoesNotExist()
1831 EXPECT_FALSE(ipRuleExists(ipVersion, networkDefaultRule)); in expectNetworkDefaultIpRuleDoesNotExist()
1855 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectNetworkPermissionIpRuleExists()
1856 EXPECT_TRUE(ipRuleExists(ipVersion, networkPermissionRule)); in expectNetworkPermissionIpRuleExists()
1901 const char* ipVersion; in TEST_F() member
1918 const char* ipVersion; in TEST_F() member
1945 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
1954 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
1963 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
1974 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
1984 expectNetworkRouteDoesNotExist(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
1998 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2009 expectNetworkRouteDoesNotExist(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2023 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2034 expectNetworkRouteDoesNotExist(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2054 expectNetworkRouteExistsWithMtu(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2065 expectNetworkRouteExistsWithMtu(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
2075 expectNetworkRouteDoesNotExist(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
3095 const char* ipVersion; in TEST_F() member
3148 expectNetworkRouteExists(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
3153 expectNetworkRouteDoesNotExist(td.ipVersion, sTun.name(), td.testDest, td.testNextHop, in TEST_F()
3400 for (const auto& ipVersion : {IP_RULE_V4, IP_RULE_V6}) { in expectVpnFallthroughRuleExists()
3401 EXPECT_TRUE(ipRuleExists(ipVersion, vpnFallthroughRule)); in expectVpnFallthroughRuleExists()