Prefix list definitions. More...
Prefix list definitions.
Definition in file pl.h.
Go to the source code of this file.
Data Structures | |
struct | gnrc_ipv6_nib_pl_t |
Prefix list entry view on NIB. More... | |
Functions | |
int | gnrc_ipv6_nib_pl_set (unsigned iface, const ipv6_addr_t *pfx, unsigned pfx_len, uint32_t valid_ltime, uint32_t pref_ltime) |
Adds (or updates) prefix to NIB. | |
void | gnrc_ipv6_nib_pl_del (unsigned iface, const ipv6_addr_t *pfx, unsigned pfx_len) |
Deletes prefix from NIB. | |
bool | gnrc_ipv6_nib_pl_iter (unsigned iface, void **state, gnrc_ipv6_nib_pl_t *ple) |
Iterates over all prefix list entries in the NIB. | |
static uint32_t | gnrc_ipv6_nib_pl_valid_offset (const gnrc_ipv6_nib_pl_t *ple) |
Provides the time in milliseconds for which the prefix list entry is valid. | |
static uint32_t | gnrc_ipv6_nib_pl_pref_offset (const gnrc_ipv6_nib_pl_t *ple) |
Provides the time in milliseconds for which the prefix list entry is preferred. | |
void | gnrc_ipv6_nib_pl_print (gnrc_ipv6_nib_pl_t *ple) |
Prints a prefix list entry. | |