summaryrefslogtreecommitdiff
path: root/man/trafgen.8
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-30 17:03:11 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-04-30 17:03:11 +0200
commit00e83a5144b3feb3881bf6d3a184bbcc69b1dad0 (patch)
tree8bb3b1e001f5e25a557804821911b00ed8484311 /man/trafgen.8
parentfc1d0ad07313b66e50f202bfe738554f1491fc15 (diff)
man: trafgen: finish syntax section
Counter description was missing. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'man/trafgen.8')
-rw-r--r--man/trafgen.85
1 files changed, 4 insertions, 1 deletions
diff --git a/man/trafgen.8 b/man/trafgen.8
index a919ed8..aa91d97 100644
--- a/man/trafgen.8
+++ b/man/trafgen.8
@@ -210,7 +210,10 @@ i) Fill with garbage functions:
byte fill function: fill(<content>, <times>): fill(0xca, 128)
compile-time random: rnd(<times>): rnd(128), rnd()
runtime random numbers: drnd(<times>): drnd(128), drnd()
- counter: TODO
+ compile-time counter: seqinc(<start-val>, <increment>, <times>)
+ seqdec(<start-val>, <decrement>, <times>)
+ runtime counter (1byte): dinc(<min-val>, <max-val>, <increment>)
+ ddec(<min-val>, <max-val>, <decrement>)
ii) Checksum helper functions (packet offsets start with 0):