]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: 64bit version of ipv6_addr_diff().
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Mon, 14 Jan 2013 07:09:54 +0000 (07:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jan 2013 18:17:00 +0000 (13:17 -0500)
commitcec9f671d2d750c9f1078f5bc761232ef476267d
tree504a464901e3a7b5054a288b8e86874f267fae47
parent5c8a66eabe43e72406cc718347548ca4c09faf1f
ipv6: 64bit version of ipv6_addr_diff().

Introduce __ipv6_addr_diff64() to to find the first different
bit between two addresses on 64bit architectures.

32bit version is still available as __ipv6_addr_diff32(),
and __ipv6_addr_diff() automatically selects appropriate
version.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h