]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pxe] Split out platform-independent portions of cachedhcp.c
authorMichael Brown <mcb30@ipxe.org>
Wed, 17 Feb 2021 15:59:52 +0000 (15:59 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 17 Feb 2021 15:59:52 +0000 (15:59 +0000)
commit057674bb1f766db8b4c6593dc238ea68e4f38028
tree5bfd66f170528a5856b0314c0c4cef9a02116a93
parent19d0fab40f07eeea7fe6b9e0d4e8d4b0c2de215f
[pxe] Split out platform-independent portions of cachedhcp.c

Split out the portions of cachedhcp.c that can be shared between BIOS
and UEFI (both of which can provide a buffer containing a previously
obtained DHCP packet, and neither of which provide a means to
determine the length of this DHCP packet).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/interface/pcbios/bios_cachedhcp.c [new file with mode: 0644]
src/core/cachedhcp.c [moved from src/arch/x86/core/cachedhcp.c with 79% similarity]
src/include/ipxe/cachedhcp.h [new file with mode: 0644]
src/include/ipxe/errfile.h