lwIP  2.1.0
Lightweight IP stack
Neighbor discovery

Macros

#define LWIP_ND6_QUEUEING   LWIP_IPV6
 
#define MEMP_NUM_ND6_QUEUE   20
 
#define LWIP_ND6_NUM_NEIGHBORS   10
 
#define LWIP_ND6_NUM_DESTINATIONS   10
 
#define LWIP_ND6_NUM_PREFIXES   5
 
#define LWIP_ND6_NUM_ROUTERS   3
 
#define LWIP_ND6_MAX_MULTICAST_SOLICIT   3
 
#define LWIP_ND6_MAX_UNICAST_SOLICIT   3
 
#define LWIP_ND6_MAX_ANYCAST_DELAY_TIME   1000
 
#define LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT   3
 
#define LWIP_ND6_REACHABLE_TIME   30000
 
#define LWIP_ND6_RETRANS_TIMER   1000
 
#define LWIP_ND6_DELAY_FIRST_PROBE_TIME   5000
 
#define LWIP_ND6_ALLOW_RA_UPDATES   1
 
#define LWIP_ND6_TCP_REACHABILITY_HINTS   1
 
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS   0
 

Detailed Description

Macro Definition Documentation

◆ LWIP_ND6_ALLOW_RA_UPDATES

#define LWIP_ND6_ALLOW_RA_UPDATES   1

LWIP_ND6_ALLOW_RA_UPDATES==1: Allow Router Advertisement messages to update Reachable time and retransmission timers, and netif MTU.

◆ LWIP_ND6_DELAY_FIRST_PROBE_TIME

#define LWIP_ND6_DELAY_FIRST_PROBE_TIME   5000

LWIP_ND6_DELAY_FIRST_PROBE_TIME: Delay before first unicast neighbor solicitation message is sent, during neighbor reachability detection.

◆ LWIP_ND6_MAX_ANYCAST_DELAY_TIME

#define LWIP_ND6_MAX_ANYCAST_DELAY_TIME   1000

Unused: See ND RFC (time in milliseconds).

◆ LWIP_ND6_MAX_MULTICAST_SOLICIT

#define LWIP_ND6_MAX_MULTICAST_SOLICIT   3

LWIP_ND6_MAX_MULTICAST_SOLICIT: max number of multicast solicit messages to send (neighbor solicit and router solicit)

◆ LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT

#define LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT   3

Unused: See ND RFC

◆ LWIP_ND6_MAX_UNICAST_SOLICIT

#define LWIP_ND6_MAX_UNICAST_SOLICIT   3

LWIP_ND6_MAX_UNICAST_SOLICIT: max number of unicast neighbor solicitation messages to send during neighbor reachability detection.

◆ LWIP_ND6_NUM_DESTINATIONS

#define LWIP_ND6_NUM_DESTINATIONS   10

LWIP_ND6_NUM_DESTINATIONS: number of entries in IPv6 destination cache

◆ LWIP_ND6_NUM_NEIGHBORS

#define LWIP_ND6_NUM_NEIGHBORS   10

LWIP_ND6_NUM_NEIGHBORS: Number of entries in IPv6 neighbor cache

◆ LWIP_ND6_NUM_PREFIXES

#define LWIP_ND6_NUM_PREFIXES   5

LWIP_ND6_NUM_PREFIXES: number of entries in IPv6 on-link prefixes cache

◆ LWIP_ND6_NUM_ROUTERS

#define LWIP_ND6_NUM_ROUTERS   3

LWIP_ND6_NUM_ROUTERS: number of entries in IPv6 default router cache

◆ LWIP_ND6_QUEUEING

#define LWIP_ND6_QUEUEING   LWIP_IPV6

LWIP_ND6_QUEUEING==1: queue outgoing IPv6 packets while MAC address is being resolved.

◆ LWIP_ND6_RDNSS_MAX_DNS_SERVERS

#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS   0

LWIP_ND6_RDNSS_MAX_DNS_SERVERS > 0: Use IPv6 Router Advertisement Recursive DNS Server Option (as per RFC 6106) to copy a defined maximum number of DNS servers to the DNS module.

◆ LWIP_ND6_REACHABLE_TIME

#define LWIP_ND6_REACHABLE_TIME   30000

LWIP_ND6_REACHABLE_TIME: default neighbor reachable time (in milliseconds). May be updated by router advertisement messages.

◆ LWIP_ND6_RETRANS_TIMER

#define LWIP_ND6_RETRANS_TIMER   1000

LWIP_ND6_RETRANS_TIMER: default retransmission timer for solicitation messages

◆ LWIP_ND6_TCP_REACHABILITY_HINTS

#define LWIP_ND6_TCP_REACHABILITY_HINTS   1

LWIP_ND6_TCP_REACHABILITY_HINTS==1: Allow TCP to provide Neighbor Discovery with reachability hints for connected destinations. This helps avoid sending unicast neighbor solicitation messages.

◆ MEMP_NUM_ND6_QUEUE

#define MEMP_NUM_ND6_QUEUE   20

MEMP_NUM_ND6_QUEUE: Max number of IPv6 packets to queue during MAC resolution.