-#define TQCF_RED 0x0001 /* use RED */
-#define TQCF_ECN 0x0002 /* use ECN with RED/BLUE/SFB */
-#define TQCF_RIO 0x0004 /* use RIO */
-#define TQCF_CLEARDSCP 0x0010 /* clear diffserv codepoint */
-#define TQCF_BLUE 0x0100 /* use BLUE */
-#define TQCF_SFB 0x0200 /* use SFB */
-#define TQCF_FLOWCTL 0x0400 /* enable flow control advisories */
-#define TQCF_DEFAULTCLASS 0x1000 /* default class */
-#define TQCF_DELAYBASED 0x2000 /* queue sizing is delay based */
+#define TQCF_RED 0x0001 /* use RED */
+#define TQCF_ECN 0x0002 /* use ECN with RED/BLUE/SFB */
+#define TQCF_RIO 0x0004 /* use RIO */
+#define TQCF_CLEARDSCP 0x0010 /* clear diffserv codepoint */
+#define TQCF_BLUE 0x0100 /* use BLUE */
+#define TQCF_SFB 0x0200 /* use SFB */
+#define TQCF_FLOWCTL 0x0400 /* enable flow control advisories */
+#define TQCF_DEFAULTCLASS 0x1000 /* default class */
+#define TQCF_DELAYBASED 0x2000 /* queue sizing is delay based */
- u_int32_t qlength;
- u_int32_t qlimit;
- u_int32_t period;
- struct pktcntr xmitcnt; /* transmitted packet counter */
- struct pktcntr dropcnt; /* dropped packet counter */
+ u_int32_t qlength;
+ u_int32_t qlimit;
+ u_int32_t period;
+ struct pktcntr xmitcnt; /* transmitted packet counter */
+ struct pktcntr dropcnt; /* dropped packet counter */
/* RED, RIO, BLUE, SFB related info */
/* RED, RIO, BLUE, SFB related info */
- u_int32_t cl_handle; /* class handle */
- class_queue_t cl_q; /* class queue structure */
- u_int32_t cl_qflags; /* class queue flags */
+ u_int32_t cl_handle; /* class handle */
+ class_queue_t cl_q; /* class queue structure */
+ u_int32_t cl_qflags; /* class queue flags */
- int32_t cl_pri; /* priority */
- u_int32_t cl_flags; /* class flags */
- struct tcq_if *cl_tif; /* back pointer to tif */
+ int32_t cl_pri; /* priority */
+ u_int32_t cl_flags; /* class flags */
+ struct tcq_if *cl_tif; /* back pointer to tif */
- u_int32_t cl_period; /* backlog period */
- struct pktcntr cl_xmitcnt; /* transmitted packet counter */
- struct pktcntr cl_dropcnt; /* dropped packet counter */
+ u_int32_t cl_period; /* backlog period */
+ struct pktcntr cl_xmitcnt; /* transmitted packet counter */
+ struct pktcntr cl_dropcnt; /* dropped packet counter */
- struct ifclassq *tif_ifq; /* backpointer to ifclassq */
- int tif_maxpri; /* max priority in use */
- u_int32_t tif_throttle; /* throttling level */
- struct tcq_class *tif_default; /* default class */
- struct tcq_class *tif_classes[TCQ_MAXPRI]; /* classes */
+ struct ifclassq *tif_ifq; /* backpointer to ifclassq */
+ int tif_maxpri; /* max priority in use */
+ u_int32_t tif_throttle; /* throttling level */
+ struct tcq_class *tif_default; /* default class */
+ struct tcq_class *tif_classes[TCQ_MAXPRI]; /* classes */