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>
This commit is contained in:

committed by
David S. Miller

parent
5e73ea1a31
commit
95c9617472
@@ -125,8 +125,8 @@ struct ip_vs_service_user {
|
||||
|
||||
/* virtual service options */
|
||||
char sched_name[IP_VS_SCHEDNAME_MAXLEN];
|
||||
unsigned flags; /* virtual service flags */
|
||||
unsigned timeout; /* persistent timeout in sec */
|
||||
unsigned int flags; /* virtual service flags */
|
||||
unsigned int timeout; /* persistent timeout in sec */
|
||||
__be32 netmask; /* persistent netmask */
|
||||
};
|
||||
|
||||
@@ -137,7 +137,7 @@ struct ip_vs_dest_user {
|
||||
__be16 port;
|
||||
|
||||
/* real server options */
|
||||
unsigned conn_flags; /* connection flags */
|
||||
unsigned int conn_flags; /* connection flags */
|
||||
int weight; /* destination weight */
|
||||
|
||||
/* thresholds for active connections */
|
||||
@@ -187,8 +187,8 @@ struct ip_vs_service_entry {
|
||||
|
||||
/* service options */
|
||||
char sched_name[IP_VS_SCHEDNAME_MAXLEN];
|
||||
unsigned flags; /* virtual service flags */
|
||||
unsigned timeout; /* persistent timeout */
|
||||
unsigned int flags; /* virtual service flags */
|
||||
unsigned int timeout; /* persistent timeout */
|
||||
__be32 netmask; /* persistent netmask */
|
||||
|
||||
/* number of real servers */
|
||||
@@ -202,7 +202,7 @@ struct ip_vs_service_entry {
|
||||
struct ip_vs_dest_entry {
|
||||
__be32 addr; /* destination address */
|
||||
__be16 port;
|
||||
unsigned conn_flags; /* connection flags */
|
||||
unsigned int conn_flags; /* connection flags */
|
||||
int weight; /* destination weight */
|
||||
|
||||
__u32 u_threshold; /* upper threshold */
|
||||
|
Reference in New Issue
Block a user