From 2ba202b8320cbec32520d347ac256c2b4caf0458 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 29 Jan 2016 14:12:01 +0100 Subject: trafgen: parser: Support "etype"/"type" keywords for Ethertype The IEEE 802.3 standard commonly refers to the field specifying the upper layer protocol as Ethertype, not protocol. Thus, also support the keywords "etype" and "type" for this field. Signed-off-by: Tobias Klauser --- trafgen.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trafgen.8') diff --git a/trafgen.8 b/trafgen.8 index cd52854..48a252c 100644 --- a/trafgen.8 +++ b/trafgen.8 @@ -294,7 +294,7 @@ Supported protocol headers: .sp .I Ethernet : -.B eth(da=, sa=, prot=) +.B eth(da=, sa=, type=) .sp .in +4 .B da|daddr @@ -303,7 +303,7 @@ Supported protocol headers: .B sa|saddr - Source MAC address (default: device MAC address) .sp -.B prot|proto +.B etype|type|prot|proto - Ethernet type (default: 0) .in -4 -- cgit v1.2.3-54-g00ecf