Home
last modified time | relevance | path

Searched refs:opt_ul (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/network/stress/ns-tools/
Dns-udpsender.c165 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
194 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
195 if (opt_ul < 1 || PORTNUMMAX < opt_ul) { in parse_options()
206 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
207 udp_p->msgsize = opt_ul; in parse_options()
Dns-icmpv6_sender.c429 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
525 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
526 if (opt_ul > ICMPV6_DATA_MAXSIZE) { in parse_options()
532 info_p->data_size = opt_ul; in parse_options()
564 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
565 if (opt_ul > 0xFFFF) { in parse_options()
570 max_resp = opt_ul; in parse_options()
Dns-mcast_receiver.c160 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
221 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
222 if (opt_ul < PORTNUMMIN || PORTNUMMAX < opt_ul) { in parse_options()
Dns-igmp_querier.c247 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
281 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
282 if (opt_ul > 255) { in parse_options()
287 max_resp = opt_ul; in parse_options()
Dns-mcast_join.c175 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
241 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
242 if (opt_ul > 255 * 254) { in parse_options()
248 num_group = opt_ul; in parse_options()
Dns-icmpv4_sender.c168 unsigned long opt_ul; /* option value in unsigned long */ in parse_options() local
216 opt_ul = strtoul(optarg, NULL, 0); in parse_options()
217 if (opt_ul > ICMPV4_DATA_MAXSIZE) { in parse_options()
223 fake_p->data_size = opt_ul; in parse_options()