Home
last modified time | relevance | path

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

/system/netd/server/
DControllers.cpp116 const char* parentChain) { in findExistingChildChains() argument
132 std::string command = StringPrintf("*%s\n-S %s\nCOMMIT\n", table, parentChain); in findExistingChildChains()
135 ALOGE("Error listing chain %s in table %s\n", parentChain, table); in findExistingChildChains()
145 if (std::regex_search(rule, matches, CHILD_CHAIN_REGEX) && matches[1] == parentChain) { in findExistingChildChains()
155 const char* parentChain, in createChildChains() argument
176 StringAppendF(&command, ":%s -\n", parentChain); in createChildChains()
177 StringAppendF(&command, "-F %s\n", parentChain); in createChildChains()
179 existingChildChains = findExistingChildChains(target, table, parentChain); in createChildChains()
187 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,