lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Question in inet_chksum


From: address@hidden
Subject: Re: [lwip-devel] Question in inet_chksum
Date: Wed, 06 May 2009 19:35:05 +0200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Bill Auerbach wrote:

Shouldn’t the* SWAP_BYTES_IN_WORD* macro in inet_chksum.c use directly, or indirectly,* LWIP_PLATFORM_HTONS*? Some may have implemented this with inline assembly or inlined them to a hardware implementation.


You're right on that (of course only on little-endian platforms). I've checked it in, thanks.

Simon




reply via email to

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