summaryrefslogtreecommitdiffstats
path: root/pimd/pim_oil.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-09-14 13:18:37 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-09-19 19:03:50 +0200
commit5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6 (patch)
tree9b085f44775dd772b794c6713897e37130a2037f /pimd/pim_oil.h
parentMerge pull request #14299 from SaiGomathiN/14286 (diff)
downloadfrr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.tar.xz
frr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.zip
pimd: Use a better name for oil_parent
Use oil_incoming_vif instead of oil_parent. I had to go look this up as that I failed to remember that the linux kernel calls this parent for some bizarre reason. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_oil.h')
-rw-r--r--pimd/pim_oil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h
index dc66eaace..6a5222753 100644
--- a/pimd/pim_oil.h
+++ b/pimd/pim_oil.h
@@ -112,7 +112,7 @@ static inline pim_addr *oil_mcastgrp(struct channel_oil *c_oil)
return &c_oil->oil.mfcc_mcastgrp;
}
-static inline vifi_t *oil_parent(struct channel_oil *c_oil)
+static inline vifi_t *oil_incoming_vif(struct channel_oil *c_oil)
{
return &c_oil->oil.mfcc_parent;
}
@@ -143,7 +143,7 @@ static inline pim_addr *oil_mcastgrp(struct channel_oil *c_oil)
return &c_oil->oil.mf6cc_mcastgrp.sin6_addr;
}
-static inline mifi_t *oil_parent(struct channel_oil *c_oil)
+static inline mifi_t *oil_incoming_vif(struct channel_oil *c_oil)
{
return &c_oil->oil.mf6cc_parent;
}