summaryrefslogtreecommitdiff
path: root/sys/altq
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2002-10-10 10:44:03 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2002-10-10 10:44:03 +0000
commit349ae716b81d35748bf21554b6ea920f5b41b50a (patch)
treec44185e81ccd1f35073dd920c483aed790584e15 /sys/altq
parent06ca1dc4bf0f0590d27da6a9e995cc2e9e1b2cf6 (diff)
add a borrow flag to be used by pf/altq.
Diffstat (limited to 'sys/altq')
-rw-r--r--sys/altq/altq_cbq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/altq/altq_cbq.h b/sys/altq/altq_cbq.h
index a58223b6a34..6cc9d08185d 100644
--- a/sys/altq/altq_cbq.h
+++ b/sys/altq/altq_cbq.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_cbq.h,v 1.1 2001/06/27 05:28:34 kjc Exp $ */
+/* $OpenBSD: altq_cbq.h,v 1.2 2002/10/10 10:44:02 kjc Exp $ */
/* $KAME: altq_cbq.h,v 1.5 2000/12/02 13:44:40 kjc Exp $ */
/*
@@ -87,6 +87,7 @@ typedef struct cbq_class_spec {
#define CBQCLF_RIO 0x0004 /* use RIO */
#define CBQCLF_FLOWVALVE 0x0008 /* use flowvalve (aka penalty-box) */
#define CBQCLF_CLEARDSCP 0x0010 /* clear diffserv codepoint */
+#define CBQCLF_BORROW 0x0020 /* borrow from parent */
/* class flags only for root class */
#define CBQCLF_WRR 0x0100 /* weighted-round robin */