]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/rfapi/vnc_import_bgp_p.h
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
[mirror_frr.git] / bgpd / rfapi / vnc_import_bgp_p.h
CommitLineData
d62a17ae 1/*
65efcfce
LB
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 *
896014f4
DL
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
65efcfce
LB
19 */
20
21#ifndef _QUAGGA_RFAPI_VNC_IMPORT_BGP_P_H_
22#define _QUAGGA_RFAPI_VNC_IMPORT_BGP_P_H_
23
f8b6f499
LB
24#include "lib/zebra.h"
25#include "lib/prefix.h"
65efcfce 26
f8b6f499
LB
27#include "bgpd/bgpd.h"
28#include "bgpd/bgp_route.h"
65efcfce 29
d62a17ae 30extern void vnc_import_bgp_exterior_add_route_interior(
31 struct bgp *bgp, struct rfapi_import_table *it,
4b7e6066
DS
32 struct agg_node *rn_interior, /* VPN IT node */
33 struct bgp_path_info *bi_interior); /* VPN IT route */
65efcfce 34
d62a17ae 35extern void vnc_import_bgp_exterior_del_route_interior(
36 struct bgp *bgp, struct rfapi_import_table *it,
4b7e6066
DS
37 struct agg_node *rn_interior, /* VPN IT node */
38 struct bgp_path_info *bi_interior); /* VPN IT route */
65efcfce
LB
39
40extern void
d62a17ae 41vnc_import_bgp_exterior_redist_enable_it(struct bgp *bgp, afi_t afi,
42 struct rfapi_import_table *it_only);
65efcfce
LB
43
44#endif /* _QUAGGA_RFAPI_VNC_IMPORT_BGP_P_H_ */