Home
last modified time | relevance | path

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

/third_party/ltp/testcases/network/stress/ns-tools/
Dns-udpsender.c162 void parse_options(int argc, char *argv[], struct udp_info *udp_p, int *bg_p) in parse_options() argument
175 udp_p->family = PF_INET; /* IPv4 */ in parse_options()
177 udp_p->family = PF_INET6; /* IPv6 */ in parse_options()
187 udp_p->dst_name = strdup(optarg); in parse_options()
188 if (udp_p->dst_name == NULL) in parse_options()
201 udp_p->dst_port = strdup(optarg); in parse_options()
207 udp_p->msgsize = opt_ul; in parse_options()
217 udp_p->timeout = opt_d; in parse_options()
221 udp_p->timeout = -1.0; in parse_options()
238 udp_p->is_multicast = 1; in parse_options()
[all …]