[EMAIL PROTECTED] wrote: > On (08/03/07 14:30), Darren Reed wrote: > >> In various places, we have a call, ire_to_ill() to map an ire to >> the appropriate ill for outgoing packets. For any given ire, the >> choice of the ill should be somewhat static and be associated >> with the ire_stq. >> > > for IRE_CACHE entries. The choice is somewhat more complex for > BROADCAST entries. Also, ire_in_ill is related to the RTA_SRCIFP > logic, which is used by cgtp and mrtunnel, so I'm not sure how > extensible this concept is, to all of IP.
And apart from the broadcast case, it would seem that the relationship between the ire and ill is "static". A somewhat disturbing part of the broadcast code is that it can lead to ire_to_ill() returning NULL...but I'm not sure which ill it should return in that case. It is strange to think that an ire_t can exist but not have an "owning" ill... Not everyone who calls ire_to_ill() seems to expect it to be able to return NULL... Darren _______________________________________________ networking-discuss mailing list [email protected]
