Searched refs:MIN_IPV4_ITEM (Results 1 – 2 of 2) sorted by relevance
39 …ipInfo.type = (ipSubData.size() > MIN_IPV4_ITEM) ? INetAddr::IpType::IPV6 : INetAddr::IpType::IPV4; in ParseIpAddr()40 ipInfo.prefixLen = (ipSubData.size() > MIN_IPV4_ITEM) ? IPV6_BIT : IPV4_BIT; in ParseIpAddr()74 } else if (ipSubData.size() > MIN_IPV4_ITEM) { in ParseDotIpData()77 for (int32_t i = 1; i < MIN_IPV4_ITEM; ++i) { in ParseDotIpData()80 ipInfo.netMask = ipSubData[MIN_IPV4_ITEM]; in ParseDotIpData()81 for (size_t j = MIN_IPV4_ITEM; j < ipSubData.size(); ++j) { in ParseDotIpData()84 prefixLen = GetPrefixLen(ipSubData, MIN_IPV4_ITEM); in ParseDotIpData()
150 static const int32_t MIN_IPV4_ITEM = 4; variable