summaryrefslogtreecommitdiff
path: root/pimd/pim_rp.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-09-30 05:41:18 -0700
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-05-25 20:38:34 -0400
commit8f5f5e91b6d2eedf13611567d3a1035c910d6894 (patch)
treed5020e950ba7791bb64e0a0ae3344f9f414055cb /pimd/pim_rp.h
parent8044778111745532ee86d285deafe5e8a4144b9b (diff)
pimd: Receive and transmit (*,G) to the RP
Receive a (*,G) route and send it upstream to the RP. The RP at this time does not properly handle the route. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rp.h')
-rw-r--r--pimd/pim_rp.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h
new file mode 100644
index 0000000000..114cc2cfd8
--- /dev/null
+++ b/pimd/pim_rp.h
@@ -0,0 +1,26 @@
+/*
+ * PIM for Quagga
+ * Copyright (C) 2015 Cumulus Networks, Inc.
+ * Donald Sharp
+ *
+ * This program 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 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 this program; see the file COPYING; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
+ */
+#ifndef PIM_RP_H
+#define PIM_RP_H
+
+int pim_rp_set_upstream_addr (struct in_addr *up, struct in_addr source);
+
+#endif