Home
last modified time | relevance | path

Searched refs:uaddr (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
Dgethnamaddr.cpp112 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()
[all …]
Dsethostent.cpp179 int _hf_gethtbyaddr(const unsigned char* uaddr, int len, int af, getnamaddr* info) { in _hf_gethtbyaddr() argument
195 if (!memcmp(hp->h_addr_list[0], uaddr, (size_t) hp->h_length)) break; in _hf_gethtbyaddr()
Dhostent.h43 int _hf_gethtbyaddr(const unsigned char* uaddr, int len, int af, getnamaddr* info);