Searched refs:DHCP_MSG_FIXED_SIZE (Results 1 – 3 of 3) sorted by relevance
171 if (len < (DHCP_MSG_FIXED_SIZE + 4)) return -1; in decode_dhcp_msg()173 len -= (DHCP_MSG_FIXED_SIZE + 4); in decode_dhcp_msg()256 if (len < DHCP_MSG_FIXED_SIZE) { in dump_dhcp_msg()257 ALOGD("Invalid length %d, should be %d", len, DHCP_MSG_FIXED_SIZE); in dump_dhcp_msg()261 len -= DHCP_MSG_FIXED_SIZE; in dump_dhcp_msg()353 if (sz < DHCP_MSG_FIXED_SIZE) { in is_valid_reply()354 if (verbose) ALOGD("Wrong size %d != %d\n", sz, DHCP_MSG_FIXED_SIZE); in is_valid_reply()
70 return DHCP_MSG_FIXED_SIZE + (x - msg->options); in init_dhcp_discover_msg()99 return DHCP_MSG_FIXED_SIZE + (x - msg->options); in init_dhcp_request_msg()
60 #define DHCP_MSG_FIXED_SIZE 236 macro