• Home
  • Raw
  • Download

Lines Matching refs:querylen

1056     int              querylen;  member
1191 _dnsPacket_init(pack, e->query, e->querylen); in entry_hash()
1198 entry_init_key( Entry* e, const void* query, int querylen ) in entry_init_key() argument
1205 e->querylen = querylen; in entry_init_key()
1208 _dnsPacket_init(pack, query, querylen); in entry_init_key()
1220 size = sizeof(*e) + init->querylen + answerlen; in entry_alloc()
1227 e->querylen = init->querylen; in entry_alloc()
1229 memcpy( (char*)e->query, init->query, e->querylen ); in entry_alloc()
1231 e->answer = e->query + e->querylen; in entry_alloc()
1244 if (e1->querylen != e2->querylen) { in entry_equals()
1247 _dnsPacket_init(pack1, e1->query, e1->querylen); in entry_equals()
1248 _dnsPacket_init(pack2, e2->query, e2->querylen); in entry_equals()
1402 int querylen) in _resolv_cache_query_failed() argument
1407 if (!entry_init_key(key, query, querylen)) in _resolv_cache_query_failed()
1489 _dump_query( const uint8_t* query, int querylen ) in _dump_query() argument
1494 _dnsPacket_init(pack, query, querylen); in _dump_query()
1642 XLOG_QUERY(oldest->query, oldest->querylen); in _cache_remove_oldest()
1672 int querylen, in _resolv_cache_lookup() argument
1686 XLOG_QUERY(query, querylen); in _resolv_cache_lookup()
1689 if (!entry_init_key(key, query, querylen)) { in _resolv_cache_lookup()
1729 XLOG_QUERY(e->query, e->querylen); in _resolv_cache_lookup()
1762 int querylen, in _resolv_cache_add() argument
1774 if (!entry_init_key( key, query, querylen )) { in _resolv_cache_add()
1787 XLOG_QUERY(query,querylen); in _resolv_cache_add()