summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2003-05-14 08:42:01 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2003-05-14 08:42:01 +0000
commitcfd073a3f7bc3eb6a4e286d53b16fe826406a32c (patch)
tree425f6ae71c6cbda9a2854dc868bfc03211cce7a8 /sys/net/pfvar.h
parent79994dffddf8deb2567348ec87996ef2e6f19b16 (diff)
Use official (from pcap people) link type for pflog.
With this change, the log header format also changes. The new log format is extendible and allows logging of the originating anchor and ruleset information. ok henning@ dhartmei@ frantzen@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index b18c4f23422..5c66a953274 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.147 2003/05/13 17:45:24 henning Exp $ */
+/* $OpenBSD: pfvar.h,v 1.148 2003/05/14 08:42:00 canacar Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1034,8 +1034,8 @@ int pf_test(int, struct ifnet *, struct mbuf **);
int pf_test6(int, struct ifnet *, struct mbuf **);
#endif /* INET */
-int pflog_packet(struct ifnet *, struct mbuf *, sa_family_t, u_short,
- u_short, struct pf_rule *);
+int pflog_packet(struct ifnet *, struct mbuf *, sa_family_t, u_int8_t,
+ u_int8_t, struct pf_rule *, struct pf_rule *, struct pf_ruleset *);
int pf_match_addr(u_int8_t, struct pf_addr *, struct pf_addr *,
struct pf_addr *, sa_family_t);
int pf_match(u_int8_t, u_int16_t, u_int16_t, u_int16_t);