Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Drfc2131.c98 static unsigned char* option_find(struct dhcp_packet* mess, size_t size, int opt_type, int minsize);
158 if ((opt = option_find(mess, sz, OPTION_MESSAGE_TYPE, 1))) { in dhcp_reply()
167 if ((opt = option_find(mess, sz, OPTION_MAXMESSAGE, 2))) { in dhcp_reply()
183 if ((option_find(mess, sz, OPTION_REQUESTED_IP, INADDRSZ) || mess_type == DHCPDISCOVER)) in dhcp_reply()
186 if ((opt = option_find(mess, sz, OPTION_AGENT_ID, 1))) { in dhcp_reply()
194 unsigned char* last_opt = option_find(mess, sz, OPTION_END, 0); in dhcp_reply()
236 … if (subnet_addr.s_addr == 0 && (opt = option_find(mess, sz, OPTION_SUBNET_SELECT, INADDRSZ))) in dhcp_reply()
240 if ((opt = option_find(mess, sz, OPTION_CLIENT_ID, 1))) { in dhcp_reply()
449 if ((opt = option_find(mess, sz, OPTION_CLIENT_FQDN, 4))) { in dhcp_reply()
484 } else if ((opt = option_find(mess, sz, OPTION_HOSTNAME, 1))) { in dhcp_reply()
[all …]