diff options
author | Michael Richardson <mcr@sandelman.ca> | 2010-10-07 14:47:22 -0400 |
---|---|---|
committer | Michael Richardson <mcr@sandelman.ca> | 2010-10-07 14:47:22 -0400 |
commit | 28b293f330d5afdff9a127c0781dadda576602d5 (patch) | |
tree | 6b8bff135b21ef2a1c1066e14dd347a7d902c026 /ethertype.h | |
parent | 0cd4e1d65910b85b233bdb466c194b5d35e45e26 (diff) | |
download | tcpdump-28b293f330d5afdff9a127c0781dadda576602d5.tar.gz |
added support and test case for QinQ packets
Diffstat (limited to 'ethertype.h')
-rw-r--r-- | ethertype.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ethertype.h b/ethertype.h index 900bd38e..fc5e515c 100644 --- a/ethertype.h +++ b/ethertype.h @@ -103,6 +103,20 @@ #ifndef ETHERTYPE_8021Q #define ETHERTYPE_8021Q 0x8100 #endif + +/* see: + http://en.wikipedia.org/wiki/IEEE_802.1Q + and http://en.wikipedia.org/wiki/QinQ +*/ +#ifndef ETHERTYPE_8021Q9100 +#define ETHERTYPE_8021Q9100 0x9100 +#endif +#ifndef ETHERTYPE_8021Q9200 +#define ETHERTYPE_8021Q9200 0x9200 +#endif +#ifndef ETHERTYPE_8021QinQ +#define ETHERTYPE_8021QinQ 0x88a8 +#endif #ifndef ETHERTYPE_IPX #define ETHERTYPE_IPX 0x8137 #endif |