summaryrefslogtreecommitdiff
path: root/sys/altq/altq_var.h
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2004-01-14 08:42:24 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2004-01-14 08:42:24 +0000
commitdc96390f9e05cb1309e6c9fa128c0a72b89f0738 (patch)
treec73d1ffaa59452686182ede44168305d8a72842a /sys/altq/altq_var.h
parent804d7fbaf7680e96f53e137bf37667b65a05da9c (diff)
eliminate the predefined special qids so that qids become simple
identifiers without embedded meanings. this also allows us to make the semantics of the qid assignment in line with the tag assignment in the next step. ok, henning@
Diffstat (limited to 'sys/altq/altq_var.h')
-rw-r--r--sys/altq/altq_var.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/altq/altq_var.h b/sys/altq/altq_var.h
index 1dcd943a806..20e88412ea8 100644
--- a/sys/altq/altq_var.h
+++ b/sys/altq/altq_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_var.h,v 1.12 2003/03/27 17:51:11 henning Exp $ */
+/* $OpenBSD: altq_var.h,v 1.13 2004/01/14 08:42:23 kjc Exp $ */
/* $KAME: altq_var.h,v 1.8 2001/02/09 09:44:41 kjc Exp $ */
/*
@@ -97,13 +97,14 @@ extern int pfaltq_running;
struct ifnet; struct mbuf;
struct pf_altq; struct pf_qstats;
-void *altq_lookup(char *, int);
+void *altq_lookup(char *, int);
u_int8_t read_dsfield(struct mbuf *, struct altq_pktattr *);
-void write_dsfield(struct mbuf *, struct altq_pktattr *, u_int8_t);
-void altq_assert(const char *, int, const char *);
-int tbr_set(struct ifaltq *, struct tb_profile *);
-int tbr_get(struct ifaltq *, struct tb_profile *);
+void write_dsfield(struct mbuf *, struct altq_pktattr *, u_int8_t);
+void altq_assert(const char *, int, const char *);
+int tbr_set(struct ifaltq *, struct tb_profile *);
+int tbr_get(struct ifaltq *, struct tb_profile *);
int altq_pfattach(struct pf_altq *);
+
int altq_pfdetach(struct pf_altq *);
int altq_add(struct pf_altq *);
int altq_remove(struct pf_altq *);