diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-01-25 14:38:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-01-25 14:38:27 +0000 |
commit | 1dcfe4a494542fa0fbcbea2ab0bb74b602d2ee23 (patch) | |
tree | 5290a7818163ffcc9c3cf6d8070a6fce8a52515a /sys/netinet/ip_fw2.c | |
parent | 17279cebaf9092ea08be909c6ac1f59b9edb6ab0 (diff) | |
download | FreeBSD-src-1dcfe4a494542fa0fbcbea2ab0bb74b602d2ee23.zip FreeBSD-src-1dcfe4a494542fa0fbcbea2ab0bb74b602d2ee23.tar.gz |
Hide ipfw internal data structures behind IPFW_INTERNAL rather than
exposing them to all consumers of ip_fw.h. These structures are
used in both ipfw(8) and ipfw(4), but not part of the user<->kernel
interface for other applications to use, rather, shared
implementation.
MFC after: 3 days
Reported by: Paul Vixie <paul at vix dot com>
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r-- | sys/netinet/ip_fw2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 1c25978..a094a17 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -68,6 +68,9 @@ __FBSDID("$FreeBSD$"); #include <net/radix.h> #include <net/route.h> #include <net/pf_mtag.h> + +#define IPFW_INTERNAL /* Access to protected data structures in ip_fw.h. */ + #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/in_var.h> |