diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-03-09 15:54:01 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-03-09 15:54:01 +0000 |
commit | 3546dc71f09ea2d76ef3a807765a21c61d6f9d48 (patch) | |
tree | 23050708f27a85aa1104e7f6255638e2f719cadb /sys/contrib/pf/net/if_pflog.h | |
parent | 10dbb44a9f290c3557840dc72cdeb6e72477c1fa (diff) | |
download | src-3546dc71f09ea2d76ef3a807765a21c61d6f9d48.tar.gz src-3546dc71f09ea2d76ef3a807765a21c61d6f9d48.zip |
Avoid pulling in the whole <net/pfvar.h> by opaquely declaring
the structs pflog_packet() takes pointers to.
Approved by: mlaier
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=156500
Diffstat (limited to 'sys/contrib/pf/net/if_pflog.h')
-rw-r--r-- | sys/contrib/pf/net/if_pflog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/contrib/pf/net/if_pflog.h b/sys/contrib/pf/net/if_pflog.h index 93cb884e1e7c..4e160a7e06d6 100644 --- a/sys/contrib/pf/net/if_pflog.h +++ b/sys/contrib/pf/net/if_pflog.h @@ -71,8 +71,9 @@ struct old_pfloghdr { #ifdef _KERNEL #ifdef __FreeBSD__ -/* XXX */ -#include <net/pfvar.h> +struct pf_rule; +struct pf_ruleset; +struct pfi_kif; typedef int pflog_packet_t(struct pfi_kif *, struct mbuf *, sa_family_t, u_int8_t, u_int8_t, struct pf_rule *, struct pf_rule *, |