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>
Wed, 11 Jun 2025 15:42:34 +0000 (17:42 +0200)
commitafe1c91f8094cc8306d809fb4215be552337f933
tree3cfece72e7474457c53d94343990bbb9c8ff732f
parent0e39802353505df841c1274a866241329bc0f24b
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