/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | smbw_sample.c | 32 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 D | options.c | 103 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 D | smbsh.c | 42 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 D | libusb-config | 27 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 28 *) optarg= ;; 33 prefix=$optarg 35 exec_prefix=$optarg 42 exec_prefix=$optarg
|
H A D | libusb-config.in | 27 -*=*) 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 D | libip6t_owner.c | 58 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 D | libipt_REJECT.c | 96 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 D | libipt_owner.c | 73 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 D | libipt_ROUTE.c | 57 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 D | libipt_ULOG.c | 90 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 D | libip6t_REJECT.c | 96 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 D | libipt_NETLINK.c | 51 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 D | libipt_psd.c | 85 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 D | libipt_nth.c | 96 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 D | libip6t_mark.c | 48 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 D | libipt_connmark.c | 48 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 D | option.c | 163 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 D | pppoed.c | 98 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 D | getopt.h | 11 char **optopt, char **optarg, unsigned long *flag,
|
H A D | getopt.c | 16 * @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 D | mkdir.c | 45 if (!parse_mode (optarg, &mode)) 46 error_msg_and_die ("invalid mode `%s'", optarg);
|
H A D | dmesg.c | 50 if (optarg == NULL) 52 level = atoi(optarg); 55 if (optarg == NULL) 57 bufsize = atoi(optarg);
|
H A D | update.c | 59 sync_duration = atoi(optarg); 62 flush_duration = atoi(optarg);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/ |
H A D | rpctorture.c | 223 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 D | blkid.c | 19 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...] |