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_l2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trafgen_l2.h') diff --git a/trafgen_l2.h b/trafgen_l2.h index 7643bc3..38727ec 100644 --- a/trafgen_l2.h +++ b/trafgen_l2.h @@ -4,7 +4,7 @@ enum eth_field { ETH_DST_ADDR, ETH_SRC_ADDR, - ETH_PROTO_ID, + ETH_TYPE, }; enum arp_field { -- cgit v1.2.3-54-g00ecf