Lines Matching refs:addrinfo

190 static struct targetaddr *build_targetaddr_list(struct addrinfo *,
192 extern void check_reply(struct addrinfo *, struct msghdr *, int, ushort_t);
193 extern void check_reply6(struct addrinfo *, struct msghdr *, int, ushort_t);
201 static void get_hostinfo(char *, int, struct addrinfo **);
204 boolean_t is_a_target(struct addrinfo *, union any_in_addr *);
210 static void recv_icmp_packet(struct addrinfo *, int, int, ushort_t, ushort_t);
211 static void resolve_nodes(struct addrinfo **, struct addrinfo **,
214 static void select_all_src_addrs(union any_in_addr **, struct addrinfo *,
223 static void set_nexthop(int, struct addrinfo *, int);
225 struct addrinfo *);
236 struct addrinfo *ai_dst = NULL; /* addrinfo host list */ in main()
237 struct addrinfo *ai_nexthop = NULL; /* addrinfo nexthop */ in main()
716 build_targetaddr_list(struct addrinfo *ai_dst, union any_in_addr *src_addr_list) in build_targetaddr_list()
723 struct addrinfo *aip; in build_targetaddr_list()
819 resolve_nodes(struct addrinfo **ai_dstp, struct addrinfo **ai_nexthopp, in resolve_nodes()
822 struct addrinfo *ai_dst = NULL; in resolve_nodes()
823 struct addrinfo *ai_nexthop = NULL; in resolve_nodes()
824 struct addrinfo *aip = NULL; in resolve_nodes()
902 struct addrinfo *ai = NULL; in get_gwaddrs()
903 struct addrinfo *aip = NULL; in get_gwaddrs()
998 get_hostinfo(char *host, int family, struct addrinfo **aipp) in get_hostinfo()
1000 struct addrinfo hints, *ai; in get_hostinfo()
1066 select_all_src_addrs(union any_in_addr **src_addr_list, struct addrinfo *ai, in select_all_src_addrs()
1070 struct addrinfo *aip; in select_all_src_addrs()
1219 set_nexthop(int family, struct addrinfo *ai_nexthop, int sock) in set_nexthop()
1267 ushort_t *udp_src_port, struct addrinfo *ai_nexthop) in setup_socket()
1859 recv_icmp_packet(struct addrinfo *ai_dst, int recv_sock6, int recv_sock, in recv_icmp_packet()
1949 is_a_target(struct addrinfo *ai, union any_in_addr *addr) in is_a_target()
1953 struct addrinfo *aip; in is_a_target()