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 1160 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) nextHeader); in makeIpv6Packet() 1233 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterIPv6() 1337 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterMulticast() 1368 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_ICMPV6); in testApfFilterMulticastPingWhileDozing() 1750 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_TCP); in ipv6TcpPacket() 2025 basePacket.put(IPV6_NEXT_HEADER_OFFSET, (byte) IPPROTO_ICMPV6); in makeBaseRaPacket()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 305 private static final int IPV6_NEXT_HEADER_OFFSET = ETH_HEADER_LEN + 6; field in ApfFilter 784 getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 || in Ra() 1418 gen.addLoad8(Register.R0, IPV6_NEXT_HEADER_OFFSET); in generateIPv6FilterLocked() 1478 generateKeepaliveFilters(gen, TcpKeepaliveAckV6.class, IPPROTO_TCP, IPV6_NEXT_HEADER_OFFSET, in generateV6KeepaliveFilters()
|