[U-Boot] [PATCH v3 02/12] net: Add a separate file for IP checksumming

Simon Glass sjg at chromium.org
Sat Jan 24 14:31:21 CET 2015


On 19 January 2015 at 22:16, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v3:
> - Add new patch to move checksum to its own file in net/
>
> Changes in v2: None
>
>  include/net.h  | 30 +++++++++++++++++++++++++++++
>  net/Makefile   |  1 +
>  net/checksum.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 91 insertions(+)
>  create mode 100644 net/checksum.c

Applied to u-boot-x86.


More information about the U-Boot mailing list