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 ETHERTYPE_H
27 #define 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_NDN (0x0801)
38 #define ETHERTYPE_IPV6 (0x86dd)
39 #define ETHERTYPE_UNKNOWN (0xffff)
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* ETHERTYPE_H */
46