summaryrefslogtreecommitdiff
path: root/isisd/isis_route.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-10 20:48:21 +0000
committerhasso <hasso>2004-09-10 20:48:21 +0000
commitf390d2c7839c04100e4de8246215ce10ea96b653 (patch)
tree9910d250bfb6605d44e7104ef786ba0c84ddb01a /isisd/isis_route.h
parentf3f27f60fdfc81fce2944ee89087417b04935663 (diff)
Indentation only. No any functional changes.
Diffstat (limited to 'isisd/isis_route.h')
-rw-r--r--isisd/isis_route.h21
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);