]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/rfapi/vnc_export_bgp_p.h
Merge remote-tracking branch 'origin/cmaster' into cmaster-next
[mirror_frr.git] / bgpd / rfapi / vnc_export_bgp_p.h
CommitLineData
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
33extern void
34vnc_direct_bgp_add_route_ce (
35 struct bgp *bgp,
36 struct route_node *rn,
37 struct bgp_info *bi);
38
39extern void
40vnc_direct_bgp_del_route_ce (
41 struct bgp *bgp,
42 struct route_node *rn,
43 struct bgp_info *bi);
44
45extern void
46vnc_direct_bgp_add_prefix (
47 struct bgp *bgp,
48 struct rfapi_import_table *import_table,
49 struct route_node *rn);
50
51extern void
52vnc_direct_bgp_del_prefix (
53 struct bgp *bgp,
54 struct rfapi_import_table *import_table,
55 struct route_node *rn);
56
57extern void
58vnc_direct_bgp_add_nve (struct bgp *bgp, struct rfapi_descriptor *rfd);
59
60extern void
61vnc_direct_bgp_del_nve (struct bgp *bgp, struct rfapi_descriptor *rfd);
62
63extern void
64vnc_direct_bgp_add_group (struct bgp *bgp, struct rfapi_nve_group_cfg *rfg);
65
66extern void
67vnc_direct_bgp_del_group (struct bgp *bgp, struct rfapi_nve_group_cfg *rfg);
68
69extern void
70vnc_direct_bgp_reexport_group_afi (
71 struct bgp *bgp,
72 struct rfapi_nve_group_cfg *rfg,
73 afi_t afi);
74
75
76extern void
77vnc_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
85extern void
86vnc_direct_bgp_rh_del_route (
87 struct bgp *bgp,
88 afi_t afi,
89 struct prefix *prefix,
90 struct peer *peer);
91
92extern void
93vnc_direct_bgp_reexport (struct bgp *bgp, afi_t afi);
94
95#endif /* _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ */