Rename lwip/prot/arp.h to lwip/prot/etharp.h for consistence

This commit is contained in:
Dirk Ziegelmeier 2016-08-19 13:09:58 +02:00
parent 5e36815867
commit f93a6e3310
2 changed files with 4 additions and 5 deletions

View File

@ -58,7 +58,7 @@ extern "C" {
#if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */ #if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */
#include "lwip/prot/arp.h" #include "lwip/prot/etharp.h"
#define SIZEOF_ETHARP_PACKET (SIZEOF_ETH_HDR + SIZEOF_ETHARP_HDR) #define SIZEOF_ETHARP_PACKET (SIZEOF_ETH_HDR + SIZEOF_ETHARP_HDR)
#if ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET) #if ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET)

View File

@ -34,8 +34,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef LWIP_HDR_PROT_ARP_H #ifndef LWIP_HDR_PROT_ETHARP_H
#define LWIP_HDR_PROT_ARP_H #define LWIP_HDR_PROT_ETHARP_H
#include "lwip/arch.h" #include "lwip/arch.h"
#include "lwip/prot/ethernet.h" #include "lwip/prot/ethernet.h"
@ -84,9 +84,8 @@ enum etharp_opcode {
ARP_REPLY = 2 ARP_REPLY = 2
}; };
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* LWIP_HDR_PROT_ARP_H */ #endif /* LWIP_HDR_PROT_ETHARP_H */