summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* zebra: fix bug in nexthop label allocationßingen2016-09-231-1/+2
| | | | Label array in nexthop_label struct was not being allocated.
* mpls: add support for LDP LSPsRenato Westphal2016-09-231-5/+9
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* MPLS: Install labeled static routesvivek2016-09-231-0/+3
| | | | | | | | | | | | This patch installs labeled static routes in the FIB. The routes are installed using the RTA_ENCAP (and RTA_ENCAP_TYPE) nested attributes. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-6040 Reviewed By: CCR-3091 Testing Done: Tested in SE-1, brief manual testing now
* Quagga: Install label forwarding entries for statically configured LSPsvivek2016-09-231-1/+27
| | | | | | | | | | | | | Install the statically configured LSPs into the FIB (kernel). This is done using the new attributes and definitions for MPLS in the kernel - RTA_VIA, RTA_NEWDST and AF_MPLS. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-4804 Reviewed By: CCR-3088 Testing Done: Manual in SE-1
* *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEsDavid Lamparter2016-09-191-0/+2
| | | | | | | | | | | | | | | | | | | This is a rather large mechanical commit that splits up the memory types defined in lib/memtypes.c and distributes them into *_memory.[ch] files in the individual daemons. The zebra change is slightly annoying because there is no nice place to put the #include "zebra_memory.h" statement. bgpd, ospf6d, isisd and some tests were reusing MTYPEs defined in the library for its own use. This is bad practice and would break when the memtype are made static. Acked-by: Vincent JARDIN <vincent.jardin@6wind.com> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com> [CF: rebased for cmaster-next] Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Signed-off-by: Christian Franke <chris@opensourcerouting.org>
* lib, bgpd: Log next hopsvivek2016-09-081-0/+33
| | | | | | | | | | Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Ticket: CM-12390 Reviewed By: CCR-5156 Testing Done: Manual
* lib: Fix some more compiler warningsDonald Sharp2016-05-201-5/+0
| | | | | | | | | | | | | | | Three different changes: a) in nexthop.c we have an actual bug, we've rearranged the enumerated types and the list of enums has changed, we were displaying the wrong nexthop information. b) Remove some dead code from sockunion.h c) '\0' evaluates to 0 which is NULL. vector_set takes a pointer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
* ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAMEDonald Sharp2015-12-041-8/+0
| | | | | | | The NEXTHOP_TYPE_XXX_IFNAME types were never being used. Remove them and the code associated with them. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Quagga: Nexthop refactoringDonald Sharp2015-11-271-4/+72
| | | | | | Upstream wanted some nexthop code to be refactored. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* nexthop-tracking.patchDonald Sharp2015-05-201-0/+100
quagga: nexthop-tracking.patch Add next hop tracking support to Quagga. Complete documentation in doc/next-hop-tracking.txt. Signed-off-by: Pradosh Mohapatra <pmohapat@cumulusnetworks.com> Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Signed-off-by: Dinesh Dutt <ddutt@cumulusnetworks.com>