diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-09 17:33:21 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-09 17:33:21 +0000 |
commit | ad5f03ac09ff82fbd25e08695ca1e59e87b3ae77 (patch) | |
tree | a28eb3fbe5e7a90783d6e580defd1d0421584dc0 /sbin/pfctl/pfctl.h | |
parent | c47d7f93536d14c6893f5d473cc90350959c804a (diff) |
first attack at pfctl queue statistics, to be displayed with pfctl -vsq
This commit is dedicated to the cute KLM girls who made part of this
possible with giving me a seat in the plane where you actually have enough
place to hack. Thanks, girls.
ok markus@ dhartmei@
Diffstat (limited to 'sbin/pfctl/pfctl.h')
-rw-r--r-- | sbin/pfctl/pfctl.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/sbin/pfctl/pfctl.h b/sbin/pfctl/pfctl.h index 0d6f1f3161b..dd37cffb94b 100644 --- a/sbin/pfctl/pfctl.h +++ b/sbin/pfctl/pfctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.h,v 1.4 2003/01/09 10:40:44 cedric Exp $ */ +/* $OpenBSD: pfctl.h,v 1.5 2003/01/09 17:33:19 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -58,6 +58,7 @@ int pfr_ina_define(struct pfr_table *, struct pfr_addr *, int, int *, int pfctl_clear_tables(int); int pfctl_show_tables(int); int pfctl_command_tables(int, char *[], char *, char *, char *, int); +int pfctl_show_altq(int, int); #ifndef DEFAULT_PRIORITY #define DEFAULT_PRIORITY 1 @@ -75,20 +76,6 @@ struct segment { double x, y, d, m; }; -struct pf_altq_node { - struct pf_altq altq; - struct pf_altq_node *next; - struct pf_altq_node *children; -}; - -void pfctl_insert_altq_node(struct pf_altq_node **, - const struct pf_altq); -struct pf_altq_node *pfctl_find_altq_node(struct pf_altq_node *, - const char *, const char *); -void pfctl_print_altq_node(const struct pf_altq_node *, - unsigned); -void pfctl_free_altq_node(struct pf_altq_node *); - int check_commit_altq(int, int); void pfaltq_store(struct pf_altq *); void pfaltq_free(struct pf_altq *); |