Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java61 private static String makeProgPath(boolean downstream, int ipVersion, boolean ether) { in makeProgPath() argument
64 + ipVersion + "_" in makeProgPath()
DBpfCoordinator.java123 private static String makeMapPath(boolean downstream, int ipVersion) { in makeMapPath() argument
124 return makeMapPath((downstream ? "downstream" : "upstream") + ipVersion); in makeMapPath()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java1052 int ipVersion = (ipTypeAndLength & 0xf0) >> 4; in decodeFullPacket() local
1053 if (ipVersion != 4) { in decodeFullPacket()
1055 DhcpErrorEvent.L3_NOT_IPV4, "Invalid IP version %d", ipVersion); in decodeFullPacket()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java1880 final int ipVersion = sentKeepalivePacket.srcAddress.length == 4 ? 4 : 6; in addTcpKeepalivePacketFilter() local
1881 mKeepalivePackets.put(slot, (ipVersion == 4) in addTcpKeepalivePacketFilter()