net: introduce net_crc32_le() function
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 15 Dec 2017 18:41:44 +0000 (18:41 +0000)
committerJason Wang <jasowang@redhat.com>
Fri, 22 Dec 2017 01:59:52 +0000 (09:59 +0800)
commitf1a7deb900f4d87ca7ff602454e35aa65ff81567
treeefe843681402057f1859ff7c7efc82d010578518
parenteaba8f34f0dac5e9296df9c2046d9601264c46a4
net: introduce net_crc32_le() function

This provides a standard ethernet CRC32 little-endian implementation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
include/net/net.h
net/net.c