Lines Matching refs:sctp_chunk

173 __u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
179 int sctp_chunk_iif(const struct sctp_chunk *);
181 struct sctp_chunk *,
187 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
190 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
191 const struct sctp_chunk *chunk,
193 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
194 const struct sctp_chunk *chunk);
195 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
196 const struct sctp_chunk *chunk);
197 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
199 const struct sctp_chunk *chunk);
200 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
202 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
205 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
208 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
210 struct sctp_chunk *sctp_make_sack(struct sctp_association *asoc);
211 struct sctp_chunk *sctp_make_shutdown(const struct sctp_association *asoc,
212 const struct sctp_chunk *chunk);
213 struct sctp_chunk *sctp_make_shutdown_ack(const struct sctp_association *asoc,
214 const struct sctp_chunk *chunk);
215 struct sctp_chunk *sctp_make_shutdown_complete(
217 const struct sctp_chunk *chunk);
218 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
219 struct sctp_chunk *sctp_make_abort(const struct sctp_association *asoc,
220 const struct sctp_chunk *chunk,
222 struct sctp_chunk *sctp_make_abort_no_data(const struct sctp_association *asoc,
223 const struct sctp_chunk *chunk,
225 struct sctp_chunk *sctp_make_abort_user(const struct sctp_association *asoc,
227 struct sctp_chunk *sctp_make_abort_violation(
229 const struct sctp_chunk *chunk,
232 struct sctp_chunk *sctp_make_violation_paramlen(
234 const struct sctp_chunk *chunk,
236 struct sctp_chunk *sctp_make_violation_max_retrans(
238 const struct sctp_chunk *chunk);
239 struct sctp_chunk *sctp_make_heartbeat(const struct sctp_association *asoc,
241 struct sctp_chunk *sctp_make_heartbeat_ack(const struct sctp_association *asoc,
242 const struct sctp_chunk *chunk,
245 struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc,
246 const struct sctp_chunk *chunk,
250 struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *asoc,
254 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc,
257 struct sctp_chunk *chunk, bool addr_param_needed,
259 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
260 struct sctp_chunk *asconf);
262 struct sctp_chunk *asconf_ack);
263 struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc,
266 struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc,
268 struct sctp_chunk *sctp_make_strreset_req(const struct sctp_association *asoc,
271 struct sctp_chunk *sctp_make_strreset_tsnreq(
273 struct sctp_chunk *sctp_make_strreset_addstrm(
276 struct sctp_chunk *sctp_make_strreset_resp(const struct sctp_association *asoc,
278 struct sctp_chunk *sctp_make_strreset_tsnresp(struct sctp_association *asoc,
283 struct sctp_chunk *chunk,
285 void sctp_chunk_assign_tsn(struct sctp_chunk *chunk);
286 void sctp_chunk_assign_ssn(struct sctp_chunk *chunk);
289 struct sctp_chunk *sctp_process_strreset_outreq(
293 struct sctp_chunk *sctp_process_strreset_inreq(
297 struct sctp_chunk *sctp_process_strreset_tsnreq(
301 struct sctp_chunk *sctp_process_strreset_addstrm_out(
305 struct sctp_chunk *sctp_process_strreset_addstrm_in(
309 struct sctp_chunk *sctp_process_strreset_resp(
332 struct sctp_chunk *chunk,
334 struct sctp_chunk **err_chk_p);
345 static inline __u16 sctp_data_size(struct sctp_chunk *chunk) in sctp_data_size()
386 sctp_vtag_verify(const struct sctp_chunk *chunk, in sctp_vtag_verify()
405 sctp_vtag_verify_either(const struct sctp_chunk *chunk, in sctp_vtag_verify_either()