Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c132 static int num_v6 = 0; /* count of IPv6 addresses */ variable
551 (family_input == AF_UNSPEC && num_v6 != 0)) { in main()
571 num_v6 = 0; in main()
619 if (num_v4 == 0 && num_v6 == 0) { in main()
624 if (num_v6 != 0) { in main()
644 if (num_v6 != 0) in main()
727 num_dst = num_v4 + num_v6; in build_targetaddr_list()
740 } else if (aip->ai_family == AF_INET6 && num_v6 != 0) { in build_targetaddr_list()
848 num_v6++; in resolve_nodes()
863 if (num_resolved_gw6 != num_gw && num_v6 != 0 && in resolve_nodes()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c149 static int num_v6 = 0; /* count of IPv6 addresses */ variable
592 if (num_v4 + num_v6 > 1 && !probe_all) { in main()
666 num_v6++; in resolve_nodes()
681 if (num_resolved_gw6 != gw_count && num_v6 != 0) { in resolve_nodes()
685 num_v6 = 0; in resolve_nodes()
697 *ai_dstp = (num_v4 + num_v6 > 0) ? ai_dst : NULL; in resolve_nodes()
1110 num_v6 = 0; in get_gwaddrs()
1136 if (check_v6 && num_v6 != 0) { in get_gwaddrs()
1411 num_dst_IPaddrs = num_v4 + num_v6; in trace_it()
1417 if (ai_dst->ai_family == AF_INET6 || (probe_all && num_v6)) { in trace_it()