UbixOS V2 2.0

Macros
Neighbor discovery
Options (lwipopts.h) » IPv6
Collaboration diagram for Neighbor discovery:

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

## 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.

Definition at line 2331 of file opt.h.

## ◆ 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.

Definition at line 2323 of file opt.h.

## ◆ LWIP_ND6_MAX_ANYCAST_DELAY_TIME

#define LWIP_ND6_MAX_ANYCAST_DELAY_TIME 1000

Unused: See ND RFC (time in milliseconds).

Definition at line 2293 of file opt.h.

## ◆ 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)

Definition at line 2278 of file opt.h.

## ◆ LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT

#define LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT 3

Unused: See ND RFC

Definition at line 2300 of file opt.h.

## ◆ 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.

Definition at line 2286 of file opt.h.

## ◆ LWIP_ND6_NUM_DESTINATIONS

#define LWIP_ND6_NUM_DESTINATIONS 10

LWIP_ND6_NUM_DESTINATIONS: number of entries in IPv6 destination cache

Definition at line 2256 of file opt.h.

## ◆ LWIP_ND6_NUM_NEIGHBORS

#define LWIP_ND6_NUM_NEIGHBORS 10

LWIP_ND6_NUM_NEIGHBORS: Number of entries in IPv6 neighbor cache

Definition at line 2249 of file opt.h.

## ◆ LWIP_ND6_NUM_PREFIXES

#define LWIP_ND6_NUM_PREFIXES 5

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

Definition at line 2263 of file opt.h.

## ◆ LWIP_ND6_NUM_ROUTERS

#define LWIP_ND6_NUM_ROUTERS 3

LWIP_ND6_NUM_ROUTERS: number of entries in IPv6 default router cache

Definition at line 2270 of file opt.h.

## ◆ LWIP_ND6_QUEUEING

#define LWIP_ND6_QUEUEING (LWIP_IPV6)

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

Definition at line 2235 of file opt.h.

## ◆ 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.

Definition at line 2349 of file opt.h.

## ◆ 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.

Definition at line 2308 of file opt.h.

## ◆ LWIP_ND6_RETRANS_TIMER

#define LWIP_ND6_RETRANS_TIMER 1000

LWIP_ND6_RETRANS_TIMER: default retransmission timer for solicitation messages

Definition at line 2315 of file opt.h.

## ◆ 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.

Definition at line 2340 of file opt.h.

## ◆ MEMP_NUM_ND6_QUEUE

#define MEMP_NUM_ND6_QUEUE 20

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

Definition at line 2242 of file opt.h.