diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-09-16 21:45:49 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-09-25 11:48:32 +0000 |
commit | 194d30badf547edd9f3f86f2de87322e13a0fa8a (patch) | |
tree | 3a975ff5f9822180590c7ab4260d353aabcb0cb0 /epan/etypes.h | |
parent | dc011cc53ebb424ed4fd1383282d929f8688e8e1 (diff) |
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 <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/etypes.h')
-rw-r--r-- | epan/etypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |