net: add 802.1ad / 802.1ah / QinQ ethertypes
authorDavid Lamparter <equinox@diac24.net>
Sun, 17 Jul 2011 08:32:12 +0000 (08:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2011 19:33:22 +0000 (12:33 -0700)
commit178edcbc6b539dfc21062fed9bf31701a8952e1c
tree2d94496564e79273eb5ab99974332df1fa459665
parent542d4d685febf3110d1a08d0bcb9f6ef060b76f7
net: add 802.1ad / 802.1ah / QinQ ethertypes

define ETH_P_8021AD to 88a8 (assigned by IEEE) and add ETH_P_QINQ{1,2,3}
for the pre-standard 9{1,2,3}00 types. all of them use 802.1q frame
format, with 1 bit used differently in some cases.

also define ETH_P_8021AH to 88e7 (assigned by IEEE). this is Mac-in-Mac
and uses a different, 16-byte header.

Signed-off-by: David Lamparter <equinox@diac24.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_ether.h