Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java137 public TestDhcpPacket setNetmaskBytes(byte[] netmaskBytes) { in setNetmaskBytes() argument
138 mNetmaskBytes = netmaskBytes; in setNetmaskBytes()
272 byte[] netmaskBytes) throws Exception { in checkIpAddress() argument
273 checkIpAddress(expected, DHCP_MESSAGE_TYPE_OFFER, clientIp, yourIp, netmaskBytes); in checkIpAddress()
274 checkIpAddress(expected, DHCP_MESSAGE_TYPE_ACK, clientIp, yourIp, netmaskBytes); in checkIpAddress()
279 byte[] netmaskBytes) throws Exception { in checkIpAddress() argument
281 .setNetmaskBytes(netmaskBytes) in checkIpAddress()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java727 byte[] netmaskBytes = new byte[IPV4_ADDRESS_LEN]; in ConfigAttributeIpv4Subnet()
728 inputBuffer.get(netmaskBytes); in ConfigAttributeIpv4Subnet()
731 InetAddress netmask = InetAddress.getByAddress(netmaskBytes); in ConfigAttributeIpv4Subnet()
753 byte[] netmaskBytes = prefixToNetmaskBytes(linkAddress.getPrefixLength()); in encodeValueToByteBuffer()
754 buffer.put(linkAddress.getAddress().getAddress()).put(netmaskBytes); in encodeValueToByteBuffer()