DragonFly Support for PF
Received via NetBSD project.
NetBSD Maintainer says:
"pfvar.h part came from DragonFly people."
Their CVS log attributes says, the fix is from hasso@estpak.ee:
| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * DragonFly support.
(other not relevant to this patch)
netinet/ip_icmp.h \
netinet/ipl.h \
netinet/ip_nat.h\
+ net/pf/pfvar.h \
net/pfvar.h \
sys/mount.h\
resolv.h \
if test "$PF_TRANSPARENT" ; then
AC_MSG_CHECKING(if PF header file is installed)
# hold on to your hats...
- if test "$ac_cv_header_net_pfvar_h" = "yes"; then
+ if test "$ac_cv_header_net_pfvar_h" = "yes" || test "$ac_cv_header_net_pf_pfvar_h" = "yes"; then
PF_TRANSPARENT="yes"
AC_DEFINE(PF_TRANSPARENT, 1)
else
#include <sys/fcntl.h>
#include <net/if.h>
#include <netinet/in.h>
+#ifdef HAVE_NET_PF_PFVAR_H
+#include <net/pf/pfvar.h>
+#endif /* HAVE_NET_PF_PFVAR_H */
+#ifdef HAVE_NET_PFVAR_H
#include <net/pfvar.h>
+#endif /* HAVE_NET_PFVAR_H */
#endif /* PF_TRANSPARENT required headers */
#if LINUX_NETFILTER