csum: Annotate byte order to match actual usage.
authorBen Pfaff <blp@nicira.com>
Fri, 6 May 2011 19:34:46 +0000 (12:34 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 May 2011 20:40:48 +0000 (13:40 -0700)
commit6879df6b58388ef7dbd8f27c9c152a2df902773d
tree96a397283d91b3402d6233164baa42014f55dc10
parent0b9275b2c7ed2f88491898345e03618dbfbf4b0f
csum: Annotate byte order to match actual usage.

The IP checksum algorithm yields identical results regardless of whether
arithmetic little-endian or big-endian, but in practice OVS only passes in
big-endian data, so it seems reasonable to annotate these functions that
way.
lib/csum.c
lib/csum.h