Searched defs:labels (Results 1 - 25 of 25) sorted by relevance

/bind-9.11.3/lib/dns/include/dns/
H A Dipkeylist.h23 dns_name_t **labels; member in struct:dns_ipkeylist
H A Dcompress.h51 isc_uint8_t labels; member in struct:dns_compressnode
H A Dname.h20 * Provides facilities for manipulating DNS names and labels, including
87 ***** or more DNS wire format labels of type 00 (ordinary).
105 unsigned int labels; member in struct:dns_name
427 *\li *nlabelsp is the number of common significant labels.
551 * \li name matches the wildcard specified in wname if all labels
553 * of labels at the end of name.
585 * How many labels does 'name' have?
597 * \li The number of labels in 'name'.
622 * Make 'target' refer to the 'n' labels including and following 'first'
687 * labels
[all...]
H A Dvalidator.h135 unsigned int labels; member in struct:dns_validator
/bind-9.11.3/lib/dns/
H A Dipkeylist.c27 ipkl->labels = NULL;
59 if (ipkl->labels != NULL) {
61 if (ipkl->labels[i] == NULL)
63 if (dns_name_dynamic(ipkl->labels[i]))
64 dns_name_free(ipkl->labels[i], mctx);
65 isc_mem_put(mctx, ipkl->labels[i], sizeof(dns_name_t));
67 isc_mem_put(mctx, ipkl->labels,
119 if (src->labels != NULL) {
121 if (src->labels[i] != NULL) {
122 dst->labels[
169 dns_name_t **labels = NULL; local
[all...]
H A Dnsec.c302 unsigned int olabels, nlabels, labels; local
420 labels = dns_name_countlabels(nsecname);
421 dns_name_getlabelsequence(nsecname, labels - olabels,
424 labels = dns_name_countlabels(&nsec.next);
425 dns_name_getlabelsequence(&nsec.next, labels - nlabels,
H A Dcompress.c130 (name)->labels = (node)->labels; \
146 unsigned int labels, hash, n; local
160 labels = dns_name_countlabels(name);
161 INSIST(labels > 0);
166 for (n = 0; n < labels - 1; n++) {
167 dns_name_getlabelsequence(name, n, labels - n, &tname);
283 node->labels = (isc_uint8_t)dns_name_countlabels(&tname);
H A Dgssapictx.c125 unsigned int labels; local
127 labels = dns_name_countlabels(name);
128 dns_name_getlabelsequence(name, 0, labels - 1, &tname);
H A Drrl.c395 int labels, i; local
412 if (qname != NULL && qname->labels != 0) {
417 (labels = dns_name_countlabels(qname)) > 1)
420 dns_name_getlabelsequence(qname, 1, labels-1, &base);
H A Dnsec3.c528 unsigned int labels; local
725 labels = dns_name_countlabels(&empty) - 1;
726 if (labels <= dns_name_countlabels(origin))
728 dns_name_getlabelsequence(&empty, 1, labels, &empty);
1336 unsigned int labels; local
1462 labels = dns_name_countlabels(&empty) - 1;
1463 if (labels <= dns_name_countlabels(origin))
1465 dns_name_getlabelsequence(&empty, 1, labels, &empty);
1894 * NSEC3 records must have two or more labels to be valid.
H A Dname.c130 name->labels = 0; \
209 name->labels = 0;
224 if (name->length > 255U || name->labels > 127U)
250 if (nlabels != name->labels || offset != name->length)
313 REQUIRE(name->labels > 0);
363 REQUIRE(name->labels > 0);
410 REQUIRE(name->labels > 0);
432 REQUIRE(name->labels > 0);
443 * Check all but the last of the remaining labels.
445 while (label + 1 < name->labels) {
879 unsigned int nlabels, labels; local
1092 unsigned int tlen, nrem, nused, digits = 0, labels, tused; local
1400 unsigned int labels; local
1582 unsigned int labels; local
1686 unsigned int nlen, count, labels; local
1803 unsigned int nused, labels, n, nmax; local
2062 unsigned int nrem, labels, prefix_length, length; local
[all...]
H A Dsdb.c731 unsigned int labels; local
746 labels = dns_name_countlabels(name) -
749 dns_name_getlabelsequence(name, 0, labels, &relname);
756 labels = dns_name_countlabels(name) -
759 dns_name_getlabelsequence(name, 0, labels, &relname);
H A Dsdlz.c559 unsigned int labels; local
561 labels = dns_name_countlabels(name) -
564 dns_name_getlabelsequence(name, 0, labels, &relname);
H A Dvalidator.c1533 unsigned int labels; local
1541 labels = dns_name_countlabels(closest) - 1;
1542 dns_name_getlabelsequence(closest, 1, labels, closest);
3134 unsigned int labels; local
3156 labels = dns_name_countlabels(dlvsep);
3157 if (labels == 0)
3159 dns_name_getlabelsequence(dlvsep, 1, labels - 1,
3164 labels = dns_name_countlabels(dlvsep);
3165 dns_name_getlabelsequence(dlvsep, 1, labels - 1, dlvsep);
3170 labels
3289 unsigned int labels; local
[all...]
H A Ddnssec.c239 sig.labels = dns_name_countlabels(name) - 1;
241 sig.labels--;
386 int labels = 0; local
480 labels = dns_name_countlabels(name) - 1;
483 if (labels - sig.labels > 0)
484 dns_name_split(dns_fixedname_name(&fnewname), sig.labels + 1,
493 if (labels - sig.labels > 0) {
579 if (ret == ISC_R_SUCCESS && labels
[all...]
H A Drbt.c278 name->labels = OFFSETLEN(node);
288 name->labels = OFFSETLEN(node);
1178 * 2. Our RBT nodes contain not only single labels but label
1269 * All of the existing labels are in common,
1271 * Whack off the common labels for the
1294 * The number of labels in common is fewer
1295 * than the number of labels at the current
1363 OFFSETLEN(current) = prefix->labels;
1537 * the lack of bitstring labels.
1674 * All of the labels hav
2235 unsigned int labels; local
2302 memmove(OFFSETS(node), name->offsets, labels); local
[all...]
H A Dresolver.c636 unsigned int labels; local
645 &order, &labels);
2064 unsigned int labels; local
2072 labels = dns_name_countlabels(name);
2073 if (dns_rdatatype_atparent(type) && labels > 1) {
2075 dns_name_getlabelsequence(name, 1, labels - 1, &suffix);
3265 unsigned int labels; local
3276 labels = dns_name_countlabels(name);
3277 dns_name_getlabelsequence(name, 1, labels - 1, &suffix);
4346 unsigned int labels; local
4562 unsigned int labels; local
5224 unsigned int labels; local
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Drrsig_46.h21 isc_uint8_t labels; member in struct:dns_rdata_rrsig
H A Dsig_24.h22 isc_uint8_t labels; member in struct:dns_rdata_sig_t
/bind-9.11.3/bin/tests/
H A Dname_test.c78 unsigned int labels, split_label = 0; local
204 printf("%u labels, %u bytes.\n",
235 printf("%u labels, "
276 printf("%u labels, %u bytes.\n",
320 labels = dns_name_countlabels(name);
321 if (want_split && split_label < labels) {
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dres.c190 labellist_t labels = NULL, l; local
307 * Split the name into a list of labels.
309 r = labellist_create(buffer, &labels);
316 for (l = labellist_tail(labels); l != NULL;
404 * Concat a list of labels to a name.
416 r = labellist_getnamelist(labels, buffer, buffer_length);
444 if (labels != NULL)
445 labellist_destroy(labels);
456 labellist_t labels = NULL, l; local
574 * Split the name into a list of labels
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.c1430 unsigned int labels, nlabels, i; local
1434 reln = dns_name_fullcompare(prevname, name, &order, &labels);
1443 for (i = labels + 1; i < nlabels; i++) {
H A Ddnssec-signzone.c2302 * it here. Empty labels on nextname are within the span.
2837 unsigned int labels; local
2842 labels = dns_name_countlabels(gorigin);
2843 dns_name_getlabelsequence(gorigin, 0, labels - 1, &tname);
/bind-9.11.3/bin/nsupdate/
H A Dnsupdate.c3195 unsigned int labels = dns_name_countlabels(name); local
3196 dns_name_getlabelsequence(name, 1, labels - 1, name);
/bind-9.11.3/bin/named/
H A Dquery.c1233 /* Calculate how many labels are in name. */
1241 /* See how many labels are in the zone's name. */
1246 * If # zone labels < # name labels, try to find an even better match
3579 unsigned int olabels, nlabels, labels; local
3675 labels = dns_name_countlabels(cname) - 1;
3679 if (labels == 0U)
3681 dns_name_split(cname, labels, NULL, cname);
3723 labels = dns_name_countlabels(cname) + 1;
3724 if (dns_name_countlabels(name) == labels)
3840 unsigned int labels; local
4510 unsigned int first, labels; local
5728 unsigned int labels; local
6074 unsigned int skip = 0, labels; local
6448 unsigned int labels = dns_name_countlabels(name) - 1; local
[all...]

Completed in 121 milliseconds