summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2013-06-04 19:03:13 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2013-06-04 19:03:13 +0000
commitbaaaf98da60f3ff53a511f3ebf0725e2092010b6 (patch)
treec2db9d040a82cf947e3bd60531907ea3617eb116 /sys/net/pfvar.h
parent020fe6face6b46e12c930196fd3a2adb2bdfbed7 (diff)
add a pointer to the protocol checksum header field to pf_pdesc and set
it up in pf_setup_pdesc(). ok ryan benno mikeb bluhm
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index fa82ba08153..c84634b1001 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.382 2013/06/03 15:00:00 henning Exp $ */
+/* $OpenBSD: pfvar.h,v 1.383 2013/06/04 19:03:12 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1245,6 +1245,7 @@ struct pf_pdesc {
*eh;
struct pf_addr *src; /* src address */
struct pf_addr *dst; /* dst address */
+ u_int16_t *pcksum; /* proto cksum */
u_int16_t *sport;
u_int16_t *dport;
u_int16_t osport;