Home
last modified time | relevance | path

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

/system/connectivity/shill/net/
Dip_address.cc37 const size_t kBitsPerByte = 8; variable
115 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()