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.java323 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfFilter
330 private static final int ARP_OPCODE_OFFSET = ARP_HEADER_OFFSET + 6;
334 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
335 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1154 gen.addLoadImmediate(Register.R0, ARP_HEADER_OFFSET); in generateArpFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1084 private static final int ARP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfTest
1099 private static final int ARP_SOURCE_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 14;
1100 private static final int ARP_TARGET_IP_ADDRESS_OFFSET = ARP_HEADER_OFFSET + 24;
1496 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in arpReply()
1506 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REQUEST_HEADER); in arpRequestBroadcast()
1515 put(packet, ARP_HEADER_OFFSET, ARP_IPV4_REPLY_HEADER); in garpReply()