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
This commit is contained in:
yar 2006-03-09 15:54:01 +00:00
parent 7260b91842
commit 4a02e1707a

View File

@ -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 *,