net: cosmetic: Split struct ip_udp_hdr into ip_hdr
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:58:05 +0000 (07:58 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:14 +0000 (17:46 -0500)
commitc5c59df04d6bb394209936c2a2c2a3054ead9150
tree166890b8221e53b6a11de975626b1e0c3fd4634e
parent594c26f8a7dbb83243a5168378a2164fa08d6dd8
net: cosmetic: Split struct ip_udp_hdr into ip_hdr

Add a structure that only contains IP header fields to be used by
functions that don't need UDP
Rename IP_HDR_SIZE_NO_UDP to IP_HDR_SIZE

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
include/net.h
net/net.c
net/ping.c