Lines Matching refs:intIface
123 const char *intIface = argv[2];
127 if (!checkInterface(intIface) || !checkInterface(extIface)) {
144 ret |= secondaryTableCtrl->modifyLocalRoute(tableNumber, ADD, intIface, argv[5+i]);
149 if (ret != 0 || setForwardRules(true, intIface, extIface) != 0) {
152 secondaryTableCtrl->modifyLocalRoute(tableNumber, DEL, intIface, argv[5+i]);
178 secondaryTableCtrl->modifyLocalRoute(tableNumber, DEL, intIface, argv[5+i]);
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);
243 const char *intIface = argv[2];
247 if (!checkInterface(intIface) || !checkInterface(extIface)) {
259 setForwardRules(false, intIface, extIface);
264 secondaryTableCtrl->modifyLocalRoute(tableNumber, DEL, intIface, argv[5+i]);