/bind-9.11.3/lib/dns/ |
H A D | ipkeylist.c | 27 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 D | name.c | 130 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 D | compress.c | 130 (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 D | nsec.c | 302 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 D | catz.c | 885 if (name->labels == 0) 888 dns_name_getlabel(name, name->labels-1, &mhash); 890 if (name->labels == 1) 1057 if (name->labels > 0) { 1120 if (ipkl->labels[i] != NULL && 1121 !dns_name_compare(name, ipkl->labels[i])) 1138 ipkl->labels[i] = isc_mem_get(mctx, sizeof(dns_name_t)); 1139 if (ipkl->labels[i] == NULL) { 1147 dns_name_init(ipkl->labels[i], NULL); 1148 result = dns_name_dup(name, mctx, ipkl->labels[ [all...] |
H A D | validator.c | 1533 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 D | dnssec.c | 239 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 D | gssapictx.c | 125 unsigned int labels; local 127 labels = dns_name_countlabels(name); 128 dns_name_getlabelsequence(name, 0, labels - 1, &tname);
|
H A D | rbt.c | 278 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 D | nsec3.c | 528 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 D | rrl.c | 395 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 D | sdb.c | 731 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);
|
/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | rrsig_46.h | 21 isc_uint8_t labels; member in struct:dns_rdata_rrsig
|
H A D | sig_24.h | 22 isc_uint8_t labels; member in struct:dns_rdata_sig_t
|
H A D | sig_24.c | 248 * labels: 1 288 * labels: 1 380 RETERR(uint8_tobuffer(sig->labels, target)); 444 sig->labels = uint8_fromregion(&sr);
|
H A D | rrsig_46.c | 274 * labels: 1 314 * labels: 1 379 RETERR(uint8_tobuffer(sig->labels, target)); 443 sig->labels = uint8_fromregion(&sr);
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | ipkeylist.h | 23 dns_name_t **labels; member in struct:dns_ipkeylist
|
H A D | name.h | 20 * 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 D | compress.h | 51 isc_uint8_t labels; member in struct:dns_compressnode
|
H A D | validator.h | 135 unsigned int labels; member in struct:dns_validator
|
/bind-9.11.3/bin/tests/system/chain/ans4/ |
H A D | ans.py | 111 labels = qname.lower().split('.') 123 name = labels.pop(0) 124 domain = '.'.join(labels) 125 sld = labels.pop(0) 126 tld = '.'.join(labels)
|
/bind-9.11.3/bin/tests/ |
H A D | name_test.c | 78 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 D | res.c | 190 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/named/ |
H A D | query.c | 1233 /* 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...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | name_test.c | 111 ATF_REQUIRE_EQ(nlabels, name1->labels);
|