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

/bind-9.11.3/lib/dns/
H A Drpz.c81 #define DNS_RPZ_CIDR_WORD_BITS ((int)sizeof(dns_rpz_cidr_word_t)*8) macro
83 #define DNS_RPZ_CIDR_WORDS (128/DNS_RPZ_CIDR_WORD_BITS)
94 << (DNS_RPZ_CIDR_WORD_BITS - (b))))
99 #define DNS_RPZ_IP_BIT(ip, n) (1 & ((ip)->w[(n)/DNS_RPZ_CIDR_WORD_BITS] >> \
100 (DNS_RPZ_CIDR_WORD_BITS \
101 - 1 - ((n) % DNS_RPZ_CIDR_WORD_BITS))))
625 words = prefix / DNS_RPZ_CIDR_WORD_BITS;
626 wlen = prefix % DNS_RPZ_CIDR_WORD_BITS;
910 i = prefix % DNS_RPZ_CIDR_WORD_BITS;
911 aword = tgt_ip->w[prefix / DNS_RPZ_CIDR_WORD_BITS];
[all...]

Completed in 16 milliseconds