diff options
author | Kenjiro Cho <kjc@cvs.openbsd.org> | 2004-01-14 08:42:24 +0000 |
---|---|---|
committer | Kenjiro Cho <kjc@cvs.openbsd.org> | 2004-01-14 08:42:24 +0000 |
commit | dc96390f9e05cb1309e6c9fa128c0a72b89f0738 (patch) | |
tree | c73d1ffaa59452686182ede44168305d8a72842a /sys/altq/altq_cbq.h | |
parent | 804d7fbaf7680e96f53e137bf37667b65a05da9c (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_cbq.h')
-rw-r--r-- | sys/altq/altq_cbq.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/altq/altq_cbq.h b/sys/altq/altq_cbq.h index f0cec7251f1..efb4b1da4af 100644 --- a/sys/altq/altq_cbq.h +++ b/sys/altq/altq_cbq.h @@ -1,4 +1,4 @@ -/* $OpenBSD: altq_cbq.h,v 1.9 2003/08/22 21:50:34 david Exp $ */ +/* $OpenBSD: altq_cbq.h,v 1.10 2004/01/14 08:42:23 kjc Exp $ */ /* $KAME: altq_cbq.h,v 1.5 2000/12/02 13:44:40 kjc Exp $ */ /* @@ -43,12 +43,7 @@ extern "C" { #endif -/* - * Define a well known class handles - */ -#define NULL_CLASS_HANDLE 0xffffffff -#define ROOT_CLASS_HANDLE 0xfffffffe -#define DEFAULT_CLASS_HANDLE 0xfffffffd +#define NULL_CLASS_HANDLE 0 /* class flags should be same as class flags in rm_class.h */ #define CBQCLF_RED 0x0001 /* use RED */ @@ -102,7 +97,7 @@ typedef struct _cbq_class_stats_ { /* * Define macros only good for kernel drivers and modules. */ -#define CBQ_WATCHDOG (HZ / 20) +#define CBQ_WATCHDOG (hz / 20) #define CBQ_TIMEOUT 10 #define CBQ_LS_TIMEOUT (20 * hz / 1000) |