Lines Matching defs:bits
54 /* Returns: number of consecutive bits starting at "mask". */
56 /* Count the number of bits set in the address section of addrfamily_t and */
95 /* "mask" will contain a consecutive string of bits set. Masks with gaps in */
347 u_32_t bits;
369 bits = (ntohl(*data) ^ ntohl(*key));
370 for (; bits != 0; nlen++) {
371 if ((bits & 0x80000000) != 0)
373 bits <<= 1;
1065 fill6bits(bits, msk)
1066 int bits;
1069 if (bits == 0) {
1082 if (bits == 128)
1084 if (bits > 96) {
1085 msk[3] = htonl(msk[3] << (128 - bits));
1086 } else if (bits > 64) {
1088 msk[2] = htonl(msk[2] << (96 - bits));
1089 } else if (bits > 32) {
1092 msk[1] = htonl(msk[1] << (64 - bits));
1097 msk[0] = htonl(msk[0] << (32 - bits));