1 /* zebra_mroute.h
2  * Copyright (C) 2016 Cumulus Networks, Inc.
3  * Donald Sharp
4  *
5  * This file is part of Quagga.
6  *
7  * Quagga 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
10  * later version.
11  *
12  * Quagga 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.
16  *
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
20  */
21 
22 #ifndef __ZEBRA_MROUTE_H__
23 #define __ZEBRA_MROUTE_H__
24 
25 #include "zebra/zserv.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 struct mcast_route_data {
32 	struct prefix_sg sg;
33 	unsigned int ifindex;
34 	unsigned long long lastused;
35 };
36 
37 void zebra_ipmr_route_stats(ZAPI_HANDLER_ARGS);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif
44