Searched refs:sSetForwardRule (Results 1 – 1 of 1) sorted by relevance
175 static const char* sSetForwardRule[] = {"/system/bin/iptables", variable201 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()