Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java326 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfFilter
333 private static final int ARP_OPCODE_OFFSET = ARP_HEADER_OFFSET + 6;
337 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
338 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1238 gen.addLoadImmediate(Register.R0, ARP_HEADER_OFFSET); in generateArpFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1105 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfTest
1120 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
1121 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1545 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in arpReply()
1555 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REQUEST_HEADER); in arpRequestBroadcast()
1564 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in garpReply()