Home
last modified time | relevance | path

Searched refs:nsec_p (Results 1 – 8 of 8) sorted by relevance

/dports/dns/knot-resolver/knot-resolver-5.4.3/lib/cache/
H A Dnsec3.c61 const bool add_wildcard, const struct nsec_p *nsec_p) in key_NSEC3_name() argument
63 bool ok = k && name && nsec_p && nsec_p->raw; in key_NSEC3_name()
65 knot_db_val_t val = key_NSEC3_common(k, k->zname, nsec_p->hash); in key_NSEC3_name()
96 int ret = dnssec_nsec3_hash(&dname, &nsec_p->libknot, &hash); in key_NSEC3_name()
103 int ret = dnssec_nsec3_hash(&dname, &nsec_p->libknot, &hash); in key_NSEC3_name()
133 const knot_db_val_t key, const struct key *k, const struct nsec_p *nsec_p, in find_leq_NSEC3() argument
195 && nsec_p_len == nsec_p_rdlen(nsec_p->raw) in find_leq_NSEC3()
196 && memcmp(nsec_p_raw, nsec_p->raw, nsec_p_len) == 0; in find_leq_NSEC3()
279 const knot_db_val_t key = key_NSEC3_name(k, name, false, &ans->nsec_p); in nsec3_encloser()
291 const char *err = find_leq_NSEC3(cache, qry, key, k, &ans->nsec_p, &val, in nsec3_encloser()
[all …]
H A Dpeek.c30 static int nsec_p_init(struct nsec_p *nsec_p, knot_db_val_t nsec_p_entry, bool with_knot) in nsec_p_init() argument
34 nsec_p->raw = NULL; in nsec_p_init()
35 nsec_p->hash = 0; in nsec_p_init()
39 nsec_p->hash = nsec_p_mkHash(nsec_p->raw); in nsec_p_init()
43 .size = nsec_p_rdlen(nsec_p->raw), in nsec_p_init()
50 static void nsec_p_cleanup(struct nsec_p *nsec_p) in nsec_p_cleanup() argument
52 dnssec_binary_free(&nsec_p->libknot.salt); in nsec_p_cleanup()
54 memset(nsec_p, 0, sizeof(*nsec_p)); in nsec_p_cleanup()
226 (unsigned)ans.nsec_p.hash); in peek_nosync()
230 nsec_p_cleanup(&ans.nsec_p); in peek_nosync()
[all …]
H A Dimpl.h94 static inline nsec_p_hash_t nsec_p_mkHash(const uint8_t *nsec_p) in nsec_p_mkHash() argument
96 kr_require(nsec_p && !(KNOT_NSEC3_FLAG_OPT_OUT & nsec_p[1])); in nsec_p_mkHash()
97 return hash((const char *)nsec_p, nsec_p_rdlen(nsec_p)); in nsec_p_mkHash()
101 struct nsec_p { struct
335 struct nsec_p nsec_p; /**< Don't mix different NSEC* parameters in one answer. */ member
H A Dentry_rr.c78 || (type == KNOT_RRTYPE_NSEC && ans->nsec_p.raw) in entry2answer()
79 || (type == KNOT_RRTYPE_NSEC3 && !ans->nsec_p.raw); in entry2answer()
H A Dapi.c705 const uint8_t *nsec_p = (const uint8_t *)nsec_p_v; in stash_nsec_p() local
706 int data_stride = sizeof(valid_until) + nsec_p_rdlen(nsec_p); in stash_nsec_p()
740 if (nsec_p && memcmp(nsec_p, (uint8_t *)el[i].data + sizeof(uint32_t), in stash_nsec_p()
773 if (nsec_p) { in stash_nsec_p()
774 memcpy((uint8_t *)el[0].data + sizeof(valid_until), nsec_p, in stash_nsec_p()
/dports/multimedia/mplex/mplex-1.1/
H A Dmultplex.c77 unsigned int nsec_p=0; local
338 status_info (nsec_a, ++nsec_v, nsec_p, bytes_output,
371 status_info (++nsec_a, nsec_v, nsec_p, bytes_output,
406 status_info (++nsec_a, nsec_v, nsec_p, bytes_output,
441 status_info (nsec_a, ++nsec_v, nsec_p, bytes_output,
468 status_info (nsec_a, nsec_v, ++nsec_p, bytes_output,
496 status_info (nsec_a, nsec_v, nsec_p, bytes_output,
/dports/multimedia/tcmplex-panteltje/tcmplex-panteltje-0.4.7/
H A Dmultplex.c237 unsigned int nsec_p=0; in outputstream() local
1483 nsec_v, nsec_p, outputFile, &video_buffer, in outputstream()
1653 nsec_p = 0; in outputstream()
2137 nsec_v, ++nsec_p, bytes_output, in outputstream()
2188 nsec_v, ++nsec_p, bytes_output, in outputstream()
2218 ++nsec_v, nsec_p, bytes_output, in outputstream()
2254 nsec_v, nsec_p, bytes_output, in outputstream()
2287 nsec_v, nsec_p, bytes_output, in outputstream()
2319 nsec_v, nsec_p, bytes_output, in outputstream()
2350 nsec_v, nsec_p, bytes_output, in outputstream()
[all …]
/dports/net/libmdf/libmdf-1.0.21/src/
H A Ddecode.c1053 uint8_t * const nsec_p = (uint8_t *) &nsec; in mdf_get_next_field() local
1055 nsec_p[3] = handle->data[handle->fpos++]; in mdf_get_next_field()
1056 nsec_p[4] = handle->data[handle->fpos++]; in mdf_get_next_field()
1057 nsec_p[5] = handle->data[handle->fpos++]; in mdf_get_next_field()
1058 nsec_p[2] = handle->data[handle->fpos++] & 127; in mdf_get_next_field()
1059 nsec_p[6] = handle->data[handle->fpos++]; in mdf_get_next_field()
1060 nsec_p[7] = handle->data[handle->fpos++]; in mdf_get_next_field()