Lines Matching defs:addrinfo
103 struct addrinfo *addrinfo;
196 static void *serialize_addrinfo(void *p, const struct addrinfo *ai, size_t *length, size_t maxlength) {
232 struct addrinfo *ai,
256 struct addrinfo *k;
340 struct addrinfo hints = {}, *result = NULL;
691 static int unserialize_addrinfo(const void **p, size_t *length, struct addrinfo **ret_ai) {
694 struct addrinfo *ai;
710 ai = new0(struct addrinfo, 1);
774 struct addrinfo *prev = NULL;
787 struct addrinfo *ai = NULL;
794 freeaddrinfo(q->addrinfo);
795 q->addrinfo = NULL;
802 q->addrinfo = ai;
938 const struct addrinfo *hints,
1003 return q->getaddrinfo_handler(q, q->ret, q->addrinfo, q->userdata);
1086 static void resolve_freeaddrinfo(struct addrinfo *ai) {
1088 struct addrinfo *next = ai->ai_next;
1130 resolve_freeaddrinfo(q->addrinfo);