mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Rename lwip/prot/arp.h to lwip/prot/etharp.h for consistence
This commit is contained in:
parent
5e36815867
commit
f93a6e3310
@ -58,7 +58,7 @@ extern "C" {
|
||||
|
||||
#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)
|
||||
#if ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET)
|
||||
|
@ -34,8 +34,8 @@
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
*/
|
||||
#ifndef LWIP_HDR_PROT_ARP_H
|
||||
#define LWIP_HDR_PROT_ARP_H
|
||||
#ifndef LWIP_HDR_PROT_ETHARP_H
|
||||
#define LWIP_HDR_PROT_ETHARP_H
|
||||
|
||||
#include "lwip/arch.h"
|
||||
#include "lwip/prot/ethernet.h"
|
||||
@ -84,9 +84,8 @@ enum etharp_opcode {
|
||||
ARP_REPLY = 2
|
||||
};
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LWIP_HDR_PROT_ARP_H */
|
||||
#endif /* LWIP_HDR_PROT_ETHARP_H */
|
Loading…
Reference in New Issue
Block a user