mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-12 19:26:52 +08:00
Rename DHCP_DOES_ACD_CHECK ->LWIP_DHCP_DOES_ACD_CHECK
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
#include "lwip/netif.h"
|
||||
#include "lwip/udp.h"
|
||||
|
||||
#if DHCP_DOES_ACD_CHECK
|
||||
#if LWIP_DHCP_DOES_ACD_CHECK
|
||||
#include "lwip/acd.h"
|
||||
#endif /* DHCP_DOES_ACD_CHECK */
|
||||
#endif /* LWIP_DHCP_DOES_ACD_CHECK */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -100,10 +100,10 @@ struct dhcp
|
||||
ip4_addr_t offered_si_addr;
|
||||
char boot_file_name[DHCP_BOOT_FILE_LEN];
|
||||
#endif /* LWIP_DHCP_BOOTPFILE */
|
||||
#if DHCP_DOES_ACD_CHECK
|
||||
#if LWIP_DHCP_DOES_ACD_CHECK
|
||||
/** acd struct */
|
||||
struct acd acd;
|
||||
#endif /* DHCP_DOES_ACD_CHECK */
|
||||
#endif /* LWIP_DHCP_DOES_ACD_CHECK */
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -924,10 +924,10 @@
|
||||
#endif /* !LWIP_IPV4 */
|
||||
|
||||
/**
|
||||
* DHCP_DOES_ACD_CHECK==1: Perform address conflict detection on the dhcp address.
|
||||
* LWIP_DHCP_DOES_ACD_CHECK==1: Perform address conflict detection on the dhcp address.
|
||||
*/
|
||||
#if !defined DHCP_DOES_ACD_CHECK || defined __DOXYGEN__
|
||||
#define DHCP_DOES_ACD_CHECK 1
|
||||
#if !defined LWIP_DHCP_DOES_ACD_CHECK || defined __DOXYGEN__
|
||||
#define LWIP_DHCP_DOES_ACD_CHECK 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -1023,7 +1023,7 @@
|
||||
* LWIP_ACD==1: Enable ACD module. ACD module is needed when using AUTOIP.
|
||||
*/
|
||||
#if !defined LWIP_ACD || defined __DOXYGEN__
|
||||
#define LWIP_ACD (LWIP_AUTOIP || DHCP_DOES_ACD_CHECK)
|
||||
#define LWIP_ACD (LWIP_AUTOIP || LWIP_DHCP_DOES_ACD_CHECK)
|
||||
#endif
|
||||
#if !LWIP_IPV4
|
||||
/* disable ACD when IPv4 is disabled */
|
||||
|
||||
Reference in New Issue
Block a user