Lines Matching refs:cmds
318 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local
330 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands()
337 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local
347 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands()
375 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local
383 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
386 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands()
387 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands()
395 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local
403 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()
406 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuotaCommands()
407 return {Join(cmds, "\n")}; in removeInterfaceSharedQuotaCommands()