summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-09-22 23:55:35 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-10-04 17:18:52 +0200
commitd9ae1dc5ab0c71174a5ef56a770fb12a51911839 (patch)
tree564ca328b94554d59c56fa70bba53b5c48b1d038
parent12ccf0c12dde24f9b759b1747c88b2f09439c7d8 (diff)
trafgen: man: Add description for 'pause()' proto function
Add explanation for PAUSE(802.3X) header fields. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.822
1 files changed, 22 insertions, 0 deletions
diff --git a/trafgen.8 b/trafgen.8
index 4da5a35..9708f8a 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -350,6 +350,28 @@ Supported protocol headers:
- Ethernet type (default: 0)
.in -4
+.sp
+.I PAUSE (IEEE 802.3X)
+:
+.B pause(code=<number>, time=<number>)
+.sp
+.in +4
+.B code
+- MAC Control opcode (default: 0x0001)
+.sp
+.B time
+- Pause time (default: 0)
+.sp
+By default Ethernet header is added with a fields:
+.in +4
+.sp
+Ethernet type - 0x8808
+.sp
+Destination MAC address - 01:80:C2:00:00:01
+.in -4
+
+.in -4
+
.I VLAN
:
.B vlan(tpid=<number>, id=<number>, dei=<number>, tci=<number>, pcp=<number>, 1q, 1ad)