Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java907 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6; field in ApfTest
1057 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterIPv6()
1103 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_UDP); in testApfFilterMulticast()
1164 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterMulticast()
1179 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterMulticastPingWhileDozing()
1477 basePacket.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterRa()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java272 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6; field in ApfFilter
627 getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 || in Ra()
1030 gen.addLoad8(Register.R0, IPV6_NEXT_HEADER_OFFSET); in generateIPv6FilterLocked()