From 82613f9252b19041c38024f3910552c3fe411188 Mon Sep 17 00:00:00 2001 From: Vijay Subramanian Date: Wed, 16 May 2012 13:51:57 +0000 Subject: [PATCH] Update tc-netem manpage to add ecn capability This patch updates the netem manpage to describe how to use netem to mark packets with ecn instead of dropping them. Signed-off-by: Vijay Subramanian --- man/man8/tc-netem.8 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man/man8/tc-netem.8 b/man/man8/tc-netem.8 index 39f84549..b0b7864b 100644 --- a/man/man8/tc-netem.8 +++ b/man/man8/tc-netem.8 @@ -30,8 +30,8 @@ NetEm \- Network Emulator .IR p13 " [ " p31 " [ " p32 " [ " p23 " [ " p14 "]]]] |" .br .RB " " gemodel -.IR p " [ " r " [ " 1-h " [ " 1-k " ]]]" -.BR " }" +.IR p " [ " r " [ " 1-h " [ " 1-k " ]]] } " +.RB " [ " ecn " ] " .IR CORRUPT " := " .B corrupt @@ -102,6 +102,10 @@ model. As known, p and r are the transition probabilities between the bad and the good states, 1-h is the loss probability in the bad state and 1-k is the loss probability in the good state. +.SS ecn +can be used optionally to mark packets instead of dropping them. A loss model +has to be used for this to be enabled. + .SS corrupt allows the emulation of random noise introducing an error in a random position for a chosen percent of packets. It is also possible to add a correlation