]> git.proxmox.com Git - mirror_frr.git/blob - ospf6d/ospf6_zebra.h
Fix by Vadim Suraev - [zebra 14710] #6.
[mirror_frr.git] / ospf6d / ospf6_zebra.h
1 /*
2 * Copyright (C) 1999 Yasuhiro Ohara
3 *
4 * This file is part of GNU Zebra.
5 *
6 * GNU Zebra is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * GNU Zebra is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GNU Zebra; see the file COPYING. If not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21
22 #ifndef OSPF6_ZEBRA_H
23 #define OSPF6_ZEBRA_H
24
25 extern struct zclient *zclient;
26
27 void ospf6_zebra_redistribute (int);
28 void ospf6_zebra_no_redistribute (int);
29 int ospf6_zebra_is_redistribute (int);
30
31 int ospf6_zebra_get_interface (int, struct zclient *, zebra_size_t);
32 int ospf6_zebra_read (struct thread *);
33 void ospf6_zebra_init ();
34 void ospf6_zebra_finish ();
35 void ospf6_zebra_start ();
36
37 int ospf6_zebra_read_ipv6 (int, struct zclient *, zebra_size_t);
38
39 extern const char *zebra_route_name[ZEBRA_ROUTE_MAX];
40 extern const char *zebra_route_abname[ZEBRA_ROUTE_MAX];
41
42 void ospf6_zebra_route_update_add (struct ospf6_route_req *request);
43 void ospf6_zebra_route_update_remove (struct ospf6_route_req *request);
44
45 #endif /*OSPF6_ZEBRA_H*/
46