Home
last modified time | relevance | path

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

/system/netd/server/
DTetherControllerTest.cpp113 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands() argument
117 "COMMIT\n", extIf); in firstIPv4UpstreamCommands()
138 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands() argument
157 extIf, intIf), in startNatCommands()
159 intIf, extIf), in startNatCommands()
161 extIf), 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
201 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands()
[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()
2917 extIf)); in expectNatEnable()