Home
last modified time | relevance | path

Searched refs:KEYWIDTH (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/unbound/edns-subnet/
H A Daddrtree.c67 n = (size_t)((addrlen / KEYWIDTH) + ((addrlen % KEYWIDTH != 0)?1:0)); in edge_create()
308 return (int)(addr[n/KEYWIDTH]>>((KEYWIDTH-1)-(n%KEYWIDTH))) & 1; in getbit()
318 addrkey_t c = key1[n/KEYWIDTH] ^ key2[n/KEYWIDTH]; in cmpbit()
319 return (int)(c >> ((KEYWIDTH-1)-(n%KEYWIDTH))) & 1; in cmpbit()
H A Daddrtree.h63 #define KEYWIDTH 8 macro