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 /net/l2tp | |
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 'net/l2tp')
-rw-r--r-- | net/l2tp/l2tp_core.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h index a16a48e79fab..09e4a38b4f43 100644 --- a/net/l2tp/l2tp_core.h +++ b/net/l2tp/l2tp_core.h | |||
@@ -54,15 +54,15 @@ struct l2tp_tunnel; | |||
54 | */ | 54 | */ |
55 | struct l2tp_session_cfg { | 55 | struct l2tp_session_cfg { |
56 | enum l2tp_pwtype pw_type; | 56 | enum l2tp_pwtype pw_type; |
57 | unsigned data_seq:2; /* data sequencing level | 57 | unsigned int data_seq:2; /* data sequencing level |
58 | * 0 => none, 1 => IP only, | 58 | * 0 => none, 1 => IP only, |
59 | * 2 => all | 59 | * 2 => all |
60 | */ | 60 | */ |
61 | unsigned recv_seq:1; /* expect receive packets with | 61 | unsigned int recv_seq:1; /* expect receive packets with |
62 | * sequence numbers? */ | 62 | * sequence numbers? */ |
63 | unsigned send_seq:1; /* send packets with sequence | 63 | unsigned int send_seq:1; /* send packets with sequence |
64 | * numbers? */ | 64 | * numbers? */ |
65 | unsigned lns_mode:1; /* behave as LNS? LAC enables | 65 | unsigned int lns_mode:1; /* behave as LNS? LAC enables |
66 | * sequence numbers under | 66 | * sequence numbers under |
67 | * control of LNS. */ | 67 | * control of LNS. */ |
68 | int debug; /* bitmask of debug message | 68 | int debug; /* bitmask of debug message |
@@ -107,15 +107,15 @@ struct l2tp_session { | |||
107 | 107 | ||
108 | char name[32]; /* for logging */ | 108 | char name[32]; /* for logging */ |
109 | char ifname[IFNAMSIZ]; | 109 | char ifname[IFNAMSIZ]; |
110 | unsigned data_seq:2; /* data sequencing level | 110 | unsigned int data_seq:2; /* data sequencing level |
111 | * 0 => none, 1 => IP only, | 111 | * 0 => none, 1 => IP only, |
112 | * 2 => all | 112 | * 2 => all |
113 | */ | 113 | */ |
114 | unsigned recv_seq:1; /* expect receive packets with | 114 | unsigned int recv_seq:1; /* expect receive packets with |
115 | * sequence numbers? */ | 115 | * sequence numbers? */ |
116 | unsigned send_seq:1; /* send packets with sequence | 116 | unsigned int send_seq:1; /* send packets with sequence |
117 | * numbers? */ | 117 | * numbers? */ |
118 | unsigned lns_mode:1; /* behave as LNS? LAC enables | 118 | unsigned int lns_mode:1; /* behave as LNS? LAC enables |
119 | * sequence numbers under | 119 | * sequence numbers under |
120 | * control of LNS. */ | 120 | * control of LNS. */ |
121 | int debug; /* bitmask of debug message | 121 | int debug; /* bitmask of debug message |