Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
24
#ifdef __cplusplus
25
extern
"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)
46
#ifndef ETHERTYPE_CUSTOM
47
#define ETHERTYPE_CUSTOM (0x0101)
48
#endif
53
#define ETHERTYPE_UNKNOWN (0xffff)
55
#ifdef __cplusplus
56
}
57
#endif
58
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1