Lines Matching refs:uaddr
112 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af,
480 const uint8_t* uaddr = (const uint8_t*)addr; in resolv_gethostbyaddr() local
495 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in resolv_gethostbyaddr()
496 addr = uaddr; in resolv_gethostbyaddr()
520 if (_hf_gethtbyaddr(uaddr, len, af, &info)) { in resolv_gethostbyaddr()
521 int error = dns_gethtbyaddr(uaddr, len, af, netcontext, &info, event); in resolv_gethostbyaddr()
686 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af, in dns_gethtbyaddr() argument
698 (void) snprintf(qbuf, sizeof(qbuf), "%u.%u.%u.%u.in-addr.arpa", (uaddr[3] & 0xff), in dns_gethtbyaddr()
699 (uaddr[2] & 0xff), (uaddr[1] & 0xff), (uaddr[0] & 0xff)); in dns_gethtbyaddr()
706 advance = snprintf(qp, (size_t)(ep - qp), "%x.%x.", uaddr[n] & 0xf, in dns_gethtbyaddr()
707 ((unsigned int) uaddr[n] >> 4) & 0xf); in dns_gethtbyaddr()
750 memcpy(bf, uaddr, (size_t) info->hp->h_length); in dns_gethtbyaddr()