summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pimd: Fix linux build on older kernelsDonald Sharp2017-07-241-0/+4
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: pim_mroute_[add|del]_vif become VRF awareDonald Sharp2017-07-241-1/+1
| | | | | | Make the pim_mroute_[add|del]_vif functions be vrf aware. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Convert upcalls from kernel to use appropriate pim instanceDonald Sharp2017-07-241-2/+0
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Modify pim_mroute_socket_[enable|disable] to be vrf awareDonald Sharp2017-07-241-2/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* *: reindentreindent-master-afterwhitespace / reindent2017-07-171-34/+34
| | | | | | indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: make consistent & update GPLv2 file headersDavid Lamparter2017-05-151-18/+17
| | | | | | | | | | | The FSF's address changed, and we had a mixture of comment styles for the GPL file header. (The style with * at the beginning won out with 580 to 141 in existing files.) Note: I've intentionally left intact other "variations" of the copyright header, e.g. whether it says "Zebra", "Quagga", "FRR", or nothing. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* Merge remote-tracking branch 'origin/master' into pim_lib_work2Donald Sharp2017-01-181-1/+0
|\
| * build: remove $Format tagsDavid Lamparter2016-12-201-2/+0
| | | | | | | | Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* | pimd: Clarify pim_mroute_[add|del] function debuggingDonald Sharp2016-12-221-2/+2
| | | | | | | | | | | | | | | | | | When debugging is turned on for 'debug mroute' we are unable to tell when a mroute has been added or deleted from the mrib. Notice when we do it and who called it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | pimd: Refactor RP code and start the ability to handle rangesDonald Sharp2016-12-221-1/+1
| | | | | | | | | | | | | | | | Refactor the qpim_rp into pim_rp.c so that the global data is protected. This will allow us to easily add the group ranges. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* | pimd: Enable WrongVif and WRWHOLEVIF callbacks.Donald Sharp2016-12-221-0/+4
| | | | | | | | | | | | Turn on Wrong Vif and Whole packet wrong vif callbacks. Signed-off-by: Donald Sharp <sharpd@cumuusnetworks.com>
* | pimd: Remove unnecessary QuaggaIdDonald Sharp2016-12-221-1/+0
|/ | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Add generic function to retrieve mroute statsDonald Sharp2016-07-131-0/+1
| | | | | | | Add a generic function to retrieve mroute statistics from the kernel. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Refactor pim_mroute_add and _delDonald Sharp2016-07-121-2/+2
| | | | | | | The struct mfcctl should not be passed around. Pass around the channel oil instead. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Separate pim vif index spot from ifindexDonald Sharp2016-06-181-1/+1
| | | | | | | | | Allow pim to separate out the pim vif index from the ifindex. This change will allow pim to work with up to 255(MAXVIFS) interfaces, while also allowing the interface ifindex to be whatever number it needs to be. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Move add_oif into pim_oil.cDonald Sharp2016-05-261-1/+1
| | | | | | | | 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>
* pimd: Register with kernel to get unknown multicast packetsDonald Sharp2016-05-261-1/+1
| | | | | | | Start the process of creating the pimreg vif device so that we can get the callbacks from the kernel with the multicast packets Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pim_mroute.h has a different version of code than linux/mroute.h providesDonald Sharp2016-05-261-0/+4
| | | | | | | | | | | linux/mroutes.h and pim_mroute.h both have copies of the same structures. This is causing failures in setsockopt(..., MRT_ADD_MFC,...) because of data structure incompatibilities between the kernel and what pim_mroute.h was providing. Modify the code to check for mroute.h and include it if necessary. I did not modify the non linux/mroute.h path because I do not have other systems to test on easily. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: merge pimd as of 2015-01-19David Lamparter2016-05-261-0/+173
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>