Searched refs:netmaskInt (Results 1 – 1 of 1) sorted by relevance
277 int netmaskInt = ByteBuffer.wrap(bytes).getInt(); in netmaskToPrefixLen() local281 while ((netmaskInt & leftmostBitMask) == leftmostBitMask) { in netmaskToPrefixLen()283 netmaskInt <<= 1; in netmaskToPrefixLen()286 if (netmaskInt != 0) { in netmaskToPrefixLen()298 int netmaskInt = (int) (((long) 0xffffffff) << (IPV4_PREFIX_LEN_MAX - prefixLen)); in prefixToNetmaskBytes() local302 buffer.putInt(netmaskInt); in prefixToNetmaskBytes()