Searched refs:ruleInsertPos (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 435 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()
|