/bind-9.6-ESV-R11/lib/lwres/ |
H A D | getaddrinfo.c | 118 * lwres_freeaddrinfo(). ai is a pointer to a struct addrinfo created by 180 struct addrinfo *ai, *ai_list; local 310 ai = ai_alloc(AF_INET, sizeof(struct sockaddr_in)); 311 if (ai == NULL) 313 ai->ai_socktype = socktype; 314 ai->ai_protocol = protocol; 315 SIN(ai->ai_addr)->sin_port = port; 316 ai->ai_next = ai_list; 317 ai_list = ai; 321 ai 563 struct addrinfo *ai; local 626 struct addrinfo *ai; local 686 lwres_freeaddrinfo(struct addrinfo *ai) argument 703 struct addrinfo *ai; local 739 struct addrinfo *ai; local 761 struct addrinfo *ai; local [all...] |
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/bind9/ |
H A D | getaddresses.c | 59 struct addrinfo *ai = NULL, *tmpai, hints; local 151 result = getaddrinfo(hostname, NULL, &hints, &ai); 170 for (tmpai = ai, i = 0; 190 freeaddrinfo(ai);
|
/bind-9.6-ESV-R11/bin/check/ |
H A D | check-tool.c | 185 struct addrinfo hints, *ai, *cur; local 217 result = getaddrinfo(namebuf, NULL, &hints, &ai); 225 cur = ai; 275 for (cur = ai; cur != NULL; cur = cur->ai_next) { 305 for (cur = ai; cur != NULL; cur = cur->ai_next) { 334 for (cur = ai; cur != NULL; cur = cur->ai_next) { 375 freeaddrinfo(ai); 385 struct addrinfo hints, *ai, *cur; local 406 result = getaddrinfo(namebuf, NULL, &hints, &ai); 414 cur = ai; 470 struct addrinfo hints, *ai, *cur; local [all...] |
/bind-9.6-ESV-R11/bin/tests/system/lwresd/ |
H A D | lwtest.c | 460 struct addrinfo *ai; local 465 ret = getaddrinfo(name, NULL, NULL, &ai); 472 ret = getaddrinfo(name, NULL, &hint, &ai); 495 if (ai->ai_family != af) { 499 freeaddrinfo(ai); 502 if (len != (unsigned int) ai->ai_addrlen) { 504 (void)inet_ntop(af, ai->ai_addr, 508 (unsigned long)ai->ai_addrlen, len); 510 freeaddrinfo(ai); 514 sin = (struct sockaddr_in *) ai [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwdgabn.c | 72 dns_adbaddrinfo_t *ai; local 83 ai = ISC_LIST_HEAD(find->list); 84 while (ai != NULL && client->gabn.naddrs < LWRES_MAX_ADDRS) { 85 sa = &ai->sockaddr.type.sa; 91 result = lwaddr_lwresaddr_fromsockaddr(addr, &ai->sockaddr); 103 ai = ISC_LIST_NEXT(ai, publink);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | adb.c | 1556 dns_adbaddrinfo_t *ai; local 1558 ai = isc_mempool_get(adb->aimp); 1559 if (ai == NULL) 1562 ai->magic = DNS_ADBADDRINFO_MAGIC; 1563 ai->sockaddr = entry->sockaddr; 1564 isc_sockaddr_setport(&ai->sockaddr, port); 1565 ai->srtt = entry->srtt; 1566 ai->flags = entry->flags; 1567 ai->entry = entry; 1568 ISC_LINK_INIT(ai, publin 1575 dns_adbaddrinfo_t *ai; local 2624 dns_adbaddrinfo_t *ai; local 2887 dns_adbaddrinfo_t *ai; local [all...] |
H A D | resolver.c | 2396 randomize_srtt(fetchctx_t *fctx, dns_adbaddrinfo_t *ai) { argument 2397 if (TRIED(ai)) { 2398 ai->srtt >>= 10; /* convert to milliseconds, near enough */ 2399 ai->srtt |= (ai->srtt & 0x80) | random_bits(fctx, 7); 2400 ai->srtt <<= 10; /* now back to microseconds */ 2402 ai->srtt = random_bits(fctx, 3) << 10; 2478 dns_adbaddrinfo_t *ai; local 2523 for (ai = ISC_LIST_HEAD(find->list); 2524 ai ! 2597 dns_adbaddrinfo_t *ai; local [all...] |
H A D | zone.c | 7047 dns_adbaddrinfo_t *ai; local 7058 for (ai = ISC_LIST_HEAD(notify->find->list); 7059 ai != NULL; 7060 ai = ISC_LIST_NEXT(ai, publink)) { 7061 dst = ai->sockaddr;
|