Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp135 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands() argument
140 "COMMIT\n", intIf); in startNatCommands()
146 intIf), in startNatCommands()
149 intIf), in startNatCommands()
154 extIf, intIf), in startNatCommands()
156 intIf, extIf), in startNatCommands()
157 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in startNatCommands()
167 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), in startNatCommands()
168 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), in startNatCommands()
194 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands() argument
[all …]
/system/netd/tests/
Dbinder_test.cpp2780 void expectNatEnable(const std::string& intIf, const std::string& extIf) { in expectNatEnable() argument
2785 StringPrintf("tetherctrl_counters all -- %s %s", intIf.c_str(), extIf.c_str()), in expectNatEnable()
2804 EXPECT_TRUE(iptablesTargetsExists(binary, 2, FILTER_TABLE, TETHER_COUNTERS_CHAIN, intIf, in expectNatEnable()