diff options
| author | Xin LI <delphij@FreeBSD.org> | 2012-05-14 08:01:48 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2012-05-14 08:01:48 +0000 |
| commit | 60894fde29002aac35c5aff244b0f45c4d590413 (patch) | |
| tree | 2d0f73c65ae258539a2146cd435727a18ae62097 /ethertype.h | |
| parent | 6d59e2f382406def185ce5261b8723a174cd28a3 (diff) | |
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 900bd38eec41..fc5e515c6bb7 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 |
