OSDN Git Service

add new ethernet packet types ETH_P_80221, ETH_P_LOOPBACK
authorSzabolcs Nagy <nsz@port70.net>
Sun, 20 Jul 2014 14:02:15 +0000 (16:02 +0200)
committerSzabolcs Nagy <nsz@port70.net>
Sun, 20 Jul 2014 16:42:21 +0000 (18:42 +0200)
commit4a142db74f128011e7afafd19607234243f908ff
tree9f86215ba77bab17587e18b851d063548370c70a
parent002e8d84c5fec47636606aef5d2f16914c6097f3
add new ethernet packet types ETH_P_80221, ETH_P_LOOPBACK

ETH_P_80221 is ethertype for IEEE Std 802.21 - Media Independent Handover Protocol
introduced in linux 3.15 commit b62faf3cdc875a1ac5a10696cf6ea0b12bab1596

ETH_P_LOOPBACK is the correct packet type for loopback in IEEE 802.3*
introduced in linux 3.15 commit 61ccbb684421d374fdcd7cf5d6b024b06f03ce4e

some defines were shuffled to be in ascending order and match the kernel header
include/netinet/if_ether.h