ethertype: use correct type for NDN and CCNx

This commit is contained in:
Cenk Gündoğan 2016-10-06 15:58:50 +02:00 committed by astralien3000
parent 1fb4789e1b
commit 05d4c23c4a

View File

@ -34,7 +34,8 @@ extern "C" {
#define ETHERTYPE_RESERVED (0x0000) /**< Reserved */ #define ETHERTYPE_RESERVED (0x0000) /**< Reserved */
#define ETHERTYPE_IPV4 (0x0800) /**< Internet protocol version 4 */ #define ETHERTYPE_IPV4 (0x0800) /**< Internet protocol version 4 */
#define ETHERTYPE_ARP (0x0806) /**< Address resolution protocol */ #define ETHERTYPE_ARP (0x0806) /**< Address resolution protocol */
#define ETHERTYPE_NDN (0x0801) /**< Parc CCNX */ #define ETHERTYPE_CCNX (0x0801) /**< Parc CCNX */
#define ETHERTYPE_NDN (0x8624) /**< NDN Protocol (http://named-data.net/) */
#define ETHERTYPE_IPV6 (0x86dd) /**< Internet protocol version 6 */ #define ETHERTYPE_IPV6 (0x86dd) /**< Internet protocol version 6 */
#define ETHERTYPE_UNKNOWN (0xffff) /**< Reserved (no protocol specified) */ #define ETHERTYPE_UNKNOWN (0xffff) /**< Reserved (no protocol specified) */