Searched refs:mcastv6packet (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/android/net/apf/ |
D | ApfTest.java | 845 ByteBuffer mcastv6packet = ByteBuffer.wrap(new byte[100]); in testApfFilterMulticast() local 846 mcastv6packet.putShort(ETH_ETHERTYPE_OFFSET, (short)ETH_P_IPV6); in testApfFilterMulticast() 847 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_UDP); in testApfFilterMulticast() 848 put(mcastv6packet, IPV6_DEST_ADDR_OFFSET, multicastIpv6Addr); in testApfFilterMulticast() 869 assertPass(program, mcastv6packet.array()); in testApfFilterMulticast() 879 assertDrop(program, mcastv6packet.array()); in testApfFilterMulticast() 889 assertPass(program, mcastv6packet.array()); in testApfFilterMulticast() 901 assertDrop(program, mcastv6packet.array()); in testApfFilterMulticast() 906 mcastv6packet.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterMulticast() 907 assertPass(program, mcastv6packet.array()); in testApfFilterMulticast()
|