projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0719bdf
)
[IPV4]: Make struct in_addr::s_addr __be32
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 29 Aug 2006 06:57:56 +0000
(23:57 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:28 +0000
(15:18 -0700)
There will be relatively small increase in sparse endian warnings, but
this (and sin_port) patch is a first step to make networking code
endian clean.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in.h
patch
|
blob
|
history
diff --git
a/include/linux/in.h
b/include/linux/in.h
index
94f557f
..
9a9d5dd
100644
(file)
--- a/
include/linux/in.h
+++ b/
include/linux/in.h
@@
-52,7
+52,7
@@
enum {
/* Internet address. */
struct in_addr {
- __
u32
s_addr;
+ __
be32
s_addr;
};
#define IP_TOS 1