Loading...
Searching...
No Matches

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

Detailed Description

Definions related to SLAAC functionality of the NIB.

See also
CONFIG_GNRC_IPV6_NIB_SLAAC

Definition in file _nib-slaac.h.

#include <kernel_defines.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.
 
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.
 
void _handle_dad (const ipv6_addr_t *addr)
 Handle GNRC_IPV6_NIB_DAD event.
 
void _handle_valid_addr (const ipv6_addr_t *addr)
 Handle GNRC_IPV6_NIB_VALID_ADDR event.
 

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.