Searched refs:MAGIC_COOKIE_LENGTH (Results 1 – 3 of 3) sorted by relevance
37 constexpr uint8_t MAGIC_COOKIE_LENGTH = 4; variable183 uint8_t *current = msg->packet.options, olen = MAGIC_COOKIE_LENGTH; in ParseDhcpOptions()
30 #define MAGIC_COOKIE_LENGTH 4 macro
53 #define MAGIC_COOKIE_LENGTH 4 macro67 const uint8_t MAGIC_COOKIE_DATA[MAGIC_COOKIE_LENGTH] = {0x63, 0x82, 0x53, 0x63}; // Vendor Informa…1458 if (msg->length < (DHCP_MSG_HEADER_SIZE + MAGIC_COOKIE_LENGTH)) { in ParseMessageOptions()1470 current = (DhcpOption *)(((uint8_t *)current) + MAGIC_COOKIE_LENGTH); in ParseMessageOptions()1471 uint8_t *pos = (((uint8_t *)current) + MAGIC_COOKIE_LENGTH); in ParseMessageOptions()1472 …uint8_t *maxPos = (((uint8_t *)current) + (DHCP_OPTION_SIZE - MAGIC_COOKIE_LENGTH - OPT_HEADER_LEN… in ParseMessageOptions()1545 uint8_t *current = reply->packet.options, olen = MAGIC_COOKIE_LENGTH; in ParseReplyOptions()