Lines Matching refs:sctp_chunk
174 __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 *,
190 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *,
191 const struct sctp_chunk *,
194 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *,
195 const struct sctp_chunk *);
196 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *,
197 const struct sctp_chunk *);
198 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *,
200 const struct sctp_chunk *);
201 struct sctp_chunk * sctp_make_datafrag_empty(struct sctp_association *,
205 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *,
207 struct sctp_chunk *sctp_make_sack(const struct sctp_association *);
208 struct sctp_chunk *sctp_make_shutdown(const struct sctp_association *asoc,
209 const struct sctp_chunk *chunk);
210 struct sctp_chunk *sctp_make_shutdown_ack(const struct sctp_association *asoc,
211 const struct sctp_chunk *);
212 struct sctp_chunk *sctp_make_shutdown_complete(const struct sctp_association *,
213 const struct sctp_chunk *);
214 void sctp_init_cause(struct sctp_chunk *, __be16 cause, size_t);
215 struct sctp_chunk *sctp_make_abort(const struct sctp_association *,
216 const struct sctp_chunk *,
218 struct sctp_chunk *sctp_make_abort_no_data(const struct sctp_association *,
219 const struct sctp_chunk *,
221 struct sctp_chunk *sctp_make_abort_user(const struct sctp_association *,
223 struct sctp_chunk *sctp_make_abort_violation(const struct sctp_association *,
224 const struct sctp_chunk *,
227 struct sctp_chunk *sctp_make_violation_paramlen(const struct sctp_association *,
228 const struct sctp_chunk *,
230 struct sctp_chunk *sctp_make_violation_max_retrans(const struct sctp_association *,
231 const struct sctp_chunk *);
232 struct sctp_chunk *sctp_make_heartbeat(const struct sctp_association *,
234 struct sctp_chunk *sctp_make_heartbeat_ack(const struct sctp_association *,
235 const struct sctp_chunk *,
238 struct sctp_chunk *sctp_make_op_error(const struct sctp_association *,
239 const struct sctp_chunk *chunk,
245 struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *,
249 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc,
252 struct sctp_chunk *chunk, bool addr_param_needed,
254 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
255 struct sctp_chunk *asconf);
257 struct sctp_chunk *asconf_ack);
258 struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc,
261 struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc);
263 void sctp_chunk_assign_tsn(struct sctp_chunk *);
264 void sctp_chunk_assign_ssn(struct sctp_chunk *);
284 struct sctp_chunk *,
286 struct sctp_chunk **err_chk_p);
299 static inline __u16 sctp_data_size(struct sctp_chunk *chunk) in sctp_data_size()
392 sctp_vtag_verify(const struct sctp_chunk *chunk, in sctp_vtag_verify()
411 sctp_vtag_verify_either(const struct sctp_chunk *chunk, in sctp_vtag_verify_either()