Home
last modified time | relevance | path

Searched refs:IPV4_BIT_COUNT (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbitmap_manager.cpp418 int32_t i = static_cast<int32_t>(IPV4_BIT_COUNT - 1); in GetMask()
421 return IPV4_BIT_COUNT - static_cast<uint32_t>(i) - 1; in GetMask()
424 return IPV4_BIT_COUNT; in GetMask()
429 if (start > end || end >= IPV4_BIT_COUNT) { in Rfind()
430 return IPV4_BIT_COUNT; in Rfind()
432 uint32_t startIndex = IPV4_BIT_COUNT - end - 1; in Rfind()
433 uint32_t endIndex = IPV4_BIT_COUNT - start - 1; in Rfind()
436 return IPV4_BIT_COUNT - i - 1; in Rfind()
439 return IPV4_BIT_COUNT; in Rfind()
444 if (start >= IPV4_BIT_COUNT) { in Find()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbitmap_manager.h166 const uint32_t IPV4_BIT_COUNT = 32; member
233 * @return if founded return bit index of ip, otherwise return IPV4_BIT_COUNT
243 * @return if founded return bit index of ip, otherwise return IPV4_BIT_COUNT

Completed in 2 milliseconds