dhcpv6: add ipv6 pxe support master
authorHang Zhou <929513338@qq.com>
Sat, 4 Jan 2025 21:09:47 +0000 (08:09 +1100)
committerdedeckeh <dedeckeh@gmail.com>
Sun, 19 Jan 2025 17:34:08 +0000 (18:34 +0100)
commit4308384748bea969c2abdfc2aed906bcf178cb1e
treeedcfae43784379e123432ef9822cd02a949c75e1
parent5585b969c18f84bd3bb7d02a0034c19ebae79e79
dhcpv6: add ipv6 pxe support

1. Implement PxE in separate files where possible
2. Update README
3. User can add IPv6 PxE entries in `/etc/config/dhcp`.
4. The new section type is "boot6".
5. The compulsory "url" string specifies the URL to the bootable image.
6. The optional "arch" integer specifies the expected client machine type.
7. The last "boot6" section without "arch" defines the default bootable image.

Signed-off-by: Hang Zhou <929513338@qq.com>
CMakeLists.txt
README
src/config.c
src/dhcpv6-pxe.c [new file with mode: 0644]
src/dhcpv6-pxe.h [new file with mode: 0644]
src/dhcpv6.c
src/dhcpv6.h