diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-06-07 21:25:37 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2002-06-07 21:25:37 +0000 |
commit | 87739f251b80651d7bf5e456e0dc04696a638f9b (patch) | |
tree | 8a36dbdfa9d45f950ffcc830260b168b4eb45f94 /sys/net/pfvar.h | |
parent | 1001fef5168442fee0d557002fbdd7ba550de37a (diff) |
Add "(max <number>)" option for "keep/modulate state" to limit the number
of concurrent connections a rule can create. ok frantzen@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 5f500e768e9..9222f40c498 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.74 2002/06/07 21:14:02 frantzen Exp $ */ +/* $OpenBSD: pfvar.h,v 1.75 2002/06/07 21:25:35 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -244,6 +244,9 @@ struct pf_rule { struct ifnet *ifp; struct ifnet *rt_ifp; + u_int32_t states; + u_int32_t max_states; + u_int16_t nr; u_int16_t return_icmp; u_int16_t max_mss; |