Searched refs:uaddr (Results 1 – 3 of 3) sorted by relevance
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 112 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af, 478 const uint8_t* uaddr = (const uint8_t*)addr; in resolv_gethostbyaddr() local 493 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in resolv_gethostbyaddr() 494 addr = uaddr; in resolv_gethostbyaddr() 518 if (_hf_gethtbyaddr(uaddr, len, af, &info)) { in resolv_gethostbyaddr() 519 int error = dns_gethtbyaddr(uaddr, len, af, netcontext, &info, event); in resolv_gethostbyaddr() 684 static int dns_gethtbyaddr(const unsigned char* uaddr, int len, int af, in dns_gethtbyaddr() argument 696 (void) snprintf(qbuf, sizeof(qbuf), "%u.%u.%u.%u.in-addr.arpa", (uaddr[3] & 0xff), in dns_gethtbyaddr() 697 (uaddr[2] & 0xff), (uaddr[1] & 0xff), (uaddr[0] & 0xff)); in dns_gethtbyaddr() 704 advance = snprintf(qp, (size_t)(ep - qp), "%x.%x.", uaddr[n] & 0xf, in dns_gethtbyaddr() [all …]
|
D | sethostent.cpp | 179 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()
|
D | hostent.h | 43 int _hf_gethtbyaddr(const unsigned char* uaddr, int len, int af, getnamaddr* info);
|