Lines Matching refs:sctp_chunk

159 __u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
165 int sctp_chunk_iif(const struct sctp_chunk *);
167 struct sctp_chunk *,
173 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
176 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
177 const struct sctp_chunk *chunk,
179 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
180 const struct sctp_chunk *chunk);
181 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
182 const struct sctp_chunk *chunk);
183 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
185 const struct sctp_chunk *chunk);
186 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
188 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
191 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
194 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
196 struct sctp_chunk *sctp_make_sack(struct sctp_association *asoc);
197 struct sctp_chunk *sctp_make_shutdown(const struct sctp_association *asoc,
198 const struct sctp_chunk *chunk);
199 struct sctp_chunk *sctp_make_shutdown_ack(const struct sctp_association *asoc,
200 const struct sctp_chunk *chunk);
201 struct sctp_chunk *sctp_make_shutdown_complete(
203 const struct sctp_chunk *chunk);
204 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
205 struct sctp_chunk *sctp_make_abort(const struct sctp_association *asoc,
206 const struct sctp_chunk *chunk,
208 struct sctp_chunk *sctp_make_abort_no_data(const struct sctp_association *asoc,
209 const struct sctp_chunk *chunk,
211 struct sctp_chunk *sctp_make_abort_user(const struct sctp_association *asoc,
213 struct sctp_chunk *sctp_make_abort_violation(
215 const struct sctp_chunk *chunk,
218 struct sctp_chunk *sctp_make_violation_paramlen(
220 const struct sctp_chunk *chunk,
222 struct sctp_chunk *sctp_make_violation_max_retrans(
224 const struct sctp_chunk *chunk);
225 struct sctp_chunk *sctp_make_new_encap_port(
227 const struct sctp_chunk *chunk);
228 struct sctp_chunk *sctp_make_heartbeat(const struct sctp_association *asoc,
231 struct sctp_chunk *sctp_make_heartbeat_ack(const struct sctp_association *asoc,
232 const struct sctp_chunk *chunk,
235 struct sctp_chunk *sctp_make_pad(const struct sctp_association *asoc, int len);
236 struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc,
237 const struct sctp_chunk *chunk,
241 struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *asoc,
245 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc,
248 struct sctp_chunk *chunk, bool addr_param_needed,
250 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
251 struct sctp_chunk *asconf);
253 struct sctp_chunk *asconf_ack);
254 struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc,
257 struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc,
259 struct sctp_chunk *sctp_make_strreset_req(const struct sctp_association *asoc,
262 struct sctp_chunk *sctp_make_strreset_tsnreq(
264 struct sctp_chunk *sctp_make_strreset_addstrm(
267 struct sctp_chunk *sctp_make_strreset_resp(const struct sctp_association *asoc,
269 struct sctp_chunk *sctp_make_strreset_tsnresp(struct sctp_association *asoc,
274 struct sctp_chunk *chunk,
276 void sctp_chunk_assign_tsn(struct sctp_chunk *chunk);
277 void sctp_chunk_assign_ssn(struct sctp_chunk *chunk);
280 struct sctp_chunk *sctp_process_strreset_outreq(
284 struct sctp_chunk *sctp_process_strreset_inreq(
288 struct sctp_chunk *sctp_process_strreset_tsnreq(
292 struct sctp_chunk *sctp_process_strreset_addstrm_out(
296 struct sctp_chunk *sctp_process_strreset_addstrm_in(
300 struct sctp_chunk *sctp_process_strreset_resp(
324 struct sctp_chunk *chunk,
326 struct sctp_chunk **err_chk_p);
337 static inline __u16 sctp_data_size(struct sctp_chunk *chunk) in sctp_data_size()
378 sctp_vtag_verify(const struct sctp_chunk *chunk, in sctp_vtag_verify()
398 sctp_vtag_verify_either(const struct sctp_chunk *chunk, in sctp_vtag_verify_either()