Home
last modified time | relevance | path

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

/system/netd/server/
DFirewallController.cpp283 int FirewallController::attachChain(const char* childChain, const char* parentChain) { in attachChain() argument
284 return execIptables(V4V6, "-t", TABLE, "-A", parentChain, "-j", childChain, NULL); in attachChain()
287 int FirewallController::detachChain(const char* childChain, const char* parentChain) { in detachChain() argument
288 return execIptables(V4V6, "-t", TABLE, "-D", parentChain, "-j", childChain, NULL); in detachChain()
292 const char* parentChain, FirewallType type) { in createChain() argument
293 execIptablesSilently(V4V6, "-t", TABLE, "-D", parentChain, "-j", childChain, NULL); in createChain()
DCommandListener.cpp163 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, in createChildChains() argument
175 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL); in createChildChains()
179 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL); in createChildChains()