DHCPv6 client bootstrapping for 6LoWPAN border routers. More...

Detailed Description

DHCPv6 client bootstrapping for 6LoWPAN border routers.

Files

file  6lbr.h
 DHCPv6 client on 6LoWPAN border router definitions.
 

Macros

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM   (0)
 Identifier of the upstream interface. More...
 
#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_6LO_CTX_MIN   (60U)
 6LoWPAN compression context lifetime for configured prefixes in minutes More...
 
#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE
 Use static routes to upstream router. More...
 

Functions

void gnrc_dhcpv6_client_6lbr_init (void)
 Initializes the DHCPv6 client for 6LoWPAN border router. More...
 

Macro Definition Documentation

◆ CONFIG_GNRC_DHCPV6_CLIENT_6LBR_6LO_CTX_MIN

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_6LO_CTX_MIN   (60U)

6LoWPAN compression context lifetime for configured prefixes in minutes

Must be between 1 and 255

See also
RFC 6775, section 4.2

Definition at line 46 of file 6lbr.h.

◆ CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE

Use static routes to upstream router.

If set the border router will be configured to have a default route via fe80::1. The link-local address fe80::2 will be added so that the upstream router can set a static route for the delegated prefix via that address. It is recommended to increase at least CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF to that end.

Definition at line 59 of file 6lbr.h.

◆ CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM   (0)

Identifier of the upstream interface.

Leave 0 (default) to let the client pick the first non-6LoWPAN interface it finds

Definition at line 34 of file 6lbr.h.

Function Documentation

◆ gnrc_dhcpv6_client_6lbr_init()

void gnrc_dhcpv6_client_6lbr_init ( void  )

Initializes the DHCPv6 client for 6LoWPAN border router.

Note
Called by auto_init when included