]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Allow SPT switchover
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 Mar 2017 01:07:57 +0000 (21:07 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 5 Apr 2017 16:38:12 +0000 (12:38 -0400)
commit850a9f99b8e4ba6e043a75c28d25c9cb092770c5
tree11bf752d7017eb0a5107873ea9ae9e8a77887edf
parent0e374d906d8934e6054a54906449f83a3deefd71
pimd: Allow SPT switchover

This allows SPT switchover for S,G upon receipt of packets
on the LHR.

1) When we create a *,G from a IGMP Group Report, install
the *,G route with the pimreg device on the OIL.

2) When a packet hits the LHR that matches the *,G, we will
get a WHOLEPKT callback from the kernel and if we cannot
find the S,G, that means we have matched it on the LHR via
the *,G mroute.  Create the S,G start the KAT and run
inherited_olist.

3) When the S,G times out, safely remove the S,G via
the KAT expiry

4) When the *,G is removed, remove any S,G associated
with it via the LHR flag.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_ifchannel.c
pimd/pim_mroute.c
pimd/pim_upstream.c
pimd/pim_upstream.h