Lines Matching defs:ip_labels
789 int ip_labels;
801 ip_labels = dns_name_countlabels(src_name);
803 ip_labels -= dns_name_countlabels(&rpz->origin);
805 ip_labels -= dns_name_countlabels(&rpz->nsdname);
806 if (ip_labels < 2) {
811 dns_name_getlabelsequence(src_name, 0, ip_labels, &ip_name);
834 if (--ip_labels == 4 && !strchr(cp, 'z')) {
868 ip_labels > 0 && i < DNS_RPZ_CIDR_WORDS * 2;
869 ip_labels--) {
877 } while (ip_labels + i <= 8);