]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Update tc-netem manpage to add ecn capability
authorVijay Subramanian <subramanian.vijay@gmail.com>
Wed, 16 May 2012 13:51:57 +0000 (13:51 +0000)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 22 May 2012 21:09:09 +0000 (14:09 -0700)
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 <subramanian.vijay@gmail.com>
man/man8/tc-netem.8

index 39f8454993bdb9ccab0af314c997c6e14ba7ab85..b0b7864bda1eeb16598773eaaafe531d9fdaceb0 100644 (file)
@@ -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