Loading...
Searching...
No Matches

Configuration macros for neighbor information base. More...

Detailed Description

Configuration macros for neighbor information base.

Files

file  conf.h
 Configuration macro definitions for neighbor information base.
 

Macros

#define CONFIG_GNRC_IPV6_NIB_REACH_TIME_RESET   (7200000U)
 Reset time in milliseconds for the reachability time.
 
#define CONFIG_GNRC_IPV6_NIB_NO_RTR_SOL   0
 Disable router solicitations.
 
#define CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN   (8U)
 Maximum link-layer address length (aligned)
 
#define CONFIG_GNRC_IPV6_NIB_DEFAULT_ROUTER_NUMOF   (1)
 Number of default routers in the default router list.
 
#define CONFIG_GNRC_IPV6_NIB_NUMOF   (4)
 Number of entries in NIB.
 
#define CONFIG_GNRC_IPV6_NIB_NBR_QUEUE_CAP   (16)
 Per-neighbor packet queue capacity.
 
#define CONFIG_GNRC_IPV6_NIB_OFFL_NUMOF   (8)
 Number of off-link entries in NIB.
 
#define CONFIG_GNRC_IPV6_NIB_ABR_NUMOF   (1)
 Number of authoritative border router entries in NIB.
 

Compile flags

Compile flags to (de-)activate certain features for NIB

#define CONFIG_GNRC_IPV6_NIB_6LBR   0
 enable features for 6Lo border router
 
#define CONFIG_GNRC_IPV6_NIB_6LR   0
 enable features for 6Lo router
 
#define CONFIG_GNRC_IPV6_NIB_6LN   0
 enable features for 6Lo node
 
#define CONFIG_GNRC_IPV6_NIB_ROUTER   0
 enable features for IPv6 routers
 
#define CONFIG_GNRC_IPV6_NIB_ADV_ROUTER   0
 activate router advertising at interface start-up
 
#define CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_RA   0
 Include a Route Information Option for subnets on other interfaces in normal Router Advertisements generated by gnrc_ipv6_nib_change_rtr_adv_iface.
 
#define CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_LAST_RA   0
 Include a Route Information Option for subnets on other interfaces in the last Router Advertisement generated by gnrc_ipv6_nib_change_rtr_adv_iface.
 
#define CONFIG_GNRC_IPV6_NIB_ARSM   1
 (de-)activate NDP address resolution state-machine
 
#define CONFIG_GNRC_IPV6_NIB_QUEUE_PKT   1
 queue packets for address resolution
 
#define CONFIG_GNRC_IPV6_NIB_SLAAC   1
 handle NDP messages according for stateless address auto-configuration (if activated on interface)
 
#define CONFIG_GNRC_IPV6_NIB_REDIRECT   0
 handle Redirect Messages
 
#define CONFIG_GNRC_IPV6_NIB_DC   0
 (de-)activate destination cache
 
#define CONFIG_GNRC_IPV6_NIB_DNS   0
 Support for DNS configuration options.
 
#define CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C   0
 Multihop prefix and 6LoWPAN context distribution.
 
#define CONFIG_GNRC_IPV6_NIB_MULTIHOP_DAD   0
 Multihop duplicate address detection.
 

Macro Definition Documentation

◆ CONFIG_GNRC_IPV6_NIB_6LBR

#define CONFIG_GNRC_IPV6_NIB_6LBR   0

enable features for 6Lo border router

Definition at line 91 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_6LN

#define CONFIG_GNRC_IPV6_NIB_6LN   0

enable features for 6Lo node

Definition at line 112 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_6LR

#define CONFIG_GNRC_IPV6_NIB_6LR   0

enable features for 6Lo router

Definition at line 101 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ABR_NUMOF

#define CONFIG_GNRC_IPV6_NIB_ABR_NUMOF   (1)

Number of authoritative border router entries in NIB.

Definition at line 311 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_LAST_RA

#define CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_LAST_RA   0

Include a Route Information Option for subnets on other interfaces in the last Router Advertisement generated by gnrc_ipv6_nib_change_rtr_adv_iface.

Requires the gnrc_ipv6_nib_rio module.

Definition at line 161 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_RA

#define CONFIG_GNRC_IPV6_NIB_ADD_RIO_IN_RA   0

Include a Route Information Option for subnets on other interfaces in normal Router Advertisements generated by gnrc_ipv6_nib_change_rtr_adv_iface.

This is only needed if your node is an upstream router, but not the default router, but you want to propagate the information that the custom subnets it knows about should be routed through it instead of the default route.

Requires the gnrc_ipv6_nib_rio module.

Definition at line 147 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ADV_ROUTER

#define CONFIG_GNRC_IPV6_NIB_ADV_ROUTER   0

activate router advertising at interface start-up

Definition at line 131 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ARSM

#define CONFIG_GNRC_IPV6_NIB_ARSM   1

(de-)activate NDP address resolution state-machine

Definition at line 169 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_DC

#define CONFIG_GNRC_IPV6_NIB_DC   0

(de-)activate destination cache

Definition at line 203 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_DEFAULT_ROUTER_NUMOF

#define CONFIG_GNRC_IPV6_NIB_DEFAULT_ROUTER_NUMOF   (1)

Number of default routers in the default router list.

Attention
This number has direct influence on the maximum number of default routers

Definition at line 271 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_DNS

#define CONFIG_GNRC_IPV6_NIB_DNS   0

Support for DNS configuration options.

See also
RFC 8106

Definition at line 213 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN

#define CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN   (8U)

Maximum link-layer address length (aligned)

Definition at line 261 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_MULTIHOP_DAD

#define CONFIG_GNRC_IPV6_NIB_MULTIHOP_DAD   0

Multihop duplicate address detection.

See also
RFC 6775, section 8.2

Definition at line 235 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C

#define CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C   0

Multihop prefix and 6LoWPAN context distribution.

See also
RFC 6775, section 8.1

Definition at line 225 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_NBR_QUEUE_CAP

#define CONFIG_GNRC_IPV6_NIB_NBR_QUEUE_CAP   (16)

Per-neighbor packet queue capacity.

If CONFIG_GNRC_IPV6_NIB_QUEUE_PKT enabled, this is the maximum number of packets, per neighbor, awaiting packet resolution.

Attention
This MUST be leq UINT8_MAX

Definition at line 293 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_NO_RTR_SOL

#define CONFIG_GNRC_IPV6_NIB_NO_RTR_SOL   0

Disable router solicitations.

Warning
Only do this if you know what you're doing

Definition at line 254 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_NUMOF

#define CONFIG_GNRC_IPV6_NIB_NUMOF   (4)

Number of entries in NIB.

Attention
This number has direct influence on the maximum number of neighbors and duplicate address detection table entries

Definition at line 281 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_OFFL_NUMOF

#define CONFIG_GNRC_IPV6_NIB_OFFL_NUMOF   (8)

Number of off-link entries in NIB.

Attention
This number is equal to the maximum number of forwarding table and prefix list entries in NIB

Definition at line 303 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_QUEUE_PKT

#define CONFIG_GNRC_IPV6_NIB_QUEUE_PKT   1

queue packets for address resolution

Definition at line 176 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_REACH_TIME_RESET

#define CONFIG_GNRC_IPV6_NIB_REACH_TIME_RESET   (7200000U)

Reset time in milliseconds for the reachability time.

See also
RFC 4861, section 6.3.4

Definition at line 245 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_REDIRECT

#define CONFIG_GNRC_IPV6_NIB_REDIRECT   0

handle Redirect Messages

Definition at line 193 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_ROUTER

#define CONFIG_GNRC_IPV6_NIB_ROUTER   0

enable features for IPv6 routers

Definition at line 123 of file conf.h.

◆ CONFIG_GNRC_IPV6_NIB_SLAAC

#define CONFIG_GNRC_IPV6_NIB_SLAAC   1

handle NDP messages according for stateless address auto-configuration (if activated on interface)

See also
RFC 4862

Definition at line 186 of file conf.h.