Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c665 int have_ipv4 = 0, have_ipv6 = 0; in resolve_hostname() local
672 while (cur && !have_ipv4 && !have_ipv6) { in resolve_hostname()
678 else if (!have_ipv6 && cur->ai_family == AF_INET6) { in resolve_hostname()
681 have_ipv6 = 1; in resolve_hostname()
694 do_ipv6 &= have_ipv6; in resolve_hostname()