Lines Matching refs:arg
323 char *s, *string, **charptr, *endofnumber, *keyword, *arg, *arg2, fwdarg[256]; in process_config_line() local
367 arg = strdelim(&s); in process_config_line()
368 if (!arg || *arg == '\0') in process_config_line()
371 if ((value = convtime(arg)) == -1) in process_config_line()
381 arg = strdelim(&s); in process_config_line()
382 if (!arg || *arg == '\0') in process_config_line()
385 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
387 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
500 arg = strdelim(&s); in process_config_line()
501 if (!arg || *arg == '\0') in process_config_line()
505 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
507 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
509 else if (strcmp(arg, "ask") == 0) in process_config_line()
538 arg = strdelim(&s); in process_config_line()
539 if (!arg || *arg == '\0') in process_config_line()
541 if (arg[0] < '0' || arg[0] > '9') in process_config_line()
543 orig = val64 = strtoll(arg, &endofnumber, 10); in process_config_line()
544 if (arg == endofnumber) in process_config_line()
576 arg = strdelim(&s); in process_config_line()
577 if (!arg || *arg == '\0') in process_config_line()
585 *charptr = xstrdup(arg); in process_config_line()
597 arg = strdelim(&s); in process_config_line()
598 if (!arg || *arg == '\0') in process_config_line()
601 *charptr = xstrdup(arg); in process_config_line()
643 while ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
644 string = xrealloc(string, strlen(string) + strlen(arg) + 2); in process_config_line()
646 strcat(string, arg); in process_config_line()
657 arg = strdelim(&s); in process_config_line()
658 if (!arg || *arg == '\0') in process_config_line()
660 if (arg[0] < '0' || arg[0] > '9') in process_config_line()
664 value = strtol(arg, &endofnumber, 0); in process_config_line()
665 if (arg == endofnumber) in process_config_line()
677 arg = strdelim(&s); in process_config_line()
678 if (!arg || *arg == '\0') in process_config_line()
680 value = cipher_number(arg); in process_config_line()
683 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
689 arg = strdelim(&s); in process_config_line()
690 if (!arg || *arg == '\0') in process_config_line()
692 if (!ciphers_valid(arg)) in process_config_line()
694 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
696 options->ciphers = xstrdup(arg); in process_config_line()
700 arg = strdelim(&s); in process_config_line()
701 if (!arg || *arg == '\0') in process_config_line()
703 if (!mac_valid(arg)) in process_config_line()
705 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
707 options->macs = xstrdup(arg); in process_config_line()
711 arg = strdelim(&s); in process_config_line()
712 if (!arg || *arg == '\0') in process_config_line()
714 if (!key_names_valid2(arg)) in process_config_line()
716 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
718 options->hostkeyalgorithms = xstrdup(arg); in process_config_line()
723 arg = strdelim(&s); in process_config_line()
724 if (!arg || *arg == '\0') in process_config_line()
726 value = proto_spec(arg); in process_config_line()
729 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
736 arg = strdelim(&s); in process_config_line()
737 value = log_level_number(arg); in process_config_line()
740 filename, linenum, arg ? arg : "<NONE>"); in process_config_line()
747 arg = strdelim(&s); in process_config_line()
748 if (arg == NULL || *arg == '\0') in process_config_line()
757 snprintf(fwdarg, sizeof(fwdarg), "%s:%s", arg, arg2); in process_config_line()
772 arg = strdelim(&s); in process_config_line()
773 if (!arg || *arg == '\0') in process_config_line()
777 if (parse_forward(0, &fwd, arg) == 0) { in process_config_line()
794 while ((arg = strdelim(&s)) != NULL && *arg != '\0') in process_config_line()
795 if (match_pattern(host, arg)) { in process_config_line()
796 debug("Applying options for %.100s", arg); in process_config_line()
805 arg = strdelim(&s); in process_config_line()
806 if (!arg || *arg == '\0') in process_config_line()
808 if (arg[0] == '^' && arg[2] == 0 && in process_config_line()
809 (u_char) arg[1] >= 64 && (u_char) arg[1] < 128) in process_config_line()
810 value = (u_char) arg[1] & 31; in process_config_line()
811 else if (strlen(arg) == 1) in process_config_line()
812 value = (u_char) arg[0]; in process_config_line()
813 else if (strcmp(arg, "none") == 0) in process_config_line()
838 arg = strdelim(&s); in process_config_line()
839 if (get_yes_no_flag(&options->disable_banner, arg, filename, in process_config_line()
843 if (strcmp(arg, "in-exec-mode") == 0) in process_config_line()
868 if ((arg = strdelim(&s)) != NULL && *arg != '\0') { in process_config_line()
870 filename, linenum, arg); in process_config_line()