]>
git.proxmox.com Git - mirror_frr.git/blob - ripngd/ripng_route.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 1998 Kunihiro Ishiguro
7 #ifndef _ZEBRA_RIPNG_ROUTE_H
8 #define _ZEBRA_RIPNG_ROUTE_H
10 struct ripng_aggregate
{
11 /* Aggregate route count. */
14 /* Suppressed route count. */
15 unsigned int suppress
;
17 /* Metric of this route. */
20 /* Tag field of RIPng packet.*/
23 /* Route-map futures - this variables can be changed. */
24 struct in6_addr nexthop_out
;
30 extern void ripng_aggregate_increment(struct agg_node
*rp
,
31 struct ripng_info
*rinfo
);
32 extern void ripng_aggregate_decrement(struct agg_node
*rp
,
33 struct ripng_info
*rinfo
);
34 extern void ripng_aggregate_decrement_list(struct agg_node
*rp
,
36 extern int ripng_aggregate_add(struct ripng
*ripng
, struct prefix
*p
);
37 extern int ripng_aggregate_delete(struct ripng
*ripng
, struct prefix
*p
);
38 extern void ripng_aggregate_free(struct ripng_aggregate
*aggregate
);
40 #endif /* _ZEBRA_RIPNG_ROUTE_H */