commit | 00153918396ecb7144ef739bc97bee381d6a7612 | [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 | b34f4051fa6355b8749dc84dbc5520e2f0146848 [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>