]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tftpput: Add support for receiving ICMP packets
authorSimon Glass <sjg@chromium.org>
Mon, 24 Oct 2011 18:00:01 +0000 (18:00 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Oct 2011 19:33:25 +0000 (21:33 +0200)
commit4793ee6522f10a3d108de7e47adbcf5f15eb3f46
tree83192921a3cb79dc1b115e279e79cae1430eda8c
parent8f79bb17a4251ec096a7184d1eaf6f5dea3d2623
net: tftpput: Add support for receiving ICMP packets

ICMP packets can tell you when there is no server at the other end. It
is useful for tftp to figure this out, so that a quick error can be
displayed, rather than pointlessly retrying.

This adds an ICMP packet handler to the net interface.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/net.h
net/net.c