]> git.proxmox.com Git - mirror_frr.git/blob - eigrpd/eigrp_zebra.h
eigrpd: Fix add and delete of routes into the rib
[mirror_frr.git] / eigrpd / eigrp_zebra.h
1 /*
2 * Zebra connect library for EIGRP.
3 * Copyright (C) 2013-2014
4 * Authors:
5 * Donnie Savage
6 * Jan Janovic
7 * Matej Perina
8 * Peter Orsag
9 * Peter Paluch
10 *
11 * This file is part of GNU Zebra.
12 *
13 * GNU Zebra is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2, or (at your option) any
16 * later version.
17 *
18 * GNU Zebra is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with GNU Zebra; see the file COPYING. If not, write to the Free
25 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26 * 02111-1307, USA.
27 */
28
29 #ifndef _ZEBRA_EIGRP_ZEBRA_H_
30 #define _ZEBRA_EIGRP_ZEBRA_H_
31
32 #include "vty.h"
33 #include "vrf.h"
34
35 extern void eigrp_zebra_init (void);
36
37 extern void eigrp_zebra_route_add (struct prefix_ipv4 *, struct list *);
38 extern void eigrp_zebra_route_delete (struct prefix_ipv4 *);
39 extern int eigrp_redistribute_set (struct eigrp *, int, struct eigrp_metrics);
40 extern int eigrp_redistribute_unset (struct eigrp *, int);
41 extern vrf_bitmap_t eigrp_is_type_redistributed (int);
42
43 #endif /* _ZEBRA_EIGRP_ZEBRA_H_ */