simple prefix delegation More...
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. | |
#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
Definition at line 67 of file simple_pd.h.
#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.
#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.
#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.
#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.
void gnrc_dhcpv6_client_simple_pd_init | ( | void | ) |
Initializes the DHCPv6 client for simple prefix delegation.
auto_init
when included