[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:1.9.0.19) 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:
<http://savannah.nongnu.org/bugs/?29763>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, juan schiavoni, 2010/05/03
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Bill Auerbach, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Simon Goldschmidt, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Bill Auerbach, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32,
juan schiavoni <=
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Bill Auerbach, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Simon Goldschmidt, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Simon Goldschmidt, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, juan schiavoni, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Simon Goldschmidt, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Bill Auerbach, 2010/05/04
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Simon Goldschmidt, 2010/05/05
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, Bill Auerbach, 2010/05/05
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, juan schiavoni, 2010/05/06