mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08: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 */
|
#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)
|
||||||
|
@ -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 */
|
Loading…
x
Reference in New Issue
Block a user