Definions related to SLAAC functionality of the NIB. More...

Detailed Description

Definions related to SLAAC functionality of the NIB.

See also
GNRC_IPV6_NIB_CONF_SLAAC

Definition in file _nib-slaac.h.

#include <stdint.h>
#include "net/gnrc/ipv6/nib/conf.h"
#include "net/gnrc/netif.h"
#include "net/ipv6/addr.h"
+ Include dependency graph for _nib-slaac.h:

Go to the source code of this file.

void _auto_configure_addr (gnrc_netif_t *netif, const ipv6_addr_t *pfx, uint8_t pfx_len)
 Auto-configures an address from a given prefix. More...
 
void _remove_tentative_addr (gnrc_netif_t *netif, const ipv6_addr_t *addr)
 Removes a tentative address from the interface and tries to reconfigure a new address. More...
 
void _handle_dad (const ipv6_addr_t *addr)
 Handle GNRC_IPV6_NIB_DAD event. More...
 
void _handle_valid_addr (const ipv6_addr_t *addr)
 Handle GNRC_IPV6_NIB_VALID_ADDR event. More...
 

Function Documentation

◆ _auto_configure_addr()

void _auto_configure_addr ( gnrc_netif_t netif,
const ipv6_addr_t pfx,
uint8_t  pfx_len 
)

Auto-configures an address from a given prefix.

Parameters
[in]netifThe network interface the address should be added to.
[in]pfxThe prefix for the address.
[in]pfx_lenLength of pfx in bits.

◆ _handle_dad()

void _handle_dad ( const ipv6_addr_t addr)

Handle GNRC_IPV6_NIB_DAD event.

Parameters
[in]addrA TENTATIVE address.

◆ _handle_valid_addr()

void _handle_valid_addr ( const ipv6_addr_t addr)

Handle GNRC_IPV6_NIB_VALID_ADDR event.

Parameters
[in]addrA TENTATIVE address.

◆ _remove_tentative_addr()

void _remove_tentative_addr ( gnrc_netif_t netif,
const ipv6_addr_t addr 
)

Removes a tentative address from the interface and tries to reconfigure a new address.

Parameters
[in]netifThe network interface the address is to be removed from.
[in]addrThe address to remove.