summaryrefslogtreecommitdiffstats
path: root/ldpd/notification.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ldpd: accept notifications during the session establishment processRenato Westphal2017-04-261-0/+10
| | | | | | | | | | | | | | | | | If we don't do this, we'll never trigger the backoff exponential timer since it's impossible to distinguish between Initialization NAK's and general errors. Also: * Implement some missing bits from RFC 5036; * remove superfluous log message in session_shutdown() (send_notification() logs that we're sending a fatal notification). Regression introduced by commit 8819fc3. Fixes the following ANVL LDP regressions: 6.19 and 6.21. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: provide more detailed information in some show commandsRenato Westphal2017-03-211-0/+1
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 5919 (LDP End-of-LIB)Renato Westphal2017-03-031-12/+28
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: implement RFC 5561 (LDP Capabilities)Renato Westphal2017-03-031-3/+52
| | | | | | | | 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-17/+23
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: provide more detailed output when logging notification messagesRenato Westphal2017-03-031-0/+11
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: kill send_notification_nbr()Renato Westphal2017-03-031-13/+7
| | | | | | | | 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: adapt the code for QuaggaRenato Westphal2016-09-231-6/+5
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: copy original sources from OpenBSD (14/09/2016)Renato Westphal2016-09-231-0/+239
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>