svn commit: r300771 - head/sys/netgraph/netflow

Jung-uk Kim jkim at FreeBSD.org
Thu May 26 22:00:03 UTC 2016


On 05/26/16 05:45 PM, Gleb Smirnoff wrote:
> On Thu, May 26, 2016 at 06:57:26PM +0000, Jung-uk Kim wrote:
> J> Author: jkim
> J> Date: Thu May 26 18:57:26 2016
> J> New Revision: 300771
> J> URL: https://svnweb.freebsd.org/changeset/base/300771
> J> 
> J> Log:
> J>   Use bit_count(3) instead of four bitcount32() calls.
> J>   
> J>   Reviewed by:	asomers, ngie
> J>   Differential Revision:	https://reviews.freebsd.org/D6543
> 
> The bitcount32() is still used for IPv4 addresses. Is that intentional?

Yes.  bit_count(3) is only useful when data is bigger than long.

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160526/8fd43e6a/attachment.sig>


More information about the svn-src-all mailing list