Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dtxtimestamp.c810 int have_ipv4 = 0, have_ipv6 = 0; in resolve_hostname() local
817 while (cur && !have_ipv4 && !have_ipv6) { in resolve_hostname()
818 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname()
821 have_ipv4 = 1; in resolve_hostname()
838 do_ipv4 &= have_ipv4; in resolve_hostname()