Lines Matching defs:bits
1813 * Determine number of leading bits that are common between two addresses.
1814 * Only consider bits which fall within the prefix length plen.
1819 uint_t bits;
1827 bits = i * 32;
1829 if (bits == IPV6_ABITS)
1833 * Find number of leading common bits in the word which might
1834 * have some common bits by searching for the first one from the left
1841 bits += 16;
1845 bits += 8;
1849 bits += 4;
1853 bits += 2;
1855 bits++;
1862 return (bits);
1994 * Prefer the address that has the most leading bits in common with its