]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_import_bgp_p.h
Merge remote-tracking branch 'origin/cmaster' into cmaster-next
[mirror_frr.git] / bgpd / rfapi / vnc_import_bgp_p.h
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_IMPORT_BGP_P_H_
23 #define _QUAGGA_RFAPI_VNC_IMPORT_BGP_P_H_
24
25 #include "lib/zebra.h"
26 #include "lib/prefix.h"
27
28 #include "bgpd/bgpd.h"
29 #include "bgpd/bgp_route.h"
30
31 extern void
32 vnc_import_bgp_exterior_add_route_interior (
33 struct bgp *bgp,
34 struct rfapi_import_table *it,
35 struct route_node *rn_interior, /* VPN IT node */
36 struct bgp_info *bi_interior); /* VPN IT route */
37
38 extern void
39 vnc_import_bgp_exterior_del_route_interior (
40 struct bgp *bgp,
41 struct rfapi_import_table *it,
42 struct route_node *rn_interior, /* VPN IT node */
43 struct bgp_info *bi_interior); /* VPN IT route */
44
45 extern void
46 vnc_import_bgp_exterior_redist_enable_it (
47 struct bgp *bgp,
48 afi_t afi,
49 struct rfapi_import_table *it_only);
50
51 #endif /* _QUAGGA_RFAPI_VNC_IMPORT_BGP_P_H_ */