1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

ng_ethertype: initial import

This commit is contained in:
Martine Lenders 2015-03-11 18:16:44 +01:00
parent 5286b68f2e
commit dab8f9f6c0

View File

@ -0,0 +1,45 @@
/*
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for
* more details.
*/
/**
* @defgroup net_ng_ethertype
* @ingroup net
* @brief Ether types
* @see <a href="http://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1">
* IANA, ETHER TYPES
* </a>
* @note Last Updated: 2015-02-04
* @{
*
* @file
* @brief Ether type definitions
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef NG_ETHERTYPE_H_
#define NG_ETHERTYPE_H_
#ifdef __cplusplus
extern "C" {
#endif
/* expand at will ;-) */
#define NG_ETHERTYPE_IPV4 (0x0800) /* Internet protocol version 4 */
#define NG_ETHERTYPE_ARP (0x0806) /* Address resolution protocol */
#define NG_ETHERTYPE_IPV6 (0x86dd) /* Internet protocol version 6 */
#ifdef __cplusplus
}
#endif
#endif /* NG_ETHERTYPE_H_ */
/**
* @}
*/