Lines Matching refs:addrinfo

214 static struct targetaddr *build_targetaddr_list(struct addrinfo *,
216 extern void check_reply(struct addrinfo *, struct msghdr *, int, ushort_t);
217 extern void check_reply6(struct addrinfo *, struct msghdr *, int, ushort_t);
225 static void get_hostinfo(char *, int, struct addrinfo **);
228 boolean_t is_a_target(struct addrinfo *, union any_in_addr *);
236 static void recv_icmp_packet(struct addrinfo *, int, int, ushort_t, ushort_t);
237 static void resolve_nodes(struct addrinfo **, struct addrinfo **,
240 static void select_all_src_addrs(union any_in_addr **, struct addrinfo *,
249 static void set_nexthop(int, struct addrinfo *, int);
251 struct addrinfo *);
262 struct addrinfo *ai_dst = NULL; /* addrinfo host list */
263 struct addrinfo *ai_nexthop = NULL; /* addrinfo nexthop */
761 build_targetaddr_list(struct addrinfo *ai_dst, union any_in_addr *src_addr_list)
768 struct addrinfo *aip;
864 resolve_nodes(struct addrinfo **ai_dstp, struct addrinfo **ai_nexthopp,
867 struct addrinfo *ai_dst = NULL;
868 struct addrinfo *ai_nexthop = NULL;
869 struct addrinfo *aip = NULL;
947 struct addrinfo *ai = NULL;
948 struct addrinfo *aip = NULL;
1039 * Given IP address or hostname, return addrinfo list.
1040 * Assumes that addrinfo ** ptr is non-null.
1043 get_hostinfo(char *host, int family, struct addrinfo **aipp)
1045 struct addrinfo hints, *ai;
1111 select_all_src_addrs(union any_in_addr **src_addr_list, struct addrinfo *ai,
1115 struct addrinfo *aip;
1266 set_nexthop(int family, struct addrinfo *ai_nexthop, int sock)
1314 ushort_t *udp_src_port, struct addrinfo *ai_nexthop)
1929 recv_icmp_packet(struct addrinfo *ai_dst, int recv_sock6, int recv_sock,
2019 is_a_target(struct addrinfo *ai, union any_in_addr *addr)
2023 struct addrinfo *aip;