9 Jan
2011
9 Jan
'11
3:27 p.m.
Something else, in calc_next_hop: don't you need to return all next hops for ptmp links now that you support ECMP?
The same as in ptp or bcast - multiple next hops are created by compositing returns of calc_next_hop(). Look at the caller of calc_next_hop().
Don't think it will work as intended(I am traveling and only have mail access) but I think the find_neigh(ifa, rid); will always find the same neighbor so any additional links will be missed.
Still think you need to do something like this:
This one doesn't require changes to originate_rt_lsa_body() Just that the neighbour list doesn't change between originate_rt_lsa_body and calc_next_hop.