Loading...
Searching...
No Matches

Forwarding table definitions. More...

Detailed Description

Forwarding table definitions.

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

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...
 

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.