]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_export_bgp_p.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2009-2016, LabN Consulting, L.L.C.
8 #ifndef _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_
9 #define _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_
11 #include "lib/zebra.h"
12 #include "lib/prefix.h"
14 #include "bgpd/bgpd.h"
15 #include "bgpd/bgp_route.h"
17 #include "rfapi_private.h"
19 extern void vnc_direct_bgp_add_route_ce(struct bgp
*bgp
, struct agg_node
*rn
,
20 struct bgp_path_info
*bpi
);
22 extern void vnc_direct_bgp_del_route_ce(struct bgp
*bgp
, struct agg_node
*rn
,
23 struct bgp_path_info
*bpi
);
25 extern void vnc_direct_bgp_add_prefix(struct bgp
*bgp
,
26 struct rfapi_import_table
*import_table
,
29 extern void vnc_direct_bgp_del_prefix(struct bgp
*bgp
,
30 struct rfapi_import_table
*import_table
,
33 extern void vnc_direct_bgp_add_nve(struct bgp
*bgp
,
34 struct rfapi_descriptor
*rfd
);
36 extern void vnc_direct_bgp_del_nve(struct bgp
*bgp
,
37 struct rfapi_descriptor
*rfd
);
39 extern void vnc_direct_bgp_add_group(struct bgp
*bgp
,
40 struct rfapi_nve_group_cfg
*rfg
);
42 extern void vnc_direct_bgp_del_group(struct bgp
*bgp
,
43 struct rfapi_nve_group_cfg
*rfg
);
45 extern void vnc_direct_bgp_reexport_group_afi(struct bgp
*bgp
,
46 struct rfapi_nve_group_cfg
*rfg
,
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
);
55 extern void vnc_direct_bgp_rh_del_route(struct bgp
*bgp
, afi_t afi
,
56 const struct prefix
*prefix
,
59 extern void vnc_direct_bgp_reexport(struct bgp
*bgp
, afi_t afi
);
61 #endif /* _QUAGGA_RFAPI_VNC_EXPORT_BGP_P_H_ */