summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
AgeCommit message (Collapse)Author
2016-12-21pimd: Remove unnecessary QuaggaIdDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-12-21pimd: Convert pim_ifchannel_local_membership_del to struct prefix *sgDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-12-21pimd: convert pim_ifchannel_local_membership_add to use struct prefix sgDonald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-12-21pimd: Refactor s,g information to struct prefix in pim_upstream.hDonald Sharp
This change allows us to pass the (s,g) state around as a prefix. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-12-21pimd: Convert ifchannel to using a prefix to store (s,g)Donald Sharp
Convert ifchannel to use a prefix to store (s,g) information. Additionally create pim_str_sg_dump function to output data when using debugs. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-12-20build: remove $Format tagsDavid Lamparter
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2016-10-07*: Consistently support 32-bit route tagsChristian Franke
This patch improves zebra,ripd,ripngd,ospfd and bgpd so that they can make use of 32-bit route tags in the case of zebra,ospf,bgp or 16-bit route-tags in the case of ripd,ripngd. It is based on the following patch: commit d25764028829a3a30cdbabe85f32408a63cccadf Author: Paul Jakma <paul.jakma@hpe.com> Date: Fri Jul 1 14:23:45 2016 +0100 *: Widen width of Zserv routing tag field. But also contains the changes which make this actually useful for all the daemons. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2016-09-23Make route flags a 32bit fieldChristian Franke
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2016-09-23Revert "Make route flags a 32bit field"Donald Sharp
This reverts commit 85eda2c98520a9553bdc05c136618f9d04917e9b.
2016-09-23Make route flags a 32bit fieldChristian Franke
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2016-09-23*: remove dead codeRenato Westphal
Since recently zebra uses only the ZEBRA_REDISTRIBUTE_* messages to advertise redistributed routes to its clientes. Now the old ZEBRA_IPV*_ROUTE_* messages are only used for client->zebra communication. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2016-08-18*: use an ifindex_t type, defined in lib/if.h, for ifindex valuesPaul Jakma
(cherry picked from commit 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744)
2016-07-12pimd: multicast route not removed from kernel when the if goes downDonald Sharp
When a multicast route's rpf changes( for whatever reason ) (*,G) routes were never updating properly. This is because we were attempting to fing the path to the *, instead of the RP. Modify the code to check if we are attempting to find a * route and use the RP instead. Ticket: CM-11736 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-07-12pimd: Refactor pim_mroute_add and _delDonald Sharp
The struct mfcctl should not be passed around. Pass around the channel oil instead. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-07-12pimd: Start naive implementation of anysource_forward_stopDonald Sharp
Naive implementation of igmp_anysource_foward_stop. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-27pimd: Refactor pim_scan_oilDonald Sharp
Allow the workings of pim_scan_oil to be called on a per channel basis. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-23pimd: Handle pimreg a bit betterDonald Sharp
The pimreg device is vif_index == 0. Allow it to be used. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-17pim: Fix NOCACHE to use incoming interfaceDonald Sharp
When the kernel sends a NOCACHE message to pim we were looking up the interface to use for the incoming multicast packet based upon the source. No need to do that trust that the kernel has properly identified it and use that. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-03pimd: Rehookup the redistribution codeDonald Sharp
Due to rewrite of the redistribution mechanism in ZEBRA, rehookup the redist statements to pimd from zebra. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-06pimd: Allow (*,G) igmp joins to work.Donald Sharp
Start the implementation of accepting (*,G) igmpv3 joins. Ticket: CM-7894 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-06-06pimd: Remove dead code.Donald Sharp
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-26pimd: Forgot to add the vrf_init callDonald Sharp
Forward port of vrf code didn't have the pimd code. So when it was forward ported we lost the vrf_init. Now that we have pimd let's add it back in. Additionally forward port lost the additional zclient->zebra_connect call. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Move add_oif into pim_oil.cDonald Sharp
This commit does two things: (A) Sets up #defines for the pimreg to be used in pim_mroute.c (B) Moves add_oif into pim_oil.c where it belongs Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Check to see if we are the RPDonald Sharp
Add code to allow on interface up/down events the check of whether or not this process is the RP. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Receive and transmit (*,G) to the RPDonald Sharp
Receive a (*,G) route and send it upstream to the RP. The RP at this time does not properly handle the route. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Cleanup interface startupDonald Sharp
This patch cleans up some interface startup, removes duplicate debug messages and protects against some always being displayed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Cleanup zebra debugs to be protected by debug commandsDonald Sharp
pimd is very chatty without any pim debugs turned on. This commit fixes a bunch of the debugs to be protected by appropriate pim debug statement. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: Rework pim to handle changes between us and upstreamDonald Sharp
The code in pimd needs to be updated to handle the changes we've made to api's that it depends on. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2016-05-25pimd: mask unused zclient_broken()David Lamparter
this function is used by the currently not present zclient reconnect code. It'll be unmasked again when that code hits master. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2016-05-25pimd: merge pimd as of 2015-01-19David Lamparter
Welcome pimd to the Quagga daemon zoo! This is a merge of commit 77ae369 ("pimd: Log ifindex found for an interface when zebra lib reports a new connected address."), with the intermediate "reconnect" changes removed (c9adf00...d274381). d274381 is replaced with b162ab7, which includes some changes. In addition, 4 reconnect-related changes and 1 cosmetic one have been bumped out. The rebase command used to produce the branch that is merged here is: git rebase --onto b162ab7 c9adf00 77ae369 Note that 3 patches had their author rewritten from "Anonymous SR#108542 <>" (which is not a valid git author ID) to: "Savannah SR#108542 <nbahr@atcorp.com>" (which is the e-mail address listed in the associated Savannah ticket) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>