Lines Matching refs:err_chunk
69 struct sctp_chunk *err_chunk);
324 struct sctp_chunk *chunk = arg, *repl, *err_chunk; in sctp_sf_do_5_1B_init() local
374 err_chunk = NULL; in sctp_sf_do_5_1B_init()
377 &err_chunk)) { in sctp_sf_do_5_1B_init()
381 if (err_chunk) { in sctp_sf_do_5_1B_init()
383 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
385 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
388 sctp_chunk_free(err_chunk); in sctp_sf_do_5_1B_init()
437 if (err_chunk) in sctp_sf_do_5_1B_init()
438 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
449 if (err_chunk) { in sctp_sf_do_5_1B_init()
458 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
464 sctp_chunk_free(err_chunk); in sctp_sf_do_5_1B_init()
484 if (err_chunk) in sctp_sf_do_5_1B_init()
485 sctp_chunk_free(err_chunk); in sctp_sf_do_5_1B_init()
526 struct sctp_chunk *err_chunk; in sctp_sf_do_5_1C_ack() local
547 err_chunk = NULL; in sctp_sf_do_5_1C_ack()
550 &err_chunk)) { in sctp_sf_do_5_1C_ack()
559 if (err_chunk) { in sctp_sf_do_5_1C_ack()
561 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1C_ack()
563 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1C_ack()
566 sctp_chunk_free(err_chunk); in sctp_sf_do_5_1C_ack()
631 SCTP_CHUNK(err_chunk)); in sctp_sf_do_5_1C_ack()
1519 struct sctp_chunk *chunk = arg, *repl, *err_chunk; in sctp_sf_do_unexpected_init() local
1558 err_chunk = NULL; in sctp_sf_do_unexpected_init()
1561 &err_chunk)) { in sctp_sf_do_unexpected_init()
1565 if (err_chunk) { in sctp_sf_do_unexpected_init()
1567 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_unexpected_init()
1569 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
1638 if (err_chunk) { in sctp_sf_do_unexpected_init()
1639 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
1651 if (err_chunk) { in sctp_sf_do_unexpected_init()
1660 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_unexpected_init()
1687 if (err_chunk) in sctp_sf_do_unexpected_init()
1688 sctp_chunk_free(err_chunk); in sctp_sf_do_unexpected_init()
4440 struct sctp_chunk *err_chunk; in sctp_sf_eat_auth() local
4465 err_chunk = sctp_make_op_error(asoc, chunk, in sctp_sf_eat_auth()
4469 if (err_chunk) { in sctp_sf_eat_auth()
4471 SCTP_CHUNK(err_chunk)); in sctp_sf_eat_auth()
4536 struct sctp_chunk *err_chunk; in sctp_sf_unk_chunk() local
4559 err_chunk = sctp_make_op_error(asoc, unk_chunk, in sctp_sf_unk_chunk()
4563 if (err_chunk) { in sctp_sf_unk_chunk()
4565 SCTP_CHUNK(err_chunk)); in sctp_sf_unk_chunk()
4577 err_chunk = sctp_make_op_error(asoc, unk_chunk, in sctp_sf_unk_chunk()
4581 if (err_chunk) { in sctp_sf_unk_chunk()
4583 SCTP_CHUNK(err_chunk)); in sctp_sf_unk_chunk()
6460 struct sctp_chunk *err_chunk) in sctp_send_stale_cookie_err() argument
6464 if (err_chunk) { in sctp_send_stale_cookie_err()
6474 err_chunk->skb->sk = ep->base.sk; in sctp_send_stale_cookie_err()
6475 sctp_packet_append_chunk(packet, err_chunk); in sctp_send_stale_cookie_err()
6480 sctp_chunk_free (err_chunk); in sctp_send_stale_cookie_err()