Searched refs:opt_ul (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-udpsender.c | 165 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()
|
D | ns-icmpv6_sender.c | 429 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()
|
D | ns-mcast_receiver.c | 160 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()
|
D | ns-igmp_querier.c | 247 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()
|
D | ns-mcast_join.c | 175 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()
|
D | ns-icmpv4_sender.c | 168 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()
|