Lines Matching defs:cmd_to_str
776 cmd_to_str(int cmd_num)
839 cmd_to_str(CMD_CREATE), cmd_to_str(CMD_CREATE),
840 cmd_to_str(CMD_CREATE), cmd_to_str(CMD_CREATE));
867 cmd_to_str(CMD_END));
892 "session."), "zoneadm", cmd_to_str(CMD_REVERT),
950 cmd_to_str(CMD_HELP));
952 cmd_to_str(CMD_HELP));
954 cmd_to_str(CMD_HELP));
957 cmd_to_str(CMD_HELP));
966 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
968 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
970 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
972 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
974 (void) fprintf(fp, "\t%s %s %s\n", cmd_to_str(CMD_ADD),
978 cmd_to_str(CMD_REMOVE), pt_to_str(PT_OPTIONS),
993 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
995 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
998 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1005 cmd_to_str(CMD_SET), pt_to_str(PT_ADDRESS),
1010 cmd_to_str(CMD_SET), pt_to_str(PT_ALLOWED_ADDRESS),
1015 cmd_to_str(CMD_SET),
1017 cmd_to_str(CMD_SET), pt_to_str(PT_DEFROUTER),
1026 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1034 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1037 cmd_to_str(CMD_ADD), pt_to_str(PT_VALUE),
1042 cmd_to_str(CMD_REMOVE), pt_to_str(PT_VALUE),
1055 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1058 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE));
1060 cmd_to_str(CMD_SET), pt_to_str(PT_VALUE));
1062 (void) fprintf(fp, "\t%s %s=int\n", cmd_to_str(CMD_SET),
1064 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1068 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE));
1069 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1073 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE));
1074 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1082 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1092 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1095 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1110 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1120 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1123 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1126 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1137 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1140 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET),
1147 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_END),
1149 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_CANCEL),
1151 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_EXIT),
1156 execname, cmd_to_str(CMD_HELP));
1296 zerr("%s %s: %s", cmd_to_str(cmd_num), rt_to_str(res_num),
1380 cmd_to_str(CMD_CREATE));
1465 cmd_to_str(cmd_num),
1527 zone, cmd_to_str(CMD_CREATE));
1538 cmd_to_str(CMD_CREATE));
1542 cmd_to_str(CMD_CREATE));
1559 cmd_to_str(cmd_num));
1699 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1775 (void) fprintf(of, "%s -b\n", cmd_to_str(CMD_CREATE));
1779 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1784 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1788 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1793 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1799 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1804 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1811 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1817 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1821 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1828 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1834 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1845 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1860 cmd_to_str(CMD_ADD),
1865 cmd_to_str(CMD_ADD),
1869 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1879 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1886 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1895 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1898 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1905 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1908 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1910 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1918 (void) fprintf(of, "%s rctl\n", cmd_to_str(CMD_ADD));
1923 cmd_to_str(CMD_ADD), pt_to_str(PT_VALUE),
1928 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1938 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1943 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1952 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1955 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1960 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1963 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1966 (void) fprintf(of, "%s %s=%s-%s\n", cmd_to_str(CMD_SET),
1970 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET),
1972 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
1980 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD),
1984 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END));
2037 "ignored, but exiting anyway."), cmd_to_str(CMD_EXIT));
2511 cmd_to_str(CMD_DELETE));
2530 cmd_to_str(CMD_DELETE), cmd_to_str(CMD_DELETE));
2547 "configuring a new zone.\n"), cmd_to_str(CMD_CREATE));
2854 zerr("%s %s: %s", cmd_to_str(CMD_CLEAR), pt_to_str(type),
2860 zerr("%s %s: %s", cmd_to_str(CMD_CLEAR), pt_to_str(type),
3146 zerr("%s %s: %s", cmd_to_str(CMD_REMOVE), rt_to_str(RT_PCAP),
3172 zerr("%s %s: %s", cmd_to_str(CMD_REMOVE), rt_to_str(RT_MCAP),
4188 "allowed."), zone, cmd_to_str(CMD_SET),
4204 "allowed."), zone, cmd_to_str(CMD_SET),
6700 cmd_to_str(CMD_REVERT), cmd_to_str(CMD_CANCEL));
6717 cmd_to_str(CMD_REVERT));
6781 if (strcmp(cmd->cmd_argv[0], cmd_to_str(i)) == 0) {
7116 if (strcmp(argv[1], cmd_to_str(CMD_HELP)) == 0) {