diff options
Diffstat (limited to 'include/linux/ip_vs.h')
| -rw-r--r-- | include/linux/ip_vs.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/linux/ip_vs.h b/include/linux/ip_vs.h index 0f434a28fb58..148265e63e8d 100644 --- a/include/linux/ip_vs.h +++ b/include/linux/ip_vs.h | |||
| @@ -96,10 +96,10 @@ | |||
| 96 | */ | 96 | */ |
| 97 | struct ip_vs_service_user { | 97 | struct ip_vs_service_user { |
| 98 | /* virtual service addresses */ | 98 | /* virtual service addresses */ |
| 99 | u_int16_t protocol; | 99 | __u16 protocol; |
| 100 | __be32 addr; /* virtual ip address */ | 100 | __be32 addr; /* virtual ip address */ |
| 101 | __be16 port; | 101 | __be16 port; |
| 102 | u_int32_t fwmark; /* firwall mark of service */ | 102 | __u32 fwmark; /* firwall mark of service */ |
| 103 | 103 | ||
| 104 | /* virtual service options */ | 104 | /* virtual service options */ |
| 105 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; | 105 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; |
| @@ -119,8 +119,8 @@ struct ip_vs_dest_user { | |||
| 119 | int weight; /* destination weight */ | 119 | int weight; /* destination weight */ |
| 120 | 120 | ||
| 121 | /* thresholds for active connections */ | 121 | /* thresholds for active connections */ |
| 122 | u_int32_t u_threshold; /* upper threshold */ | 122 | __u32 u_threshold; /* upper threshold */ |
| 123 | u_int32_t l_threshold; /* lower threshold */ | 123 | __u32 l_threshold; /* lower threshold */ |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | 126 | ||
| @@ -159,10 +159,10 @@ struct ip_vs_getinfo { | |||
| 159 | /* The argument to IP_VS_SO_GET_SERVICE */ | 159 | /* The argument to IP_VS_SO_GET_SERVICE */ |
| 160 | struct ip_vs_service_entry { | 160 | struct ip_vs_service_entry { |
| 161 | /* which service: user fills in these */ | 161 | /* which service: user fills in these */ |
| 162 | u_int16_t protocol; | 162 | __u16 protocol; |
| 163 | __be32 addr; /* virtual address */ | 163 | __be32 addr; /* virtual address */ |
| 164 | __be16 port; | 164 | __be16 port; |
| 165 | u_int32_t fwmark; /* firwall mark of service */ | 165 | __u32 fwmark; /* firwall mark of service */ |
| 166 | 166 | ||
| 167 | /* service options */ | 167 | /* service options */ |
| 168 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; | 168 | char sched_name[IP_VS_SCHEDNAME_MAXLEN]; |
| @@ -184,12 +184,12 @@ struct ip_vs_dest_entry { | |||
| 184 | unsigned conn_flags; /* connection flags */ | 184 | unsigned conn_flags; /* connection flags */ |
| 185 | int weight; /* destination weight */ | 185 | int weight; /* destination weight */ |
| 186 | 186 | ||
| 187 | u_int32_t u_threshold; /* upper threshold */ | 187 | __u32 u_threshold; /* upper threshold */ |
| 188 | u_int32_t l_threshold; /* lower threshold */ | 188 | __u32 l_threshold; /* lower threshold */ |
| 189 | 189 | ||
| 190 | u_int32_t activeconns; /* active connections */ | 190 | __u32 activeconns; /* active connections */ |
| 191 | u_int32_t inactconns; /* inactive connections */ | 191 | __u32 inactconns; /* inactive connections */ |
| 192 | u_int32_t persistconns; /* persistent connections */ | 192 | __u32 persistconns; /* persistent connections */ |
| 193 | 193 | ||
| 194 | /* statistics */ | 194 | /* statistics */ |
| 195 | struct ip_vs_stats_user stats; | 195 | struct ip_vs_stats_user stats; |
| @@ -199,10 +199,10 @@ struct ip_vs_dest_entry { | |||
| 199 | /* The argument to IP_VS_SO_GET_DESTS */ | 199 | /* The argument to IP_VS_SO_GET_DESTS */ |
| 200 | struct ip_vs_get_dests { | 200 | struct ip_vs_get_dests { |
| 201 | /* which service: user fills in these */ | 201 | /* which service: user fills in these */ |
| 202 | u_int16_t protocol; | 202 | __u16 protocol; |
| 203 | __be32 addr; /* virtual address */ | 203 | __be32 addr; /* virtual address */ |
| 204 | __be16 port; | 204 | __be16 port; |
| 205 | u_int32_t fwmark; /* firwall mark of service */ | 205 | __u32 fwmark; /* firwall mark of service */ |
| 206 | 206 | ||
| 207 | /* number of real servers */ | 207 | /* number of real servers */ |
| 208 | unsigned int num_dests; | 208 | unsigned int num_dests; |
