util: Move bitwise_copy() here, add new bitwise functions, add a test.
authorBen Pfaff <blp@nicira.com>
Wed, 18 Jan 2012 00:38:23 +0000 (16:38 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Feb 2012 22:15:07 +0000 (14:15 -0800)
commitddc4f8e27f231b35df0c73a16bacc17396fb00f3
tree08635f9d45d2c999b284cff40d98541a56d9ac8f
parenta39edbd4a409ad14b79c2205e340c07185785b92
util: Move bitwise_copy() here, add new bitwise functions, add a test.

bitwise_copy() is generally useful so make it a general utility function.
Also add a comment.

Upcoming commits will introduce users for the new functions.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/nx-match.c
lib/random.c
lib/random.h
lib/util.c
lib/util.h
tests/test-util.c