summaryrefslogtreecommitdiff
path: root/pimd/pim_ifchannel.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-28 12:21:31 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:04 -0500
commit1a10fc742fcdb05024be3721b7641e19107edad7 (patch)
tree758e272dcd74c3e3fd170aa17e196e3851676653 /pimd/pim_ifchannel.h
parent6997705858f3bce0024d7cec56edc33040ace245 (diff)
pimd: Allow ifchannel S,G's to know their *,G parent
Given a S,G ifchannel, create a parent pointer for any *,G state for that interface. When removing a *,G remove S,G pointers. We need to think about the case where their is a *,G but no S,G for a interface when we are determing. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_ifchannel.h')
-rw-r--r--pimd/pim_ifchannel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_ifchannel.h b/pimd/pim_ifchannel.h
index e262944f03..2767e4862b 100644
--- a/pimd/pim_ifchannel.h
+++ b/pimd/pim_ifchannel.h
@@ -73,6 +73,7 @@ struct pim_assert_metric {
Per-interface (S,G) state
*/
struct pim_ifchannel {
+ struct pim_ifchannel *parent;
struct prefix sg;
struct interface *interface; /* backpointer to interface */
uint32_t flags;