diff options
author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
---|---|---|
committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /ripngd/ripng_route.h | |
parent | *: add indent control files (diff) | |
download | frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripng_route.h')
-rw-r--r-- | ripngd/ripng_route.h | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/ripngd/ripng_route.h b/ripngd/ripng_route.h index 90dae0470..3db1279b5 100644 --- a/ripngd/ripng_route.h +++ b/ripngd/ripng_route.h @@ -22,35 +22,34 @@ #ifndef _ZEBRA_RIPNG_ROUTE_H #define _ZEBRA_RIPNG_ROUTE_H -struct ripng_aggregate -{ - /* Aggregate route count. */ - unsigned int count; +struct ripng_aggregate { + /* Aggregate route count. */ + unsigned int count; - /* Suppressed route count. */ - unsigned int suppress; + /* Suppressed route count. */ + unsigned int suppress; - /* Metric of this route. */ - u_char metric; + /* Metric of this route. */ + u_char metric; - /* Tag field of RIPng packet.*/ - u_int16_t tag; + /* Tag field of RIPng packet.*/ + u_int16_t tag; - /* Route-map futures - this variables can be changed. */ - struct in6_addr nexthop_out; - u_char metric_set; - u_char metric_out; - u_int16_t tag_out; + /* Route-map futures - this variables can be changed. */ + struct in6_addr nexthop_out; + u_char metric_set; + u_char metric_out; + u_int16_t tag_out; }; -extern void ripng_aggregate_increment (struct route_node *rp, - struct ripng_info *rinfo); -extern void ripng_aggregate_decrement (struct route_node *rp, - struct ripng_info *rinfo); -extern void ripng_aggregate_decrement_list (struct route_node *rp, - struct list *list); -extern int ripng_aggregate_add (struct prefix *p); -extern int ripng_aggregate_delete (struct prefix *p); -extern void ripng_aggregate_free (struct ripng_aggregate *aggregate); +extern void ripng_aggregate_increment(struct route_node *rp, + struct ripng_info *rinfo); +extern void ripng_aggregate_decrement(struct route_node *rp, + struct ripng_info *rinfo); +extern void ripng_aggregate_decrement_list(struct route_node *rp, + struct list *list); +extern int ripng_aggregate_add(struct prefix *p); +extern int ripng_aggregate_delete(struct prefix *p); +extern void ripng_aggregate_free(struct ripng_aggregate *aggregate); #endif /* _ZEBRA_RIPNG_ROUTE_H */ |