]>
git.proxmox.com Git - mirror_frr.git/blob - ripngd/ripng_route.h
3 * Copyright (C) 1998 Kunihiro Ishiguro
5 * This file is part of GNU Zebra.
7 * GNU Zebra is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
12 * GNU Zebra is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; see the file COPYING; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef _ZEBRA_RIPNG_ROUTE_H
23 #define _ZEBRA_RIPNG_ROUTE_H
25 struct ripng_aggregate
27 /* Aggregate route count. */
30 /* Suppressed route count. */
31 unsigned int suppress
;
33 /* Metric of this route. */
36 /* Tag field of RIPng packet.*/
39 /* Route-map futures - this variables can be changed. */
40 struct in6_addr nexthop_out
;
46 extern void ripng_aggregate_increment (struct route_node
*rp
,
47 struct ripng_info
*rinfo
);
48 extern void ripng_aggregate_decrement (struct route_node
*rp
,
49 struct ripng_info
*rinfo
);
50 extern void ripng_aggregate_decrement_list (struct route_node
*rp
,
52 extern int ripng_aggregate_add (struct prefix
*p
);
53 extern int ripng_aggregate_delete (struct prefix
*p
);
54 extern void ripng_aggregate_free (struct ripng_aggregate
*aggregate
);
56 #endif /* _ZEBRA_RIPNG_ROUTE_H */