Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp262 struct DnsPacket { struct
284 static void _dnsPacket_init(DnsPacket* packet, const uint8_t* buff, int bufflen) { in _dnsPacket_init() argument
290 static void _dnsPacket_rewind(DnsPacket* packet) { in _dnsPacket_rewind()
294 static void _dnsPacket_skip(DnsPacket* packet, int count) { in _dnsPacket_skip()
302 static int _dnsPacket_readInt16(DnsPacket* packet) { in _dnsPacket_readInt16()
316 static int _dnsPacket_checkBytes(DnsPacket* packet, int numBytes, const void* bytes) { in _dnsPacket_checkBytes()
331 static int _dnsPacket_checkQName(DnsPacket* packet) { in _dnsPacket_checkQName()
362 static int _dnsPacket_checkQR(DnsPacket* packet) { in _dnsPacket_checkQR()
386 static int _dnsPacket_checkQuery(DnsPacket* packet) { in _dnsPacket_checkQuery()
454 static unsigned _dnsPacket_hashBytes(DnsPacket* packet, int numBytes, unsigned hash) { in _dnsPacket_hashBytes()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java41 import com.android.net.module.util.DnsPacket;
295 } catch (DnsPacket.ParseException e) { in onAnswer()
537 private static class DnsAddressAnswer extends DnsPacket {
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java50 import com.android.net.module.util.DnsPacket;
167 private static class DnsAnswer extends DnsPacket {