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 /sbin/ipfw | |
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 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 11c78bf..f5b3ae9 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -47,6 +47,8 @@ #include <unistd.h> #include <fcntl.h> +#define IPFW_INTERNAL /* Access to protected structures in ip_fw.h. */ + #include <net/ethernet.h> #include <net/if.h> #include <net/if_dl.h> |