RTRlib
Main Page
Modules
Data Structures
Examples
All
Data Structures
Functions
Typedefs
Enumerations
Enumerator
Groups
Pages
rtrlib
pfx
lpfst
lpfst-pfx.h
1
/*
2
* This file is part of RTRlib.
3
*
4
* This file is subject to the terms and conditions of the MIT license.
5
* See the file LICENSE in the top level directory for more details.
6
*
7
* Website: http://rtrlib.realmv6.org/
8
*/
9
27
#ifndef RTR_LPFST_PFX
28
#define RTR_LPFST_PFX
29
#include "rtrlib/pfx/pfx.h"
30
#include "rtrlib/pfx/lpfst/lpfst.h"
31
39
struct
pfx_table
{
40
struct
lpfst_node
*ipv4;
41
struct
lpfst_node
*ipv6;
42
pfx_update_fp
update_fp;
43
pthread_rwlock_t lock;
44
};
45
46
#endif
47
/* @} */
lpfst_node
lpfst_node
Definition:
lpfst.h:24
pfx_update_fp
void(* pfx_update_fp)(struct pfx_table *pfx_table, const struct pfx_record record, const bool added)
A function pointer that is called if an record was added to the pfx_table or was removed from the pfx...
Definition:
pfx.h:80
pfx_table
pfx_table.
Definition:
lpfst-pfx.h:39
Generated on Sun Apr 10 2016 04:30:49 for RTRlib by
1.8.5