Searched refs:querylen (Results 1 – 2 of 2) sorted by relevance
/system/netd/resolv/ |
D | resolv_cache.h | 54 ResolvCacheStatus _resolv_cache_lookup(unsigned netid, const void* query, int querylen, 61 void _resolv_cache_add(unsigned netid, const void* query, int querylen, const void* answer, 65 void _resolv_cache_query_failed(unsigned netid, const void* query, int querylen, uint32_t flags);
|
D | res_cache.cpp | 934 int querylen; member 1061 _dnsPacket_init(pack, e->query, e->querylen); in entry_hash() 1067 static int entry_init_key(Entry* e, const void* query, int querylen) { in entry_init_key() argument 1073 e->querylen = querylen; in entry_init_key() 1076 _dnsPacket_init(pack, e->query, e->querylen); in entry_init_key() 1086 size = sizeof(*e) + init->querylen + answerlen; in entry_alloc() 1092 e->querylen = init->querylen; in entry_alloc() 1094 memcpy((char*) e->query, init->query, e->querylen); in entry_alloc() 1096 e->answer = e->query + e->querylen; in entry_alloc() 1107 if (e1->querylen != e2->querylen) { in entry_equals() [all …]
|