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)
commit9f2e73345ad9466618edfec35d98c074f2e0570d
tree504a464901e3a7b5054a288b8e86874f267fae47
parent25d46f43a911b08c5aa8c8fd4fe7fa9b36445068
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