Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netmanager_base/services/common/src/
H A Droute_utils.cpp31 static constexpr int32_t IP_PER_UINT_SIZE = 8; variable
188 netScope = prefixLen / IP_PER_UINT_SIZE; in MaskAddress()
189 hostScope = prefixLen % IP_PER_UINT_SIZE; in MaskAddress()
190 mask = (uint8_t)(IP_PER_UINT_MASK << (IP_PER_UINT_SIZE - hostScope)); in MaskAddress()