Home
last modified time | relevance | path

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

/system/netd/server/
DControllers.cpp115 const char* parentChain) { in findExistingChildChains() argument
131 std::string command = StringPrintf("*%s\n-S %s\nCOMMIT\n", table, parentChain); in findExistingChildChains()
134 ALOGE("Error listing chain %s in table %s\n", parentChain, table); in findExistingChildChains()
144 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { in findExistingChildChains()
154 const char* parentChain, in createChildChains() argument
175 StringAppendF(&command, ":%s -\n", parentChain); in createChildChains()
176 StringAppendF(&command, "-F %s\n", parentChain); in createChildChains()
178 existingChildChains = findExistingChildChains(target, table, parentChain); in createChildChains()
186 StringAppendF(&command, CHILD_CHAIN_TEMPLATE, parentChain, childChain); in createChildChains()
DControllers.h67 const char* parentChain);
68 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain,