Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp1410 char* addr_buf = nullptr; in resolv_gethostbyaddr_from_cache() local
1439 addr_buf = (char*)&(sa.sin_addr); in resolv_gethostbyaddr_from_cache()
1441 addr_buf = (char*)&(sa6.sin6_addr); in resolv_gethostbyaddr_from_cache()
1446 if (inet_pton(af, ip_address, addr_buf) != 1) { in resolv_gethostbyaddr_from_cache()
1451 if (memcmp(ns_rr_rdata(rr), addr_buf, ns_rr_rdlen(rr)) == 0) { in resolv_gethostbyaddr_from_cache()