[PATCH 2/9] Nest changes to support SADR.
Ondrej Zajicek
santiago at crfreenet.org
Tue Mar 7 12:05:55 CET 2017
On Tue, Mar 07, 2017 at 12:56:26AM +0100, Dean Luga wrote:
> From: dean <dluga93 at gmail.com>
>
> When SADR is enabled, fib_node contains source address prefix
> and prefix length.
>
> A data structure addr_data was added to be passed to
> fib_{get|find|route} and net_{get|find} functions and allow
> the same call syntax for the functions, independently of
> whether SADR is enabled. Two functions were also added that
> return an addr_data object initialized to zero or with the
> data from a fib_node object.
Hi
It seems to me that many of these changes replicate the changes that we
made in development of BIRD 2.x, perhaps your SADR support could be
moved to that branch.
It seems to me that a natural way how to represent SADR routes would be
to have a new network type (e.g. NET_IP6_SADR) containing both src and
dst IPv6 prefixes. That would allow to use generic code for handling
networks and routes for handling SADR routes.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list