Lines Matching refs:arg
357 char *s, **charptr, *endofnumber, *keyword, *arg, *arg2; in process_config_line() local
393 arg = strdelim(&s); in process_config_line()
394 if (!arg || *arg == '\0') in process_config_line()
397 if ((value = convtime(arg)) == -1) in process_config_line()
407 arg = strdelim(&s); in process_config_line()
408 if (!arg || *arg == '\0') in process_config_line()
411 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
413 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
504 arg = strdelim(&s); in process_config_line()
505 if (!arg || *arg == '\0') in process_config_line()
509 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
511 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
513 else if (strcmp(arg, "ask") == 0) in process_config_line()
542 arg = strdelim(&s); in process_config_line()
543 if (!arg || *arg == '\0') in process_config_line()
545 if (arg[0] < '0' || arg[0] > '9') in process_config_line()
547 orig = val64 = strtoll(arg, &endofnumber, 10); in process_config_line()
548 if (arg == endofnumber) in process_config_line()
580 arg = strdelim(&s); in process_config_line()
581 if (!arg || *arg == '\0') in process_config_line()
589 *charptr = xstrdup(arg); in process_config_line()
601 arg = strdelim(&s); in process_config_line()
602 if (!arg || *arg == '\0') in process_config_line()
606 *charptr = xstrdup(arg); in process_config_line()
615 while ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
620 cpptr[(*uintptr)++] = xstrdup(arg); in process_config_line()
664 arg = strdelim(&s); in process_config_line()
665 if (!arg || *arg == '\0') in process_config_line()
667 if (arg[0] < '0' || arg[0] > '9') in process_config_line()
671 value = strtol(arg, &endofnumber, 0); in process_config_line()
672 if (arg == endofnumber) in process_config_line()
684 arg = strdelim(&s); in process_config_line()
685 if (!arg || *arg == '\0') in process_config_line()
687 value = cipher_number(arg); in process_config_line()
690 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
696 arg = strdelim(&s); in process_config_line()
697 if (!arg || *arg == '\0') in process_config_line()
699 if (!ciphers_valid(arg)) in process_config_line()
701 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
703 options->ciphers = xstrdup(arg); in process_config_line()
707 arg = strdelim(&s); in process_config_line()
708 if (!arg || *arg == '\0') in process_config_line()
710 if (!mac_valid(arg)) in process_config_line()
712 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
714 options->macs = xstrdup(arg); in process_config_line()
718 arg = strdelim(&s); in process_config_line()
719 if (!arg || *arg == '\0') in process_config_line()
722 if (!kex_names_valid(arg)) in process_config_line()
724 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
726 options->kex_algorithms = xstrdup(arg); in process_config_line()
730 arg = strdelim(&s); in process_config_line()
731 if (!arg || *arg == '\0') in process_config_line()
733 if (!key_names_valid2(arg)) in process_config_line()
735 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
737 options->hostkeyalgorithms = xstrdup(arg); in process_config_line()
742 arg = strdelim(&s); in process_config_line()
743 if (!arg || *arg == '\0') in process_config_line()
745 value = proto_spec(arg); in process_config_line()
748 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
755 arg = strdelim(&s); in process_config_line()
756 value = log_level_number(arg); in process_config_line()
759 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
767 arg = strdelim(&s); in process_config_line()
768 if (arg == NULL || *arg == '\0') in process_config_line()
780 snprintf(fwdarg, sizeof(fwdarg), "%s:%s", arg, arg2); in process_config_line()
782 strlcpy(fwdarg, arg, sizeof(fwdarg)); in process_config_line()
807 while ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
808 negated = *arg == '!'; in process_config_line()
810 arg++; in process_config_line()
811 if (match_pattern(host, arg)) { in process_config_line()
816 arg); in process_config_line()
821 arg2 = arg; /* logged below */ in process_config_line()
833 arg = strdelim(&s); in process_config_line()
834 if (!arg || *arg == '\0') in process_config_line()
836 if (arg[0] == '^' && arg[2] == 0 && in process_config_line()
837 (u_char) arg[1] >= 64 && (u_char) arg[1] < 128) in process_config_line()
838 value = (u_char) arg[1] & 31; in process_config_line()
839 else if (strlen(arg) == 1) in process_config_line()
840 value = (u_char) arg[0]; in process_config_line()
841 else if (strcmp(arg, "none") == 0) in process_config_line()
854 arg = strdelim(&s); in process_config_line()
855 if (!arg || *arg == '\0') in process_config_line()
859 if (strcasecmp(arg, "inet") == 0) in process_config_line()
861 else if (strcasecmp(arg, "inet6") == 0) in process_config_line()
863 else if (strcasecmp(arg, "any") == 0) in process_config_line()
866 fatal("Unsupported AddressFamily \"%s\"", arg); in process_config_line()
888 while ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
889 if (strchr(arg, '=') != NULL) in process_config_line()
898 xstrdup(arg); in process_config_line()
908 arg = strdelim(&s); in process_config_line()
909 if (!arg || *arg == '\0') in process_config_line()
913 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
915 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
917 else if (strcmp(arg, "auto") == 0) in process_config_line()
919 else if (strcmp(arg, "ask") == 0) in process_config_line()
921 else if (strcmp(arg, "autoask") == 0) in process_config_line()
933 arg = strdelim(&s); in process_config_line()
934 if (!arg || *arg == '\0') in process_config_line()
939 if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
941 else if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
943 else if ((value2 = convtime(arg)) >= 0) in process_config_line()
960 arg = strdelim(&s); in process_config_line()
961 if (!arg || *arg == '\0') in process_config_line()
965 if (strcasecmp(arg, "ethernet") == 0) in process_config_line()
967 else if (strcasecmp(arg, "point-to-point") == 0) in process_config_line()
969 else if (strcasecmp(arg, "yes") == 0) in process_config_line()
971 else if (strcasecmp(arg, "no") == 0) in process_config_line()
975 "no argument: %s", filename, linenum, arg); in process_config_line()
981 arg = strdelim(&s); in process_config_line()
982 if (!arg || *arg == '\0') in process_config_line()
984 value = a2tun(arg, &value2); in process_config_line()
1006 arg = strdelim(&s); in process_config_line()
1007 if ((value = parse_ipqos(arg)) == -1) in process_config_line()
1009 filename, linenum, arg); in process_config_line()
1010 arg = strdelim(&s); in process_config_line()
1011 if (arg == NULL) in process_config_line()
1013 else if ((value2 = parse_ipqos(arg)) == -1) in process_config_line()
1015 filename, linenum, arg); in process_config_line()
1027 arg = strdelim(&s); in process_config_line()
1028 if (!arg || *arg == '\0') in process_config_line()
1032 if (strcasecmp(arg, "yes") == 0) in process_config_line()
1034 else if (strcasecmp(arg, "no") == 0) in process_config_line()
1036 else if (strcasecmp(arg, "force") == 0) in process_config_line()
1038 else if (strcasecmp(arg, "auto") == 0) in process_config_line()
1041 fatal("Unsupported RequestTTY \"%s\"", arg); in process_config_line()
1061 if ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
1063 filename, linenum, arg); in process_config_line()