summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2003-03-31 13:15:28 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2003-03-31 13:15:28 +0000
commitfa932dda5f8f8360321603acbdb07be2276ac4e5 (patch)
treefa6db2bfc77ec4f3553a2e25c63ded724ee4228f /sys/net/pfvar.h
parent2cc11e6cce4589a9b1cbf6dbb79d8f914ac91616 (diff)
Only delete rule structure when no state refer to it.
Fix a bunch of issues. Removal of unneeded (r != null) tests coming soon... ok dhartmei@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 25deb2de2a6..e7bb4ec08e5 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.136 2003/03/03 14:33:17 cedric Exp $ */
+/* $OpenBSD: pfvar.h,v 1.137 2003/03/31 13:15:27 cedric Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -975,6 +975,8 @@ extern struct ifnet *status_ifp;
extern int *pftm_timeouts[PFTM_MAX];
extern void pf_addrcpy(struct pf_addr *, struct pf_addr *,
u_int8_t);
+void pf_rm_rule(struct pf_rulequeue *,
+ struct pf_rule *);
#ifdef INET
int pf_test(int, struct ifnet *, struct mbuf **);