Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_cache.cpp450 static int _dnsPacket_checkBytes(DnsPacket* packet, int numBytes, const void* bytes) { in _dnsPacket_checkBytes() function
500 if (!_dnsPacket_checkBytes(packet, 2, DNS_TYPE_A) && in _dnsPacket_checkQR()
501 !_dnsPacket_checkBytes(packet, 2, DNS_TYPE_PTR) && in _dnsPacket_checkQR()
502 !_dnsPacket_checkBytes(packet, 2, DNS_TYPE_MX) && in _dnsPacket_checkQR()
503 !_dnsPacket_checkBytes(packet, 2, DNS_TYPE_AAAA) && in _dnsPacket_checkQR()
504 !_dnsPacket_checkBytes(packet, 2, DNS_TYPE_ALL)) { in _dnsPacket_checkQR()
509 if (!_dnsPacket_checkBytes(packet, 2, DNS_CLASS_IN)) { in _dnsPacket_checkQR()
633 if (_dnsPacket_checkBytes(packet, 2, qTypes[nn].typeBytes)) { in dnsPacket_bprintQR()