[kea-dev] Vendor Specific Options (Code 17)

Francis Dupont fdupont at isc.org
Tue Mar 22 08:28:29 UTC 2022


sathish k writes:
>    Appreciate the quick reply , can you confirm my understanding of your re=
> ply is correct
>
>
>   1.  Add multiple vendors in config file as usual
>   2.  but use the Hook to pkt_send6 to compile the options from config file
>  and insert to final packet ?

=> I thought use a sheat of paper to compute the wanted value of the
vendor option with multiple vendors and insert the hexadecimal result
in the configuration. Now you can do it using a hook and some code
merging (v4) or pushing (v6) multiple vendor options with one vendor
per option from the configuration...

Thanks

Francis Dupont <fdupont at isc.org>

PS: the option collection type is a multimap so the code supports
multiple options with the same type/code as required for the v6 vendor
option 17. Now it is the only place in the code where this feature is
*currently* supported...


More information about the kea-dev mailing list