Home
last modified time | relevance | path

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

/system/netd/server/
DFirewallController.cpp262 int FirewallController::attachChain(const char* childChain, const char* parentChain) { in attachChain() argument
263 return execIptables(V4V6, "-t", TABLE, "-A", parentChain, "-j", childChain, NULL); in attachChain()
266 int FirewallController::detachChain(const char* childChain, const char* parentChain) { in detachChain() argument
267 return execIptables(V4V6, "-t", TABLE, "-D", parentChain, "-j", childChain, NULL); in detachChain()
271 const char* parentChain, FirewallType type) { in createChain() argument
273 execIptablesSilently(V4V6, "-t", TABLE, "-D", parentChain, "-j", childChain, NULL); in createChain()
DCommandListener.cpp152 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, in createChildChains() argument
164 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL); in createChildChains()
168 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL); in createChildChains()