]> git.puffer.fish Git - matthieu/frr.git/commit
Add test for Internet checksum.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 1 Dec 2008 15:25:06 +0000 (16:25 +0100)
committerPaul Jakma <paul@quagga.net>
Thu, 25 Jun 2009 14:36:39 +0000 (15:36 +0100)
commit439c52f19007badffc6707673121f5a76784e728
tree2e16cabd2f63de4bfd5eddc24c08b1e1a593f95b
parent77a1c4e05ca5a7d7bf07456758f7c934ee867884
Add test for Internet checksum.

Add 2 impl. of the Internet Checksum. One new optimized nad
one form RFC 1071. Turns out that the current Quagga in_cksum()
is buggy. On Big Endian routers it miscalculates odd sized buffers.
tests/test-checksum.c