gre: Add Transparent Ethernet Bridging
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Oct 2008 19:00:17 +0000 (12:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 19:00:17 +0000 (12:00 -0700)
This patch adds support for Ethernet over GRE encapsulation.
This is exposed to user-space with a new link type of "gretap"
instead of "gre".  It will create an ARPHRD_ETHER device in
lieu of the usual ARPHRD_IPGRE.

Note that to preserver backwards compatibility all Transparent
Ethernet Bridging packets are passed to an ARPHRD_IPGRE tunnel
if its key matches and there is no ARPHRD_ETHER device whose
key matches more closely.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found