summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2015-07-19 20:54:18 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2015-07-19 20:54:18 +0000
commit9a2afa8acf1879cf27b958867ec93b8685463544 (patch)
treea93a894585cf78bb551fc46620da5aa9d007910c /usr.sbin/rpc.lockd
parentd5090c4ffd20eb040b8d194bf803318547553814 (diff)
Rework label mapping algorithms to be more in line with the RFC.
This patch presents a thoroughly review of the label mapping algorithms. Most of the changes are minor bug fixes in the handling of received label messages. Additional improvements: * Add a few more references to the Appendix A of the RFC5036 ("LDP Label Distribution Procedures") into the code; * Add full multipath support; * Send label withdraws when appropriate; * Add label withdraw/release wildcard support. NOTE: As a result of implementing only the "Liberal Label Retention" and "Downstream Unsolicited" modes, we will never send a label request ("Request Never"). And that means that we can ignore the following notification messages: "Label Request Aborted", "No Label Resources", "No Route" and "Label Resources Available". The following algorithms mentioned in the RFC can also be ignored: "Timeout of Deferred Label Request", "Detect Local Label Resources Have Become Available" and "Receive Label Abort Request". Now, considering that we only support one combination of all modes of operation, we can say that we have an almost complete implementation of the protocol. ok claudio@
Diffstat (limited to 'usr.sbin/rpc.lockd')
0 files changed, 0 insertions, 0 deletions