]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_export_bgp_p.h
Merge pull request #12780 from opensourcerouting/spdx-license-id
[mirror_frr.git] / bgpd / rfapi / vnc_export_bgp_p.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 *
4 * Copyright 2009-2016, LabN Consulting, L.L.C.
5 *
6 */
7
8 #ifndef _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_
9 #define _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_
10
11 #include "lib/zebra.h"
12 #include "lib/prefix.h"
13
14 #include "bgpd/bgpd.h"
15 #include "bgpd/bgp_route.h"
16
17 #include "rfapi_private.h"
18
19 extern void vnc_direct_bgp_add_route_ce(struct bgp *bgp, struct agg_node *rn,
20 struct bgp_path_info *bpi);
21
22 extern void vnc_direct_bgp_del_route_ce(struct bgp *bgp, struct agg_node *rn,
23 struct bgp_path_info *bpi);
24
25 extern void vnc_direct_bgp_add_prefix(struct bgp *bgp,
26 struct rfapi_import_table *import_table,
27 struct agg_node *rn);
28
29 extern void vnc_direct_bgp_del_prefix(struct bgp *bgp,
30 struct rfapi_import_table *import_table,
31 struct agg_node *rn);
32
33 extern void vnc_direct_bgp_add_nve(struct bgp *bgp,
34 struct rfapi_descriptor *rfd);
35
36 extern void vnc_direct_bgp_del_nve(struct bgp *bgp,
37 struct rfapi_descriptor *rfd);
38
39 extern void vnc_direct_bgp_add_group(struct bgp *bgp,
40 struct rfapi_nve_group_cfg *rfg);
41
42 extern void vnc_direct_bgp_del_group(struct bgp *bgp,
43 struct rfapi_nve_group_cfg *rfg);
44
45 extern void vnc_direct_bgp_reexport_group_afi(struct bgp *bgp,
46 struct rfapi_nve_group_cfg *rfg,
47 afi_t afi);
48
49
50 extern void vnc_direct_bgp_rh_add_route(struct bgp *bgp, afi_t afi,
51 const struct prefix *prefix,
52 struct peer *peer, struct attr *attr);
53
54
55 extern void vnc_direct_bgp_rh_del_route(struct bgp *bgp, afi_t afi,
56 const struct prefix *prefix,
57 struct peer *peer);
58
59 extern void vnc_direct_bgp_reexport(struct bgp *bgp, afi_t afi);
60
61 #endif /* _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ */