summaryrefslogtreecommitdiff
path: root/lib/vector.c
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.im>2017-04-12 11:24:07 +0200
committerVincent Bernat <vincent@bernat.im>2018-04-23 17:05:23 +0200
commitbf1061d876951adf778c5d4da907cb6bd914cba4 (patch)
treee4c7729f6aaafc84eae6ab3c83b503440274ebd7 /lib/vector.c
parent0c842c46c79e1464a67b5aab3d644ab86f09c8ef (diff)
bgpd: add an option for RT auto-derivation to use RFC 8635.
RFC 8635 explains how RT auto-derivation should be done in section 5.1.2.1 [1]. In addition to encoding the VNI in the lowest bytes, a 3-bit field is used to encode a namespace. For VXLAN, we have to put 1 in this field. This is needed for proper interoperability with RT auto-derivation in JunOS. Since this would break existing setup, an additional option, "autort rfc8365-compatible" is used. [1]: https://tools.ietf.org/html/rfc8365#section-5.1.2.1 Signed-off-by: Vincent Bernat <vincent@bernat.im>
Diffstat (limited to 'lib/vector.c')
0 files changed, 0 insertions, 0 deletions