Lines Matching refs:addr
187 lwres_addr_t *addr;
204 addr = LWRES_LIST_HEAD(req->addrs);
205 while (addr != NULL) {
207 payload_length += addr->length;
208 addr = LWRES_LIST_NEXT(addr, link);
261 addr = LWRES_LIST_HEAD(req->addrs);
262 while (addr != NULL) {
263 lwres_buffer_putuint32(b, addr->family);
264 lwres_buffer_putuint16(b, addr->length);
265 lwres_buffer_putmem(b, addr->address, addr->length);
266 addr = LWRES_LIST_NEXT(addr, link);
336 lwres_addr_t *addr;
386 addr = CTXMALLOC(sizeof(lwres_addr_t));
387 if (addr == NULL) {
391 LWRES_LINK_INIT(addr, link);
392 LWRES_LIST_APPEND(addrlist, addr, link);
416 addr = LWRES_LIST_HEAD(addrlist);
418 INSIST(addr != NULL);
419 ret = lwres_addr_parse(b, addr);
422 addr = LWRES_LIST_NEXT(addr, link);
442 addr = LWRES_LIST_HEAD(addrlist);
443 while (addr != NULL) {
444 LWRES_LIST_UNLINK(addrlist, addr, link);
445 CTXFREE(addr, sizeof(lwres_addr_t));
446 addr = LWRES_LIST_HEAD(addrlist);
474 lwres_addr_t *addr;
487 addr = LWRES_LIST_HEAD(gabn->addrs);
488 while (addr != NULL) {
489 LWRES_LIST_UNLINK(gabn->addrs, addr, link);
490 CTXFREE(addr, sizeof(lwres_addr_t));
491 addr = LWRES_LIST_HEAD(gabn->addrs);