[En-Nut-Discussion] IP Checksum calculation broken. Reenabled old algorithm for the meantime.

Harald Kipp harald.kipp at egnite.de
Mon Jun 18 17:37:35 CEST 2012


Hi Nathan,

On 18.06.2012 15:45, Nathan Moore wrote:
 
> Years ago I was trying to squeeze performance out of Nut/OS on an
> Atmega and fiddled with a gcc inline assembly checksum calculation
> for it.  I'm sure that all targets could benefit from their own checksumming
> routines for both performance and correctness (endian and alignment
> issues).

I fully agree and it's on the list. However, I wanted to make a generic routine available first to simplify porting to new platforms.

Regards,

Harald





More information about the En-Nut-Discussion mailing list