Go to the documentation of this file.
20 #ifndef NET_GNRC_IPV6_NIB_PL_H
21 #define NET_GNRC_IPV6_NIB_PL_H
75 uint32_t valid_ltime, uint32_t pref_ltime);
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.
Data type to represent an IPv6 address.
Definitions for IPv6 addresses.
uint32_t valid_until
timestamp (in ms) until which the prefix is valid
uint8_t pfx_len
length of gnrc_ipv6_nib_pl_t::pfx in bits
uint32_t pref_until
timestamp (in ms) until which the prefix is preferred
uint16_t iface
interface gnrc_ipv6_nib_pl_t::pfx is assigned to
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.
void gnrc_ipv6_nib_pl_del(unsigned iface, const ipv6_addr_t *pfx, unsigned pfx_len)
Deletes prefix from NIB.
Prefix list entry view on NIB.
void gnrc_ipv6_nib_pl_print(gnrc_ipv6_nib_pl_t *ple)
Prints a prefix list entry.