In article <[EMAIL PROTECTED]> (at Fri, 06 Apr 2007 02:37:52 -0400), Brian
Haley <[EMAIL PROTECTED]> says:
> static inline int ipv6_addr_scope_linklocal(const struct in6_addr *a)
> {
> return ((a->s6_addr32[0] & htonl(0xFFC0)) == htonl(0xFE80) ||
> ((a->s6_addr32[0] & htonl(0xFF0
YOSHIFUJI Hideaki / wrote:
In article <[EMAIL PROTECTED]> (at Thu, 05 Apr 2007 23:21:05 -0400), Brian Haley
<[EMAIL PROTECTED]> says:
Add link and site-local scope inline to avoid calls to ipv6_addr_type().
I disagree. Multicast scopes should also be handled appropriately.
Yes, I
Add link and site-local scope inline to avoid calls to ipv6_addr_type().
Signed-off-by: Brian Haley <[EMAIL PROTECTED]>
---
include/net/ipv6.h | 10 ++
net/dccp/ipv6.c |2 +-
net/ipv6/addrconf.c |6 +++---
net/ipv6/af_inet6.c
In article <[EMAIL PROTECTED]> (at Thu, 05 Apr 2007 23:21:05 -0400), Brian
Haley <[EMAIL PROTECTED]> says:
> Add link and site-local scope inline to avoid calls to ipv6_addr_type().
>
I disagree. Multicast scopes should also be handled appropriately.
--yoshfuji
-
To unsubscribe from this list