packet: Add IP pseudoheader checksum calculation.
authorJesse Gross <jesse@nicira.com>
Mon, 30 Mar 2015 19:17:05 +0000 (12:17 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 7 Apr 2015 23:51:57 +0000 (16:51 -0700)
commit0292a0c9d99f6ec5980bd26a7094fc2a4148ebe8
treeb7b046f80de4ebd37a57371a5127f0ed9b0c2418
parente5a1caeed45ae4dc8783a2fc1ea466c9e1cc79a7
packet: Add IP pseudoheader checksum calculation.

As OVS adds userspace support for being the endpoint in protocols
like tunnels, it will need to be able to calculate pseudoheaders
as part of the checksum calculation.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/packets.c
lib/packets.h
tests/library.at
tests/test-csum.c