Searched refs:costCString (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 471 const char *costCString; in prepCostlyIface() local 478 costCString = costString.c_str(); in prepCostlyIface() 484 snprintf(cmd, sizeof(cmd), "-F %s", costCString); in prepCostlyIface() 486 snprintf(cmd, sizeof(cmd), "-N %s", costCString); in prepCostlyIface() 490 snprintf(cmd, sizeof(cmd), "-A %s -j bw_penalty_box", costCString); in prepCostlyIface() 494 costCString = "bw_costly_shared"; in prepCostlyIface() 506 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); in prepCostlyIface() 509 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 512 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); in prepCostlyIface() 515 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() [all …]
|