summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-19 22:16:08 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:33 -0700
commit0da0fcd51f6566d84eb24cbbd4c8ad784c702849 (patch)
treeca319b50fa22b7d0bbd636c83877dc52c17959fa /include/net.h
parent360334a1786c2ef8753239818ca295211b2d5aa8 (diff)
downloadu-boot-imx-0da0fcd51f6566d84eb24cbbd4c8ad784c702849.zip
u-boot-imx-0da0fcd51f6566d84eb24cbbd4c8ad784c702849.tar.gz
u-boot-imx-0da0fcd51f6566d84eb24cbbd4c8ad784c702849.tar.bz2
net: Use new checksum functions
Drop the old checksum functions in favour of the new ones. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net.h b/include/net.h
index 73ea88b..43e3d28 100644
--- a/include/net.h
+++ b/include/net.h
@@ -512,10 +512,6 @@ unsigned add_ip_checksums(unsigned offset, unsigned sum, unsigned new_sum);
*/
int ip_checksum_ok(const void *addr, unsigned nbytes);
-/* Checksum */
-extern int NetCksumOk(uchar *, int); /* Return true if cksum OK */
-extern uint NetCksum(uchar *, int); /* Calculate the checksum */
-
/* Callbacks */
extern rxhand_f *net_get_udp_handler(void); /* Get UDP RX packet handler */
extern void net_set_udp_handler(rxhand_f *); /* Set UDP RX packet handler */