Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c248 struct addrinfo *ai_dst = NULL; /* addrinfo host list */ in main() local
554 resolve_nodes(&ai_dst, &ai_nexthop, &src_addr_list); in main()
670 targetaddr_list = build_targetaddr_list(ai_dst, src_addr_list); in main()
690 if (ai_dst->ai_family == AF_INET) { in main()
693 ai_dst->ai_addr)->sin_addr, in main()
698 ai_dst->ai_addr)->sin6_addr, in main()
735 recv_icmp_packet(ai_dst, recv_sock6, recv_sock, udp_src_port6, in main()
747 build_targetaddr_list(struct addrinfo *ai_dst, union any_in_addr *src_addr_list) in build_targetaddr_list() argument
756 aip = ai_dst; in build_targetaddr_list()
763 for (aip = ai_dst, i = 0; aip != NULL; aip = aip->ai_next, i++) { in build_targetaddr_list()
[all …]
H A Dping_aux6.c250 check_reply6(struct addrinfo *ai_dst, struct msghdr *msg, int cc, in check_reply6() argument
473 } else if (is_a_target(ai_dst, &dst_addr)|| verbose) { in check_reply6()
542 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
575 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
613 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
837 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply6()
H A Dping_aux.c212 check_reply(struct addrinfo *ai_dst, struct msghdr *msg, int cc, in check_reply() argument
441 } else if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
504 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
699 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
731 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
790 if (is_a_target(ai_dst, &dst_addr) || verbose) { in check_reply()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c260 struct addrinfo *ai_dst = NULL; /* destination host */ in main() local
543 resolve_nodes(&family_input, &ai_dst); in main()
544 if (ai_dst == NULL) { in main()
617 if (ai_dst->ai_family == AF_INET) { in main()
624 ai_dst->ai_addr)->sin_addr, in main()
633 ai_dst->ai_addr)->sin6_addr, in main()
639 trace_it(ai_dst); in main()
673 struct addrinfo *ai_dst = NULL; in resolve_nodes() local
678 get_hostinfo(hostname, *family, &ai_dst); in resolve_nodes()
679 if (ai_dst == NULL) { in resolve_nodes()
[all …]