summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mroute.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-11 02:04:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:06 +0100
commite3be04328f601963c825c722355f62c4b4e7cb31 (patch)
tree5ea05fcdf1d6c77bb4124650d9431fb47aa54af1 /zebra/zebra_mroute.h
parentpimd: Fix igmp(*,G) not influencing S,G mroutes (diff)
downloadfrr-e3be04328f601963c825c722355f62c4b4e7cb31.tar.xz
frr-e3be04328f601963c825c722355f62c4b4e7cb31.zip
lib, pimd, zebra: Allow pimd to ask the kernel about mroute info
When we need to lookup the mroute info for a route. Allow pimd to ask the kernel. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mroute.h')
-rw-r--r--zebra/zebra_mroute.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/zebra/zebra_mroute.h b/zebra/zebra_mroute.h
new file mode 100644
index 000000000..c0bac43a8
--- /dev/null
+++ b/zebra/zebra_mroute.h
@@ -0,0 +1,35 @@
+/* zebra_mroute.h
+ * Copyright (C) 2016 Cumulus Networks, Inc.
+ * Donald Sharp
+ *
+ * This file is part of Quagga.
+ *
+ * Quagga is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2, or (at your option) any
+ * later version.
+ *
+ * Quagga is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Zebra; see the file COPYING. If not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __ZEBRA_MROUTE_H__
+#define __ZEBRA_MROUTE_H__
+
+struct mcast_route_data {
+ struct prefix_sg sg;
+ unsigned int ifindex;
+ unsigned long long lastused;
+};
+
+int zebra_ipmr_route_stats (struct zserv *client, int sock, u_short length, struct zebra_vrf *zvf);
+
+#endif
+