summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: make consistent & update GPLv2 file headersDavid Lamparter2017-05-151-4/+3
| | | | | | | | | | | 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>
* zebra: labeled unicast handlingDon Slice2017-04-061-0/+1
| | | | | | | | | Support install of labeled-unicast routes by a client. This would be BGP, in order to install routes corresponding to AFI/SAFI 1/4 (IPv4) or 2/4 (IPv6). Convert labeled-unicast routes into label forwarding entries (i.e., transit LSPs) when there is a static label binding. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
* mpls: add support for LDP LSPsRenato Westphal2016-09-231-1/+4
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* Quagga: Install label forwarding entries for statically configured LSPsvivek2016-09-231-0/+6
| | | | | | | | | | | | | 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
* Quagga: Definitions for static LSPsvivek2016-09-231-0/+9
| | | | | | | | | Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-4804, ... Reviewed By: CCR-3084 Testing Done: Not relevant
* Merge remote-tracking branch 'origin/cmaster' into cmaster-nextDonald Sharp2016-09-091-0/+4
|\
| * lib, bgpd: Log next hopsvivek2016-09-081-0/+4
| | | | | | | | | | | | | | | | | | | | 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
* | *: use an ifindex_t type, defined in lib/if.h, for ifindex valuesPaul Jakma2016-08-181-1/+1
|/ | | | (cherry picked from commit 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744)
* ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAMEDonald Sharp2015-12-041-4/+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-11/+12
| | | | | | Upstream wanted some nexthop code to be refactored. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* zebra: Remove HAVE_IPV6 from rib.h and zebra_rib.cDonald Sharp2015-10-231-2/+0
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* Zebra: Don't resolve nexthops over default route unless explicitly allowed.Donald Sharp2015-06-111-0/+14
| | | | | | | | | | Ensure that resolution of a nexthop using a default route is not done in the nexthop validation/update code in zebra_rib.c also. This is an addition to the zebra-nht-no-default.patch which made the checks only in the NHT code. In the case of scenarios like interface down, this nexthop update code will kick in first to update the route before the NHT code comes into play; without the additional fix, this code could incorrectly resolve the nexthop over a default route, even when disallowed by the administrator.
* zebra-set-src-routemap.patchDonald Sharp2015-05-201-0/+1
| | | | | | | | | | | | | | | | | | Honor setting source via route map and pushing that to the kernel. With recursive routes, the ability to set the source IP address of a route via a routemap has been broken. This patch fixes that. To allow route map to set a source and then to unapply the route map and have the source be taken out, I've introduced a new field in the nexthop data structure called rmap_src. This field is zero'd before invoking the route map apply function. Today, no protocol daemon specifies the src in its route update to zebra. If that happens, I didn't want to stomp on it and so have left the src field intact instead of reusing that for the routemap to play with. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
* zebra: zebra-static-route-nht.patchDonald Sharp2015-05-201-0/+1
| | | | Use NHT to support static routes with NH derived from protocols.
* nexthop-tracking.patchDonald Sharp2015-05-201-0/+89
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>