]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_zebra.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2009-2016, LabN Consulting, L.L.C.
12 #ifndef _QUAGGA_BGP_VNC_ZEBRA_H
13 #define _QUAGGA_BGP_VNC_ZEBRA_H
15 #include "lib/zebra.h"
17 extern void vnc_zebra_add_prefix(struct bgp
*bgp
,
18 struct rfapi_import_table
*import_table
,
21 extern void vnc_zebra_del_prefix(struct bgp
*bgp
,
22 struct rfapi_import_table
*import_table
,
25 extern void vnc_zebra_add_nve(struct bgp
*bgp
, struct rfapi_descriptor
*rfd
);
27 extern void vnc_zebra_del_nve(struct bgp
*bgp
, struct rfapi_descriptor
*rfd
);
29 extern void vnc_zebra_add_group(struct bgp
*bgp
,
30 struct rfapi_nve_group_cfg
*rfg
);
32 extern void vnc_zebra_del_group(struct bgp
*bgp
,
33 struct rfapi_nve_group_cfg
*rfg
);
35 extern void vnc_zebra_reexport_group_afi(struct bgp
*bgp
,
36 struct rfapi_nve_group_cfg
*rfg
,
39 extern int vnc_redistribute_set(struct bgp
*bgp
, afi_t afi
, int type
);
41 extern int vnc_redistribute_unset(struct bgp
*bgp
, afi_t afi
, int type
);
43 #endif /* _QUAGGA_BGP_VNC_ZEBRA_H */