diff options
author | pelikan <pelikan@cvs.openbsd.org> | 2014-01-03 12:48:59 +0000 |
---|---|---|
committer | pelikan <pelikan@cvs.openbsd.org> | 2014-01-03 12:48:59 +0000 |
commit | 898d1085a55fe3eafb6cd6f937615f1aae9e92d1 (patch) | |
tree | 93122bf1e3881f4561c7bd8c428dfd6f4cf67a32 /sys/net/pfvar.h | |
parent | 22b1fb30b7b9463d3e8b15f64991c292b9a384a6 (diff) |
Switch frequently allocated structs from malloc(M_DEVBUF) to separate pools.
ok henning, "looks fine" mikeb, input from guenther.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index c3f262be0a0..78fc16db72a 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.394 2014/01/03 12:43:09 pelikan Exp $ */ +/* $OpenBSD: pfvar.h,v 1.395 2014/01/03 12:48:58 pelikan Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1804,6 +1804,8 @@ extern struct pool pf_src_tree_pl, pf_sn_item_pl, pf_rule_pl; extern struct pool pf_state_pl, pf_state_key_pl, pf_state_item_pl, pf_altq_pl, pf_rule_item_pl, pf_queue_pl; extern struct pool pf_state_scrub_pl; +extern struct pool hfsc_class_pl, hfsc_classq_pl, + hfsc_internal_sc_pl; extern void pf_purge_thread(void *); extern void pf_purge_expired_src_nodes(int); extern void pf_purge_expired_states(u_int32_t); |