mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +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
|
||||
|
||||
Curt McDowell
|
||||
Broadcom Corp.
|
||||
csm@broadcom.com
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* Curt McDowell
|
||||
* Broadcom Corp.
|
||||
* csm@broadcom.com
|
||||
*
|
||||
* IP checksum two bytes at a time with support for
|
||||
* unaligned buffer.
|
||||
* Works for len up to and including 0x20000.
|
||||
@ -159,8 +160,6 @@ lwip_standard_chksum2(void *dataptr, int len)
|
||||
return sum;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
/**
|
||||
* An optimized checksum routine. Basically, it uses loop-unrolling on
|
||||
* the checksum loop, treating the head and tail bytes specially, whereas
|
||||
|
Loading…
Reference in New Issue
Block a user