[PKT_SCHED] netem: packet corruption option
[linux-2.6.git] / include / linux / pkt_sched.h
index e87b233615b349a4d982174779eaceaa7c1f127f..d10f35338507021c219bac8ce1d235b8a0c05b30 100644 (file)
@@ -429,6 +429,7 @@ enum
        TCA_NETEM_CORR,
        TCA_NETEM_DELAY_DIST,
        TCA_NETEM_REORDER,
+       TCA_NETEM_CORRUPT,
        __TCA_NETEM_MAX,
 };
 
@@ -457,6 +458,12 @@ struct tc_netem_reorder
        __u32   correlation;
 };
 
+struct tc_netem_corrupt
+{
+       __u32   probability;
+       __u32   correlation;
+};
+
 #define NETEM_DIST_SCALE       8192
 
 #endif