This series adds support for custom DHCP options in passt, enabling network boot (PXE/UEFI HTTP Boot) and arbitrary DHCP option injection. Two new command-line flags are introduced: --dhcp-boot URL Sets the boot file URL (DHCP option 67 and the legacy boot file field) --dhcp-opt CODE,VALUE Sets any DHCP option by numeric code, with type-aware parsing per RFC 2132 The DHCP reply path is extended with option overload support (RFC 2132 option 52), allowing options to overflow into the file and sname fields when the standard options area is full. v4: Restructured series from 6 patches to 4: - 1/4 refactor fill_one() - 2/4 option overload - 3/4 --dhcp-opt with parser and man page - 4/4 --dhcp-boot with man page Anshu Kumari (4): dhcp: Refactor fill_one() to operate on a generic buffer dhcp: Add option overload dhcp: Add --dhcp-opt with option table and value parser conf: Add --dhcp-boot command-line option conf.c | 50 ++++++++- dhcp.c | 321 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- dhcp.h | 2 + passt.1 | 49 +++++++++ passt.h | 6 ++ 5 files changed, 407 insertions(+), 21 deletions(-) -- 2.54.0