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.java325 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfFilter
332 private static final int ARP_OPCODE_OFFSET = ARP_HEADER_OFFSET + 6;
336 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
337 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1237 gen.addLoadImmediate(Register.R0, ARP_HEADER_OFFSET); in generateArpFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1101 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfTest
1116 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
1117 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1533 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in arpReply()
1543 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REQUEST_HEADER); in arpRequestBroadcast()
1552 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in garpReply()