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
Benjamin Valentin f198d689be gnrc_dhcpv6_client: fix for SLIP link-layer
In a point-to-point serial connection, we don't have L2 addresses.
Set the link type & packet length accordingly and we will get a
prefix from KEA.
2020-04-07 22:08:57 +02:00

45 lines
988 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_SERIAL (20U) /**< Serial Line */
#define ARP_HWTYPE_EUI64 (27U) /**< EUI-64 */
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* NET_ARP_H */
/** @} */