Home
last modified time | relevance | path

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

/system/netd/server/
DFirewallController.cpp48 res |= execIptables(V4V6, "-A", LOCAL_INPUT, "-j", "DROP", NULL); in enableFirewall()
49 res |= execIptables(V4V6, "-A", LOCAL_OUTPUT, "-j", "REJECT", NULL); in enableFirewall()
50 res |= execIptables(V4V6, "-A", LOCAL_FORWARD, "-j", "REJECT", NULL); in enableFirewall()
59 res |= execIptables(V4V6, "-F", LOCAL_INPUT, NULL); in disableFirewall()
60 res |= execIptables(V4V6, "-F", LOCAL_OUTPUT, NULL); in disableFirewall()
61 res |= execIptables(V4V6, "-F", LOCAL_FORWARD, NULL); in disableFirewall()
85 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL); in setInterfaceRule()
86 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL); in setInterfaceRule()
104 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
105 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
[all …]
DNetdConstants.cpp70 static int execIptables(IptablesTarget target, bool silent, va_list args) { in execIptables() function
99 int execIptables(IptablesTarget target, ...) { in execIptables() function
102 int res = execIptables(target, false, args); in execIptables()
110 int res = execIptables(target, true, args); in execIptablesSilently()
DNetdConstants.h36 int execIptables(IptablesTarget target, ...);
DCommandListener.cpp165 execIptables(target, "-t", table, "-N", *childChain, NULL); in createChildChains()
166 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL); in createChildChains()
DRouteController.cpp440 if (execIptables(V4V6, "-t", "mangle", add ? "-A" : "-D", "INPUT", "-i", interface, "-j", in modifyIncomingPacketMark()