Searched refs:optarg (Results 26 - 50 of 229) sorted by relevance

12345678910

/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibipt_mark.c48 check_inverse(optarg, &invert, &optind, 0);
49 markinfo->mark = strtoul(optarg, &end, 0);
54 if (*end != '\0' || end == optarg)
55 exit_error(PARAMETER_PROBLEM, "Bad MARK value `%s'", optarg);
H A Dlibipt_realm.c52 check_inverse(optarg, &invert, &optind, 0);
53 realminfo->id = strtoul(optarg, &end, 0);
58 if (*end != '\0' || end == optarg)
59 exit_error(PARAMETER_PROBLEM, "Bad REALM value `%s'", optarg);
H A Dlibip6t_MARK.c51 markinfo->mark = strtoul(optarg, &end, 0);
52 if (*end != '\0' || end == optarg)
53 exit_error(PARAMETER_PROBLEM, "Bad MARK value `%s'", optarg);
H A Dlibipt_quota.c77 if (check_inverse(optarg, &invert, NULL, 0))
79 if (!parse_quota(optarg, &info->quota))
81 "bad quota: '%s'", optarg);
H A Dlibipt_autofw.c100 if (!strcasecmp(optarg, "tcp"))
102 else if (!strcasecmp(optarg, "udp"))
106 "unknown protocol `%s' specified", optarg);
110 if (check_inverse(optarg, &invert, &optind, 0))
114 parse_ports(optarg, info->dport);
118 if (check_inverse(optarg, &invert, &optind, 0))
122 parse_ports(optarg, info->to);
H A Dlibipt_recent.c80 check_inverse(optarg, &invert, &optind, 0);
90 check_inverse(optarg, &invert, &optind, 0);
100 check_inverse(optarg, &invert, &optind, 0);
110 check_inverse(optarg, &invert, &optind, 0);
117 info->seconds = atoi(optarg);
121 info->hit_count = atoi(optarg);
129 strncpy(info->name,optarg,200);
H A Dlibip6t_limit.c101 if (check_inverse(optarg, &invert, NULL, 0))
104 if (!parse_rate(optarg, &r->avg))
106 "bad rate `%s'", optarg);
110 if (check_inverse(optarg, &invert, NULL, 0))
114 if (string_to_number(optarg, 0, 10000, &num) == -1)
116 "bad --limit-burst `%s'", optarg);
H A Dlibipt_limit.c101 if (check_inverse(optarg, &invert, NULL, 0))
104 if (!parse_rate(optarg, &r->avg))
106 "bad rate `%s'", optarg);
110 if (check_inverse(optarg, &invert, NULL, 0))
114 if (string_to_number(optarg, 0, 10000, &num) == -1)
116 "bad --limit-burst `%s'", optarg);
H A Dlibipt_CONNMARK.c52 markinfo->mark = strtoul(optarg, &end, 0);
53 if (*end != '\0' || end == optarg)
54 exit_error(PARAMETER_PROBLEM, "Bad MARK value `%s'", optarg);
H A Dlibipt_TTL.c45 if (!optarg)
49 if (check_inverse(optarg, &invert, NULL, 0))
53 value = atoi(optarg);
H A Dlibipt_POOL.c67 ipi->src = ip_pool_get_index(optarg);
71 ipi->src = ip_pool_get_index(optarg);
75 ipi->dst = ip_pool_get_index(optarg);
79 ipi->dst = ip_pool_get_index(optarg);
H A Dlibipt_ecn.c56 check_inverse(optarg, &invert, &optind, 0);
67 check_inverse(optarg, &invert, &optind, 0);
78 check_inverse(optarg, &invert, &optind, 0);
83 if (string_to_number(optarg, 0, 3, &result))
H A Dlibipt_MARK.c50 if (string_to_number(optarg, 0, 0xffffffff,
52 exit_error(PARAMETER_PROBLEM, "Bad MARK value `%s'", optarg);
H A Dlibipt_TCPMSS.c59 if (string_to_number(optarg, 0, 65535 - 40, &mssval) == -1)
60 exit_error(PARAMETER_PROBLEM, "Bad TCPMSS value `%s'", optarg);
H A Dlibip6t_LOG.c117 if (check_inverse(optarg, &invert, NULL, 0))
121 loginfo->level = parse_level(optarg);
130 if (check_inverse(optarg, &invert, NULL, 0))
134 if (strlen(optarg) > sizeof(loginfo->prefix) - 1)
139 strcpy(loginfo->prefix, optarg);
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dgetopt.c177 normalize(optarg?optarg:""));
179 printf(" %s",normalize(optarg));
185 normalize(optarg?optarg:""));
350 optstr=xmalloc(strlen(optarg)+1);
351 strcpy(optstr,optarg);
354 add_long_options(optarg);
359 name=xmalloc(strlen(optarg)+1);
360 strcpy(name,optarg);
[all...]
H A Dadjtimex.c110 txc.offset = atoi(optarg);
114 txc.freq = atoi(optarg);
118 txc.constant = atoi(optarg);
122 txc.tick = atoi(optarg);
H A Dmodprobe.c54 load_type = optarg;
60 config = optarg;
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/LDAP/smbldap-tools/mkntpwd/
H A Dgetopt.c93 char *optarg = NULL;
347 ARGV-element, is returned in `optarg'. Two colons mean an option that
349 it is returned in `optarg', otherwise `optarg' is set to zero.
387 optarg = NULL;
452 optarg = argv[optind++];
536 optarg = nameend + 1;
559 optarg = argv[optind++];
634 optarg = nextchar;
638 optarg
92 char *optarg = NULL; variable
[all...]
H A Dgetopt.h35 extern char *optarg;
75 a compiled-in constant, such as set a value from `optarg', set the
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/AUTHENTICATE/
H A Dsclient.c57 extern char * optarg;
70 case 'k': keytab = optarg; break;
71 case 'D': Parse_debug(optarg,1); break;
72 case 'p': port= atoi(optarg); break;
73 case 's': Set_DYN(&Kerberos_service_DYN,optarg); break;
74 case 'P': principal = optarg; break;
/asus-wl-520gu-7.0.1.45/src/router/ov51x/test/
H A Dgetjpeg.c79 device = optarg;
82 file_templ = optarg;
85 sscanf (optarg, "%d", &num_frames);
88 sscanf (optarg, "%dx%d", &width, &height);
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/
H A Dtune2fs.c35 extern char *optarg;
560 max_mount_count = strtol (optarg, &tmp, 0);
564 optarg);
573 mount_count = strtoul (optarg, &tmp, 0);
577 optarg);
584 if (strcmp (optarg, "continue") == 0)
586 else if (strcmp (optarg, "remount-ro") == 0)
588 else if (strcmp (optarg, "panic") == 0)
593 optarg);
600 extended_cmd = optarg;
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/rpcclient/
H A Dcmd_shutdown.c50 fstrcpy(msg, optarg);
51 /*fprintf (stderr, "[%s|%s]\n", optarg, msg);*/
55 timeout = atoi(optarg);
56 /*fprintf (stderr, "[%s|%d]\n", optarg, timeout);*/
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tdb/
H A Dtdbbackup.c104 extern char *optarg;
115 suffix = optarg;

Completed in 311 milliseconds

12345678910