Home
last modified time | relevance | path

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

/system/netd/server/
DBandwidthController.cpp372 const int ruleInsertPos = (mGlobalAlertBytes) ? 2 : 1; in setInterfaceSharedQuota() local
375 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
376 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
484 const int ruleInsertPos = (mGlobalAlertBytes) ? 2 : 1; in setInterfaceQuota() local
489 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain.c_str()), in setInterfaceQuota()
490 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), in setInterfaceQuota()