patch-2.4.27 linux-2.4.27/include/linux/pkt_sched.h

Next file: linux-2.4.27/include/linux/rtnetlink.h
Previous file: linux-2.4.27/include/linux/pkt_cls.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/include/linux/pkt_sched.h linux-2.4.27/include/linux/pkt_sched.h
@@ -432,11 +432,15 @@
 
 #define TCA_ATM_MAX	TCA_ATM_STATE
 
-/* Delay section */
-struct tc_dly_qopt
+/* Network emulator */
+struct tc_netem_qopt
 {
-	__u32	latency;
-	__u32   limit;
-};	
+	__u32	latency;	/* added delay (us) */
+	__u32   limit;		/* fifo limit (packets) */
+	__u32	loss;		/* random packet loss (0=none ~0=100%) */
+	__u32	gap;		/* re-ordering gap (0 for delay all) */
+	__u32   duplicate;	/* random packet dup  (0=none ~0=100%) */
+	__u32	jitter;		/* random jitter in latency (us) */
+};
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)