Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2914 int iptablesCountRules(const char* binary, const char* table, const char* chainName) { in iptablesCountRules() function
2981 EXPECT_EQ(2, iptablesCountRules(IPTABLES_PATH, NAT_TABLE, TETHER_NAT_POSTROUTING)); in expectNatDisable()
2982 EXPECT_EQ(2, iptablesCountRules(IPTABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING)); in expectNatDisable()
2984 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, FILTER_TABLE, TETHER_FORWARD)); in expectNatDisable()
2985 EXPECT_EQ(2, iptablesCountRules(IP6TABLES_PATH, RAW_TABLE, TETHER_RAW_PREROUTING)); in expectNatDisable()