Searched defs:extIface (Results 1 - 1 of 1) sorted by last modified time

/system/netd/
H A DNatController.cpp103 const char *extIface = argv[3]; local
106 if (!checkInterface(intIface) || !checkInterface(extIface)) {
118 tableNumber = secondaryTableCtrl->findTableNumber(extIface);
128 if (ret != 0 || setForwardRules(true, intIface, extIface) != 0) {
152 snprintf(cmd, sizeof(cmd), "-t nat -A natctrl_nat_POSTROUTING -o %s -j MASQUERADE", extIface);
169 int NatController::setForwardRules(bool add, const char *intIface, const char * extIface) { argument
175 extIface, intIface);
183 intIface, extIface);
189 extIface, intIface);
195 intIface, extIface);
223 const char *extIface = argv[3]; local
[all...]

Completed in 38 milliseconds