diff options
Diffstat (limited to 'isisd/isis_route.h')
-rw-r--r-- | isisd/isis_route.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/isisd/isis_route.h b/isisd/isis_route.h index 7137948e..59b6c226 100644 --- a/isisd/isis_route.h +++ b/isisd/isis_route.h @@ -26,35 +26,38 @@ #define _ZEBRA_ISIS_ROUTE_H #ifdef HAVE_IPV6 -struct isis_nexthop6 { +struct isis_nexthop6 +{ unsigned int ifindex; struct in6_addr ip6; unsigned int lock; }; #endif /* HAVE_IPV6 */ -struct isis_nexthop { +struct isis_nexthop +{ unsigned int ifindex; struct in_addr ip; unsigned int lock; }; -struct isis_route_info { +struct isis_route_info +{ #define ISIS_ROUTE_FLAG_ZEBRA_SYNC 0x01 #define ISIS_ROUTE_FLAG_ACTIVE 0x02 - u_char flag; + u_char flag; u_int32_t cost; u_int32_t depth; struct list *nexthops; #ifdef HAVE_IPV6 struct list *nexthops6; -#endif /* HAVE_IPV6 */ +#endif /* HAVE_IPV6 */ }; -struct isis_route_info *isis_route_create (struct prefix *prefix, - u_int32_t cost, u_int32_t depth, - struct list *adjacencies, - struct isis_area *area); +struct isis_route_info *isis_route_create (struct prefix *prefix, + u_int32_t cost, u_int32_t depth, + struct list *adjacencies, + struct isis_area *area); int isis_route_validate (struct thread *thread); |