/bind-9.11.3/lib/lwres/ |
H A D | getaddrinfo.c | 121 * lwres_freeaddrinfo(). ai is a pointer to a struct addrinfo created by 183 struct addrinfo *ai, *ai_list; local 313 ai = ai_alloc(AF_INET, sizeof(struct sockaddr_in)); 314 if (ai == NULL) 316 ai->ai_socktype = socktype; 317 ai->ai_protocol = protocol; 318 SIN(ai->ai_addr)->sin_port = port; 319 ai->ai_next = ai_list; 320 ai_list = ai; 324 ai 566 struct addrinfo *ai; local 629 struct addrinfo *ai; local 689 lwres_freeaddrinfo(struct addrinfo *ai) argument 706 struct addrinfo *ai; local 746 struct addrinfo *ai; local 768 struct addrinfo *ai; local [all...] |
/bind-9.11.3/util/ |
H A D | file_year.sh | 16 git show --pretty=format:%ai $rev | head -n 1 | sed 's;-.*;;'
|
/bind-9.11.3/lib/irs/ |
H A D | getaddrinfo.c | 105 * ai is a pointer to a struct addrinfo created by a call to getaddrinfo(). 175 static void _freeaddrinfo(struct addrinfo *ai); 193 struct addrinfo *ai, *ai_list; local 324 ai = ai_alloc(AF_INET, sizeof(struct sockaddr_in)); 325 if (ai == NULL) 327 ai->ai_socktype = socktype; 328 ai->ai_protocol = protocol; 329 SIN(ai->ai_addr)->sin_port = port; 330 ai->ai_next = ai_list; 331 ai_list = ai; 760 struct addrinfo *ai; local 1130 struct addrinfo *ai; local 1153 struct addrinfo *ai; local 1172 freeaddrinfo(struct addrinfo *ai) argument 1177 _freeaddrinfo(struct addrinfo *ai) argument 1194 struct addrinfo *ai; local 1230 struct addrinfo *ai; local 1252 struct addrinfo *ai; local [all...] |
/bind-9.11.3/contrib/queryperf/missing/ |
H A D | getaddrinfo.c | 125 #define GET_CANONNAME(ai, str) \ 127 if (((ai)->ai_canonname = (char *)malloc(strlen(str) + 1)) != NULL) {\ 128 strcpy((ai)->ai_canonname, (str));\ 136 #define SET_AILEN(ai,l) (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (l) 138 #define SET_AILEN(ai,l) (ai)->ai_addrlen = (l) 141 #define GET_AI(ai, afd, addr, port) {\ 143 if (((ai) 209 struct addrinfo ai; local [all...] |
/bind-9.11.3/lib/bind9/ |
H A D | getaddresses.c | 49 struct addrinfo *ai = NULL, *tmpai, hints; local 140 result = getaddrinfo(hostname, NULL, &hints, &ai); 160 for (tmpai = ai, i = 0; 180 freeaddrinfo(ai);
|
/bind-9.11.3/bin/tests/system/lwresd/ |
H A D | lwtest.c | 453 struct addrinfo *ai; local 458 ret = getaddrinfo(name, NULL, NULL, &ai); 465 ret = getaddrinfo(name, NULL, &hint, &ai); 488 if (ai->ai_family != af) { 492 freeaddrinfo(ai); 495 if (len != (unsigned int) ai->ai_addrlen) { 497 (void)inet_ntop(af, ai->ai_addr, 501 (unsigned long)ai->ai_addrlen, len); 503 freeaddrinfo(ai); 507 sin = (struct sockaddr_in *) ai [all...] |
/bind-9.11.3/bin/check/ |
H A D | check-tool.c | 185 struct addrinfo hints, *ai, *cur; local 218 result = getaddrinfo(namebuf, NULL, &hints, &ai); 226 cur = ai; 276 for (cur = ai; cur != NULL; cur = cur->ai_next) { 306 for (cur = ai; cur != NULL; cur = cur->ai_next) { 335 for (cur = ai; cur != NULL; cur = cur->ai_next) { 376 freeaddrinfo(ai); 386 struct addrinfo hints, *ai, *cur; local 408 result = getaddrinfo(namebuf, NULL, &hints, &ai); 416 cur = ai; 472 struct addrinfo hints, *ai, *cur; local [all...] |
/bind-9.11.3/bin/named/ |
H A D | lwdgabn.c | 63 dns_adbaddrinfo_t *ai; local 74 ai = ISC_LIST_HEAD(find->list); 75 while (ai != NULL && client->gabn.naddrs < LWRES_MAX_ADDRS) { 76 sa = &ai->sockaddr.type.sa; 82 result = lwaddr_lwresaddr_fromsockaddr(addr, &ai->sockaddr); 94 ai = ISC_LIST_NEXT(ai, publink);
|
/bind-9.11.3/lib/dns/ |
H A D | adb.c | 1995 dns_adbaddrinfo_t *ai; local 1997 ai = isc_mempool_get(adb->aimp); 1998 if (ai == NULL) 2001 ai->magic = DNS_ADBADDRINFO_MAGIC; 2002 ai->sockaddr = entry->sockaddr; 2003 isc_sockaddr_setport(&ai->sockaddr, port); 2004 ai->srtt = entry->srtt; 2005 ai->flags = entry->flags; 2006 ai->entry = entry; 2007 ai 2015 dns_adbaddrinfo_t *ai; local 3292 dns_adbaddrinfo_t *ai; local 3577 dns_adbaddrinfo_t *ai; local [all...] |
H A D | resolver.c | 3087 dns_adbaddrinfo_t *ai; local 3141 for (ai = ISC_LIST_HEAD(find->list); 3142 ai != NULL; 3143 ai = ISC_LIST_NEXT(ai, publink)) { 3144 ai->flags |= flags; 3146 isc_sockaddr_setport(&ai->sockaddr, 3220 dns_adbaddrinfo_t *ai; local 3313 ai = NULL; 3314 result = dns_adb_findaddrinfo(fctx->adb, &fwd->addr, &ai, [all...] |
H A D | zone.c | 10980 dns_adbaddrinfo_t *ai; local 10996 for (ai = ISC_LIST_HEAD(notify->find->list); 10997 ai != NULL; 10998 ai = ISC_LIST_NEXT(ai, publink)) { 10999 dst = ai->sockaddr;
|