[coreboot] [PATCH] change ipchksum parameter types
Peter Stuge
peter at stuge.se
Sat Aug 30 01:16:37 CEST 2008
ron minnich wrote:
> Actually the IP checksum as designed works on u16.
>
> it's a simple sum across the two-byte elements of a message.
ron minnich wrote:
> http://www.netfor2.com/checksum.html
>
> the reference
I guess RFC1701 (as mentioned in checksum.html) is the original
reference. But never mind - what do we typically call ipchksum() on?
The case is already done internally and I think that's fine. Anyways,
since it is casted, void * works for me and my ack is still good. :)
//Peter
More information about the coreboot
mailing list