Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp138 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands() argument
143 "COMMIT\n", intIf); in startNatCommands()
149 intIf), in startNatCommands()
152 intIf), in startNatCommands()
157 extIf, intIf), in startNatCommands()
159 intIf, extIf), in startNatCommands()
160 StringPrintf("-A tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in startNatCommands()
170 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), in startNatCommands()
171 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), in startNatCommands()
197 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands() argument
[all …]
/system/netd/tests/
Dbinder_test.cpp2892 void expectNatEnable(const std::string& intIf, const std::string& extIf) { in expectNatEnable() argument
2897 StringPrintf("tetherctrl_counters all -- %s %s", intIf.c_str(), extIf.c_str()), in expectNatEnable()
2916 EXPECT_TRUE(iptablesTargetsExists(binary, 2, FILTER_TABLE, TETHER_COUNTERS_CHAIN, intIf, in expectNatEnable()