Home
last modified time | relevance | path

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

/system/netd/server/
DControllers.cpp125 const char* parentChain) { in findExistingChildChains() argument
141 std::string command = StringPrintf("*%s\n-S %s\nCOMMIT\n", table, parentChain); in findExistingChildChains()
144 ALOGE("Error listing chain %s in table %s", parentChain, table); in findExistingChildChains()
154 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { in findExistingChildChains()
164 const char* parentChain, in createChildChains() argument
185 StringAppendF(&command, ":%s -\n", parentChain); in createChildChains()
186 StringAppendF(&command, "-F %s\n", parentChain); in createChildChains()
188 existingChildChains = findExistingChildChains(target, table, parentChain); in createChildChains()
196 StringAppendF(&command, CHILD_CHAIN_TEMPLATE, parentChain, childChain); in createChildChains()
DControllers.h63 const char* parentChain);
64 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain,