net: make IPaddr type big endian
authorKim Phillips <kim.phillips@freescale.com>
Thu, 17 Jan 2013 00:09:11 +0000 (18:09 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:11:12 +0000 (19:11 -0500)
for use with sparse.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
include/net.h

index 23fb947292ccf3e1e1b805e86c11ac75106f3107..7673470046f596263e170d0facbdffba74540299 100644 (file)
@@ -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;
 
 
 /**