diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /include/linux/ip_vs.h | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ip_vs.h')
-rw-r--r-- | include/linux/ip_vs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/ip_vs.h b/include/linux/ip_vs.h index 4deb3834d62c..be0ef3df4acb 100644 --- a/include/linux/ip_vs.h +++ b/include/linux/ip_vs.h | |||
@@ -125,8 +125,8 @@ struct ip_vs_service_user { | |||
125 | 125 | ||
126 | /* virtual service options */ | 126 | /* virtual service options */ |
127 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; | 127 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; |
128 | unsigned flags; /* virtual service flags */ | 128 | unsigned int flags; /* virtual service flags */ |
129 | unsigned timeout; /* persistent timeout in sec */ | 129 | unsigned int timeout; /* persistent timeout in sec */ |
130 | __be32 netmask; /* persistent netmask */ | 130 | __be32 netmask; /* persistent netmask */ |
131 | }; | 131 | }; |
132 | 132 | ||
@@ -137,7 +137,7 @@ struct ip_vs_dest_user { | |||
137 | __be16 port; | 137 | __be16 port; |
138 | 138 | ||
139 | /* real server options */ | 139 | /* real server options */ |
140 | unsigned conn_flags; /* connection flags */ | 140 | unsigned int conn_flags; /* connection flags */ |
141 | int weight; /* destination weight */ | 141 | int weight; /* destination weight */ |
142 | 142 | ||
143 | /* thresholds for active connections */ | 143 | /* thresholds for active connections */ |
@@ -187,8 +187,8 @@ struct ip_vs_service_entry { | |||
187 | 187 | ||
188 | /* service options */ | 188 | /* service options */ |
189 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; | 189 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; |
190 | unsigned flags; /* virtual service flags */ | 190 | unsigned int flags; /* virtual service flags */ |
191 | unsigned timeout; /* persistent timeout */ | 191 | unsigned int timeout; /* persistent timeout */ |
192 | __be32 netmask; /* persistent netmask */ | 192 | __be32 netmask; /* persistent netmask */ |
193 | 193 | ||
194 | /* number of real servers */ | 194 | /* number of real servers */ |
@@ -202,7 +202,7 @@ struct ip_vs_service_entry { | |||
202 | struct ip_vs_dest_entry { | 202 | struct ip_vs_dest_entry { |
203 | __be32 addr; /* destination address */ | 203 | __be32 addr; /* destination address */ |
204 | __be16 port; | 204 | __be16 port; |
205 | unsigned conn_flags; /* connection flags */ | 205 | unsigned int conn_flags; /* connection flags */ |
206 | int weight; /* destination weight */ | 206 | int weight; /* destination weight */ |
207 | 207 | ||
208 | __u32 u_threshold; /* upper threshold */ | 208 | __u32 u_threshold; /* upper threshold */ |