diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-08-29 02:57:56 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:18:28 -0400 |
commit | def42ff4dd6f54ebcf78192579a8ff1f81d8e2e8 (patch) | |
tree | 3ad722dea8f5a157ee9fb01725b7b58aae28d5c1 /include/linux | |
parent | 0719bdf1b5e7eb0d9c3c73ebbd9c9d5d382bb9e1 (diff) |
[IPV4]: Make struct in_addr::s_addr __be32
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/in.h b/include/linux/in.h index 94f557fa4636..9a9d5dd32e73 100644 --- a/include/linux/in.h +++ b/include/linux/in.h | |||
@@ -52,7 +52,7 @@ enum { | |||
52 | 52 | ||
53 | /* Internet address. */ | 53 | /* Internet address. */ |
54 | struct in_addr { | 54 | struct in_addr { |
55 | __u32 s_addr; | 55 | __be32 s_addr; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | #define IP_TOS 1 | 58 | #define IP_TOS 1 |