Lines Matching refs:query
1055 const uint8_t* query; member
1195 _dnsPacket_init(pack, e->query, e->querylen); in entry_hash()
1202 entry_init_key( Entry* e, const void* query, int querylen ) in entry_init_key() argument
1208 e->query = query; in entry_init_key()
1212 _dnsPacket_init(pack, query, querylen); in entry_init_key()
1230 e->query = (const uint8_t*)(e+1); in entry_alloc()
1233 memcpy( (char*)e->query, init->query, e->querylen ); in entry_alloc()
1235 e->answer = e->query + e->querylen; in entry_alloc()
1251 _dnsPacket_init(pack1, e1->query, e1->querylen); in entry_equals()
1252 _dnsPacket_init(pack2, e2->query, e2->querylen); in entry_equals()
1405 const void* query, in _resolv_cache_query_failed() argument
1411 if (!entry_init_key(key, query, querylen)) in _resolv_cache_query_failed()
1493 _dump_query( const uint8_t* query, int querylen ) in _dump_query() argument
1498 _dnsPacket_init(pack, query, querylen); in _dump_query()
1646 XLOG_QUERY(oldest->query, oldest->querylen); in _cache_remove_oldest()
1675 const void* query, in _resolv_cache_lookup() argument
1690 XLOG_QUERY(query, querylen); in _resolv_cache_lookup()
1693 if (!entry_init_key(key, query, querylen)) { in _resolv_cache_lookup()
1733 XLOG_QUERY(e->query, e->querylen); in _resolv_cache_lookup()
1765 const void* query, in _resolv_cache_add() argument
1778 if (!entry_init_key( key, query, querylen )) { in _resolv_cache_add()
1791 XLOG_QUERY(query,querylen); in _resolv_cache_add()