Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/net/
H A Dbootp.c814 static void dhcp_process_options(uchar *popt, uchar *end) in dhcp_process_options() argument
821 while (popt < end && *popt != 0xff) { in dhcp_process_options()
822 oplen = *(popt + 1); in dhcp_process_options()
823 switch (*popt) { in dhcp_process_options()
828 net_copy_ip(&net_netmask, (popt + 2)); in dhcp_process_options()
833 net_copy_u32((u32 *)to_ptr, (u32 *)(popt + 2)); in dhcp_process_options()
838 net_copy_ip(&net_gateway, (popt + 2)); in dhcp_process_options()
841 net_copy_ip(&net_dns_server, (popt + 2)); in dhcp_process_options()
843 if (*(popt + 1) > 4) in dhcp_process_options()
844 net_copy_ip(&net_dns_server2, (popt + 2 + 4)); in dhcp_process_options()
[all …]