Lines Matching defs:dacl
75 dns_acl_t *dacl, *next;
84 for (dacl = ISC_LIST_HEAD(actx->named_acl_cache);
85 dacl != NULL;
86 dacl = next)
88 next = ISC_LIST_NEXT(dacl, nextincache);
89 ISC_LIST_UNLINK(actx->named_acl_cache, dacl,
91 dns_acl_detach(&dacl);
134 dns_acl_t *dacl;
139 for (dacl = ISC_LIST_HEAD(ctx->named_acl_cache);
140 dacl != NULL;
141 dacl = ISC_LIST_NEXT(dacl, nextincache))
143 if (strcasecmp(aclname, dacl->name) == 0) {
144 if (ISC_MAGIC_VALID(dacl, LOOP_MAGIC)) {
149 dns_acl_attach(dacl, target);
169 nest_level, &dacl);
175 dacl->name = isc_mem_strdup(dacl->mctx, aclname);
176 if (dacl->name == NULL)
178 ISC_LIST_APPEND(ctx->named_acl_cache, dacl, nextincache);
179 dns_acl_attach(dacl, target);
627 dns_acl_t *dacl = NULL, *inneracl = NULL;
646 dns_acl_attach(*target, &dacl);
665 result = dns_acl_create(mctx, nelem, &dacl);
670 de = dacl->elements;
677 INSIST(dacl->length <= dacl->alloc);
685 dacl->has_negatives = ISC_TRUE;
695 iptab = dacl->iptable;
744 INSIST(dacl->length < dacl->alloc);
766 INSIST(dacl->length < dacl->alloc);
776 INSIST(dacl->length + inneracl->length
777 <= dacl->alloc);
778 dns_acl_merge(dacl, inneracl,
782 INSIST(dacl->length <= dacl->alloc);
787 INSIST(dacl->length < dacl->alloc);
799 INSIST(dacl->length < dacl->alloc);
817 INSIST(dacl->length < dacl->alloc);
826 * dacl->has_negatives and
836 dacl->has_negatives = !neg;
839 INSIST(dacl->length < dacl->alloc);
845 INSIST(dacl->length < dacl->alloc);
849 INSIST(dacl->length < dacl->alloc);
884 dacl->node_count++;
885 de->node_num = dacl->node_count;
887 dacl->length++;
889 INSIST(dacl->length <= dacl->alloc);
892 dns_acl_attach(dacl, target);
898 dns_acl_detach(&dacl);