Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2863 int iptablesCountRules(const char* binary, const char* table, const char* chainName) { in iptablesCountRules() function
2930 EXPECT_EQ(2, iptablesCountRules(IPTABLES_PATH, NAT_TABLE, TETHER_NAT_POSTROUTING)); in expectNatDisable()
2931 EXPECT_EQ(2, iptablesCountRules(IPTABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING)); in expectNatDisable()
2933 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, FILTER_TABLE, TETHER_FORWARD)); in expectNatDisable()
2934 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING)); in expectNatDisable()