Searched refs:IPV4_ADDRESS_LEN (Results 1 – 1 of 1) sorted by relevance
176 protected static final int IPV4_ADDRESS_LEN = 4; field in IkeConfigPayload.ConfigAttribute299 byte[] netmask = new byte[IPV4_ADDRESS_LEN]; in prefixToNetmaskBytes()301 ByteBuffer buffer = ByteBuffer.allocate(IPV4_ADDRESS_LEN); in prefixToNetmaskBytes()387 return address == null ? 0 : IPV4_ADDRESS_LEN; in getValueLength()392 return length == IPV4_ADDRESS_LEN || length == VALUE_LEN_NOT_INCLUDED; in isLengthValid()444 return address == null ? 0 : IPV4_ADDRESS_LEN; in getValueLength()449 return length == IPV4_ADDRESS_LEN || length == VALUE_LEN_NOT_INCLUDED; in isLengthValid()590 private static final int VALUE_LEN = 2 * IPV4_ADDRESS_LEN;627 byte[] ipBytes = new byte[IPV4_ADDRESS_LEN]; in ConfigAttributeIpv4Subnet()629 byte[] netmaskBytes = new byte[IPV4_ADDRESS_LEN]; in ConfigAttributeIpv4Subnet()