Searched refs:ETHER_HEADER_LEN (Results 1 – 3 of 3) sorted by relevance
46 public static final int ETHER_HEADER_LEN = 14; field in NetworkStackConstants57 public static final int ARP_ETHER_IPV4_LEN = ARP_PAYLOAD_LEN + ETHER_HEADER_LEN;
29 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;129 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther()
39 import static com.android.server.util.NetworkStackConstants.ETHER_HEADER_LEN;1238 && packet.get(ETHER_HEADER_LEN + IPV6_PROTOCOL_OFFSET) == (byte) IPPROTO_ICMPV61239 && 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);