[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: juan schiavoni
Subject: [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32
Date: Tue, 04 May 2010 16:48:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2010040119 Ubuntu/8.04 (hardy) Firefox/3.0.19

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

Hi Bill,

The avr32 is big endian cpu. 

The field _ttl_prot, don't exist in the struct ip_hdr, it has two 8 bits
field: (proto, and ttl).

I change the order of [chk_sum = (proto << 8) | ttl;] for [chk_sum = (ttl<<8)
| proto;], and work fine.

Thanks a lot.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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