zebra: remove unused function to fix warning
[jleu-quagga.git] / isisd / isis_route.h
blob4eac79b863d7093cffb381fb9e99bb2eed8a4bbe
1 /*
2 * IS-IS Rout(e)ing protocol - isis_route.h
4 * Copyright (C) 2001,2002 Sampo Saaristo
5 * Tampere University of Technology
6 * Institute of Communications Engineering
8 * based on ../ospf6d/ospf6_route.[ch]
9 * by Yasuhiro Ohara
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public Licenseas published by the Free
13 * Software Foundation; either version 2 of the License, or (at your option)
14 * any later version.
16 * This program is distributed in the hope that it will be useful,but WITHOUT
17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 * more details.
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef _ZEBRA_ISIS_ROUTE_H
26 #define _ZEBRA_ISIS_ROUTE_H
28 #ifdef HAVE_IPV6
29 struct isis_nexthop6
31 unsigned int ifindex;
32 struct in6_addr ip6;
33 unsigned int lock;
35 #endif /* HAVE_IPV6 */
37 struct isis_nexthop
39 unsigned int ifindex;
40 struct in_addr ip;
41 unsigned int lock;
44 struct isis_route_info
46 #define ISIS_ROUTE_FLAG_ZEBRA_SYNC 0x01
47 #define ISIS_ROUTE_FLAG_ACTIVE 0x02
48 u_char flag;
49 u_int32_t cost;
50 u_int32_t depth;
51 struct list *nexthops;
52 #ifdef HAVE_IPV6
53 struct list *nexthops6;
54 #endif /* HAVE_IPV6 */
57 struct isis_route_info *isis_route_create (struct prefix *prefix,
58 u_int32_t cost, u_int32_t depth,
59 struct list *adjacencies,
60 struct isis_area *area, int level);
62 int isis_route_validate (struct thread *thread);
64 #endif /* _ZEBRA_ISIS_ROUTE_H */