]> 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)
commitb74e16d4b19540abe92254ddaf851271f6017c2e
tree504a464901e3a7b5054a288b8e86874f267fae47
parent7deb7714bb6ba28d9fb8c145d6d33cb528b79ef4
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