[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:1.9.2.3) 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:
<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 <=
- [lwip-devel] [bug #29763] CHECKSUM_GEN_IP_INLINE - AVR32, juan schiavoni, 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/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