Home
last modified time | relevance | path

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

/system/core/libnetutils/
Ddhcpclient.c173 if (len < (DHCP_MSG_FIXED_SIZE + 4)) return -1; in decode_dhcp_msg()
175 len -= (DHCP_MSG_FIXED_SIZE + 4); in decode_dhcp_msg()
258 if (len < DHCP_MSG_FIXED_SIZE) { in dump_dhcp_msg()
259 ALOGD("Invalid length %d, should be %d", len, DHCP_MSG_FIXED_SIZE); in dump_dhcp_msg()
263 len -= DHCP_MSG_FIXED_SIZE; in dump_dhcp_msg()
355 if (sz < DHCP_MSG_FIXED_SIZE) { in is_valid_reply()
356 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