mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 05:27:16 +02:00

a) EIGRP was having issues with the prefix created as part of the topology destination. Make this just a part of the topology data structure instead of allocating it. b) EIGRP was not freeing up any memory associated with the network table. Free it. c) EIGRP was confusing zebra shutdown as part of the deletion of the last eigrp data structure. This was inappropriate it should be part of the `I'm just shutting down`. d) The QOBJ was not being properly freed, free it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
29 lines
758 B
C
29 lines
758 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Zebra connect library for EIGRP.
|
|
* Copyright (C) 2013-2014
|
|
* Authors:
|
|
* Donnie Savage
|
|
* Jan Janovic
|
|
* Matej Perina
|
|
* Peter Orsag
|
|
* Peter Paluch
|
|
*/
|
|
|
|
#ifndef _ZEBRA_EIGRP_ZEBRA_H_
|
|
#define _ZEBRA_EIGRP_ZEBRA_H_
|
|
|
|
#include "vty.h"
|
|
#include "vrf.h"
|
|
|
|
extern void eigrp_zebra_init(void);
|
|
extern void eigrp_zebra_stop(void);
|
|
|
|
extern void eigrp_zebra_route_add(struct eigrp *eigrp, struct prefix *p,
|
|
struct list *successors, uint32_t distance);
|
|
extern void eigrp_zebra_route_delete(struct eigrp *eigrp, struct prefix *);
|
|
extern int eigrp_redistribute_set(struct eigrp *, int, struct eigrp_metrics);
|
|
extern int eigrp_redistribute_unset(struct eigrp *, int);
|
|
|
|
#endif /* _ZEBRA_EIGRP_ZEBRA_H_ */
|