Lines Matching refs:c_iface
317 const char* c_iface = iface.c_str(); in makeInterfaceQuotaCommands() local
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()
327 quota, c_iface), in makeInterfaceQuotaCommands()
336 const char* c_iface = iface.c_str(); in removeInterfaceQuotaCommands() local
339 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
340 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
341 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
342 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceQuotaCommands()
374 const char* c_iface = iface.c_str(); in makeInterfaceSharedQuotaCommands() local
377 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
378 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleIndex, c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
379 StringPrintf("-A bw_FORWARD -i %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
380 StringPrintf("-A bw_FORWARD -o %s -j %s", c_iface, c_chain), in makeInterfaceSharedQuotaCommands()
394 const char* c_iface = iface.c_str(); in removeInterfaceSharedQuotaCommands() local
397 StringPrintf("-D bw_INPUT -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
398 StringPrintf("-D bw_OUTPUT -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
399 StringPrintf("-D bw_FORWARD -i %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()
400 StringPrintf("-D bw_FORWARD -o %s -j %s", c_iface, c_chain), in removeInterfaceSharedQuotaCommands()