Lines Matching refs:state

292 static void dns_resource_key_hash_func(const DnsResourceKey *k, struct siphash *state) {  in dns_resource_key_hash_func()  argument
295 dns_name_hash_func(dns_resource_key_name(k), state); in dns_resource_key_hash_func()
296 siphash24_compress(&k->class, sizeof(k->class), state); in dns_resource_key_hash_func()
297 siphash24_compress(&k->type, sizeof(k->type), state); in dns_resource_key_hash_func()
1329 void dns_resource_record_hash_func(const DnsResourceRecord *rr, struct siphash *state) { in dns_resource_record_hash_func() argument
1332 dns_resource_key_hash_func(rr->key, state); in dns_resource_record_hash_func()
1337 siphash24_compress(&rr->srv.priority, sizeof(rr->srv.priority), state); in dns_resource_record_hash_func()
1338 siphash24_compress(&rr->srv.weight, sizeof(rr->srv.weight), state); in dns_resource_record_hash_func()
1339 siphash24_compress(&rr->srv.port, sizeof(rr->srv.port), state); in dns_resource_record_hash_func()
1340 dns_name_hash_func(rr->srv.name, state); in dns_resource_record_hash_func()
1347 dns_name_hash_func(rr->ptr.name, state); in dns_resource_record_hash_func()
1351 string_hash_func(rr->hinfo.cpu, state); in dns_resource_record_hash_func()
1352 string_hash_func(rr->hinfo.os, state); in dns_resource_record_hash_func()
1358 siphash24_compress_safe(j->data, j->length, state); in dns_resource_record_hash_func()
1362 siphash24_compress_byte(0, state); in dns_resource_record_hash_func()
1368 siphash24_compress(&rr->a.in_addr, sizeof(rr->a.in_addr), state); in dns_resource_record_hash_func()
1372 siphash24_compress(&rr->aaaa.in6_addr, sizeof(rr->aaaa.in6_addr), state); in dns_resource_record_hash_func()
1376 dns_name_hash_func(rr->soa.mname, state); in dns_resource_record_hash_func()
1377 dns_name_hash_func(rr->soa.rname, state); in dns_resource_record_hash_func()
1378 siphash24_compress(&rr->soa.serial, sizeof(rr->soa.serial), state); in dns_resource_record_hash_func()
1379 siphash24_compress(&rr->soa.refresh, sizeof(rr->soa.refresh), state); in dns_resource_record_hash_func()
1380 siphash24_compress(&rr->soa.retry, sizeof(rr->soa.retry), state); in dns_resource_record_hash_func()
1381 siphash24_compress(&rr->soa.expire, sizeof(rr->soa.expire), state); in dns_resource_record_hash_func()
1382 siphash24_compress(&rr->soa.minimum, sizeof(rr->soa.minimum), state); in dns_resource_record_hash_func()
1386 siphash24_compress(&rr->mx.priority, sizeof(rr->mx.priority), state); in dns_resource_record_hash_func()
1387 dns_name_hash_func(rr->mx.exchange, state); in dns_resource_record_hash_func()
1391 siphash24_compress(&rr->loc.version, sizeof(rr->loc.version), state); in dns_resource_record_hash_func()
1392 siphash24_compress(&rr->loc.size, sizeof(rr->loc.size), state); in dns_resource_record_hash_func()
1393 siphash24_compress(&rr->loc.horiz_pre, sizeof(rr->loc.horiz_pre), state); in dns_resource_record_hash_func()
1394 siphash24_compress(&rr->loc.vert_pre, sizeof(rr->loc.vert_pre), state); in dns_resource_record_hash_func()
1395 siphash24_compress(&rr->loc.latitude, sizeof(rr->loc.latitude), state); in dns_resource_record_hash_func()
1396 siphash24_compress(&rr->loc.longitude, sizeof(rr->loc.longitude), state); in dns_resource_record_hash_func()
1397 siphash24_compress(&rr->loc.altitude, sizeof(rr->loc.altitude), state); in dns_resource_record_hash_func()
1401 siphash24_compress(&rr->sshfp.algorithm, sizeof(rr->sshfp.algorithm), state); in dns_resource_record_hash_func()
1402 siphash24_compress(&rr->sshfp.fptype, sizeof(rr->sshfp.fptype), state); in dns_resource_record_hash_func()
1403 siphash24_compress_safe(rr->sshfp.fingerprint, rr->sshfp.fingerprint_size, state); in dns_resource_record_hash_func()
1407 siphash24_compress(&rr->dnskey.flags, sizeof(rr->dnskey.flags), state); in dns_resource_record_hash_func()
1408 siphash24_compress(&rr->dnskey.protocol, sizeof(rr->dnskey.protocol), state); in dns_resource_record_hash_func()
1409 siphash24_compress(&rr->dnskey.algorithm, sizeof(rr->dnskey.algorithm), state); in dns_resource_record_hash_func()
1410 siphash24_compress_safe(rr->dnskey.key, rr->dnskey.key_size, state); in dns_resource_record_hash_func()
1414 siphash24_compress(&rr->rrsig.type_covered, sizeof(rr->rrsig.type_covered), state); in dns_resource_record_hash_func()
1415 siphash24_compress(&rr->rrsig.algorithm, sizeof(rr->rrsig.algorithm), state); in dns_resource_record_hash_func()
1416 siphash24_compress(&rr->rrsig.labels, sizeof(rr->rrsig.labels), state); in dns_resource_record_hash_func()
1417 siphash24_compress(&rr->rrsig.original_ttl, sizeof(rr->rrsig.original_ttl), state); in dns_resource_record_hash_func()
1418 siphash24_compress(&rr->rrsig.expiration, sizeof(rr->rrsig.expiration), state); in dns_resource_record_hash_func()
1419 siphash24_compress(&rr->rrsig.inception, sizeof(rr->rrsig.inception), state); in dns_resource_record_hash_func()
1420 siphash24_compress(&rr->rrsig.key_tag, sizeof(rr->rrsig.key_tag), state); in dns_resource_record_hash_func()
1421 dns_name_hash_func(rr->rrsig.signer, state); in dns_resource_record_hash_func()
1422 siphash24_compress_safe(rr->rrsig.signature, rr->rrsig.signature_size, state); in dns_resource_record_hash_func()
1426 dns_name_hash_func(rr->nsec.next_domain_name, state); in dns_resource_record_hash_func()
1433 siphash24_compress(&rr->ds.key_tag, sizeof(rr->ds.key_tag), state); in dns_resource_record_hash_func()
1434 siphash24_compress(&rr->ds.algorithm, sizeof(rr->ds.algorithm), state); in dns_resource_record_hash_func()
1435 siphash24_compress(&rr->ds.digest_type, sizeof(rr->ds.digest_type), state); in dns_resource_record_hash_func()
1436 siphash24_compress_safe(rr->ds.digest, rr->ds.digest_size, state); in dns_resource_record_hash_func()
1440 siphash24_compress(&rr->nsec3.algorithm, sizeof(rr->nsec3.algorithm), state); in dns_resource_record_hash_func()
1441 siphash24_compress(&rr->nsec3.flags, sizeof(rr->nsec3.flags), state); in dns_resource_record_hash_func()
1442 siphash24_compress(&rr->nsec3.iterations, sizeof(rr->nsec3.iterations), state); in dns_resource_record_hash_func()
1443 siphash24_compress_safe(rr->nsec3.salt, rr->nsec3.salt_size, state); in dns_resource_record_hash_func()
1444 … siphash24_compress_safe(rr->nsec3.next_hashed_name, rr->nsec3.next_hashed_name_size, state); in dns_resource_record_hash_func()
1449 siphash24_compress(&rr->tlsa.cert_usage, sizeof(rr->tlsa.cert_usage), state); in dns_resource_record_hash_func()
1450 siphash24_compress(&rr->tlsa.selector, sizeof(rr->tlsa.selector), state); in dns_resource_record_hash_func()
1451 siphash24_compress(&rr->tlsa.matching_type, sizeof(rr->tlsa.matching_type), state); in dns_resource_record_hash_func()
1452 siphash24_compress_safe(rr->tlsa.data, rr->tlsa.data_size, state); in dns_resource_record_hash_func()
1456 siphash24_compress(&rr->caa.flags, sizeof(rr->caa.flags), state); in dns_resource_record_hash_func()
1457 string_hash_func(rr->caa.tag, state); in dns_resource_record_hash_func()
1458 siphash24_compress_safe(rr->caa.value, rr->caa.value_size, state); in dns_resource_record_hash_func()
1463 siphash24_compress_safe(rr->generic.data, rr->generic.data_size, state); in dns_resource_record_hash_func()