grub/grub-core/net
Andrei Borzenkov 1157a45292 net/dhcp: Use DHCP options for name and bootfile
The BOOTP RFC describes the boot file name and the server name as being part
of the integral BOOTP data structure, with some limits on the size of them.
DHCP extends this by allowing them to be separate DHCP options, which is more
flexible.

Teach the code dealing with those fields to check for those DHCP options first
and use this information, if provided. We fall back to using the BOOTP
information if those options are not used.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-09-21 19:19:36 -04:00
..
drivers ofnet: Fix build regression in grub_ieee1275_parse_bootpath() 2020-09-21 13:46:35 -04:00
arp.c Add Virtual LAN support. 2020-09-21 11:32:45 -04:00
bootp.c net/dhcp: Use DHCP options for name and bootfile 2020-09-21 19:19:36 -04:00
dns.c Merge remote-tracking branch 'upstream/master' 2017-01-23 14:02:45 -08:00
ethernet.c Add Virtual LAN support. 2020-09-21 11:32:45 -04:00
http.c Merge remote-tracking branch 'upstream/master' 2017-01-23 14:02:45 -08:00
icmp.c arp, icmp: Fix handling in case of oversized or invalid packets. 2015-03-27 12:18:25 +01:00
icmp6.c net: fix ipv6 routing 2016-02-25 22:38:52 +03:00
ip.c net/dhcp: Make grub_net_process_dhcp() take an interface 2020-09-21 19:19:36 -04:00
net.c Merge remote-tracking branch 'upstream/master' 2017-01-23 14:02:45 -08:00
netbuff.c arp, icmp: Fix handling in case of oversized or invalid packets. 2015-03-27 12:18:25 +01:00
tcp.c tcp: fix memory leaks 2016-01-16 20:59:50 +03:00
tftp.c tftp: fix memory leaks in open 2016-01-16 21:27:57 +03:00
udp.c * grub-core/disk/ahci.c: Add needed explicit cast. 2013-08-21 21:02:14 +02:00