summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpe.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ldpd: kill send_notification_nbr()Renato Westphal2017-03-031-3/+1
| | | | | | | | Be more clever and trigger the PDU SENT event inside send_notification() when tcp->nbr is set. This way we can eliminate send_notification_nbr() and always use send_notification() instead. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* Merge remote-tracking branch 'origin/stable/2.0'Donald Sharp2017-02-021-1/+1
|\
| * ldpd: add ctl_socket cli option to override the compiled-in location for the ↵Renato Westphal2017-01-251-1/+1
| | | | | | | | | | | | control socket Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | ldpd: introduce advanced filtering capabilitiesRenato Westphal2017-02-021-0/+1
| | | | | | | | | | | | | | | | This patch introduces several new configuration commands to ldpd. These commands should allow the operator to define advanced filtering policies for things like label advertisement, label allocation, etc. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | ldpd: use red-black trees to store 'adj' elementsRenato Westphal2017-01-041-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Using red-black trees instead of linked lists brings the following benefits: 1 - Elements are naturally ordered (no need to reorder anything before outputting data to the user); 2 - Faster lookups/deletes: O(log n) time complexity against O(n). The insert operation with red-black trees is more expensive though, but that's not a big issue since lookups are much more frequent. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | ldpd: use red-black trees to store 'tnbr' elementsRenato Westphal2017-01-041-1/+1
|/ | | | | | | | | | | | | Using red-black trees instead of linked lists brings the following benefits: 1 - Elements are naturally ordered (no need to reorder anything before outputting data to the user); 2 - Faster lookups/deletes: O(log n) time complexity against O(n). The insert operation with red-black trees is more expensive though, but that's not a big issue since lookups are much more frequent. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: adapt the code for QuaggaRenato Westphal2016-09-231-16/+27
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: copy original sources from OpenBSD (14/09/2016)Renato Westphal2016-09-231-0/+282
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>