summaryrefslogtreecommitdiff
path: root/sys/altq
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2013-10-12 12:13:12 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2013-10-12 12:13:12 +0000
commitcf075469382a1b2bbe60bc2cab89d834b6a892a8 (patch)
treea8307b87f9b6daf74ba64a181d276ed93c4dd725 /sys/altq
parent5a95c1038c5b2ca3131d95ae9df5726d8ac45349 (diff)
new bandwidth shaping subsystem, kernel side
uses hfsc behind the scenes; altq stays in parallel for a migration phase. if.h even more messy for the transition, but eventuelly it should become readable... looked over & tested by many, ok phessler sthen
Diffstat (limited to 'sys/altq')
-rw-r--r--sys/altq/if_altq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/altq/if_altq.h b/sys/altq/if_altq.h
index 2570d841c00..fa6d95d735e 100644
--- a/sys/altq/if_altq.h
+++ b/sys/altq/if_altq.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_altq.h,v 1.15 2011/10/07 17:10:08 henning Exp $ */
+/* $OpenBSD: if_altq.h,v 1.16 2013/10/12 12:13:10 henning Exp $ */
/* $KAME: if_altq.h,v 1.6 2001/01/29 19:59:09 itojun Exp $ */
/*
@@ -29,7 +29,7 @@
#ifndef _ALTQ_IF_ALTQ_H_
#define _ALTQ_IF_ALTQ_H_
-struct altq_pktattr; struct tb_regulator;
+struct altq_pktattr; struct oldtb_regulator; struct hfsc_if;
#define ALTQ_IFQ_NQUEUES 8
@@ -45,6 +45,7 @@ struct ifaltq {
int ifq_len;
int ifq_maxlen;
int ifq_drops;
+ struct hfsc_if *ifq_hfsc;
struct timeout *ifq_congestion;
/* alternate queueing related fields */