Definions related to SLAAC functionality of the NIB. More...
Definions related to SLAAC functionality of the NIB.
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"
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. | |
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.
[in] | netif | The network interface the address should be added to. |
[in] | pfx | The prefix for the address. |
[in] | pfx_len | Length of pfx in bits. |
void _handle_dad | ( | const ipv6_addr_t * | addr | ) |
Handle GNRC_IPV6_NIB_DAD event.
[in] | addr | A TENTATIVE address. |
void _handle_valid_addr | ( | const ipv6_addr_t * | addr | ) |
Handle GNRC_IPV6_NIB_VALID_ADDR event.
[in] | addr | A TENTATIVE address. |
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.
[in] | netif | The network interface the address is to be removed from. |
[in] | addr | The address to remove. |