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>
master
Kim Phillips 12 years ago committed by Joe Hershberger
parent 1b8c18b971
commit 3d49412d56
  1. 2
      include/net.h

@ -39,7 +39,7 @@
#define PKTALIGN ARCH_DMA_MINALIGN #define PKTALIGN ARCH_DMA_MINALIGN
/* IPv4 addresses are always 32 bits in size */ /* IPv4 addresses are always 32 bits in size */
typedef u32 IPaddr_t; typedef __be32 IPaddr_t;
/** /**

Loading…
Cancel
Save