summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2015-07-19 20:54:16 +0000
committerrenato <renato@openbsd.org>2015-07-19 20:54:16 +0000
commitcf483f25daeec1bc0714ae77847472fe6b1dd075 (patch)
tree1ef3b7469d4c9bbf16b6d1bd1c82141acbfb54eb /sys/dev/softraid_raid0.c
parentRemove incomplete support for unnecessary modes of operation. (diff)
downloadwireguard-openbsd-cf483f25daeec1bc0714ae77847472fe6b1dd075.tar.xz
wireguard-openbsd-cf483f25daeec1bc0714ae77847472fe6b1dd075.zip
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 'sys/dev/softraid_raid0.c')
0 files changed, 0 insertions, 0 deletions