Lines Matching +full:fan +full:- +full:stop +full:- +full:to +full:- +full:start +full:- +full:us

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1999-2001 Cisco, Motorola
10 * Please send any bug reports or fixes you make to the
12 * lksctp developers <linux-[email protected]>
16 * Karl Knutson <[email protected].us>
17 * Ardelle Fan <ardelle.fan@intel.com>
18 * Sridhar Samudrala <sri@us.ibm.com>
39 SCTP_CMD_CHUNK_ULP, /* Send a chunk to the sockets layer. */
40 SCTP_CMD_EVENT_ULP, /* Send a notification to the sockets layer. */
41 SCTP_CMD_REPLY, /* Send a chunk to our peer. */
42 SCTP_CMD_SEND_PKT, /* Send a full packet to our peer. */
47 SCTP_CMD_TIMER_START, /* Start a timer. */
48 SCTP_CMD_TIMER_START_ONCE, /* Start a timer once */
50 SCTP_CMD_TIMER_STOP, /* Stop a timer. */
55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */
59 SCTP_CMD_HB_TIMERS_START, /* Start the heartbeat timers. */
61 SCTP_CMD_HB_TIMERS_STOP, /* Stop the heartbeat timers. */
72 SCTP_CMD_PURGE_OUTQUEUE, /* Purge all data waiting to be sent. */
73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */
82 SCTP_CMD_DEL_NON_PRIMARY, /* Removes non-primary peer transports. */
83 SCTP_CMD_T3_RTX_TIMERS_STOP, /* Stops T3-rtx pending timers */
106 void *zero_all; /* Set to NULL to clear the entire union */
115 enum sctp_event_timeout to; member
156 SCTP_ARG_CONSTRUCTOR(TO, enum sctp_event_timeout, to) in SCTP_ARG_CONSTRUCTOR()
201 /* cmds[] is filled backwards to simplify the overflow BUG() check */ in sctp_init_cmd_seq()
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()
208 /* Add a command to an struct sctp_cmd_seq.
211 * to wrap data which goes in the obj argument.
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()