kernel-wfp: Fix/Complete some fwpuclnt functionality in MinGW

While MinGW declares all the required symbols, some of them are missing in the
library files. We provide missing variables locally, functions get a stub
that call the GetProcAddress()ed function from the DLL.

Also some MinGW headers define some enum values incorrectly, we overload these
using defines.
This commit is contained in:
Martin Willi
2014-06-04 16:32:06 +02:00
parent ebb9362d85
commit b1ba0a666c
4 changed files with 133 additions and 3 deletions
@@ -14,6 +14,7 @@ endif
libstrongswan_kernel_wfp_la_SOURCES = \
kernel_wfp_plugin.h kernel_wfp_plugin.c \
kernel_wfp_compat.c kernel_wfp_compat.h \
kernel_wfp_ipsec.h kernel_wfp_ipsec.c
libstrongswan_kernel_wfp_la_LDFLAGS = -module -avoid-version