1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/net/arp.h
Martine Lenders d03d2b409e net: add ARP hardware type defintions
These are required for DHCPv6 to identify the type of a link-layer
address (for DUID creation).
2020-01-02 11:56:25 +01:00

44 lines
928 B
C

/*
* Copyright (C) 2018 Freie Universität Berlin
*
* 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_arp Address resolution protocol (ARP)
* @ingroup net_ipv4
* @brief ARP definitions
* @{
*
* @file
* @brief ARP definitions
*
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef NET_ARP_H
#define NET_ARP_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Hardware types
* @anchor net_arp_hwtype
* @see [IANA ARP parameters]
* (https://www.iana.org/assignments/arp-parameters/arp-parameters.xhtml#table-arp-parameters-2)
* @{
*/
#define ARP_HWTYPE_ETHERNET (1U) /**< Ethernet */
#define ARP_HWTYPE_EUI64 (27U) /**< EUI-64 */
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* NET_ARP_H */
/** @} */