diff options
| author | <jgarzik@pretzel.yyz.us> | 2005-05-27 22:08:07 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-27 22:08:07 -0400 |
| commit | 51a730d758ae4052e10ca7e06336f10af598c4fc (patch) | |
| tree | b76a004c00cd7139659be515ee03398e47067290 /include/linux/pkt_sched.h | |
| parent | 6cd15a9daf826115356f9403494c76e5aafa7793 (diff) | |
| parent | ff0e0ea2f5d36fa90fc2c57fd019102b0a0cfabf (diff) | |
Automatic merge of /spare/repo/netdev-2.6 branch we18-ieee80211
Diffstat (limited to 'include/linux/pkt_sched.h')
| -rw-r--r-- | include/linux/pkt_sched.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index 73d84c071cb1..1d9da36eb9db 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h | |||
| @@ -427,6 +427,7 @@ enum | |||
| 427 | TCA_NETEM_UNSPEC, | 427 | TCA_NETEM_UNSPEC, |
| 428 | TCA_NETEM_CORR, | 428 | TCA_NETEM_CORR, |
| 429 | TCA_NETEM_DELAY_DIST, | 429 | TCA_NETEM_DELAY_DIST, |
| 430 | TCA_NETEM_REORDER, | ||
| 430 | __TCA_NETEM_MAX, | 431 | __TCA_NETEM_MAX, |
| 431 | }; | 432 | }; |
| 432 | 433 | ||
| @@ -437,7 +438,7 @@ struct tc_netem_qopt | |||
| 437 | __u32 latency; /* added delay (us) */ | 438 | __u32 latency; /* added delay (us) */ |
| 438 | __u32 limit; /* fifo limit (packets) */ | 439 | __u32 limit; /* fifo limit (packets) */ |
| 439 | __u32 loss; /* random packet loss (0=none ~0=100%) */ | 440 | __u32 loss; /* random packet loss (0=none ~0=100%) */ |
| 440 | __u32 gap; /* re-ordering gap (0 for delay all) */ | 441 | __u32 gap; /* re-ordering gap (0 for none) */ |
| 441 | __u32 duplicate; /* random packet dup (0=none ~0=100%) */ | 442 | __u32 duplicate; /* random packet dup (0=none ~0=100%) */ |
| 442 | __u32 jitter; /* random jitter in latency (us) */ | 443 | __u32 jitter; /* random jitter in latency (us) */ |
| 443 | }; | 444 | }; |
| @@ -449,6 +450,12 @@ struct tc_netem_corr | |||
| 449 | __u32 dup_corr; /* duplicate correlation */ | 450 | __u32 dup_corr; /* duplicate correlation */ |
| 450 | }; | 451 | }; |
| 451 | 452 | ||
| 453 | struct tc_netem_reorder | ||
| 454 | { | ||
| 455 | __u32 probability; | ||
| 456 | __u32 correlation; | ||
| 457 | }; | ||
| 458 | |||
| 452 | #define NETEM_DIST_SCALE 8192 | 459 | #define NETEM_DIST_SCALE 8192 |
| 453 | 460 | ||
| 454 | #endif | 461 | #endif |
