Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
26
#ifndef NET_ETHERTYPE_H
27
#define NET_ETHERTYPE_H
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
/* expand at will ;-) */
34
#define ETHERTYPE_RESERVED (0x0000)
35
#define ETHERTYPE_IPV4 (0x0800)
36
#define ETHERTYPE_ARP (0x0806)
37
#define ETHERTYPE_CCNX (0x0801)
38
#define ETHERTYPE_NDN (0x8624)
39
#define ETHERTYPE_IPV6 (0x86dd)
40
#define ETHERTYPE_6LOENC (0xa0ed)
51
#ifndef ETHERTYPE_CUSTOM
52
#define ETHERTYPE_CUSTOM (0x0101)
53
#endif
54
58
#define ETHERTYPE_UNKNOWN (0xffff)
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
/* NET_ETHERTYPE_H */
65
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17