projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8c18b
)
net: make IPaddr type big endian
author
Kim Phillips
<kim.phillips@freescale.com>
Thu, 17 Jan 2013 00:09:11 +0000
(18:09 -0600)
committer
Joe 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
patch
|
blob
|
history
diff --git
a/include/net.h
b/include/net.h
index 23fb947292ccf3e1e1b805e86c11ac75106f3107..7673470046f596263e170d0facbdffba74540299 100644
(file)
--- 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;
/**