Searched refs:basePacket (Results 1 – 1 of 1) sorted by relevance
1899 ByteBuffer basePacket = ByteBuffer.wrap(new byte[ICMP6_RA_OPTION_OFFSET]); in testApfFilterRa() local1900 basePacket.putShort(ETH_ETHERTYPE_OFFSET, (short)ETH_P_IPV6); in testApfFilterRa()1901 basePacket.putInt(VERSION_TRAFFIC_CLASS_FLOW_LABEL_OFFSET, in testApfFilterRa()1903 basePacket.put(IPV6_NEXT_HEADER_OFFSET, (byte)IPPROTO_ICMPV6); in testApfFilterRa()1904 basePacket.put(ICMP6_TYPE_OFFSET, (byte)ICMP6_ROUTER_ADVERTISEMENT); in testApfFilterRa()1905 basePacket.putShort(ICMP6_RA_ROUTER_LIFETIME_OFFSET, (short)ROUTER_LIFETIME); in testApfFilterRa()1906 basePacket.position(IPV6_DEST_ADDR_OFFSET); in testApfFilterRa()1907 basePacket.put(IPV6_ALL_NODES_ADDRESS); in testApfFilterRa()1908 assertPass(program, basePacket.array()); in testApfFilterRa()1910 verifyRaLifetime(apfFilter, ipClientCallback, basePacket, ROUTER_LIFETIME); in testApfFilterRa()[all …]