Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp833 std::vector<std::string> clearCommands = { "*filter" }; in parseAndFlushCostlyTables() local
846 clearCommands.push_back(StringPrintf(":%s -", chainName.c_str())); in parseAndFlushCostlyTables()
848 clearCommands.push_back(StringPrintf("-X %s", chainName.c_str())); in parseAndFlushCostlyTables()
852 if (clearCommands.size() == 1) { in parseAndFlushCostlyTables()
857 clearCommands.push_back("COMMIT\n"); in parseAndFlushCostlyTables()
858 iptablesRestoreFunction(V4V6, Join(clearCommands, '\n'), nullptr); in parseAndFlushCostlyTables()