Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
ethertype.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for
6
* more details.
7
*/
8
25
#ifndef NET_ETHERTYPE_H
26
#define NET_ETHERTYPE_H
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
/* expand at will ;-) */
33
#define ETHERTYPE_RESERVED (0x0000)
34
#define ETHERTYPE_IPV4 (0x0800)
35
#define ETHERTYPE_ARP (0x0806)
36
#define ETHERTYPE_CCNX (0x0801)
37
#define ETHERTYPE_NDN (0x8624)
38
#define ETHERTYPE_IPV6 (0x86dd)
39
#define ETHERTYPE_6LOENC (0xa0ed)
50
#ifndef ETHERTYPE_CUSTOM
51
#define ETHERTYPE_CUSTOM (0x0101)
52
#endif
57
#define ETHERTYPE_UNKNOWN (0xffff)
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* NET_ETHERTYPE_H */
Generated on Fri Dec 20 2024 20:01:57 by
1.9.8