hash: New helper functions hash_bytes32() and hash_bytes64().
authorBen Pfaff <blp@ovn.org>
Tue, 19 Jan 2016 06:52:48 +0000 (22:52 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 18:02:53 +0000 (10:02 -0800)
commit0a96a21b6ee67d7cde2abd72a3a5bd290ac618d5
tree6b84f971b777ff2da4b5faaebe0ef759d5430a94
parenta2b53dec11a6d001fd024ba8729de5c63bd2b6a1
hash: New helper functions hash_bytes32() and hash_bytes64().

All of the callers of hash_words() and hash_words64() actually find it
easier to pass in the number of bytes instead of the number of 32-bit
or 64-bit words.  These new functions allow the callers to be a little
simpler.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
lib/flow.h
lib/hash.h
lib/odp-util.c
lib/ofp-msgs.c
ofproto/ofproto-dpif-rid.c