Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp770 std::vector<std::string> clearCommands = { "*filter" }; in parseAndFlushCostlyTables() local
783 clearCommands.push_back(StringPrintf(":%s -", chainName.c_str())); in parseAndFlushCostlyTables()
785 clearCommands.push_back(StringPrintf("-X %s", chainName.c_str())); in parseAndFlushCostlyTables()
789 if (clearCommands.size() == 1) { in parseAndFlushCostlyTables()
794 clearCommands.push_back("COMMIT\n"); in parseAndFlushCostlyTables()
795 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()