Commit 706e5870 authored by osdl.net!shemminger's avatar osdl.net!shemminger

Copy of final netem api for this verison.

2004/08/09 16:46:47-07:00 osdl.net!shemminger
Add distribution table loading (undebugged as yet).

(Logical change 1.71)
parent b7be3d0c
......@@ -401,7 +401,8 @@ enum {
#define TCA_ATM_MAX TCA_ATM_STATE
/* Network emulator */
/* Network section */
struct tc_netem_qopt
{
__u32 latency; /* added delay (us) */
......@@ -409,6 +410,14 @@ struct tc_netem_qopt
__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) */
__u32 jitter; /* delay sigma (us) */
__u32 delay_corr; /* delay correllation (0=none ~0=100%) */
__u32 loss_corr; /* packet loss correllation (0=none ~0=100%) */
__u32 dup_corr; /* duplicate correlation (0=none ~0=100%) */
__s16 delay_dist[0]; /* delay distribution table (optional) */
#define TCA_NETEM_TABLEFACTOR 8192
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment