diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-08-20 12:33:18 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-08-20 12:33:18 +0000 |
commit | f379a955603e12c5378b2463281e61a9ef4579cc (patch) | |
tree | dd7fe4a7dcc409f92fa924e28f936a5c84e5066e /sys | |
parent | 9a24f1e0c83ee23842c73c755d0479de43f5b4f1 (diff) |
move the #define RM_MAXPRIO out of #ifdef _KERNEL
Diffstat (limited to 'sys')
-rw-r--r-- | sys/altq/altq_rmclass.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/altq/altq_rmclass.h b/sys/altq/altq_rmclass.h index 08c774dfc8d..5c085f37cec 100644 --- a/sys/altq/altq_rmclass.h +++ b/sys/altq/altq_rmclass.h @@ -1,4 +1,4 @@ -/* $OpenBSD: altq_rmclass.h,v 1.6 2002/12/16 17:27:20 henning Exp $ */ +/* $OpenBSD: altq_rmclass.h,v 1.7 2003/08/20 12:33:17 henning Exp $ */ /* $KAME: altq_rmclass.h,v 1.6 2000/12/09 09:22:44 kjc Exp $ */ /* @@ -45,6 +45,8 @@ extern "C" { #endif +#define RM_MAXPRIO 8 /* Max priority */ + #ifdef _KERNEL typedef struct mbuf mbuf_t; @@ -113,7 +115,6 @@ struct red; #else #define RM_MAXQUEUED 16 /* Max number of packets downstream of CBQ */ #endif -#define RM_MAXPRIO 8 /* Max priority */ #define RM_MAXQUEUE 64 /* Max queue length */ #define RM_FILTER_GAIN 5 /* log2 of gain, e.g., 5 => 31/32 */ #define RM_POWER (1 << RM_FILTER_GAIN) |