mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-27 09:17:55 +00:00
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)
This commit is contained in:
parent
b7be3d0cd2
commit
706e587087
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user