]> git.ipfire.org Git - thirdparty/bird.git/commit
RAdv: Add custom options
authorAlexander Zubkov <green@qrator.net>
Fri, 23 Jun 2023 15:21:05 +0000 (17:21 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 23 Jun 2023 15:26:03 +0000 (17:26 +0200)
commit9c81250c04798fd274ae9d77380e93b941ac2d7f
tree3f3913d4328f967669265b04138cf642fab10e2e
parent65d6a525944faa3f77041419991d77106d8f0a0d
RAdv: Add custom options

Currently one can use only a predefined set of advertised options in RAdv
protocol, which are supported by BIRD configuration. It would be convenient
to be able to specify other possible options at least manually as a blob
so one should not wait until it is supported in the code, released, etc.

This idea is inspired by presentation by OndÅ™ej Caletka at CSNOG, in which
he noticed the lack of either PREF64 option or possibility to add custom
options in various software.

The patch makes it possible to define such options with the syntax:

  other type <num> <bytestring>
proto/radv/config.Y
proto/radv/packets.c
proto/radv/radv.h