Lines Matching defs:addrs
443 isc_sockaddr_t *addrs;
489 addrs = isc_mem_get(mctx, count * sizeof(isc_sockaddr_t));
490 if (addrs == NULL) {
503 addrs[i] = *cfg_obj_assockaddr(addr);
511 if (isc_sockaddr_getport(&addrs[i]) == 0)
512 isc_sockaddr_setport(&addrs[i], port);
516 *addrsp = addrs;
584 isc_sockaddr_t *addrs = NULL;
596 REQUIRE(ipkl->addrs == NULL);
736 memmove(tmp, addrs, oldsize);
737 isc_mem_put(mctx, addrs, oldsize);
739 addrs = tmp;
767 addrs[i] = *cfg_obj_assockaddr(addr);
768 if (isc_sockaddr_getport(&addrs[i]) == 0)
769 isc_sockaddr_setport(&addrs[i], port);
812 memmove(tmp, addrs, newsize);
815 isc_mem_put(mctx, addrs, oldsize);
816 addrs = tmp;
853 ipkl->addrs = addrs;
862 if (addrs != NULL)
863 isc_mem_put(mctx, addrs, addrcount * sizeof(isc_sockaddr_t));