2017-03-09 05:07:46 +01:00
|
|
|
/*
|
|
|
|
* EIGRP Filter Functions.
|
|
|
|
* Copyright (C) 2013-2016
|
|
|
|
* Authors:
|
|
|
|
* Donnie Savage
|
|
|
|
* Jan Janovic
|
|
|
|
* Matej Perina
|
|
|
|
* Peter Orsag
|
|
|
|
* Peter Paluch
|
|
|
|
* Frantisek Gazo
|
|
|
|
* Tomas Hvorkovy
|
|
|
|
* Martin Kontsek
|
|
|
|
* Lukas Koribsky
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* This file is part of GNU Zebra.
|
|
|
|
*
|
|
|
|
* GNU Zebra is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* GNU Zebra is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
2017-05-13 10:25:29 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; see the file COPYING; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2017-03-09 05:07:46 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EIGRPD_EIGRP_FILTER_H_
|
|
|
|
#define EIGRPD_EIGRP_FILTER_H_
|
|
|
|
|
lib, rip, ripng, babel, eigrp: add ctx pointer to distribute api
a distribute_ctx context pointer is returned after initialisation to the
calling daemon. this context pointer will be further used to do
discussion with distribute service. Today, there is no specific problem
with old api, since the pointer is the same in all the memory process.
but the pointer will be different if we have multiple instances. Right
now, this is not the case, but if that happens, that work will be used
for that.
distribute-list initialisation is split in two. the vty initialisation
is done at global level, while the context initialisation is done for
each routing daemon instance.
babel daemon is being equipped with a routing returning the main babel
instance.
also, a delete routine is available when the daemon routing instance is
suppressed.
a list of contexts is used inside distribute_list. This will permit
distribute_list utility to handle in the same daemon to handle more than
one context. This will be very useful in the vrf context.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-12-04 15:45:57 +01:00
|
|
|
extern void eigrp_distribute_update(struct distribute_ctx *ctx,
|
|
|
|
struct distribute *dist);
|
2017-07-17 14:03:14 +02:00
|
|
|
extern void eigrp_distribute_update_interface(struct interface *);
|
|
|
|
extern void eigrp_distribute_update_all(struct prefix_list *);
|
2017-03-09 05:07:46 +01:00
|
|
|
extern void eigrp_distribute_update_all_wrapper(struct access_list *);
|
2017-07-17 14:03:14 +02:00
|
|
|
extern int eigrp_distribute_timer_process(struct thread *);
|
|
|
|
extern int eigrp_distribute_timer_interface(struct thread *);
|
2017-03-09 05:07:46 +01:00
|
|
|
|
|
|
|
#endif /* EIGRPD_EIGRP_FILTER_H_ */
|