Home
last modified time | relevance | path

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

/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp175 static const char* sSetForwardRule[] = {"/system/bin/iptables", variable
201 sSetForwardRule[kActionIndex] = blocked ? kAddRule : kDeleteRule; in setBlocked()
206 sSetForwardRule[kIpTablesIndex] = iptables; in setBlocked()
207 sSetForwardRule[kInInterfaceIndex] = "eth0"; in setBlocked()
208 sSetForwardRule[kOutInterfaceIndex] = ifName; in setBlocked()
209 if (!forkAndExec(sSetForwardRule)) { in setBlocked()
214 sSetForwardRule[kInInterfaceIndex] = ifName; in setBlocked()
215 sSetForwardRule[kOutInterfaceIndex] = "eth0"; in setBlocked()
216 if (!forkAndExec(sSetForwardRule)) { in setBlocked()