Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c131 static int num_v4 = 0; /* count of IPv4 addresses */ variable
576 (family_input == AF_UNSPEC && num_v4 != 0)) { in main()
615 num_v4 = 0; in main()
619 if (num_v4 == 0 && num_v6 == 0) { in main()
630 if (num_v4 != 0) { in main()
646 if (num_v4 != 0) in main()
727 num_dst = num_v4 + num_v6; in build_targetaddr_list()
733 if (aip->ai_family == AF_INET && num_v4 != 0) { in build_targetaddr_list()
845 num_v4++; in resolve_nodes()
871 if (num_resolved_gw != num_gw && num_v4 != 0 && in resolve_nodes()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c148 static int num_v4 = 0; /* count of IPv4 addresses */ variable
592 if (num_v4 + num_v6 > 1 && !probe_all) { in main()
663 num_v4++; in resolve_nodes()
689 if (num_resolved_gw != gw_count && num_v4 != 0) { in resolve_nodes()
693 num_v4 = 0; in resolve_nodes()
697 *ai_dstp = (num_v4 + num_v6 > 0) ? ai_dst : NULL; in resolve_nodes()
1105 num_v4 = 0; in get_gwaddrs()
1119 if (check_v4 && num_v4 != 0) { in get_gwaddrs()
1411 num_dst_IPaddrs = num_v4 + num_v6; in trace_it()