]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/vnc_zebra.h
3 * Copyright 2009-2016, LabN Consulting, L.L.C.
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.
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.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 #ifndef _QUAGGA_BGP_VNC_ZEBRA_H
26 #define _QUAGGA_BGP_VNC_ZEBRA_H
28 #include "lib/zebra.h"
30 extern void vnc_zebra_add_prefix(struct bgp
*bgp
,
31 struct rfapi_import_table
*import_table
,
34 extern void vnc_zebra_del_prefix(struct bgp
*bgp
,
35 struct rfapi_import_table
*import_table
,
38 extern void vnc_zebra_add_nve(struct bgp
*bgp
, struct rfapi_descriptor
*rfd
);
40 extern void vnc_zebra_del_nve(struct bgp
*bgp
, struct rfapi_descriptor
*rfd
);
42 extern void vnc_zebra_add_group(struct bgp
*bgp
,
43 struct rfapi_nve_group_cfg
*rfg
);
45 extern void vnc_zebra_del_group(struct bgp
*bgp
,
46 struct rfapi_nve_group_cfg
*rfg
);
48 extern void vnc_zebra_reexport_group_afi(struct bgp
*bgp
,
49 struct rfapi_nve_group_cfg
*rfg
,
52 extern int vnc_redistribute_set(struct bgp
*bgp
, afi_t afi
, int type
);
54 extern int vnc_redistribute_unset(struct bgp
*bgp
, afi_t afi
, int type
);
56 #endif /* _QUAGGA_BGP_VNC_ZEBRA_H */