Searched refs:optarg (Results 1 - 25 of 229) sorted by relevance

12345678910

/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/
H A Dsmbw_sample.c32 extern char *optarg;
42 smbw_setshared("WORKGROUP", optarg);
45 smbw_setshared("LOGFILE", optarg);
48 smbw_setshared("PREFIX", optarg);
51 smbw_setshared("DEBUG", optarg);
54 p = strchr_m(optarg,'%');
59 smbw_setshared("USER", optarg);
62 smbw_setshared("RESOLVE_ORDER",optarg);
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppoecd/
H A Doptions.c103 idle_time_limit = atoi(optarg);
108 strncpy(user, optarg, MAXNAMELEN);
109 strncpy(our_name, optarg, MAXNAMELEN);
112 strncpy(passwd, optarg, MAXSECRETLEN);
115 pppoe_ac_name = optarg;
118 pppoe_srv_name = optarg;
122 lcp_wantoptions[0].mru = atoi(optarg);
125 lcp_allowoptions[0].mru = atoi(optarg);
128 lcp_echo_interval = atoi(optarg);
131 lcp_echo_fails = atoi(optarg);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbwrapper/
H A Dsmbsh.c42 extern char *optarg;
51 libd = optarg;
54 smbw_setshared("WORKGROUP", optarg);
57 smbw_setshared("LOGFILE", optarg);
60 smbw_setshared("PREFIX", optarg);
63 smbw_setshared("DEBUG", optarg);
66 p = strchr_m(optarg,'%');
71 smbw_setshared("USER", optarg);
74 smbw_setshared("RESOLVE_ORDER",optarg);
/asus-wl-520gu-7.0.1.45/src/router/libusb/
H A Dlibusb-config27 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
28 *) optarg= ;;
33 prefix=$optarg
35 exec_prefix=$optarg
42 exec_prefix=$optarg
H A Dlibusb-config.in27 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
28 *) optarg= ;;
33 prefix=$optarg
35 exec_prefix=$optarg
42 exec_prefix=$optarg
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibip6t_owner.c58 check_inverse(optarg, &invert, &optind, 0);
60 if ((pwd = getpwnam(optarg)))
63 ownerinfo->uid = strtoul(optarg, &end, 0);
64 if (*end != '\0' || end == optarg)
65 exit_error(PARAMETER_PROBLEM, "Bad OWNER UID value `%s'", optarg);
74 check_inverse(optarg, &invert, &optind, 0);
75 if ((grp = getgrnam(optarg)))
78 ownerinfo->gid = strtoul(optarg, &end, 0);
79 if (*end != '\0' || end == optarg)
80 exit_error(PARAMETER_PROBLEM, "Bad OWNER GID value `%s'", optarg);
[all...]
H A Dlibipt_REJECT.c96 if (check_inverse(optarg, &invert, NULL, 0))
100 if ((strncasecmp(reject_table[i].name, optarg, strlen(optarg)) == 0)
101 || (strncasecmp(reject_table[i].alias, optarg, strlen(optarg)) == 0)) {
107 if (strncasecmp("echo-reply", optarg, strlen(optarg)) == 0
108 || strncasecmp("echoreply", optarg, strlen(optarg)) == 0)
111 exit_error(PARAMETER_PROBLEM, "unknown reject type `%s'",optarg);
[all...]
H A Dlibipt_owner.c73 check_inverse(optarg, &invert, &optind, 0);
74 if ((pwd = getpwnam(optarg)))
77 ownerinfo->uid = strtoul(optarg, &end, 0);
78 if (*end != '\0' || end == optarg)
79 exit_error(PARAMETER_PROBLEM, "Bad OWNER UID value `%s'", optarg);
88 check_inverse(optarg, &invert, &optind, 0);
89 if ((grp = getgrnam(optarg)))
92 ownerinfo->gid = strtoul(optarg, &end, 0);
93 if (*end != '\0' || end == optarg)
94 exit_error(PARAMETER_PROBLEM, "Bad OWNER GID value `%s'", optarg);
[all...]
H A Dlibipt_ROUTE.c57 if (check_inverse(optarg, &invert, NULL, 0))
61 if (strlen(optarg) > sizeof(route_info->if_name) - 1)
66 strcpy(route_info->if_name, optarg);
76 if (check_inverse(optarg, &invert, NULL, 0))
81 route_info->if_index = strtoul(optarg, &end, 0);
82 if (*end != '\0' || end == optarg)
84 optarg);
H A Dlibipt_ULOG.c90 if (check_inverse(optarg, &invert, NULL, 0))
93 group_d = atoi(optarg);
108 if (check_inverse(optarg, &invert, NULL, 0))
112 if (strlen(optarg) > sizeof(loginfo->prefix) - 1)
117 strcpy(loginfo->prefix, optarg);
124 if (atoi(optarg) < 0)
127 loginfo->copy_range = atoi(optarg);
134 if (atoi(optarg) < 1)
137 if (atoi(optarg) > ULOG_MAX_QLEN)
140 loginfo->qthreshold = atoi(optarg);
[all...]
H A Dlibip6t_REJECT.c96 if (check_inverse(optarg, &invert, NULL, 0))
100 if ((strncasecmp(reject_table[i].name, optarg, strlen(optarg)) == 0)
101 || (strncasecmp(reject_table[i].alias, optarg, strlen(optarg)) == 0)) {
106 exit_error(PARAMETER_PROBLEM, "unknown reject type `%s'",optarg);
H A Dlibipt_NETLINK.c51 if ( check_inverse(optarg, &invert, NULL, 0) ) {
65 if (check_inverse(optarg, &invert, NULL, 0)) {
69 nld->mark=atoi(optarg);
79 if ( atoi(optarg) <= 0 )
84 if (check_inverse(optarg, &invert, NULL, 0)) {
88 nld->size=atoi(optarg);
H A Dlibipt_psd.c85 char storage[strlen(optarg) + 2];
89 strcpy(&storage[1], optarg);
100 "bad --psd-weight-threshold `%s'", optarg);
112 "bad --psd-delay-threshold `%s'", optarg);
124 "bad --psd-lo-ports-weight `%s'", optarg);
136 "bad --psd-hi-ports-weight `%s'", optarg);
H A Dlibipt_nth.c96 if (string_to_number(optarg, 2, 100, &num) == -1 || num < 2)
98 "bad --every `%s', must be between 2 and 100", optarg);
131 if (string_to_number(optarg, 0, nthinfo->every, &num) == -1)
133 "bad --start `%s', must between 0 and %u", optarg, nthinfo->every);
145 if (string_to_number(optarg, 0, IPT_NTH_NUM_COUNTERS-1, &num) == -1)
147 "bad --counter `%s', must between 0 and %u", optarg, IPT_NTH_NUM_COUNTERS-1);
167 if (string_to_number(optarg, 0, nthinfo->every, &num) == -1)
169 "bad --packet `%s', must between 0 and %u", optarg, nthinfo->every);
H A Dlibip6t_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_connmark.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);
/asus-wl-520gu-7.0.1.45/src/router/dnsmasq/
H A Doption.c163 optarg = p+1;
167 optarg = NULL;
226 optarg)
237 !optarg)
244 conffile = safe_string_alloc(optarg);
249 *runfile = safe_string_alloc(optarg);
253 *resolv_file = safe_string_alloc(optarg);
257 *lease_file = safe_string_alloc(optarg);
262 canonicalise(optarg);
263 *mxname = safe_string_alloc(optarg);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/plugins/pppoe/
H A Dpppoed.c98 filt->num_restart = strtol (optarg, (char **) NULL, 10);
102 if (strlen (optarg) >= IFNAMSIZ) {
106 strncpy (sess->name, optarg, strlen(optarg)+1);
113 if (strlen(optarg) > MAX_FNAME) {
117 filt->fname=malloc(strlen(optarg));
118 strncpy (filt->fname, optarg, strlen(optarg));
127 if (strlen(optarg) > MAX_FNAME) {
131 filt->fname=malloc(strlen(optarg)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/
H A Dgetopt.h11 char **optopt, char **optarg, unsigned long *flag,
H A Dgetopt.c16 * @optarg: output; will contain the value (if one exists)
26 char **optopt, char **optarg, unsigned long *flag,
39 *optarg = NULL;
44 *optarg = val;
25 smb_getopt(char *caller, char **options, struct option *opts, char **optopt, char **optarg, unsigned long *flag, unsigned long *value) argument
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dmkdir.c45 if (!parse_mode (optarg, &mode))
46 error_msg_and_die ("invalid mode `%s'", optarg);
H A Ddmesg.c50 if (optarg == NULL)
52 level = atoi(optarg);
55 if (optarg == NULL)
57 bufsize = atoi(optarg);
H A Dupdate.c59 sync_duration = atoi(optarg);
62 flush_duration = atoi(optarg);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/
H A Drpctorture.c223 extern char *optarg;
352 max_protocol = interpret_protocol(optarg,max_protocol);
359 pstrcpy(user_socket_options,optarg);
365 pstrcpy(cli_info.dest_host,optarg);
373 pstrcpy(scope, optarg);
380 pstrcpy(smb_cli->user_name,optarg);
386 memset(strchr_m(optarg,'%')+1,'X',strlen(password));
393 pstrcpy(smb_cli->domain,optarg);
405 cli_info.dest_ip = *interpret_addr2(optarg);
415 nprocs = atoi(optarg);
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/
H A Dblkid.c19 extern char *optarg;
143 if (optarg && !*optarg)
146 read = optarg;
157 if (!strcmp(optarg, "value"))
159 else if (!strcmp(optarg, "device"))
161 else if (!strcmp(optarg, "full"))
164 fprintf(stderr, "Invalid output format %s. Chose from value, device, or full\n", optarg);
173 show[numtag++] = optarg;
181 if (blkid_parse_tag_string(optarg,
[all...]

Completed in 209 milliseconds

12345678910