|
53 | 53 |
|
54 | 54 | static int sctp_cmd_interpreter(sctp_event_t event_type, |
55 | 55 | sctp_subtype_t subtype, |
56 | | - sctp_state_t state, |
| 56 | + enum sctp_state state, |
57 | 57 | struct sctp_endpoint *ep, |
58 | 58 | struct sctp_association *asoc, |
59 | 59 | void *event_arg, |
60 | 60 | sctp_disposition_t status, |
61 | 61 | sctp_cmd_seq_t *commands, |
62 | 62 | gfp_t gfp); |
63 | 63 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, |
64 | | - sctp_state_t state, |
| 64 | + enum sctp_state state, |
65 | 65 | struct sctp_endpoint *ep, |
66 | 66 | struct sctp_association **asoc, |
67 | 67 | void *event_arg, |
@@ -843,7 +843,7 @@ static void sctp_cmd_assoc_update(sctp_cmd_seq_t *cmds, |
843 | 843 | /* Helper function to change the state of an association. */ |
844 | 844 | static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds, |
845 | 845 | struct sctp_association *asoc, |
846 | | - sctp_state_t state) |
| 846 | + enum sctp_state state) |
847 | 847 | { |
848 | 848 | struct sock *sk = asoc->base.sk; |
849 | 849 |
|
@@ -1140,7 +1140,7 @@ static void sctp_cmd_send_asconf(struct sctp_association *asoc) |
1140 | 1140 | * good place to start. |
1141 | 1141 | */ |
1142 | 1142 | int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, |
1143 | | - sctp_state_t state, |
| 1143 | + enum sctp_state state, |
1144 | 1144 | struct sctp_endpoint *ep, |
1145 | 1145 | struct sctp_association *asoc, |
1146 | 1146 | void *event_arg, |
@@ -1179,7 +1179,7 @@ int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, |
1179 | 1179 | * This the master state function side effect processing function. |
1180 | 1180 | *****************************************************************/ |
1181 | 1181 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, |
1182 | | - sctp_state_t state, |
| 1182 | + enum sctp_state state, |
1183 | 1183 | struct sctp_endpoint *ep, |
1184 | 1184 | struct sctp_association **asoc, |
1185 | 1185 | void *event_arg, |
@@ -1265,7 +1265,7 @@ static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, |
1265 | 1265 | /* This is the side-effect interpreter. */ |
1266 | 1266 | static int sctp_cmd_interpreter(sctp_event_t event_type, |
1267 | 1267 | sctp_subtype_t subtype, |
1268 | | - sctp_state_t state, |
| 1268 | + enum sctp_state state, |
1269 | 1269 | struct sctp_endpoint *ep, |
1270 | 1270 | struct sctp_association *asoc, |
1271 | 1271 | void *event_arg, |
|
0 commit comments