[Top][All Lists]

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

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

From: Bill Auerbach
Subject: [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32
Date: Tue, 04 May 2010 16:28:01 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)

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

chk_sum = iphdr->_ttl_proto;

is correct for big and little endian - I tested both.  What was checked in
[chk_sum = (proto << 8) | ttl; ] apparently does not work for little endian? 
Is Avr32 little endian?

Simon, I assumed your changes where for #define names and format and other
consistency things - I didn't check the actual C code.

Juan, can you plug in the line above [chk_sum = iphdr->_ttl_proto;] and take
out your += 0x7F8 and see how it goes?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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