Lines Matching refs:addr
196 lwres_addr_t *addr;
213 addr = LWRES_LIST_HEAD(req->addrs);
214 while (addr != NULL) {
216 payload_length += addr->length;
217 addr = LWRES_LIST_NEXT(addr, link);
270 addr = LWRES_LIST_HEAD(req->addrs);
271 while (addr != NULL) {
272 lwres_buffer_putuint32(b, addr->family);
273 lwres_buffer_putuint16(b, addr->length);
274 lwres_buffer_putmem(b, addr->address, addr->length);
275 addr = LWRES_LIST_NEXT(addr, link);
345 lwres_addr_t *addr;
395 addr = CTXMALLOC(sizeof(lwres_addr_t));
396 if (addr == NULL) {
400 LWRES_LINK_INIT(addr, link);
401 LWRES_LIST_APPEND(addrlist, addr, link);
425 addr = LWRES_LIST_HEAD(addrlist);
427 INSIST(addr != NULL);
428 ret = lwres_addr_parse(b, addr);
431 addr = LWRES_LIST_NEXT(addr, link);
451 addr = LWRES_LIST_HEAD(addrlist);
452 while (addr != NULL) {
453 LWRES_LIST_UNLINK(addrlist, addr, link);
454 CTXFREE(addr, sizeof(lwres_addr_t));
455 addr = LWRES_LIST_HEAD(addrlist);
483 lwres_addr_t *addr;
496 addr = LWRES_LIST_HEAD(gabn->addrs);
497 while (addr != NULL) {
498 LWRES_LIST_UNLINK(gabn->addrs, addr, link);
499 CTXFREE(addr, sizeof(lwres_addr_t));
500 addr = LWRES_LIST_HEAD(gabn->addrs);