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:
parent
7260b91842
commit
4a02e1707a
@ -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 *,
|
||||
|
Loading…
x
Reference in New Issue
Block a user