All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Prefix list definitions. More...

Detailed Description

Prefix list definitions.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file pl.h.

#include <stdint.h>
#include "modules.h"
#include "net/ipv6/addr.h"
+ Include dependency graph for pl.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_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.