Forwarding table definitions. More...
Forwarding table definitions.
Definition in file ft.h.
Go to the source code of this file.
Data Structures | |
struct | gnrc_ipv6_nib_ft_t |
Forwarding table entry view on NIB. More... | |
Functions | |
int | gnrc_ipv6_nib_ft_get (const ipv6_addr_t *dst, gnrc_pktsnip_t *pkt, gnrc_ipv6_nib_ft_t *fte) |
Gets the best matching forwarding table entry to a destination. | |
int | gnrc_ipv6_nib_ft_add (const ipv6_addr_t *dst, unsigned dst_len, const ipv6_addr_t *next_hop, unsigned iface, uint32_t lifetime) |
Adds a new route to the forwarding table. | |
void | gnrc_ipv6_nib_ft_del (const ipv6_addr_t *dst, unsigned dst_len) |
Deletes a route from forwarding table. | |
bool | gnrc_ipv6_nib_ft_iter (const ipv6_addr_t *next_hop, unsigned iface, void **state, gnrc_ipv6_nib_ft_t *fte) |
Iterates over all forwarding table entries in the NIB. | |
void | gnrc_ipv6_nib_ft_print (const gnrc_ipv6_nib_ft_t *fte) |
Prints a forwarding table entry. | |