Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Split ESP checksum functions into csum_partial and csum_finish
csum_partial() feeds more uint16_t words into the checksummer; csum_finish() does the final condensation down to uint16_t, and conversion to network order. [dwmw2: Note this still doesn't cope with odd-sized packets but we don't care for now.] Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information