X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpkt_sched.h;h=268c51599eb8dc9343ffcdc6ef76e161858f6772;hb=973ed7c49a5c2271a10ce54ac06bba5617fca3a8;hp=e87b233615b349a4d982174779eaceaa7c1f127f;hpb=78b9c0f91cf908616b8f9f356e1d1220e727ea88;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index e87b233615b..268c51599eb 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -101,6 +101,15 @@ struct tc_prio_qopt __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ }; +enum +{ + TCA_PRIO_UNSPEC, + TCA_PRIO_MQ, + __TCA_PRIO_MAX +}; + +#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1) + /* TBF section */ struct tc_tbf_qopt @@ -429,6 +438,7 @@ enum TCA_NETEM_CORR, TCA_NETEM_DELAY_DIST, TCA_NETEM_REORDER, + TCA_NETEM_CORRUPT, __TCA_NETEM_MAX, }; @@ -457,6 +467,12 @@ struct tc_netem_reorder __u32 correlation; }; +struct tc_netem_corrupt +{ + __u32 probability; + __u32 correlation; +}; + #define NETEM_DIST_SCALE 8192 #endif