Re: A question about hh_cache

2007-12-30 Thread Andi Kleen
On Sun, Dec 30, 2007 at 05:12:05PM +0200, Andy Johnson wrote: > Can there be a case in such environment (using IPv4 only) where > hh_cache of a neighbour instance is a > list with more than one entry ? In theory if some device supplies own multiple dst_ops with different protocol numbers. From a

Re: A question about hh_cache

2007-12-30 Thread Andy Johnson
Hello, First, thanks for your reply. Second, apart from when using both IPV4 and IPV6: Suppose I work only in IPv4 (and this is indeed the case). Can there be a case in such environment (using IPv4 only) where hh_cache of a neighbour instance is a list with more than one entry ? Regards, Andy Jo

Re: A question about hh_cache

2007-12-30 Thread Andi Kleen
"Andy Johnson" <[EMAIL PROTECTED]> writes: > Can anybody give an example when hh_cache of a neighbour instance is a > list with more than > one entry ? When you're talking to the same host on a local ethernet with both native IPv4 and native IPv6. -Andi -- To unsubscribe from this list: send th

A question about hh_cache

2007-12-30 Thread Andy Johnson
Hi, struct neighbour has a member named hh_cache; this hh_cache caches link layer headers to speed up transmission (instead filling them again and again for each packet). The hh_cache struct is defined in linux/netdev.h. Its first member is hh_next, which is a pointer to hh_cache. I tried to thin