• Home
  • Raw
  • Download

Lines Matching refs:query

933     const uint8_t* query;  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
1072 e->query = (const uint8_t*) query; in entry_init_key()
1076 _dnsPacket_init(pack, e->query, e->querylen); in entry_init_key()
1091 e->query = (const uint8_t*) (e + 1); 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()
1110 _dnsPacket_init(pack1, e1->query, e1->querylen); in entry_equals()
1111 _dnsPacket_init(pack2, e2->query, e2->querylen); in entry_equals()
1229 void _resolv_cache_query_failed(unsigned netid, const void* query, int querylen, uint32_t flags) { in _resolv_cache_query_failed() argument
1237 if (!entry_init_key(key, query, querylen)) return; in _resolv_cache_query_failed()
1289 static void dump_query(const uint8_t* query, int querylen) { in dump_query() argument
1295 _dnsPacket_init(pack, query, querylen); in dump_query()
1382 dump_query(oldest->query, oldest->querylen); in _cache_remove_oldest()
1411 ResolvCacheStatus _resolv_cache_lookup(unsigned netid, const void* query, int querylen, in _resolv_cache_lookup() argument
1428 dump_query((u_char*) query, querylen); in _resolv_cache_lookup()
1431 if (!entry_init_key(&key, query, querylen)) { in _resolv_cache_lookup()
1492 dump_query(e->query, e->querylen); in _resolv_cache_lookup()
1516 void _resolv_cache_add(unsigned netid, const void* query, int querylen, const void* answer, in _resolv_cache_add() argument
1526 if (!entry_init_key(key, query, querylen)) { in _resolv_cache_add()
1539 dump_query((u_char*)query, querylen); in _resolv_cache_add()