Searched refs:c_chain (Results 1 – 1 of 1) sorted by relevance
/system/netd/server/ |
D | BandwidthControllerTest.cpp | 316 const char* c_chain = chain.c_str(); in makeInterfaceQuotaCommands() local 320 StringPrintf(":%s -", c_chain), in makeInterfaceQuotaCommands() 321 StringPrintf("-A %s -j bw_penalty_box", c_chain), in makeInterfaceQuotaCommands() 322 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands() 323 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceQuotaCommands() 324 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands() 325 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceQuotaCommands() 326 StringPrintf("-A %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", c_chain, in makeInterfaceQuotaCommands() 335 const char* c_chain = chain.c_str(); in removeInterfaceQuotaCommands() local 339 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands() [all …]
|