VLAN tags) in ASCII format.
Because VLAN tags are converted to ASCII with use of modulo,
interface name is generated from right to left, starting with inner
VLAN and prepended with dash characters to ensure a final length of
IF_NAMESIZE bytes (16), e.g.:
----ens6f0.83.20
We avoid null bytes in circuit ID to ensure compatibility with DHCP
servers that interpret null as string terminator.
adjustment.
Adding map client_vlans which allows matching server responses with
client requests.
Reformatting Option 82 to include interface name (work in progress,
we need to figure out how to convert VLAN tags to ASCII).
Adjusting tail instead of headers because of complications with
variable length DHCP options - beware that this doesn't appear to work
with veth interfaces. Use a physical NIC for testing for now.
The dhcp-relay utility was initially implemented as part of the
bpf-examples repository, but really belongs here. So import it along with
the build environment from bpf-examples.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>