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).
This commit is contained in:
Martine Lenders 2015-05-15 22:14:09 +02:00
parent 66e6e7db02
commit 02b31292df

View File

@ -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
}