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
- Lines: 21
- Date:
2004-08-07 16:26:06.327415521 -0700
- Orig file:
linux-2.4.26/include/linux/pkt_sched.h
- Orig date:
2004-04-14 06:05:40.000000000 -0700
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)