Lines Matching +full:local +full:- +full:timer +full:- +full:stop
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1999-2001 Cisco, Motorola
12 * lksctp developers <linux-[email protected]>
47 SCTP_CMD_TIMER_START, /* Start a timer. */
48 SCTP_CMD_TIMER_START_ONCE, /* Start a timer once */
49 SCTP_CMD_TIMER_RESTART, /* Restart a timer. */
50 SCTP_CMD_TIMER_STOP, /* Stop a timer. */
54 SCTP_CMD_INIT_RESTART, /* High level, do init timer work. */
55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */
61 SCTP_CMD_HB_TIMERS_STOP, /* Stop the heartbeat timers. */
62 SCTP_CMD_PROBE_TIMER_UPDATE, /* Update a probe timer. */
73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */
77 SCTP_CMD_SETUP_T4, /* ADDIP, setup T4 RTO timer parms. */
82 SCTP_CMD_DEL_NON_PRIMARY, /* Removes non-primary peer transports. */
83 SCTP_CMD_T3_RTX_TIMERS_STOP, /* Stops T3-rtx pending timers */
132 * the ELT union element of a local union sctp_arg.
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()