Loading...
Searching...
No Matches
ethertype.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/* expand at will ;-) */
29#define ETHERTYPE_RESERVED (0x0000)
30#define ETHERTYPE_IPV4 (0x0800)
31#define ETHERTYPE_ARP (0x0806)
32#define ETHERTYPE_CCNX (0x0801)
33#define ETHERTYPE_NDN (0x8624)
34#define ETHERTYPE_IPV6 (0x86dd)
35#define ETHERTYPE_6LOENC (0xa0ed)
36
46#ifndef ETHERTYPE_CUSTOM
47#define ETHERTYPE_CUSTOM (0x0101)
48#endif
52
53#define ETHERTYPE_UNKNOWN (0xffff)
54
55#ifdef __cplusplus
56}
57#endif
58