summaryrefslogtreecommitdiffstats
path: root/ldpd/labelmapping.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ldpd: provide more detailed information in some show commandsRenato Westphal2017-03-211-4/+25
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: always check if the received labels are validRenato Westphal2017-03-031-61/+27
| | | | | | | | | | We were doing some sanity checks only for labels of Label Mapping messages. Now do the same checks for labels of Label Release and Label Withdraw messages as well. While here, plug a small memleak in the error path of recv_labelmessage(). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 5919 (LDP End-of-LIB)Renato Westphal2017-03-031-30/+42
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 6667 (Typed Wildcard FEC for PWid)Renato Westphal2017-03-031-0/+23
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 5918 (Typed Wildcard FEC)Renato Westphal2017-03-031-2/+118
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 5561 (LDP Capabilities)Renato Westphal2017-03-031-3/+5
| | | | | | | | This patch per-se doesn't introduce any useful functionality, but prepares the ground for new enhancements to ldpd (i.e. implementation of new RFCs that make use of LDP capabilities). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: create helper functions to log sent/received messagesRenato Westphal2017-03-031-6/+10
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: kill send_notification_nbr()Renato Westphal2017-03-031-6/+6
| | | | | | | | 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>
* ldpd: minor tweaksRenato Westphal2017-03-031-3/+3
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: adapt the code for QuaggaRenato Westphal2016-09-231-10/+7
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: copy original sources from OpenBSD (14/09/2016)Renato Westphal2016-09-231-0/+764
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>