Searched refs:IPV6_NEXT_HEADER_OFFSET (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1046 private static final int IPV6_NEXT_HEADER_OFFSET = IP_HEADER_OFFSET + 6; field in ApfTest 1164 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) nextHeader); in makeIpv6Packet() 1237 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterIPv6() 1349 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterMulticast() 1380 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_ICMPV6); in testApfFilterMulticastPingWhileDozing() 1762 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_TCP); in ipv6TcpPacket() 2037 basePacket.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_ICMPV6); in makeBaseRaPacket()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 306 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6; field in ApfFilter 785 getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 || in Ra() 1419 gen.addLoad8(Register.R0, IPV6_NEXT_HEADER_OFFSET); in generateIPv6FilterLocked() 1482 generateKeepaliveFilters(gen, TcpKeepaliveAckV6.class, IPPROTO_TCP, IPV6_NEXT_HEADER_OFFSET, in generateV6KeepaliveFilters()
|