summaryrefslogtreecommitdiffstats
path: root/net/bootp.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:58:04 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:00 -0500
commit594c26f8a7dbb83243a5168378a2164fa08d6dd8 (patch)
treeda2d24d45ee1bb1f9320e023b3a1a24fa25c1d02 /net/bootp.h
parent8b9c53221f6ce30ad132e3202e6d445bc21ed8aa (diff)
downloadblackbird-obmc-uboot-594c26f8a7dbb83243a5168378a2164fa08d6dd8.tar.gz
blackbird-obmc-uboot-594c26f8a7dbb83243a5168378a2164fa08d6dd8.zip
net: cosmetic: Un-typedef IP_t
Rename IP header related things to IP_UDP. The existing definition of IP_t includes UDP header, so name it to accurately describe the structure. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/bootp.h')
-rw-r--r--net/bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.h b/net/bootp.h
index bf4e8756a1..1cf9a02b24 100644
--- a/net/bootp.h
+++ b/net/bootp.h
@@ -52,7 +52,7 @@ struct Bootp_t {
};
#define BOOTP_HDR_SIZE sizeof(struct Bootp_t)
-#define BOOTP_SIZE (ETHER_HDR_SIZE + IP_HDR_SIZE + BOOTP_HDR_SIZE)
+#define BOOTP_SIZE (ETHER_HDR_SIZE + IP_UDP_HDR_SIZE + BOOTP_HDR_SIZE)
/**********************************************************************/
/*
OpenPOWER on IntegriCloud