Re: [PATCH 1/4] [IPv6] Add link and site-local scope inline

2007-04-05 Thread YOSHIFUJI Hideaki / 吉藤英明
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

Re: [PATCH 1/4] [IPv6] Add link and site-local scope inline

2007-04-05 Thread Brian Haley
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

[PATCH 1/4] [IPv6] Add link and site-local scope inline

2007-04-05 Thread Brian Haley
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

Re: [PATCH 1/4] [IPv6] Add link and site-local scope inline

2007-04-05 Thread YOSHIFUJI Hideaki / 吉藤英明
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