Lines Matching refs:addr
102 lwres_resetaddr(lwres_addr_t *addr);
105 lwres_create_addr(const char *buff, lwres_addr_t *addr, int convert_zero);
201 lwres_resetaddr(lwres_addr_t *addr) {
202 REQUIRE(addr != NULL);
204 memset(addr->address, 0, LWRES_ADDR_MAXLEN);
205 addr->family = 0;
206 addr->length = 0;
248 lwres_resetaddr(&confdata->sortlist[i].addr);
280 lwres_resetaddr(&confdata->sortlist[i].addr);
449 lwres_create_addr(const char *buffer, lwres_addr_t *addr, int convert_zero) {
460 addr->family = LWRES_ADDRTYPE_V4;
461 addr->length = NS_INADDRSZ;
462 memmove((void *)addr->address, &v4, NS_INADDRSZ);
465 addr->family = LWRES_ADDRTYPE_V6;
466 addr->length = NS_IN6ADDRSZ;
467 memmove((void *)addr->address, &v6, NS_IN6ADDRSZ);
497 res = lwres_create_addr(word, &confdata->sortlist[idx].addr, 1);
512 confdata->sortlist[idx].addr;
515 confdata->sortlist[idx].addr.length);
680 af = lwresaddr2af(confdata->sortlist[i].addr.family);
683 confdata->sortlist[i].addr.address,