]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_export_bgp_p.h
*: reindent
[mirror_frr.git] / bgpd / rfapi / vnc_export_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_EXPORT_BGP_P_H_
23 #define _QUAGGA_RFAPI_VNC_EXPORT_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 #include "rfapi_private.h"
32
33 extern void vnc_direct_bgp_add_route_ce(struct bgp *bgp, struct route_node *rn,
34 struct bgp_info *bi);
35
36 extern void vnc_direct_bgp_del_route_ce(struct bgp *bgp, struct route_node *rn,
37 struct bgp_info *bi);
38
39 extern void vnc_direct_bgp_add_prefix(struct bgp *bgp,
40 struct rfapi_import_table *import_table,
41 struct route_node *rn);
42
43 extern void vnc_direct_bgp_del_prefix(struct bgp *bgp,
44 struct rfapi_import_table *import_table,
45 struct route_node *rn);
46
47 extern void vnc_direct_bgp_add_nve(struct bgp *bgp,
48 struct rfapi_descriptor *rfd);
49
50 extern void vnc_direct_bgp_del_nve(struct bgp *bgp,
51 struct rfapi_descriptor *rfd);
52
53 extern void vnc_direct_bgp_add_group(struct bgp *bgp,
54 struct rfapi_nve_group_cfg *rfg);
55
56 extern void vnc_direct_bgp_del_group(struct bgp *bgp,
57 struct rfapi_nve_group_cfg *rfg);
58
59 extern void vnc_direct_bgp_reexport_group_afi(struct bgp *bgp,
60 struct rfapi_nve_group_cfg *rfg,
61 afi_t afi);
62
63
64 extern void vnc_direct_bgp_rh_add_route(struct bgp *bgp, afi_t afi,
65 struct prefix *prefix,
66 struct peer *peer, struct attr *attr);
67
68
69 extern void vnc_direct_bgp_rh_del_route(struct bgp *bgp, afi_t afi,
70 struct prefix *prefix,
71 struct peer *peer);
72
73 extern void vnc_direct_bgp_reexport(struct bgp *bgp, afi_t afi);
74
75 #endif /* _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ */