Lines Matching refs:sctp_chunk

158 __u8 sctp_get_chunk_type(struct sctp_chunk *chunk);
164 int sctp_chunk_iif(const struct sctp_chunk *);
166 struct sctp_chunk *,
172 struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
175 struct sctp_chunk *sctp_make_init_ack(const struct sctp_association *asoc,
176 const struct sctp_chunk *chunk,
178 struct sctp_chunk *sctp_make_cookie_echo(const struct sctp_association *asoc,
179 const struct sctp_chunk *chunk);
180 struct sctp_chunk *sctp_make_cookie_ack(const struct sctp_association *asoc,
181 const struct sctp_chunk *chunk);
182 struct sctp_chunk *sctp_make_cwr(const struct sctp_association *asoc,
184 const struct sctp_chunk *chunk);
185 struct sctp_chunk *sctp_make_idata(const struct sctp_association *asoc,
187 struct sctp_chunk *sctp_make_ifwdtsn(const struct sctp_association *asoc,
190 struct sctp_chunk *sctp_make_datafrag_empty(const struct sctp_association *asoc,
193 struct sctp_chunk *sctp_make_ecne(const struct sctp_association *asoc,
195 struct sctp_chunk *sctp_make_sack(struct sctp_association *asoc);
196 struct sctp_chunk *sctp_make_shutdown(const struct sctp_association *asoc,
197 const struct sctp_chunk *chunk);
198 struct sctp_chunk *sctp_make_shutdown_ack(const struct sctp_association *asoc,
199 const struct sctp_chunk *chunk);
200 struct sctp_chunk *sctp_make_shutdown_complete(
202 const struct sctp_chunk *chunk);
203 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
204 struct sctp_chunk *sctp_make_abort(const struct sctp_association *asoc,
205 const struct sctp_chunk *chunk,
207 struct sctp_chunk *sctp_make_abort_no_data(const struct sctp_association *asoc,
208 const struct sctp_chunk *chunk,
210 struct sctp_chunk *sctp_make_abort_user(const struct sctp_association *asoc,
212 struct sctp_chunk *sctp_make_abort_violation(
214 const struct sctp_chunk *chunk,
217 struct sctp_chunk *sctp_make_violation_paramlen(
219 const struct sctp_chunk *chunk,
221 struct sctp_chunk *sctp_make_violation_max_retrans(
223 const struct sctp_chunk *chunk);
224 struct sctp_chunk *sctp_make_heartbeat(const struct sctp_association *asoc,
226 struct sctp_chunk *sctp_make_heartbeat_ack(const struct sctp_association *asoc,
227 const struct sctp_chunk *chunk,
230 struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc,
231 const struct sctp_chunk *chunk,
235 struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *asoc,
239 struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc,
242 struct sctp_chunk *chunk, bool addr_param_needed,
244 struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
245 struct sctp_chunk *asconf);
247 struct sctp_chunk *asconf_ack);
248 struct sctp_chunk *sctp_make_fwdtsn(const struct sctp_association *asoc,
251 struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc,
253 struct sctp_chunk *sctp_make_strreset_req(const struct sctp_association *asoc,
256 struct sctp_chunk *sctp_make_strreset_tsnreq(
258 struct sctp_chunk *sctp_make_strreset_addstrm(
261 struct sctp_chunk *sctp_make_strreset_resp(const struct sctp_association *asoc,
263 struct sctp_chunk *sctp_make_strreset_tsnresp(struct sctp_association *asoc,
268 struct sctp_chunk *chunk,
270 void sctp_chunk_assign_tsn(struct sctp_chunk *chunk);
271 void sctp_chunk_assign_ssn(struct sctp_chunk *chunk);
274 struct sctp_chunk *sctp_process_strreset_outreq(
278 struct sctp_chunk *sctp_process_strreset_inreq(
282 struct sctp_chunk *sctp_process_strreset_tsnreq(
286 struct sctp_chunk *sctp_process_strreset_addstrm_out(
290 struct sctp_chunk *sctp_process_strreset_addstrm_in(
294 struct sctp_chunk *sctp_process_strreset_resp(
317 struct sctp_chunk *chunk,
319 struct sctp_chunk **err_chk_p);
330 static inline __u16 sctp_data_size(struct sctp_chunk *chunk) in sctp_data_size()
371 sctp_vtag_verify(const struct sctp_chunk *chunk, in sctp_vtag_verify()
390 sctp_vtag_verify_either(const struct sctp_chunk *chunk, in sctp_vtag_verify_either()