patch-2.3.49 linux/include/linux/pkt_sched.h
Next file: linux/include/linux/pm.h
Previous file: linux/include/linux/nfsd/nfsfh.h
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Sun Feb 27 18:45:10 2000
-  Orig file: 
v2.3.48/linux/include/linux/pkt_sched.h
-  Orig date: 
Fri Jan  7 19:13:23 2000
diff -u --recursive --new-file v2.3.48/linux/include/linux/pkt_sched.h linux/include/linux/pkt_sched.h
@@ -192,6 +192,16 @@
 	unsigned char   Wlog;		/* log(W)		*/
 	unsigned char   Plog;		/* log(P_max/(qth_max-qth_min))	*/
 	unsigned char   Scell_log;	/* cell size for idle damping */
+	unsigned char	flags;
+#define TC_RED_ECN	1
+};
+
+struct tc_red_xstats
+{
+	__u32           early;          /* Early drops */
+	__u32           pdrop;          /* Drops due to queue limits */
+	__u32           other;          /* Drops due to drop() calls */
+	__u32           marked;         /* Marked packets */
 };
 
 /* GRED section */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)