radvd-project / radvd

radvd | Official repository: https://github.com/radvd-project/radvd
https://radvd.litech.org/
Other
203 stars 107 forks source link

Change the Prefix field of the Route Information Option to be variable-length. #234

Open y-kzm opened 3 weeks ago

y-kzm commented 3 weeks ago

This PR enables prefixes to be sent in smaller chunks within the Route Information Options.

According to RFC 4191, Section 2.3: The Length field is 1, 2, or 3 depending on the Prefix Length. If Prefix Length is greater than 64, then Length must be 3. If Prefix Length is greater than 0, then Length must be 2 or 3. If Prefix Length is zero, then Length must be 1, 2, or 3.

Neustradamus commented 1 week ago

@y-kzm: Have you seen @robbat2 review?