Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp816 std::vector<std::string> clearCommands = { "*filter" }; in parseAndFlushCostlyTables() local
829 clearCommands.push_back(StringPrintf(":%s -", chainName.c_str())); in parseAndFlushCostlyTables()
831 clearCommands.push_back(StringPrintf("-X %s", chainName.c_str())); in parseAndFlushCostlyTables()
835 if (clearCommands.size() == 1) { in parseAndFlushCostlyTables()
840 clearCommands.push_back("COMMIT\n"); in parseAndFlushCostlyTables()
841 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()