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).
dev/timer
Martine Lenders 8 years ago
parent 66e6e7db02
commit 02b31292df

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

Loading…
Cancel
Save