efinet: add structures for PXE messages
authorMichael Chang <mchang@suse.com>
Tue, 25 Apr 2023 15:05:16 +0000 (11:05 -0400)
committerFelix Zielcke <fzielcke@z-51.de>
Mon, 15 Jul 2024 15:05:20 +0000 (17:05 +0200)
commit087f44dcbc0af148f35ee9b47e970a0e473863ab
tree01daa5b8c69fd10bff84c6b00796a924ec776cfc
parente6ed48bd8d57fa56cf17fef3e02d3dba93035098
efinet: add structures for PXE messages

When grub2 image is booted from UEFI IPv6 PXE, the DHCPv6 Reply packet
is cached in firmware buffer which can be obtained by PXE Base Code
protocol.  The network interface can be setup through the parameters in
that obtained packet.

Augment existing structures to represent this, and make them agnostic
between ipv4 and ipv6.

Signed-off-by: Michael Chang <mchang@suse.com>
Signed-off-by: Ken Lin <ken.lin@hpe.com>
Co-authored-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Gbp-Pq: Topic network
Gbp-Pq: Name efinet-add-structures-for-PXE-messages.patch
grub-core/net/drivers/efi/efinet.c
include/grub/efi/api.h