From 686338ed02f66341daf508b2255f3dc1d5315f6d Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Mon, 1 Feb 2016 19:01:41 +0200 Subject: trafgen: man: Add help for VLAN header function Add usage, syntax & parameters description for 'vlan()' function. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- trafgen.8 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/trafgen.8 b/trafgen.8 index 207cfc5..4a91d1f 100644 --- a/trafgen.8 +++ b/trafgen.8 @@ -307,6 +307,35 @@ Supported protocol headers: - Ethernet type (default: 0) .in -4 +.I VLAN +: +.B vlan(tpid=, id=, dei=, tci=, pcp=, 1q, 1ad) +.sp +.in +4 +.B tpid|prot|proto +- Tag Protocol Identifier (TPID) (default: 0x8100) +.sp +.B tci +- Tag Control Information (TCI) field (VLAN Id + PCP + DEI) (default: 0) +.sp +.B dei|cfi +- Drop Eligible Indicator (DEI), formerly Canonical Format Indicator (CFI) (default: 0) +.sp +.B pcp +- Priority code point (PCP) (default: 0) +.sp +.B id +- VLAN Identifier (default: 0) +.sp +.B 1q +- Set 802.1q header (TPID: 0x8100) +.sp +.B 1ad +- Set 802.1ad header (TPID: 0x88a8) +.sp +.in -4 +By default, if the lower level header is Ethernet, its Ethertype is set to +0x8100 (802.1q). .I ARP : .B arp(htype=, ptype=, op=, request, -- cgit v1.2.3-54-g00ecf