Lines Matching full:addrinfo
87 #include "addrinfo.h"
180 static int explore_fqdn __P((const struct addrinfo *, const char *,
181 const char *, struct addrinfo **));
182 static int explore_null __P((const struct addrinfo *, const char *,
183 const char *, struct addrinfo **));
184 static int explore_numeric __P((const struct addrinfo *, const char *,
185 const char *, struct addrinfo **));
186 static int explore_numeric_scope __P((const struct addrinfo *, const char *,
187 const char *, struct addrinfo **));
188 static int get_name __P((const char *, const struct afd *, struct addrinfo **,
189 char *, const struct addrinfo *, const char *));
190 static int get_canonname __P((const struct addrinfo *,
191 struct addrinfo *, const char *));
192 static struct addrinfo *get_ai __P((const struct addrinfo *,
194 static int get_portmatch __P((const struct addrinfo *, const char *));
195 static int get_port __P((struct addrinfo *, const char *, int));
269 struct addrinfo *ai;
271 struct addrinfo *next;
298 const struct addrinfo *hints;
299 struct addrinfo **res;
301 struct addrinfo sentinel;
302 struct addrinfo *cur;
304 struct addrinfo ai;
305 struct addrinfo ai0;
306 struct addrinfo *pai;
516 const struct addrinfo *pai;
519 struct addrinfo **res;
526 struct addrinfo sentinel, *cur;
690 const struct addrinfo *pai;
693 struct addrinfo **res;
697 struct addrinfo *cur;
698 struct addrinfo sentinel;
753 const struct addrinfo *pai;
756 struct addrinfo **res;
759 struct addrinfo *cur;
760 struct addrinfo sentinel;
842 const struct addrinfo *pai;
845 struct addrinfo **res;
851 struct addrinfo *cur;
915 struct addrinfo **res;
917 const struct addrinfo *pai;
921 struct addrinfo *cur = NULL;
982 const struct addrinfo *pai;
983 struct addrinfo *ai;
994 static struct addrinfo *
996 const struct addrinfo *pai;
1001 struct addrinfo *ai;
1003 ai = (struct addrinfo *)malloc(sizeof(struct addrinfo)
1008 memcpy(ai, pai, sizeof(struct addrinfo));
1023 const struct addrinfo *ai;
1028 return get_port((struct addrinfo *)ai, servname, 1);
1033 struct addrinfo *ai;