Lines Matching refs:intIf
138 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
202 ExpectedIptablesCommands startFirstNatCommands = startNatCommands(intIf, extIf, in allNewNatCommands()
218 ExpectedIptablesCommands stopNatCommands(const char *intIf, const char *extIf) { in stopNatCommands() argument
222 "COMMIT\n", intIf); in stopNatCommands()
228 intIf), in stopNatCommands()
231 intIf), in stopNatCommands()
236 extIf, intIf), in stopNatCommands()
238 intIf, extIf), in stopNatCommands()
239 StringPrintf("-D tetherctrl_FORWARD -i %s -o %s -g tetherctrl_counters", intIf, in stopNatCommands()