Forwarding table definitions. More...

Detailed Description

Forwarding table definitions.

Martine Lenders

Definition in file ft.h.

#include <stdint.h>
#include "net/gnrc/pkt.h"
#include "net/ipv6/addr.h"
+ Include dependency graph for ft.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gnrc_ipv6_nib_ft_t
 Forwarding table entry view on NIB. More...


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. More...
int gnrc_ipv6_nib_ft_add (const ipv6_addr_t *dst, unsigned dst_len, const ipv6_addr_t *next_hop, unsigned iface, uint16_t lifetime)
 Adds a new route to the forwarding table. More...
void gnrc_ipv6_nib_ft_del (const ipv6_addr_t *dst, unsigned dst_len)
 Deletes a route from forwarding table. More...
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. More...
void gnrc_ipv6_nib_ft_print (const gnrc_ipv6_nib_ft_t *fte)
 Prints a forwarding table entry. More...