Searched refs:IPV6_HEADER_LEN (Results 1 – 8 of 8) sorted by relevance
138 private static final int IPV6_HEADER_LEN = 40; field in DadProxyTest150 final ByteBuffer buf = ByteBuffer.allocate(icmpLen + IPV6_HEADER_LEN + ETH_HEADER_LEN); in createDadPacket()197 final int transportOffset = ETH_HEADER_LEN + IPV6_HEADER_LEN; in createDadPacket()
31 import static com.android.net.module.util.NetworkStackConstants.IPV6_HEADER_LEN;160 if (pkt.length < (ETHER_HEADER_LEN + IPV6_HEADER_LEN + ICMPV6_RA_HEADER_LEN)) { in isPacketMatched()173 final int payLoadLength = pkt.length - ETHER_HEADER_LEN - IPV6_HEADER_LEN; in isPacketMatched()
22 import static com.android.net.module.util.NetworkStackConstants.IPV6_HEADER_LEN;103 if (length < ETHER_HEADER_LEN + IPV6_HEADER_LEN + ICMPV6_HEADER_MIN_LEN in parse()
62 private static final int IPV6_HEADER_LEN = 40; field in NeighborPacketForwarder160 if (length < IPV6_HEADER_LEN) { in handlePacket()
54 import static com.android.net.module.util.NetworkStackConstants.IPV6_HEADER_LEN;237 if (mPacket.remaining() < IPV6_HEADER_LEN) { in parseIPv6()253 mPacket.position(startOfIpLayer + IPV6_HEADER_LEN); in parseIPv6()
1044 private static final int IPV6_HEADER_LEN = 40; field in ApfTest1049 private static final int IPV6_TCP_HEADER_OFFSET = IP_HEADER_OFFSET + IPV6_HEADER_LEN;1064 private static final int ICMP6_TYPE_OFFSET = IP_HEADER_OFFSET + IPV6_HEADER_LEN;1072 IP_HEADER_OFFSET + IPV6_HEADER_LEN + 2;1074 IP_HEADER_OFFSET + IPV6_HEADER_LEN + 6;1076 IP_HEADER_OFFSET + IPV6_HEADER_LEN + 8;1078 IP_HEADER_OFFSET + IPV6_HEADER_LEN + 12;1080 IP_HEADER_OFFSET + IPV6_HEADER_LEN + ICMP6_RA_HEADER_LEN;
309 private static final int IPV6_HEADER_LEN = 40; field in ApfFilter314 private static final int ICMP6_TYPE_OFFSET = ETH_HEADER_LEN + IPV6_HEADER_LEN;553 ETH_HEADER_LEN + IPV6_HEADER_LEN + 2;556 ETH_HEADER_LEN + IPV6_HEADER_LEN + ICMP6_RA_HEADER_LEN;558 ETH_HEADER_LEN + IPV6_HEADER_LEN + 6;
48 import static com.android.net.module.util.NetworkStackConstants.IPV6_HEADER_LEN;1465 && packet.get(ETHER_HEADER_LEN + IPV6_HEADER_LEN)1473 && packet.get(ETHER_HEADER_LEN + IPV6_HEADER_LEN)