Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java687 private static final int ICMP6_RA_OPTION_OFFSET = field in ApfTest
1069 ByteBuffer basePacket = ByteBuffer.wrap(new byte[ICMP6_RA_OPTION_OFFSET]); in testApfFilterRa()
1084 new byte[ICMP6_RA_OPTION_OFFSET + ICMP6_4_BYTE_OPTION_LEN]); in testApfFilterRa()
1095 new byte[ICMP6_RA_OPTION_OFFSET + ICMP6_PREFIX_OPTION_LEN]); in testApfFilterRa()
1101 ICMP6_RA_OPTION_OFFSET + ICMP6_PREFIX_OPTION_PREFERRED_LIFETIME_OFFSET, in testApfFilterRa()
1104 ICMP6_RA_OPTION_OFFSET + ICMP6_PREFIX_OPTION_VALID_LIFETIME_OFFSET, in testApfFilterRa()
1111 new byte[ICMP6_RA_OPTION_OFFSET + ICMP6_4_BYTE_OPTION_LEN]); in testApfFilterRa()
1117 ICMP6_RA_OPTION_OFFSET + ICMP6_4_BYTE_LIFETIME_OFFSET, RDNSS_LIFETIME); in testApfFilterRa()
1122 new byte[ICMP6_RA_OPTION_OFFSET + ICMP6_4_BYTE_OPTION_LEN]); in testApfFilterRa()
1128 ICMP6_RA_OPTION_OFFSET + ICMP6_4_BYTE_LIFETIME_OFFSET, ROUTE_LIFETIME); in testApfFilterRa()
[all …]
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java309 private static final int ICMP6_RA_OPTION_OFFSET = field in ApfFilter.Ra
450 if (length < ICMP6_RA_OPTION_OFFSET) { in Ra()
480 mPacket.position(ICMP6_RA_OPTION_OFFSET); in Ra()