aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2024-01-02 14:52:39 +0000
committerKristof Provost <kp@FreeBSD.org>2024-01-04 22:08:08 +0000
commit948e8413aba0ee600ceb563cee048a6ef74a6a2c (patch)
tree7758a2dfce54e10b9ccfc64bd814ee48f41247c0 /sys/net
parent5f840a1758b4bbb4892118f43f40c6487c17aeba (diff)
downloadsrc-948e8413aba0ee600ceb563cee048a6ef74a6a2c.tar.gz
src-948e8413aba0ee600ceb563cee048a6ef74a6a2c.zip
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_pflog.h4
-rw-r--r--sys/net/pfvar.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h
index c5ed062fb5f2..fb0d971d490c 100644
--- a/sys/net/if_pflog.h
+++ b/sys/net/if_pflog.h
@@ -69,9 +69,9 @@ struct pf_ruleset;
struct pfi_kif;
struct pf_pdesc;
-#define PFLOG_PACKET(i,a,b,c,d,e,f,g,di) do { \
+#define PFLOG_PACKET(i,a,b,t,c,d,e,f,g,di) do { \
if (pflog_packet_ptr != NULL) \
- pflog_packet_ptr(i,a,b,c,d,e,f,g,di); \
+ pflog_packet_ptr(i,a,b,t,c,d,e,f,g,di); \
} while (0)
#endif /* _KERNEL */
#endif /* _NET_IF_PFLOG_H_ */
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 48162b786a86..020b79ded94c 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1208,7 +1208,7 @@ void pf_state_export(struct pf_state_export *,
struct pf_kruleset;
struct pf_pdesc;
typedef int pflog_packet_t(struct pfi_kkif *, struct mbuf *, sa_family_t,
- u_int8_t, struct pf_krule *, struct pf_krule *, struct pf_kruleset *,
+ uint8_t, u_int8_t, struct pf_krule *, struct pf_krule *, struct pf_kruleset *,
struct pf_pdesc *, int);
extern pflog_packet_t *pflog_packet_ptr;