diff options
Diffstat (limited to 'include/net/sctp/sm.h')
-rw-r--r-- | include/net/sctp/sm.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index a53e08a45e32..58462164d960 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h | |||
@@ -131,7 +131,6 @@ sctp_state_fn_t sctp_sf_do_ecne; | |||
131 | sctp_state_fn_t sctp_sf_ootb; | 131 | sctp_state_fn_t sctp_sf_ootb; |
132 | sctp_state_fn_t sctp_sf_pdiscard; | 132 | sctp_state_fn_t sctp_sf_pdiscard; |
133 | sctp_state_fn_t sctp_sf_violation; | 133 | sctp_state_fn_t sctp_sf_violation; |
134 | sctp_state_fn_t sctp_sf_violation_chunklen; | ||
135 | sctp_state_fn_t sctp_sf_discard_chunk; | 134 | sctp_state_fn_t sctp_sf_discard_chunk; |
136 | sctp_state_fn_t sctp_sf_do_5_2_1_siminit; | 135 | sctp_state_fn_t sctp_sf_do_5_2_1_siminit; |
137 | sctp_state_fn_t sctp_sf_do_5_2_2_dupinit; | 136 | sctp_state_fn_t sctp_sf_do_5_2_2_dupinit; |
@@ -182,17 +181,17 @@ const sctp_sm_table_entry_t *sctp_sm_lookup_event(sctp_event_t, | |||
182 | int sctp_chunk_iif(const struct sctp_chunk *); | 181 | int sctp_chunk_iif(const struct sctp_chunk *); |
183 | struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *, | 182 | struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *, |
184 | struct sctp_chunk *, | 183 | struct sctp_chunk *, |
185 | int gfp); | 184 | unsigned int __nocast gfp); |
186 | __u32 sctp_generate_verification_tag(void); | 185 | __u32 sctp_generate_verification_tag(void); |
187 | void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag); | 186 | void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag); |
188 | 187 | ||
189 | /* Prototypes for chunk-building functions. */ | 188 | /* Prototypes for chunk-building functions. */ |
190 | struct sctp_chunk *sctp_make_init(const struct sctp_association *, | 189 | struct sctp_chunk *sctp_make_init(const struct sctp_association *, |
191 | const struct sctp_bind_addr *, | 190 | const struct sctp_bind_addr *, |
192 | int gfp, int vparam_len); | 191 | unsigned int __nocast gfp, int vparam_len); |
193 | struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *, | 192 | struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *, |
194 | const struct sctp_chunk *, | 193 | const struct sctp_chunk *, |
195 | const int gfp, | 194 | const unsigned int __nocast gfp, |
196 | const int unkparam_len); | 195 | const int unkparam_len); |
197 | struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *, | 196 | struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *, |
198 | const struct sctp_chunk *); | 197 | const struct sctp_chunk *); |
@@ -259,11 +258,6 @@ struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc, | |||
259 | void sctp_chunk_assign_tsn(struct sctp_chunk *); | 258 | void sctp_chunk_assign_tsn(struct sctp_chunk *); |
260 | void sctp_chunk_assign_ssn(struct sctp_chunk *); | 259 | void sctp_chunk_assign_ssn(struct sctp_chunk *); |
261 | 260 | ||
262 | sctp_disposition_t sctp_stop_t1_and_abort(sctp_cmd_seq_t *commands, | ||
263 | __u16 error, | ||
264 | const struct sctp_association *asoc, | ||
265 | struct sctp_transport *transport); | ||
266 | |||
267 | /* Prototypes for statetable processing. */ | 261 | /* Prototypes for statetable processing. */ |
268 | 262 | ||
269 | int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, | 263 | int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, |
@@ -271,7 +265,7 @@ int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, | |||
271 | struct sctp_endpoint *, | 265 | struct sctp_endpoint *, |
272 | struct sctp_association *asoc, | 266 | struct sctp_association *asoc, |
273 | void *event_arg, | 267 | void *event_arg, |
274 | int gfp); | 268 | unsigned int __nocast gfp); |
275 | 269 | ||
276 | /* 2nd level prototypes */ | 270 | /* 2nd level prototypes */ |
277 | void sctp_generate_t3_rtx_event(unsigned long peer); | 271 | void sctp_generate_t3_rtx_event(unsigned long peer); |
@@ -281,7 +275,8 @@ void sctp_ootb_pkt_free(struct sctp_packet *); | |||
281 | 275 | ||
282 | struct sctp_association *sctp_unpack_cookie(const struct sctp_endpoint *, | 276 | struct sctp_association *sctp_unpack_cookie(const struct sctp_endpoint *, |
283 | const struct sctp_association *, | 277 | const struct sctp_association *, |
284 | struct sctp_chunk *, int gfp, int *err, | 278 | struct sctp_chunk *, |
279 | unsigned int __nocast gfp, int *err, | ||
285 | struct sctp_chunk **err_chk_p); | 280 | struct sctp_chunk **err_chk_p); |
286 | int sctp_addip_addr_config(struct sctp_association *, sctp_param_t, | 281 | int sctp_addip_addr_config(struct sctp_association *, sctp_param_t, |
287 | struct sockaddr_storage*, int); | 282 | struct sockaddr_storage*, int); |