Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java914 int ipVersion = (ipTypeAndLength & 0xf0) >> 4; in decodeFullPacket() local
915 if (ipVersion != 4) { in decodeFullPacket()
917 DhcpErrorEvent.L3_NOT_IPV4, "Invalid IP version %d", ipVersion); in decodeFullPacket()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java1789 final int ipVersion = sentKeepalivePacket.srcAddress.length == 4 ? 4 : 6; in addTcpKeepalivePacketFilter() local
1790 mKeepalivePackets.put(slot, (ipVersion == 4) in addTcpKeepalivePacketFilter()