summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-26 21:27:35 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 17:54:07 -0700
commit011a92610826bdeec4b80ab423958d4c512639f6 (patch)
treef06bf2067a5c6a9ebf87ed30b7c63e2a3d0f2074 /include/net
parentbada8adc4e6622764205921e6ba3f717aa03c882 (diff)
[IPV4]: annotated ipv4 addresses in struct inet_sock
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/inet_sock.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index f6242710f2f..fc0b9e157b6 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -110,11 +110,11 @@ struct inet_sock {
struct ipv6_pinfo *pinet6;
#endif
/* Socket demultiplex comparisons on incoming packets. */
- __u32 daddr;
- __u32 rcv_saddr;
+ __be32 daddr;
+ __be32 rcv_saddr;
__u16 dport;
__u16 num;
- __u32 saddr;
+ __be32 saddr;
__s16 uc_ttl;
__u16 cmsg_flags;
struct ip_options *opt;
@@ -129,7 +129,7 @@ struct inet_sock {
hdrincl:1,
mc_loop:1;
int mc_index;
- __u32 mc_addr;
+ __be32 mc_addr;
struct ip_mc_socklist *mc_list;
struct {
unsigned int flags;
@@ -137,7 +137,7 @@ struct inet_sock {
struct ip_options *opt;
struct rtable *rt;
int length; /* Total length of all frames */
- u32 addr;
+ __be32 addr;
struct flowi fl;
} cork;
};