Home
last modified time | relevance | path

Searched refs:ETHER_HEADER_LEN (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/com/android/server/util/
DNetworkStackConstants.java46 public static final int ETHER_HEADER_LEN = 14; field in NetworkStackConstants
57 public static final int ARP_ETHER_IPV4_LEN = ARP_PAYLOAD_LEN + ETHER_HEADER_LEN;
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java29 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;
129 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java39 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;
1238 && packet.get(ETHER_HEADER_LEN + IPV6_PROTOCOL_OFFSET) == (byte) IPPROTO_ICMPV6
1239 && packet.get(ETHER_HEADER_LEN + IPV6_HEADER_LEN)
1377 final int transportOffset = ETHER_HEADER_LEN + IPV6_HEADER_LEN;
1378 final short checksum = icmpv6Checksum(packet, ETHER_HEADER_LEN, transportOffset, icmpLen);
1379 packet.putShort(ETHER_HEADER_LEN + IPV6_LEN_OFFSET, (short) icmpLen);