Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp435 const int ruleInsertPos = (mGlobalAlertBytes) ? 2 : 1; in setInterfaceSharedQuota() local
438 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
439 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
547 const int ruleInsertPos = (mGlobalAlertBytes) ? 2 : 1; in setInterfaceQuota() local
552 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain.c_str()), in setInterfaceQuota()
553 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), in setInterfaceQuota()