summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-07-22 14:57:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:03 +0100
commit05e451f828dce67a38ffb234258cfb10660619d7 (patch)
treef9fd19cc3791b4c7b10fb17af1e0a677f3145f7f /pimd/pim_oil.h
parentpimd: Convert ifchannel to using a prefix to store (s,g) (diff)
downloadfrr-05e451f828dce67a38ffb234258cfb10660619d7.tar.xz
frr-05e451f828dce67a38ffb234258cfb10660619d7.zip
pimd: Refactor s,g information to struct prefix in pim_upstream.h
This change allows us to pass the (s,g) state around as a prefix. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_oil.h')
-rw-r--r--pimd/pim_oil.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h
index 0edb50787..c16e42efd 100644
--- a/pimd/pim_oil.h
+++ b/pimd/pim_oil.h
@@ -79,8 +79,7 @@ struct channel_oil {
};
void pim_channel_oil_free(struct channel_oil *c_oil);
-struct channel_oil *pim_channel_oil_add(struct in_addr group_addr,
- struct in_addr source_addr,
+struct channel_oil *pim_channel_oil_add(struct prefix *sg,
int input_vif_index);
void pim_channel_oil_del(struct channel_oil *c_oil);