From cf075469382a1b2bbe60bc2cab89d834b6a892a8 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sat, 12 Oct 2013 12:13:12 +0000 Subject: 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 --- sys/altq/if_altq.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/altq') 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 */ -- cgit v1.2.3