Lines Matching refs:cmds
268 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local
280 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands()
287 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local
297 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands()
325 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local
333 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
336 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands()
337 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands()
345 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local
353 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()
356 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuotaCommands()
357 return {Join(cmds, "\n")}; in removeInterfaceSharedQuotaCommands()