net: Refactor IP, UPD, and ICMP header writing functions
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:07 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:18 +0000 (17:46 -0500)
commit4b11c9166b86ccc5f8f02fda01ded0f9e9760df0
treecdf2b9de655df32a3937ea6a22395d67b21c469a
parent674bb249825aa9b0bddab046d23d43c33bb75f78
net: Refactor IP, UPD, and ICMP header writing functions

ICMP (ping) was reimplementing IP header code... it now shares code.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
include/net.h
net/bootp.c
net/net.c
net/ping.c