commit | 9b0e35cb4889eb04a7ea5dd648d73df0bf37cc68 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jan 19 22:16:07 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Jan 23 21:44:59 2015 -0700 |
tree | 5e3b454e1d4d9a07de41419d56c62b40633adddf | |
parent | 5da38086bd6c39efd09e57900702b99541844339 [diff] |
net: Add a separate file for IP checksumming Move the checksum code out into its own file so it can be used elsewhere. Also use a new version which supports a length which is not a multiple of 2 and add a new function to add two checksums. Signed-off-by: Simon Glass <sjg@chromium.org>