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
* RTRlib is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation; either version 3 of the License, or (at your
7
* option) any later version.
8
*
9
* RTRlib is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
12
* License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with RTRlib; see the file COPYING.LESSER.
16
*
17
* INET group, Hamburg University of Applied Sciences,
18
* CST group, Freie Universitaet Berlin
19
* Website: http://rpki.realmv6.org/
20
*/
21
39
#ifndef RTR_LPFST_PFX
40
#define RTR_LPFST_PFX
41
#include "rtrlib/pfx/pfx.h"
42
#include "rtrlib/pfx/lpfst/lpfst.h"
43
51
struct
pfx_table
{
52
struct
lpfst_node
*ipv4;
53
struct
lpfst_node
*ipv6;
54
pfx_update_fp
update_fp;
55
pthread_rwlock_t lock;
56
};
57
58
#endif
59
/* @} */
lpfst_node
lpfst_node
Definition:
lpfst.h:36
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:92
pfx_table
pfx_table.
Definition:
lpfst-pfx.h:51
Generated on Wed Jun 17 2015 14:55:58 for RTRlib by
1.8.6