dhcp: api to enable client detect on interface 18/39718/3
authorOle Troan <otroan@employees.org>
Thu, 19 Oct 2023 07:05:38 +0000 (09:05 +0200)
committerDamjan Marion <dmarion@0xa5.net>
Thu, 16 Nov 2023 15:38:51 +0000 (15:38 +0000)
commitf3be34e4433bb86509044290fa3cced543697a31
treeecfc225dedd77a801e2bc69bfdca39287884dc7c
parent4b89013081851f5e71162244d9e052eac5a98f3d
dhcp: api to enable client detect on interface

DHCPv4 aka BOOTP is somewhat awkward. A DHCP client
on an interface must receive DHCP packets to
the broadcast address or to a unicast address.
Apparently before it's been assigned to itself.

Add this new API to allow external DHCP clients
enable the DHCP client detect feature per interface.

Type: improvement
Change-Id: If55aac03f25a045496be483940e4f5e7e18885b9
Signed-off-by: Ole Troan <otroan@employees.org>
src/plugins/dhcp/dhcp.api
src/plugins/dhcp/dhcp_api.c
src/plugins/dhcp/dhcp_test.c