• Home
  • Raw
  • Download

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()
704 * control endpoint, respond with an ABORT. in sctp_sf_do_5_1D_ce()
722 * ABORT. in sctp_sf_do_5_1D_ce()
749 * [We should abort the association. --piggy] in sctp_sf_do_5_1D_ce()
1265 /* Helper function to send out an abort for the restart
1346 * with an ABORT.. in sctp_sf_check_restart_addrs()
1512 * Send an ABORT, with causes if there is any. in sctp_sf_do_unexpected_init()
1563 * Upon return an ABORT will have been sent if needed. in sctp_sf_do_unexpected_init()
1850 struct sctp_chunk *abort; in sctp_sf_do_dupcook_a() local
1852 abort = sctp_make_abort(asoc, NULL, sizeof(struct sctp_errhdr)); in sctp_sf_do_dupcook_a()
1853 if (abort) { in sctp_sf_do_dupcook_a()
1854 sctp_init_cause(abort, SCTP_ERROR_RSRC_LOW, 0); in sctp_sf_do_dupcook_a()
1855 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_dupcook_a()
2174 * [We should abort the association. --piggy] in sctp_sf_do_5_2_4_dupcook()
2252 * Process an ABORT. (SHUTDOWN-PENDING state)
2269 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_shutdown_pending_abort()
2270 * Since this is an ABORT chunk, we have to discard it in sctp_sf_shutdown_pending_abort()
2273 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_shutdown_pending_abort()
2282 /* ADD-IP: Special case for ABORT chunks in sctp_sf_shutdown_pending_abort()
2283 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_shutdown_pending_abort()
2298 * Process an ABORT. (SHUTDOWN-SENT state)
2315 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_shutdown_sent_abort()
2316 * Since this is an ABORT chunk, we have to discard it in sctp_sf_shutdown_sent_abort()
2319 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_shutdown_sent_abort()
2328 /* ADD-IP: Special case for ABORT chunks in sctp_sf_shutdown_sent_abort()
2329 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_shutdown_sent_abort()
2352 * Process an ABORT. (SHUTDOWN-ACK-SENT state)
2542 * Process an ABORT.
2550 * B) Rules for packet carrying ABORT:
2556 * - If the ABORT is sent in response to an OOTB packet, the endpoint
2585 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_do_9_1_abort()
2586 * Since this is an ABORT chunk, we have to discard it in sctp_sf_do_9_1_abort()
2589 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_do_9_1_abort()
2598 /* ADD-IP: Special case for ABORT chunks in sctp_sf_do_9_1_abort()
2599 * F4) One special consideration is that ABORT Chunks arriving in sctp_sf_do_9_1_abort()
2640 * Process an ABORT. (COOKIE-WAIT state)
2659 /* Make sure that the ABORT chunk has a valid length. in sctp_sf_cookie_wait_abort()
2660 * Since this is an ABORT chunk, we have to discard it in sctp_sf_cookie_wait_abort()
2663 * If an endpoint receives an ABORT with a format error or for an in sctp_sf_cookie_wait_abort()
2682 * Process an incoming ICMP as an ABORT. (COOKIE-WAIT state)
2698 * Process an ABORT. (COOKIE-ECHOED state)
2715 * Stop T1 timer and abort association with "INIT failed".
2726 pr_debug("%s: ABORT received (INIT)\n", __func__); in sctp_stop_t1_and_abort()
2811 * sender with an ABORT. in sctp_sf_do_9_2_shutdown()
2896 * sender with an ABORT. in sctp_sf_do_9_2_shut_ctsn()
3336 * sender with an ABORT. in sctp_sf_eat_sack_6_2()
3366 * Generate an ABORT in response to a packet.
3371 * an ABORT. When sending the ABORT, the receiver of the OOTB packet
3375 * Verification Tag is reflected. After sending this ABORT, the
3393 struct sctp_chunk *abort; in sctp_sf_tabort_8_4_8() local
3399 /* Make an ABORT. The T bit will be set if the asoc in sctp_sf_tabort_8_4_8()
3402 abort = sctp_make_abort(asoc, chunk, 0); in sctp_sf_tabort_8_4_8()
3403 if (!abort) { in sctp_sf_tabort_8_4_8()
3409 if (sctp_test_T_bit(abort)) in sctp_sf_tabort_8_4_8()
3413 abort->skb->sk = ep->base.sk; in sctp_sf_tabort_8_4_8()
3415 sctp_packet_append_chunk(packet, abort); in sctp_sf_tabort_8_4_8()
3547 * an ABORT. When sending the ABORT, the receiver of the OOTB packet
3551 * Verification Tag is reflected. After sending this ABORT, the
3595 * receives an ABORT MUST NOT respond to that ABORT by in sctp_sf_ootb()
3596 * sending an ABORT of its own. in sctp_sf_ootb()
3888 struct sctp_chunk *abort; in sctp_sf_do_asconf_ack() local
3929 * outstanding the endpoint MUST ABORT the association. Note that a in sctp_sf_do_asconf_ack()
3935 abort = sctp_make_abort(asoc, asconf_ack, in sctp_sf_do_asconf_ack()
3937 if (abort) { in sctp_sf_do_asconf_ack()
3938 sctp_init_cause(abort, SCTP_ERROR_ASCONF_ACK, 0); in sctp_sf_do_asconf_ack()
3940 SCTP_CHUNK(abort)); in sctp_sf_do_asconf_ack()
3942 /* We are going to ABORT, so we might as well stop in sctp_sf_do_asconf_ack()
3967 abort = sctp_make_abort(asoc, asconf_ack, in sctp_sf_do_asconf_ack()
3969 if (abort) { in sctp_sf_do_asconf_ack()
3970 sctp_init_cause(abort, SCTP_ERROR_RSRC_LOW, 0); in sctp_sf_do_asconf_ack()
3972 SCTP_CHUNK(abort)); in sctp_sf_do_asconf_ack()
3974 /* We are going to ABORT, so we might as well stop in sctp_sf_do_asconf_ack()
4503 * 2) If the OOTB packet contains an ABORT chunk, the receiver MUST
4577 struct sctp_chunk *abort = NULL; in sctp_sf_abort_violation() local
4585 * This means that if we only want to abort associations in sctp_sf_abort_violation()
4586 * in an authenticated way (i.e AUTH+ABORT), then we in sctp_sf_abort_violation()
4593 /* Make the abort chunk. */ in sctp_sf_abort_violation()
4594 abort = sctp_make_abort_violation(asoc, chunk, payload, paylen); in sctp_sf_abort_violation()
4595 if (!abort) in sctp_sf_abort_violation()
4606 abort->chunk_hdr->flags |= SCTP_CHUNK_FLAG_T; in sctp_sf_abort_violation()
4616 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_abort_violation()
4639 if (sctp_test_T_bit(abort)) in sctp_sf_abort_violation()
4642 abort->skb->sk = ep->base.sk; in sctp_sf_abort_violation()
4644 sctp_packet_append_chunk(packet, abort); in sctp_sf_abort_violation()
4659 sctp_chunk_free(abort); in sctp_sf_abort_violation()
4670 * We inform the other end by sending an ABORT with a Protocol Violation
4681 * Generate an ABORT chunk and terminate the association.
4712 struct sctp_chunk *abort = NULL; in sctp_sf_violation_paramlen() local
4718 /* Make the abort chunk. */ in sctp_sf_violation_paramlen()
4719 abort = sctp_make_violation_paramlen(asoc, chunk, param); in sctp_sf_violation_paramlen()
4720 if (!abort) in sctp_sf_violation_paramlen()
4723 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_violation_paramlen()
4743 * We inform the other end by sending an ABORT with a Protocol Violation
5024 * Process the ABORT primitive.
5027 * C) Abort
5029 * Format: Abort(association id [, cause code])
5033 * will be discarded and an ABORT chunk is sent to the peer. A success code
5035 * attempting to abort the association results in a failure, an error
5044 * o cause code - reason of the abort to be passed to the peer
5058 /* From 9.1 Abort of an Association in sctp_sf_do_9_1_prm_abort()
5059 * Upon receipt of the ABORT primitive from its upper in sctp_sf_do_9_1_prm_abort()
5066 struct sctp_chunk *abort = arg; in sctp_sf_do_9_1_prm_abort() local
5068 if (abort) in sctp_sf_do_9_1_prm_abort()
5069 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_do_9_1_prm_abort()
5071 /* Even if we can't send the ABORT due to low memory delete the in sctp_sf_do_9_1_prm_abort()
5187 * state table when someone issues an abort while in COOKIE_WAIT state.
5200 struct sctp_chunk *abort = arg; in sctp_sf_cookie_wait_prm_abort() local
5206 if (abort) in sctp_sf_cookie_wait_prm_abort()
5207 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(abort)); in sctp_sf_cookie_wait_prm_abort()
5214 /* Even if we can't send the ABORT due to low memory delete the in sctp_sf_cookie_wait_prm_abort()
5236 * state table when someone issues an abort while in COOKIE_ECHOED state.
5262 * state table when someone issues an abort while in SHUTDOWN-PENDING state.
5289 * state table when someone issues an abort while in SHUTDOWN-SENT state.
5320 * state table when someone issues an abort while in COOKIE_ECHOED state.
5769 * endpoint MUST abort the initialization process and report the
5834 * After that, the endpoint MUST abort the initialization process and
6032 * At the expiration of this timer the sender SHOULD abort the association
6033 * by sending an ABORT chunk.
6194 /* Create an ABORT packet to be sent as a response, with the specified
6205 struct sctp_chunk *abort; in sctp_abort_pkt_new() local
6210 /* Make an ABORT. in sctp_abort_pkt_new()
6213 abort = sctp_make_abort(asoc, chunk, paylen); in sctp_abort_pkt_new()
6214 if (!abort) { in sctp_abort_pkt_new()
6220 if (sctp_test_T_bit(abort)) in sctp_abort_pkt_new()
6226 sctp_addto_chunk(abort, paylen, payload); in sctp_abort_pkt_new()
6229 abort->skb->sk = ep->base.sk; in sctp_abort_pkt_new()
6231 sctp_packet_append_chunk(packet, abort); in sctp_abort_pkt_new()
6487 /* We are going to ABORT, so we might as well stop in sctp_eat_data()