diff options
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 4deb3834d62..be0ef3df4ac 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 */ |