Home
last modified time | relevance | path

Searched refs:extIface (Results 1 – 2 of 2) sorted by relevance

/system/netd/
DNatController.cpp82 int NatController::doNatCommands(const char *intIface, const char *extIface, bool add) { in doNatCommands() argument
101 if (!interfaceExists(intIface) || !interfaceExists (extIface)) { in doNatCommands()
110 extIface, intIface); in doNatCommands()
119 intIface, extIface); in doNatCommands()
125 extIface, intIface); in doNatCommands()
131 intIface, extIface); in doNatCommands()
137 intIface, extIface); in doNatCommands()
143 extIface, intIface); in doNatCommands()
150 snprintf(cmd, sizeof(cmd), "-t nat -A POSTROUTING -o %s -j MASQUERADE", extIface); in doNatCommands()
168 int NatController::enableNat(const char *intIface, const char *extIface) { in enableNat() argument
[all …]
DNatController.h30 int enableNat(const char *intIface, const char *extIface);
31 int disableNat(const char *intIface, const char *extIface);
39 int doNatCommands(const char *intIface, const char *extIface, bool add);