summaryrefslogtreecommitdiffstats
path: root/sys/contrib/pf/net/if_pflog.h
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-02-26 02:34:12 +0000
committermlaier <mlaier@FreeBSD.org>2004-02-26 02:34:12 +0000
commit4733577ea0d69a039bfa9c7353c6ec303e191f11 (patch)
tree93a5df3113f8f9cf3fd0b519d7ad89db6831f1fc /sys/contrib/pf/net/if_pflog.h
parentdaa7c375df116533073df6c502f2e92ff5e43bbb (diff)
downloadFreeBSD-src-4733577ea0d69a039bfa9c7353c6ec303e191f11.zip
FreeBSD-src-4733577ea0d69a039bfa9c7353c6ec303e191f11.tar.gz
Bring diff from the security/pf port. This has code been tested as a port
for a long time and is run in production use. This is the code present in portversion 2.03 with some additional tweaks. The rather extensive diff accounts for: - locking (to enable pf to work with a giant-free netstack) - byte order difference between OpenBSD and FreeBSD for ip_len/ip_off - conversion from pool(9) to zone(9) - api differences etc. Approved by: bms(mentor) (in general)
Diffstat (limited to 'sys/contrib/pf/net/if_pflog.h')
-rw-r--r--sys/contrib/pf/net/if_pflog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/pf/net/if_pflog.h b/sys/contrib/pf/net/if_pflog.h
index 9333f48..22a85ea 100644
--- a/sys/contrib/pf/net/if_pflog.h
+++ b/sys/contrib/pf/net/if_pflog.h
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $OpenBSD: if_pflog.h,v 1.9 2003/07/15 20:27:27 dhartmei Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -29,6 +30,9 @@
struct pflog_softc {
struct ifnet sc_if; /* the interface */
+#if defined(__FreeBSD__)
+ LIST_ENTRY(pflog_softc) sc_next;
+#endif
};
/* XXX keep in sync with pfvar.h */
OpenPOWER on IntegriCloud