Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/cellular_modem/src/
Dmain.c30 static struct dns_addrinfo sample_test_dns_addrinfo; variable
103 sample_test_dns_addrinfo = *info; in sample_dns_request_result()
329 switch (sample_test_dns_addrinfo.ai_addr.sa_family) { in main()
331 src = &net_sin(&sample_test_dns_addrinfo.ai_addr)->sin_addr; in main()
332 port = &net_sin(&sample_test_dns_addrinfo.ai_addr)->sin_port; in main()
335 src = &net_sin6(&sample_test_dns_addrinfo.ai_addr)->sin6_addr; in main()
336 port = &net_sin6(&sample_test_dns_addrinfo.ai_addr)->sin6_port; in main()
342 inet_ntop(sample_test_dns_addrinfo.ai_addr.sa_family, src, ip_str, sizeof(ip_str)); in main()
346 ret = sample_echo_packet(&sample_test_dns_addrinfo.ai_addr, in main()
347 sample_test_dns_addrinfo.ai_addrlen, port); in main()
[all …]