summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_rp.h')
-rw-r--r--pimd/pim_rp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h
index 4639e7ceb..3938e7251 100644
--- a/pimd/pim_rp.h
+++ b/pimd/pim_rp.h
@@ -24,5 +24,8 @@
void pim_rp_check_rp (struct in_addr old, struct in_addr new);
int pim_rp_i_am_rp (struct in_addr group);
int pim_rp_set_upstream_addr (struct in_addr *up, struct in_addr source);
+struct in_addr pim_rp_g (struct in_addr group);
+#define I_am_RP(G) pim_rp_i_am_rp ((G))
+#define RP(G) pim_rp_g ((G))
#endif