lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32
Date: Wed, 05 May 2010 04:42:33 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Follow-up Comment #10, bug #29763 (project lwip):

> I guess too it simply could be chk_sum = htons( (proto << 8) | ttl ); 

That would work, too, but for little endian, it would be shifting in the
wrong direction and then shifting back again in htons(), wouldn't it?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29763>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]