dhcp: Port the plugin to FreeBSD/macOS

This also refactors the BPF handling so it can be shared between the
dhcp and farp plugins.  The latter is adapted accordingly.

Closes strongswan/strongswan#2047

Co-authored-by: Tobias Brunner <tobias@strongswan.org>
This commit is contained in:
Dan JamesandTobias Brunner authored and Tobias Brunner committed 2024-02-19 09:17:53 +01:00
1 parent 10a876d54c
commit 187c72d1af
6 files changed
+973 -615

No files matched your search

+5
View File
@@ -147,6 +147,11 @@ if USE_SYSLOG
bus/listeners/sys_logger.c bus/listeners/sys_logger.h
endif
if USE_PF_HANDLER
libcharon_la_SOURCES += \
network/pf_handler.c network/pf_handler.h
endif
daemon.lo : $(top_builddir)/config.status
AM_CPPFLAGS = \