mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Disabled the added summing routine to preserve code space, fixed some comments.
This commit is contained in:
parent
02b575e9e4
commit
60dc1c22f7
@ -109,11 +109,12 @@ lwip_standard_chksum(void *dataptr, u16_t len)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Curt McDowell
|
#if 0
|
||||||
Broadcom Corp.
|
|
||||||
csm@broadcom.com
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* Curt McDowell
|
||||||
|
* Broadcom Corp.
|
||||||
|
* csm@broadcom.com
|
||||||
|
*
|
||||||
* IP checksum two bytes at a time with support for
|
* IP checksum two bytes at a time with support for
|
||||||
* unaligned buffer.
|
* unaligned buffer.
|
||||||
* Works for len up to and including 0x20000.
|
* Works for len up to and including 0x20000.
|
||||||
@ -159,8 +160,6 @@ lwip_standard_chksum2(void *dataptr, int len)
|
|||||||
return sum;
|
return sum;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An optimized checksum routine. Basically, it uses loop-unrolling on
|
* An optimized checksum routine. Basically, it uses loop-unrolling on
|
||||||
* the checksum loop, treating the head and tail bytes specially, whereas
|
* the checksum loop, treating the head and tail bytes specially, whereas
|
||||||
|
Loading…
Reference in New Issue
Block a user