mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Updated comment on optimization and aim of this generic algorithm.
This commit is contained in:
parent
43d448e73f
commit
e1dcfcbb76
@ -48,15 +48,12 @@
|
|||||||
|
|
||||||
#include "lwip/sys.h"
|
#include "lwip/sys.h"
|
||||||
|
|
||||||
/* This is a reference implementation of the checksum algorithm
|
/* This is a reference implementation of the checksum algorithm, with the
|
||||||
|
* aim of being simple, correct and fully portable. Checksumming is the
|
||||||
- it may not work on all architectures, and all processors, particularly
|
* first thing you would want to optimize for your platform. You will
|
||||||
if they have issues with alignment and 16 bit access (although this should
|
* need to port it to your architecture and in your sys_arch.h:\
|
||||||
be fixed since inet.c 1.22).
|
*
|
||||||
|
* #define LWIP_CHKSUM <your_checksum_routine>
|
||||||
- in this case you will need to port it to your architecture and
|
|
||||||
#define LWIP_CHKSUM <your_checksum_routine>
|
|
||||||
in your sys_arch.h
|
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_CHKSUM
|
#ifndef LWIP_CHKSUM
|
||||||
#define LWIP_CHKSUM lwip_standard_chksum
|
#define LWIP_CHKSUM lwip_standard_chksum
|
||||||
|
Loading…
Reference in New Issue
Block a user