Lines Matching full:abort
173 /* Check for format error in an ABORT chunk */
334 * control endpoint, respond with an ABORT. in sctp_sf_do_5_1B_init()
348 * Normally, this would cause an ABORT with a Protocol Violation in sctp_sf_do_5_1B_init()
356 * and ABORT. Essentially, this catches the race of INIT being in sctp_sf_do_5_1B_init()
370 * Send an ABORT, with causes if there is any. in sctp_sf_do_5_1B_init()
492 * association by transmitting an ABORT.
540 * Send an ABORT, with causes. If there are no causes, in sctp_sf_do_5_1C_ack()
567 * This means that if we only want to abort associations in sctp_sf_do_5_1C_ack()
568 * in an authenticated way (i.e AUTH+ABORT), then we in sctp_sf_do_5_1C_ack()
701 * control endpoint, respond with an ABORT. in sctp_sf_do_5_1D_ce()
718 * ABORT. in sctp_sf_do_5_1D_ce()
745 * [We should abort the association. --piggy] in sctp_sf_do_5_1D_ce()
1261 /* Helper function to send out an abort for the restart
1342 * with an ABORT.. in sctp_sf_check_restart_addrs()
1508 * Send an ABORT, with causes if there is any. in sctp_sf_do_unexpected_init()
1559 * Upon return an ABORT will have been sent if needed. in sctp_sf_do_unexpected_init()
2152 * [We should abort the association. --piggy] in sctp_sf_do_5_2_4_dupcook()
2230 * Process an ABORT. (SHUTDOWN-PENDING state)
2247 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_shutdown_pending_abort()
2248 * Since this is an ABORT chunk, we have to discard it in sctp_sf_shutdown_pending_abort()
2251 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_shutdown_pending_abort()
2260 /* ADD-IP: Special case for ABORT chunks in sctp_sf_shutdown_pending_abort()
2261 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_shutdown_pending_abort()
2276 * Process an ABORT. (SHUTDOWN-SENT state)
2293 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_shutdown_sent_abort()
2294 * Since this is an ABORT chunk, we have to discard it in sctp_sf_shutdown_sent_abort()
2297 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_shutdown_sent_abort()
2306 /* ADD-IP: Special case for ABORT chunks in sctp_sf_shutdown_sent_abort()
2307 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_shutdown_sent_abort()
2330 * Process an ABORT. (SHUTDOWN-ACK-SENT state)
2520 * Process an ABORT.
2528 * B) Rules for packet carrying ABORT:
2534 * - If the ABORT is sent in response to an OOTB packet, the endpoint
2563 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_do_9_1_abort()
2564 * Since this is an ABORT chunk, we have to discard it in sctp_sf_do_9_1_abort()
2567 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_do_9_1_abort()
2576 /* ADD-IP: Special case for ABORT chunks in sctp_sf_do_9_1_abort()
2577 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_do_9_1_abort()
2618 * Process an ABORT. (COOKIE-WAIT state)
2637 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_cookie_wait_abort()
2638 * Since this is an ABORT chunk, we have to discard it in sctp_sf_cookie_wait_abort()
2641 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_cookie_wait_abort()
2660 * Process an incoming ICMP as an ABORT. (COOKIE-WAIT state)
2676 * Process an ABORT. (COOKIE-ECHOED state)
2693 * Stop T1 timer and abort association with "INIT failed".
2704 pr_debug("%s: ABORT received (INIT)\n", __func__); in sctp_stop_t1_and_abort()
2789 * sender with an ABORT. in sctp_sf_do_9_2_shutdown()
2874 * sender with an ABORT. in sctp_sf_do_9_2_shut_ctsn()
3314 * sender with an ABORT. in sctp_sf_eat_sack_6_2()
3344 * Generate an ABORT in response to a packet.
3349 * an ABORT. When sending the ABORT, the receiver of the OOTB packet
3353 * Verification Tag is reflected. After sending this ABORT, the
3371 struct sctp_chunk *abort; in sctp_sf_tabort_8_4_8() local
3377 /* Make an ABORT. The T bit will be set if the asoc in sctp_sf_tabort_8_4_8()
3380 abort = sctp_make_abort(asoc, chunk, 0); in sctp_sf_tabort_8_4_8()
3381 if (!abort) { in sctp_sf_tabort_8_4_8()
3387 if (sctp_test_T_bit(abort)) in sctp_sf_tabort_8_4_8()
3391 abort->skb->sk = ep->base.sk; in sctp_sf_tabort_8_4_8()
3393 sctp_packet_append_chunk(packet, abort); in sctp_sf_tabort_8_4_8()
3525 * an ABORT. When sending the ABORT, the receiver of the OOTB packet
3529 * Verification Tag is reflected. After sending this ABORT, the
3570 * receives an ABORT MUST NOT respond to that ABORT by in sctp_sf_ootb()
3571 * sending an ABORT of its own. in sctp_sf_ootb()
3867 struct sctp_chunk *abort; in sctp_sf_do_asconf_ack() local
3909 * outstanding the endpoint MUST ABORT the association. Note that a in sctp_sf_do_asconf_ack()
3915 abort = sctp_make_abort(asoc, asconf_ack, in sctp_sf_do_asconf_ack()
3917 if (abort) { in sctp_sf_do_asconf_ack()
3918 sctp_init_cause(abort, SCTP_ERROR_ASCONF_ACK, 0); in sctp_sf_do_asconf_ack()
3920 SCTP_CHUNK(abort)); in sctp_sf_do_asconf_ack()
3922 /* We are going to ABORT, so we might as well stop in sctp_sf_do_asconf_ack()
3947 abort = sctp_make_abort(asoc, asconf_ack, in sctp_sf_do_asconf_ack()
3949 if (abort) { in sctp_sf_do_asconf_ack()
3950 sctp_init_cause(abort, SCTP_ERROR_RSRC_LOW, 0); in sctp_sf_do_asconf_ack()
3952 SCTP_CHUNK(abort)); in sctp_sf_do_asconf_ack()
3954 /* We are going to ABORT, so we might as well stop in sctp_sf_do_asconf_ack()
4480 * 2) If the OOTB packet contains an ABORT chunk, the receiver MUST
4551 struct sctp_chunk *abort = NULL; in sctp_sf_abort_violation() local
4559 * This means that if we only want to abort associations in sctp_sf_abort_violation()
4560 * in an authenticated way (i.e AUTH+ABORT), then we in sctp_sf_abort_violation()
4567 /* Make the abort chunk. */ in sctp_sf_abort_violation()
4568 abort = sctp_make_abort_violation(asoc, chunk, payload, paylen); in sctp_sf_abort_violation()
4569 if (!abort) in sctp_sf_abort_violation()
4580 abort->chunk_hdr->flags |= SCTP_CHUNK_FLAG_T; in sctp_sf_abort_violation()
4590 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4613 if (sctp_test_T_bit(abort)) in sctp_sf_abort_violation()
4616 abort->skb->sk = ep->base.sk; in sctp_sf_abort_violation()
4618 sctp_packet_append_chunk(packet, abort); in sctp_sf_abort_violation()
4633 sctp_chunk_free(abort); in sctp_sf_abort_violation()
4644 * We inform the other end by sending an ABORT with a Protocol Violation
4655 * Generate an ABORT chunk and terminate the association.
4686 struct sctp_chunk *abort = NULL; in sctp_sf_violation_paramlen() local
4692 /* Make the abort chunk. */ in sctp_sf_violation_paramlen()
4693 abort = sctp_make_violation_paramlen(asoc, chunk, param); in sctp_sf_violation_paramlen()
4694 if (!abort) in sctp_sf_violation_paramlen()
4697 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4717 * We inform the other end by sending an ABORT with a Protocol Violation
4998 * Process the ABORT primitive.
5001 * C) Abort
5003 * Format: Abort(association id [, cause code])
5007 * will be discarded and an ABORT chunk is sent to the peer. A success code
5009 * attempting to abort the association results in a failure, an error
5018 * o cause code - reason of the abort to be passed to the peer
5032 /* From 9.1 Abort of an Association in sctp_sf_do_9_1_prm_abort()
5033 * Upon receipt of the ABORT primitive from its upper in sctp_sf_do_9_1_prm_abort()
5040 struct sctp_chunk *abort = arg; in sctp_sf_do_9_1_prm_abort() local
5042 if (abort) in sctp_sf_do_9_1_prm_abort()
5043 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
5045 /* Even if we can't send the ABORT due to low memory delete the in sctp_sf_do_9_1_prm_abort()
5161 * state table when someone issues an abort while in COOKIE_WAIT state.
5174 struct sctp_chunk *abort = arg; in sctp_sf_cookie_wait_prm_abort() local
5180 if (abort) in sctp_sf_cookie_wait_prm_abort()
5181 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
5188 /* Even if we can't send the ABORT due to low memory delete the in sctp_sf_cookie_wait_prm_abort()
5210 * state table when someone issues an abort while in COOKIE_ECHOED state.
5236 * state table when someone issues an abort while in SHUTDOWN-PENDING state.
5263 * state table when someone issues an abort while in SHUTDOWN-SENT state.
5294 * state table when someone issues an abort while in COOKIE_ECHOED state.
5743 * endpoint MUST abort the initialization process and report the
5808 * After that, the endpoint MUST abort the initialization process and
6006 * At the expiration of this timer the sender SHOULD abort the association
6007 * by sending an ABORT chunk.
6168 /* Create an ABORT packet to be sent as a response, with the specified
6179 struct sctp_chunk *abort; in sctp_abort_pkt_new() local
6184 /* Make an ABORT. in sctp_abort_pkt_new()
6187 abort = sctp_make_abort(asoc, chunk, paylen); in sctp_abort_pkt_new()
6188 if (!abort) { in sctp_abort_pkt_new()
6194 if (sctp_test_T_bit(abort)) in sctp_abort_pkt_new()
6200 sctp_addto_chunk(abort, paylen, payload); in sctp_abort_pkt_new()
6203 abort->skb->sk = ep->base.sk; in sctp_abort_pkt_new()
6205 sctp_packet_append_chunk(packet, abort); in sctp_abort_pkt_new()
6460 /* We are going to ABORT, so we might as well stop in sctp_eat_data()