Searched refs:costCString (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | BandwidthController.cpp | 512 const char *costCString; in prepCostlyIface() local 519 costCString = costString.c_str(); in prepCostlyIface() 525 snprintf(cmd, sizeof(cmd), "-F %s", costCString); in prepCostlyIface() 527 snprintf(cmd, sizeof(cmd), "-N %s", costCString); in prepCostlyIface() 531 snprintf(cmd, sizeof(cmd), "-A %s -j bw_penalty_box", costCString); in prepCostlyIface() 535 costCString = "bw_costly_shared"; in prepCostlyIface() 547 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); in prepCostlyIface() 550 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() 553 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); in prepCostlyIface() 556 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); in prepCostlyIface() [all …]
|