Lines Matching +full:shutdown +full:- +full:ack
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1999-2001 Cisco, Motorola
12 * lksctp developers <linux-sctp@vger.kernel.org>
34 SCTP_CMD_GEN_SACK, /* Send a Selective ACK (maybe). */
36 SCTP_CMD_GEN_INIT_ACK, /* Generate an INIT ACK chunk. */
55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */
68 SCTP_CMD_PROCESS_CTSN, /* Sideeffect from shutdown. */
71 SCTP_CMD_GEN_SHUTDOWN, /* Generate a SHUTDOWN chunk. */
73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */
79 SCTP_CMD_REPORT_FWDTSN, /* Report new cumulative TSN Ack. */
82 SCTP_CMD_DEL_NON_PRIMARY, /* Removes non-primary peer transports. */
83 SCTP_CMD_T3_RTX_TIMERS_STOP, /* Stops T3-rtx pending timers */
202 seq->last_used_slot = seq->cmds + SCTP_MAX_NUM_COMMANDS; in sctp_init_cmd_seq()
203 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq()
216 struct sctp_cmd *cmd = seq->last_used_slot - 1; in sctp_add_cmd_sf()
218 BUG_ON(cmd < seq->cmds); in sctp_add_cmd_sf()
220 cmd->verb = verb; in sctp_add_cmd_sf()
221 cmd->obj = obj; in sctp_add_cmd_sf()
222 seq->last_used_slot = cmd; in sctp_add_cmd_sf()
230 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd()
233 return --seq->next_cmd; in sctp_next_cmd()