]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man: tc-netem: add section for specifying the netem seed
authorFrançois Michel <francois.michel@uclouvain.be>
Wed, 23 Aug 2023 10:01:10 +0000 (12:01 +0200)
committerDavid Ahern <dsahern@kernel.org>
Tue, 29 Aug 2023 02:53:31 +0000 (20:53 -0600)
Signed-off-by: François Michel <francois.michel@uclouvain.be>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/tc-netem.8

index bc7947daf36cb844f3255e306b32321ea28017aa..a4cc0d614b135825a22ce61437720ef294677ac6 100644 (file)
@@ -9,7 +9,7 @@ netem \- Network Emulator
 
 .IR OPTIONS " := [ " LIMIT " ] [ " DELAY " ] [ " LOSS \
 " ] [ " CORRUPT " ] [ " DUPLICATION " ] [ " REORDERING " ] [ " RATE \
-" ] [ " SLOT " ]"
+" ] [ " SLOT " ] [ " SEED " ]"
 
 .IR LIMIT " := "
 .B limit
@@ -64,6 +64,10 @@ netem \- Network Emulator
 .BR bytes
 .IR BYTES " ]"
 
+.IR SEED " := "
+.B seed
+.I VALUE
+
 .SH DESCRIPTION
 The
 .B netem
@@ -240,6 +244,11 @@ It is possible to combine slotting with a rate, in which case complex behaviors
 where either the rate, or the slot limits on bytes or packets per slot, govern
 the actual delivered rate.
 
+.TP
+.BI seed " VALUE"
+Specifies a seed to guide and reproduce the randomly generated
+loss or corruption events.
+
 .SH LIMITATIONS
 Netem is limited by the timer granularity in the kernel.
 Rate and delay maybe impacted by clock interrupts.