Lines Matching refs:extIf
113 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()
202 ExpectedIptablesCommands startFirstNatCommands = startNatCommands(intIf, extIf, in allNewNatCommands()
218 ExpectedIptablesCommands stopNatCommands(const char *intIf, const char *extIf) { in stopNatCommands() argument
236 extIf, intIf), in stopNatCommands()
238 intIf, extIf), in stopNatCommands()
240 extIf), in stopNatCommands()