Mistake on this page?
Report an issue in GitHub or email us
Modules | Macros

Modules

 ICMP6
 
 Multicast listener discovery
 
 Neighbor discovery
 
 DHCPv6
 

Macros

#define LWIP_IPV6   0
 LWIP_IPV6==1: Enable IPv6. More...
 
#define IPV6_REASS_MAXAGE   60
 IPV6_REASS_MAXAGE: Maximum time (in multiples of IP6_REASS_TMR_INTERVAL - so seconds, normally) a fragmented IP packet waits for all fragments to arrive. More...
 
#define LWIP_IPV6_SCOPES   0 /*(LWIP_IPV6 && !LWIP_SINGLE_NETIF)*/
 LWIP_IPV6_SCOPES==1: Enable support for IPv6 address scopes, ensuring that e.g. More...
 
#define LWIP_IPV6_SCOPES_DEBUG   0
 LWIP_IPV6_SCOPES_DEBUG==1: Perform run-time checks to verify that addresses are properly zoned (see ip6_zone.h on what that means) where it matters. More...
 
#define LWIP_IPV6_NUM_ADDRESSES   3
 LWIP_IPV6_NUM_ADDRESSES: Number of IPv6 addresses per netif. More...
 
#define LWIP_IPV6_FORWARD   0
 LWIP_IPV6_FORWARD==1: Forward IPv6 packets across netifs. More...
 
#define LWIP_IPV6_FRAG   1
 LWIP_IPV6_FRAG==1: Fragment outgoing IPv6 packets that are too big. More...
 
#define LWIP_IPV6_REASS   LWIP_IPV6
 LWIP_IPV6_REASS==1: reassemble incoming IPv6 packets that fragmented. More...
 
#define LWIP_IPV6_SEND_ROUTER_SOLICIT   1
 LWIP_IPV6_SEND_ROUTER_SOLICIT==1: Send router solicitation messages during network startup. More...
 
#define LWIP_IPV6_AUTOCONFIG   LWIP_IPV6
 LWIP_IPV6_AUTOCONFIG==1: Enable stateless address autoconfiguration as per RFC 4862. More...
 
#define LWIP_IPV6_ADDRESS_LIFETIMES   LWIP_IPV6_AUTOCONFIG
 LWIP_IPV6_ADDRESS_LIFETIMES==1: Keep valid and preferred lifetimes for each IPv6 address. More...
 
#define LWIP_IPV6_DUP_DETECT_ATTEMPTS   1
 LWIP_IPV6_DUP_DETECT_ATTEMPTS=[0..7]: Number of duplicate address detection attempts. More...
 

Detailed Description

Macro Definition Documentation

#define IPV6_REASS_MAXAGE   60

IPV6_REASS_MAXAGE: Maximum time (in multiples of IP6_REASS_TMR_INTERVAL - so seconds, normally) a fragmented IP packet waits for all fragments to arrive.

If not all fragments arrived in this time, the whole packet is discarded.

Definition at line 2382 of file opt.h.

#define LWIP_IPV6   0

LWIP_IPV6==1: Enable IPv6.

Definition at line 2373 of file opt.h.

#define LWIP_IPV6_ADDRESS_LIFETIMES   LWIP_IPV6_AUTOCONFIG

LWIP_IPV6_ADDRESS_LIFETIMES==1: Keep valid and preferred lifetimes for each IPv6 address.

Required for LWIP_IPV6_AUTOCONFIG. May still be enabled otherwise, in which case the application may assign address lifetimes with the appropriate macros. Addresses with no lifetime are assumed to be static. If this option is disabled, all addresses are assumed to be static.

Definition at line 2467 of file opt.h.

#define LWIP_IPV6_AUTOCONFIG   LWIP_IPV6

LWIP_IPV6_AUTOCONFIG==1: Enable stateless address autoconfiguration as per RFC 4862.

Definition at line 2456 of file opt.h.

#define LWIP_IPV6_DUP_DETECT_ATTEMPTS   1

LWIP_IPV6_DUP_DETECT_ATTEMPTS=[0..7]: Number of duplicate address detection attempts.

Definition at line 2474 of file opt.h.

#define LWIP_IPV6_FORWARD   0

LWIP_IPV6_FORWARD==1: Forward IPv6 packets across netifs.

Definition at line 2427 of file opt.h.

#define LWIP_IPV6_FRAG   1

LWIP_IPV6_FRAG==1: Fragment outgoing IPv6 packets that are too big.

Definition at line 2434 of file opt.h.

#define LWIP_IPV6_NUM_ADDRESSES   3

LWIP_IPV6_NUM_ADDRESSES: Number of IPv6 addresses per netif.

Definition at line 2420 of file opt.h.

#define LWIP_IPV6_REASS   LWIP_IPV6

LWIP_IPV6_REASS==1: reassemble incoming IPv6 packets that fragmented.

Definition at line 2441 of file opt.h.

#define LWIP_IPV6_SCOPES   0 /*(LWIP_IPV6 && !LWIP_SINGLE_NETIF)*/

LWIP_IPV6_SCOPES==1: Enable support for IPv6 address scopes, ensuring that e.g.

link-local addresses are really treated as link-local. Disable this setting only for single-interface configurations. All addresses that have a scope according to the default policy (link-local unicast addresses, interface-local and link-local multicast addresses) should now have a zone set on them before being passed to the core API, although lwIP will currently attempt to select a zone on the caller's behalf when necessary. Applications that directly assign IPv6 addresses to interfaces (which is NOT recommended) must now ensure that link-local addresses carry the netif's zone. See the new ip6_zone.h header file for more information and relevant macros. For now it is still possible to turn off scopes support through the new LWIP_IPV6_SCOPES option. When upgrading an implementation that uses the core API directly, it is highly recommended to enable LWIP_IPV6_SCOPES_DEBUG at least for a while, to ensure e.g. proper address initialization.

Definition at line 2403 of file opt.h.

#define LWIP_IPV6_SCOPES_DEBUG   0

LWIP_IPV6_SCOPES_DEBUG==1: Perform run-time checks to verify that addresses are properly zoned (see ip6_zone.h on what that means) where it matters.

Enabling this setting is highly recommended when upgrading from an existing installation that is not yet scope-aware; otherwise it may be too expensive.

Definition at line 2413 of file opt.h.

#define LWIP_IPV6_SEND_ROUTER_SOLICIT   1

LWIP_IPV6_SEND_ROUTER_SOLICIT==1: Send router solicitation messages during network startup.

Definition at line 2449 of file opt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.