Searched refs:extIf (Results 1 – 2 of 2) sorted by relevance
/system/netd/server/ |
D | TetherControllerTest.cpp | 160 ExpectedIptablesCommands firstIPv4UpstreamCommands(const char *extIf) { in firstIPv4UpstreamCommands() argument 164 "COMMIT\n", extIf); in firstIPv4UpstreamCommands() 185 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf, in startNatCommands() argument 204 extIf, intIf), in startNatCommands() 206 intIf, extIf), in startNatCommands() 208 extIf), in startNatCommands() 217 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", intIf, extIf), in startNatCommands() 218 StringPrintf("-A tetherctrl_counters -i %s -o %s -j RETURN", extIf, intIf), in startNatCommands() 244 ExpectedIptablesCommands allNewNatCommands(const char* intIf, const char* extIf, in allNewNatCommands() argument 248 ExpectedIptablesCommands setupFirstIPv4Commands = firstIPv4UpstreamCommands(extIf); in allNewNatCommands() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 2943 void expectNatEnable(const std::string& intIf, const std::string& extIf) { in expectNatEnable() argument 2948 StringPrintf("tetherctrl_counters all -- %s %s", intIf.c_str(), extIf.c_str()), in expectNatEnable() 2968 extIf)); in expectNatEnable()
|