aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
Diffstat (limited to 'net/l2tp')
-rw-r--r--net/l2tp/l2tp_core.h16
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 */
55struct l2tp_session_cfg { 55struct 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