Home
last modified time | relevance | path

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

/system/core/libnetutils/
Ddhcpclient.c171 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()
Ddhcpmsg.c70 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()
Ddhcpmsg.h60 #define DHCP_MSG_FIXED_SIZE 236 macro