Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java237 private static final int DHCP_HEADER_OFFSET = ETH_HEADER_LEN + IPV4_HEADER_LEN field in IpClientIntegrationTest
239 private static final int DHCP_MESSAGE_OP_CODE_OFFSET = DHCP_HEADER_OFFSET + 0;
240 private static final int DHCP_TRANSACTION_ID_OFFSET = DHCP_HEADER_OFFSET + 4;
241 private static final int DHCP_OPTION_MAGIC_COOKIE_OFFSET = DHCP_HEADER_OFFSET + 236;
521 if (packet.length < DHCP_HEADER_OFFSET) return false;