Searched refs:querylen (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | res_cache.cpp | 707 int querylen; member 834 _dnsPacket_init(pack, e->query, e->querylen); in entry_hash() 840 static int entry_init_key(Entry* e, const void* query, int querylen) { in entry_init_key() argument 846 e->querylen = querylen; in entry_init_key() 849 _dnsPacket_init(pack, e->query, e->querylen); in entry_init_key() 859 size = sizeof(*e) + init->querylen + answerlen; in entry_alloc() 865 e->querylen = init->querylen; in entry_alloc() 867 memcpy((char*) e->query, init->query, e->querylen); in entry_alloc() 869 e->answer = e->query + e->querylen; in entry_alloc() 880 if (e1->querylen != e2->querylen) { in entry_equals() [all …]
|
D | resolv_cache.h | 64 ResolvCacheStatus resolv_cache_lookup(unsigned netid, const void* query, int querylen, void* answer, 69 int resolv_cache_add(unsigned netid, const void* query, int querylen, const void* answer, 73 void _resolv_cache_query_failed(unsigned netid, const void* query, int querylen, uint32_t flags);
|