From 3d49412d5626eebdfca78dcaec7d817b45d6f03e Mon Sep 17 00:00:00 2001 From: Kim Phillips Date: Wed, 16 Jan 2013 18:09:11 -0600 Subject: [PATCH] net: make IPaddr type big endian for use with sparse. Signed-off-by: Kim Phillips Cc: Joe Hershberger --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index 23fb947292..7673470046 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; /** -- 2.25.1