diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 00:27:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 20:54:07 -0400 |
commit | 011a92610826bdeec4b80ab423958d4c512639f6 (patch) | |
tree | f06bf2067a5c6a9ebf87ed30b7c63e2a3d0f2074 | |
parent | bada8adc4e6622764205921e6ba3f717aa03c882 (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>
-rw-r--r-- | include/net/inet_sock.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h index f6242710f2ff..fc0b9e157b61 100644 --- a/include/net/inet_sock.h +++ b/include/net/inet_sock.h | |||
@@ -110,11 +110,11 @@ struct inet_sock { | |||
110 | struct ipv6_pinfo *pinet6; | 110 | struct ipv6_pinfo *pinet6; |
111 | #endif | 111 | #endif |
112 | /* Socket demultiplex comparisons on incoming packets. */ | 112 | /* Socket demultiplex comparisons on incoming packets. */ |
113 | __u32 daddr; | 113 | __be32 daddr; |
114 | __u32 rcv_saddr; | 114 | __be32 rcv_saddr; |
115 | __u16 dport; | 115 | __u16 dport; |
116 | __u16 num; | 116 | __u16 num; |
117 | __u32 saddr; | 117 | __be32 saddr; |
118 | __s16 uc_ttl; | 118 | __s16 uc_ttl; |
119 | __u16 cmsg_flags; | 119 | __u16 cmsg_flags; |
120 | struct ip_options *opt; | 120 | struct ip_options *opt; |
@@ -129,7 +129,7 @@ struct inet_sock { | |||
129 | hdrincl:1, | 129 | hdrincl:1, |
130 | mc_loop:1; | 130 | mc_loop:1; |
131 | int mc_index; | 131 | int mc_index; |
132 | __u32 mc_addr; | 132 | __be32 mc_addr; |
133 | struct ip_mc_socklist *mc_list; | 133 | struct ip_mc_socklist *mc_list; |
134 | struct { | 134 | struct { |
135 | unsigned int flags; | 135 | unsigned int flags; |
@@ -137,7 +137,7 @@ struct inet_sock { | |||
137 | struct ip_options *opt; | 137 | struct ip_options *opt; |
138 | struct rtable *rt; | 138 | struct rtable *rt; |
139 | int length; /* Total length of all frames */ | 139 | int length; /* Total length of all frames */ |
140 | u32 addr; | 140 | __be32 addr; |
141 | struct flowi fl; | 141 | struct flowi fl; |
142 | } cork; | 142 | } cork; |
143 | }; | 143 | }; |