Loading...
Searching...
No Matches

simple prefix delegation More...

Detailed Description

simple prefix delegation

DHCPv6 client bootstrapping for prefix deligation with routers & 6LoWPAN border routers

Files

file  simple_pd.h
 DHCPv6 client for simple prefix delegation definitions.
 

Macros

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

Functions

void gnrc_dhcpv6_client_simple_pd_init (void)
 Initializes the DHCPv6 client for simple prefix delegation.
 

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 67 of file simple_pd.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 80 of file simple_pd.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 36 of file simple_pd.h.

◆ CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM_IDX

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM_IDX   (0)

Interface index of the upstream interface.

If there are multiple interfaces of the same type, set this to select which one to use for the upstream.

Definition at line 55 of file simple_pd.h.

◆ CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM_TYPE

#define CONFIG_GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM_TYPE   NETDEV_ANY

Interface type of the upstream interface.

See netdev_type_t for possible values

Definition at line 45 of file simple_pd.h.

Function Documentation

◆ gnrc_dhcpv6_client_simple_pd_init()

void gnrc_dhcpv6_client_simple_pd_init ( void  )

Initializes the DHCPv6 client for simple prefix delegation.

Note
Called by auto_init when included