diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2004-04-26 00:12:29 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2004-04-26 00:12:29 +0000 |
commit | f7cb23296715768e57040edac8d1f57eb1187bdf (patch) | |
tree | 93bd0050fcc12c58bfd83b6ccdb89544dc0ac948 /sys/net/pfvar.h | |
parent | bc48da12355e2f8a8287e5547364589ea9ae7a42 (diff) |
anchor refcounting. ok dhartmei@ mcbride@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 0af8381b406..fec984ceacf 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.189 2004/04/25 18:09:30 pb Exp $ */ +/* $OpenBSD: pfvar.h,v 1.190 2004/04/26 00:12:28 cedric Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -666,6 +666,7 @@ struct pf_anchor { char name[PF_ANCHOR_NAME_SIZE]; struct pf_rulesetqueue rulesets; int tables; + int refcnt; /* anchor rules */ }; TAILQ_HEAD(pf_anchorqueue, pf_anchor); @@ -1306,7 +1307,6 @@ extern int pf_tbladdr_setup(struct pf_ruleset *, extern void pf_tbladdr_remove(struct pf_addr_wrap *); extern void pf_tbladdr_copyout(struct pf_addr_wrap *); extern void pf_calc_skip_steps(struct pf_rulequeue *); -extern void pf_update_anchor_rules(void); extern struct pool pf_src_tree_pl, pf_rule_pl; extern struct pool pf_state_pl, pf_altq_pl, pf_pooladdr_pl; extern struct pool pf_state_scrub_pl; |