Re: bgpd, remove active prefix cache in rib_element

2022-03-21 Thread Claudio Jeker
On Mon, Mar 21, 2022 at 05:51:36PM +0100, Theo Buehler wrote: > On Mon, Mar 21, 2022 at 05:16:53PM +0100, Claudio Jeker wrote: > > In struct rib_entry bgpd keeps the 'best' or active prefix cached. > > Now to support more than one one prefix per path (for ECMP and add-path) > > I need the ability t

Re: bgpd, remove active prefix cache in rib_element

2022-03-21 Thread Theo Buehler
On Mon, Mar 21, 2022 at 05:16:53PM +0100, Claudio Jeker wrote: > In struct rib_entry bgpd keeps the 'best' or active prefix cached. > Now to support more than one one prefix per path (for ECMP and add-path) > I need the ability to access the previous element. The currently used > LIST macros do not

bgpd, remove active prefix cache in rib_element

2022-03-21 Thread Claudio Jeker
In struct rib_entry bgpd keeps the 'best' or active prefix cached. Now to support more than one one prefix per path (for ECMP and add-path) I need the ability to access the previous element. The currently used LIST macros do not support that. So I want to switch that to TAILQ but the TAILQ head is