From 02b31292dfa1a962dca1c8fb6805b3301ce82b7f Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 15 May 2015 22:14:09 +0200 Subject: [PATCH] ng_ethertype: add unknown ethertype Wireshark uses `0x0000` to disect a protocol. This PR introduces `NG_ETHERTYPE_UNKNOWN` == `0xffff` so we can use it experimentally (since it is not disected by Wireshark). --- sys/include/net/ng_ethertype.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/include/net/ng_ethertype.h b/sys/include/net/ng_ethertype.h index e46405e1ea..3f026fc84c 100644 --- a/sys/include/net/ng_ethertype.h +++ b/sys/include/net/ng_ethertype.h @@ -35,6 +35,7 @@ extern "C" { #define NG_ETHERTYPE_IPV4 (0x0800) /**< Internet protocol version 4 */ #define NG_ETHERTYPE_ARP (0x0806) /**< Address resolution protocol */ #define NG_ETHERTYPE_IPV6 (0x86dd) /**< Internet protocol version 6 */ +#define NG_ETHERTYPE_UNKNOWN (0xffff) /**< Reserved (no protocol specified) */ #ifdef __cplusplus }