summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mroute.h
blob: 6f4c4f58874b21501dd00c7fa37a90d6209b9a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: GPL-2.0-or-later
/* zebra_mroute.h
 * Copyright (C) 2016 Cumulus Networks, Inc.
 * Donald Sharp
 */

#ifndef __ZEBRA_MROUTE_H__
#define __ZEBRA_MROUTE_H__

#include "zebra/zserv.h"

#ifdef __cplusplus
extern "C" {
#endif

struct mcast_route_data {
	int family;
	struct ipaddr src;
	struct ipaddr grp;
	unsigned int ifindex;
	unsigned long long lastused;
};

void zebra_ipmr_route_stats(ZAPI_HANDLER_ARGS);

#ifdef __cplusplus
}
#endif

#endif