commit | 6025cd204449544591ba49176fd45c8e36e9391f | [log] [tgz] |
---|---|---|
author | Kim Phillips <kim.phillips@freescale.com> | Wed Jan 16 18:09:11 2013 -0600 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Jun 24 19:11:12 2013 -0500 |
tree | f28071b91aec57917cf28e30538da0db6e1f458f | |
parent | 9e5742b0e33c4f864849af858b3ba92c5c7e85a4 [diff] |
net: make IPaddr type big endian for use with sparse. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
diff --git a/include/net.h b/include/net.h index 23fb947..7673470 100644 --- a/include/net.h +++ b/include/net.h
@@ -39,7 +39,7 @@ #define PKTALIGN ARCH_DMA_MINALIGN /* IPv4 addresses are always 32 bits in size */ -typedef u32 IPaddr_t; +typedef __be32 IPaddr_t; /**