From 194d30badf547edd9f3f86f2de87322e13a0fa8a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 16 Sep 2017 21:45:49 -0700 Subject: packet-brcm-tag: Add Broadcom tag dissection Add support for dissecting the old-style Broadcom tag with Ethertype 0x8874, this was supported by switches like Broadcom BCM5325. Newer switches use a different tag format (with no Ethertype) which will be supported later. Change-Id: Iec26f8d13058399a35fb258ccadc48f7f5ac8474 Reviewed-on: https://code.wireshark.org/review/23592 Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Michael Mann --- epan/etypes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epan/etypes.h') diff --git a/epan/etypes.h b/epan/etypes.h index bbe32aef23..4ec6736d9a 100644 --- a/epan/etypes.h +++ b/epan/etypes.h @@ -324,6 +324,10 @@ extern "C" { #define ETHERTYPE_JUMBO_LLC 0x8870 /* 802.2 jumbo frames http://tools.ietf.org/html/draft-ietf-isis-ext-eth */ #endif +#ifndef ETHERTYPE_BRCM_TYPE +#define ETHERTYPE_BRCM_TYPE 0x8874 /* Broadcom Ethernet switches management tag */ +#endif + #ifndef ETHERTYPE_HOMEPLUG #define ETHERTYPE_HOMEPLUG 0x887B /* IEEE assigned Ethertype */ #endif -- cgit v1.2.3