Home
last modified time | relevance | path

Searched refs:opt_addr (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c170 struct in_addr opt_addr; /* option value in struct in_addr */ in parse_options() local
187 if (inet_pton(AF_INET, optarg, &opt_addr) <= 0) { in parse_options()
191 fake_p->saddr = opt_addr; in parse_options()
206 if (inet_pton(AF_INET, optarg, &opt_addr) <= 0) { in parse_options()
211 fake_p->daddr = opt_addr; in parse_options()
Dns-icmpv6_sender.c431 struct in6_addr opt_addr; /* option value in struct in_addr */ in parse_options() local
461 if (inet_pton(AF_INET6, optarg, &opt_addr) <= 0) { in parse_options()
465 info_p->saddr = opt_addr; in parse_options()
480 if (inet_pton(AF_INET6, optarg, &opt_addr) <= 0) { in parse_options()
485 info_p->daddr = opt_addr; in parse_options()