]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * IS-IS Rout(e)ing protocol - isis_zebra.h | |
3 | * | |
4 | * Copyright (C) 2001,2002 Sampo Saaristo | |
5 | * Tampere University of Technology | |
6 | * Institute of Communications Engineering | |
7 | * | |
8 | * This program is free software; you can redistribute it and/or modify it | |
9 | * under the terms of the GNU General Public Licenseas published by the Free | |
10 | * Software Foundation; either version 2 of the License, or (at your option) | |
11 | * any later version. | |
12 | * | |
13 | * This program is distributed in the hope that it will be useful,but WITHOUT | |
14 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
16 | * more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License along | |
19 | * with this program; see the file COPYING; if not, write to the Free Software | |
20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
21 | */ | |
22 | #ifndef _ZEBRA_ISIS_ZEBRA_H | |
23 | #define _ZEBRA_ISIS_ZEBRA_H | |
24 | ||
25 | extern struct zclient *zclient; | |
26 | ||
27 | void isis_zebra_init(struct thread_master *); | |
28 | void isis_zebra_stop(void); | |
29 | ||
30 | struct isis_route_info; | |
31 | ||
32 | void isis_zebra_route_add_route(struct prefix *prefix, | |
33 | struct prefix_ipv6 *src_p, | |
34 | struct isis_route_info *route_info); | |
35 | void isis_zebra_route_del_route(struct prefix *prefix, | |
36 | struct prefix_ipv6 *src_p, | |
37 | struct isis_route_info *route_info); | |
38 | int isis_distribute_list_update(int routetype); | |
39 | void isis_zebra_redistribute_set(afi_t afi, int type); | |
40 | void isis_zebra_redistribute_unset(afi_t afi, int type); | |
41 | ||
42 | #endif /* _ZEBRA_ISIS_ZEBRA_H */ |