summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2017-08-14 15:48:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2017-08-14 15:48:30 +0000
commit58daa82f53489325b95c4e9b4f35087fbf44912a (patch)
treea36f425e80da0f10091666df72034ee5b8cac5e9 /sys/net/pfvar.h
parent8df368543aeb37307643d880c8fbed95e9b8b1c5 (diff)
add half-open tcp states accounting, road paved by sashan
increment in pf_create_state(), decrement in pf_set_protostate(). input & ok 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 a5777e36cea..050e0311921 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.463 2017/08/13 16:57:20 henning Exp $ */
+/* $OpenBSD: pfvar.h,v 1.464 2017/08/14 15:48:29 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1296,6 +1296,7 @@ struct pf_status {
time_t since;
u_int32_t running;
u_int32_t states;
+ u_int32_t states_halfopen;
u_int32_t src_nodes;
u_int32_t debug;
u_int32_t hostid;