Searched refs:kBitsPerByte (Results 1 – 1 of 1) sorted by relevance
37 const size_t kBitsPerByte = 8; variable115 return GetAddressLength(family) * kBitsPerByte; in GetMaxPrefixLength()173 while (bits > kBitsPerByte) { in GetAddressMaskFromPrefix()174 bits -= kBitsPerByte; in GetAddressMaskFromPrefix()181 *address_ptr = ~((1 << (kBitsPerByte - bits)) - 1); in GetAddressMaskFromPrefix()