NetBSD/src C8T6w6oexternal/bsd/dhcp/dist/client dhclient.c, external/bsd/dhcp/dist/common tree.c parse.c

   Make DHCP programs compatible with crunchgen(1)

   DHCP programs are incompatible with crunchgen(1) so far, because
   libdhcp uses callbacks with the same function names for dhclient,
   dhcrelay, dhcpd, and omshell. As a result, it is impossible to
   link correctly in a single binary.

   The offending symbols are classify, check_collection, dhcp, dhcpv6,
   bootp, find_class, parse_allow_deny, and dhcp_set_control_state, and
   the local_port and remote_port variables.

   This change make each program register an array of callbacks at
   main() start. libdhcp then uses callbacks through registered
   function and variable pointers, and DHCP programs can now go
   trough crunchgen(1).

   Submitted upstream as ISC-Bugs #45330 with a patch against latest ISC git.
   The soon to be released 4.3.6 will not include the change, but it is
   likely to be included in 4.3.7
VersionDeltaFile
1.2+455-655external/bsd/dhcp/dist/common/tree.c
1.2+384-645external/bsd/dhcp/dist/common/parse.c
1.2+408-108external/bsd/dhcp/dist/common/options.c
1.2+200-170external/bsd/dhcp/dist/common/execute.c
1.2+172-74external/bsd/dhcp/dist/common/socket.c
1.2+119-29external/bsd/dhcp/dist/common/lpf.c
1.2+40-41external/bsd/dhcp/dist/common/comapi.c
1.2+38-16external/bsd/dhcp/dist/dhcpctl/omshell.c
1.2+31-9external/bsd/dhcp/dist/tests/t_api.c
1.8+22-5external/bsd/dhcp/dist/relay/dhcrelay.c
1.2+25-2external/bsd/dhcp/dist/dhcpctl/cltest.c
1.6+22-3external/bsd/dhcp/dist/server/dhcpd.c
1.9+23-1external/bsd/dhcp/dist/includes/dhcpd.h
1.11+20-3external/bsd/dhcp/dist/client/dhclient.c
1.2+6-12external/bsd/dhcp/dist/common/raw.c
1.2+5-12external/bsd/dhcp/dist/common/nit.c
1.5+13-4external/bsd/dhcp/dist/common/dispatch.c
1.2+5-12external/bsd/dhcp/dist/common/upf.c
1.2+8-8external/bsd/dhcp/dist/common/dlpi.c
1.4+4-4external/bsd/dhcp/dist/common/packet.c
1.2+5-3external/bsd/dhcp/dist/common/tr.c
1.6+2-4external/bsd/dhcp/dist/common/discover.c
1.5+3-3external/bsd/dhcp/dist/common/bpf.c
+2,010-1,82323 files

UnifiedSplitRaw