[EMAIL PROTECTED] wrote:
> At different points in the code, we use a different chain of pointers
> to get an ill_t...
> 
> Are there any occasions when ire->ire_stq->q_ptr (when ire_stq is
> non-null) is going to be different to ire->ire_ipif->ipif_ill?

Yes.  ire_ipif is the cached source address to be used when using this 
ire, which may not be assigned to the same interface as the output 
interface (which is (ill_t *)ire_stq->q_ptr).  This is often true when 
using IPMP, or when using vni (or even lo) to host source addresses, or 
with IPv6 when the best choice of source address when doing source 
address selection belongs to an interface other than the output interface 
(if candidate addresses on the output interface are deprecated, for example).

-Seb
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to