Home | History | Annotate | Download | only in netd

Lines Matching refs:extIface

124     const char *extIface = argv[3];
127 if (!checkInterface(intIface) || !checkInterface(extIface)) {
139 tableNumber = secondaryTableCtrl->findTableNumber(extIface);
149 if (ret != 0 || setForwardRules(true, intIface, extIface) != 0) {
173 snprintf(cmd, sizeof(cmd), "-t nat -A natctrl_nat_POSTROUTING -o %s -j MASQUERADE", extIface);
190 int NatController::setForwardRules(bool add, const char *intIface, const char * extIface) {
196 extIface, intIface);
204 intIface, extIface);
210 extIface, intIface);
216 intIface, extIface);
222 intIface, extIface);
228 extIface, intIface);
244 const char *extIface = argv[3];
247 if (!checkInterface(intIface) || !checkInterface(extIface)) {
259 setForwardRules(false, intIface, extIface);
261 tableNumber = secondaryTableCtrl->findTableNumber(extIface);