efinet: add structures for PXE messages
authorMichael Chang <mchang@suse.com>
Tue, 25 Apr 2023 15:05:16 +0000 (11:05 -0400)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 28 Jul 2024 22:42:11 +0000 (22:42 +0000)
commit208891f0f71aaf8e06a401bf3622c1273ffdf16d
tree677c3f1a6facaf44b65fac44c41a15d7ee60d49d
parent74393ae8eb4030ab79b11cb183a459a1023b9a6d
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