aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sctp/sm.h')
-rw-r--r--include/net/sctp/sm.h17
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;
131sctp_state_fn_t sctp_sf_ootb; 131sctp_state_fn_t sctp_sf_ootb;
132sctp_state_fn_t sctp_sf_pdiscard; 132sctp_state_fn_t sctp_sf_pdiscard;
133sctp_state_fn_t sctp_sf_violation; 133sctp_state_fn_t sctp_sf_violation;
134sctp_state_fn_t sctp_sf_violation_chunklen;
135sctp_state_fn_t sctp_sf_discard_chunk; 134sctp_state_fn_t sctp_sf_discard_chunk;
136sctp_state_fn_t sctp_sf_do_5_2_1_siminit; 135sctp_state_fn_t sctp_sf_do_5_2_1_siminit;
137sctp_state_fn_t sctp_sf_do_5_2_2_dupinit; 136sctp_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,
182int sctp_chunk_iif(const struct sctp_chunk *); 181int sctp_chunk_iif(const struct sctp_chunk *);
183struct sctp_association *sctp_make_temp_asoc(const struct sctp_endpoint *, 182struct 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);
187void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag); 186void sctp_populate_tie_tags(__u8 *cookie, __u32 curTag, __u32 hisTag);
188 187
189/* Prototypes for chunk-building functions. */ 188/* Prototypes for chunk-building functions. */
190struct sctp_chunk *sctp_make_init(const struct sctp_association *, 189struct 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);
193struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *, 192struct 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);
197struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *, 196struct 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,
259void sctp_chunk_assign_tsn(struct sctp_chunk *); 258void sctp_chunk_assign_tsn(struct sctp_chunk *);
260void sctp_chunk_assign_ssn(struct sctp_chunk *); 259void sctp_chunk_assign_ssn(struct sctp_chunk *);
261 260
262sctp_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
269int sctp_do_sm(sctp_event_t event_type, sctp_subtype_t subtype, 263int 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 */
277void sctp_generate_t3_rtx_event(unsigned long peer); 271void sctp_generate_t3_rtx_event(unsigned long peer);
@@ -281,7 +275,8 @@ void sctp_ootb_pkt_free(struct sctp_packet *);
281 275
282struct sctp_association *sctp_unpack_cookie(const struct sctp_endpoint *, 276struct 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);
286int sctp_addip_addr_config(struct sctp_association *, sctp_param_t, 281int sctp_addip_addr_config(struct sctp_association *, sctp_param_t,
287 struct sockaddr_storage*, int); 282 struct sockaddr_storage*, int);