Lines Matching defs:addrs
80 addr = &client->addrs[client->gabn.naddrs];
91 LWRES_LIST_APPEND(client->gabn.addrs, addr, link);
113 rankedaddress *addrs;
126 addrs = isc_mem_get(lwresd->mctx, sizeof(rankedaddress) * naddrs);
127 if (addrs == NULL)
134 isc_mem_put(lwresd->mctx, addrs,
139 result = lwaddr_netaddr_fromlwresaddr(&addrs[i].address,
140 &client->addrs[i]);
142 addrs[i].rank = (*order)(&addrs[i].address, arg);
144 qsort(addrs, naddrs, sizeof(rankedaddress), addr_compare);
146 result = lwaddr_lwresaddr_fromnetaddr(&client->addrs[i],
147 &addrs[i].address);
151 isc_mem_put(lwresd->mctx, addrs, sizeof(rankedaddress) * naddrs);
188 LWRES_LIST_INIT(client->gabn.addrs);
547 client->addrs[i].family = 0;
548 client->addrs[i].length = 0;
549 memset(client->addrs[i].address, 0, LWRES_ADDR_MAXLEN);
550 LWRES_LINK_INIT(&client->addrs[i], link);
559 LWRES_LIST_INIT(client->gabn.addrs);