]>
Commit | Line | Data |
---|---|---|
65efcfce LB |
1 | /* |
2 | * | |
3 | * Copyright 2009-2016, LabN Consulting, L.L.C. | |
4 | * | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or | |
7 | * modify it under the terms of the GNU General Public License | |
8 | * as published by the Free Software Foundation; either version 2 | |
9 | * of the License, or (at your option) any later version. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | * GNU General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License | |
17 | * along with this program; if not, write to the Free Software | |
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
19 | * | |
20 | */ | |
21 | ||
22 | #ifndef _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ | |
23 | #define _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ | |
24 | ||
f8b6f499 LB |
25 | #include "lib/zebra.h" |
26 | #include "lib/prefix.h" | |
65efcfce | 27 | |
f8b6f499 LB |
28 | #include "bgpd/bgpd.h" |
29 | #include "bgpd/bgp_route.h" | |
65efcfce LB |
30 | |
31 | #include "rfapi_private.h" | |
32 | ||
33 | extern void | |
34 | vnc_direct_bgp_add_route_ce ( | |
35 | struct bgp *bgp, | |
36 | struct route_node *rn, | |
37 | struct bgp_info *bi); | |
38 | ||
39 | extern void | |
40 | vnc_direct_bgp_del_route_ce ( | |
41 | struct bgp *bgp, | |
42 | struct route_node *rn, | |
43 | struct bgp_info *bi); | |
44 | ||
45 | extern void | |
46 | vnc_direct_bgp_add_prefix ( | |
47 | struct bgp *bgp, | |
48 | struct rfapi_import_table *import_table, | |
49 | struct route_node *rn); | |
50 | ||
51 | extern void | |
52 | vnc_direct_bgp_del_prefix ( | |
53 | struct bgp *bgp, | |
54 | struct rfapi_import_table *import_table, | |
55 | struct route_node *rn); | |
56 | ||
57 | extern void | |
58 | vnc_direct_bgp_add_nve (struct bgp *bgp, struct rfapi_descriptor *rfd); | |
59 | ||
60 | extern void | |
61 | vnc_direct_bgp_del_nve (struct bgp *bgp, struct rfapi_descriptor *rfd); | |
62 | ||
63 | extern void | |
64 | vnc_direct_bgp_add_group (struct bgp *bgp, struct rfapi_nve_group_cfg *rfg); | |
65 | ||
66 | extern void | |
67 | vnc_direct_bgp_del_group (struct bgp *bgp, struct rfapi_nve_group_cfg *rfg); | |
68 | ||
69 | extern void | |
70 | vnc_direct_bgp_reexport_group_afi ( | |
71 | struct bgp *bgp, | |
72 | struct rfapi_nve_group_cfg *rfg, | |
73 | afi_t afi); | |
74 | ||
75 | ||
76 | extern void | |
77 | vnc_direct_bgp_rh_add_route ( | |
78 | struct bgp *bgp, | |
79 | afi_t afi, | |
80 | struct prefix *prefix, | |
81 | struct peer *peer, | |
82 | struct attr *attr); | |
83 | ||
84 | ||
85 | extern void | |
86 | vnc_direct_bgp_rh_del_route ( | |
87 | struct bgp *bgp, | |
88 | afi_t afi, | |
89 | struct prefix *prefix, | |
90 | struct peer *peer); | |
91 | ||
92 | extern void | |
93 | vnc_direct_bgp_reexport (struct bgp *bgp, afi_t afi); | |
94 | ||
95 | #endif /* _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ */ |