Lines Matching defs:bits
56 /* Returns: number of consecutive bits starting at "mask". */
58 /* 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 */
332 u_32_t bits;
354 bits = (ntohl(*data) ^ ntohl(*key));
355 for (; bits != 0; nlen++) {
356 if ((bits & 0x80000000) != 0)
358 bits <<= 1;
1038 fill6bits(bits, msk)
1039 int bits;
1042 if (bits == 0) {
1055 if (bits == 128)
1057 if (bits > 96) {
1058 msk[3] = htonl(msk[3] << (128 - bits));
1059 } else if (bits > 64) {
1061 msk[2] = htonl(msk[2] << (96 - bits));
1062 } else if (bits > 32) {
1065 msk[1] = htonl(msk[1] << (64 - bits));
1070 msk[0] = htonl(msk[0] << (32 - bits));