Lines Matching +full:timeout +full:- +full:ulp +full:- +full:ms

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
12 * lksctp developers <linux-sctp@vger.kernel.org>
96 /* These are primitive requests from the ULP. */
118 enum sctp_event_timeout timeout; member
129 SCTP_SUBTYPE_CONSTRUCTOR(TIMEOUT, enum sctp_event_timeout, timeout)
134 #define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA || \
135 a->chunk_hdr->type == SCTP_CID_I_DATA)
180 /* These are values for sk->state.
181 * For a UDP-style SCTP socket, the states are defined as follows
182 * - A socket in SCTP_SS_CLOSED state indicates that it is not willing to
184 * - A socket in SCTP_SS_LISTENING state indicates that it is willing to
186 * - A socket in SCTP_SS_ESTABLISHED state indicates that it is a peeled off
188 * For a TCP-style SCTP socket, the states are defined as follows
189 * - A socket in SCTP_SS_CLOSED state indicates that it is not willing to
191 * - A socket in SCTP_SS_LISTENING state indicates that it is willing to
193 * - A socket in SCTP_SS_ESTABLISHED state indicates that it has a single
233 enum { SCTP_MAX_CHUNK_LEN = ((1<<16) - sizeof(__u32)) };
235 /* Encourage Cookie-Echo bundling by pre-fragmenting chunks a little
245 * NEVER make this more than 32767 (2^15-1). The Gap Ack Blocks in a
247 * must be less than 65535 (2^16 - 1), or we will have overflow
262 /* Heartbeat interval - 30 secs */
265 /* Delayed sack timer - 200ms */
268 /* RTO.Initial - 3 seconds
269 * RTO.Min - 1 second
270 * RTO.Max - 60 seconds
271 * RTO.Alpha - 1/8
272 * RTO.Beta - 1/4
295 * to which we will raise the P-MTU.
301 #define SCTP_SIGNATURE_SIZE 20 /* size of a SLA-1 signature */
339 * based on draft of SCTP IPv4 scoping <draft-stewart-tsvwg-sctp-ipv4-00.txt>.
362 /* Based on IPv4 scoping <draft-stewart-tsvwg-sctp-ipv4-00.txt>,
364 * Also, RFC 8.4, non-unicast addresses are not considered valid SCTP
400 /* SCTP-AUTH Necessary constants */
402 /* SCTP-AUTH, Section 3.3
407 * +-----------------+--------------------------+
409 * +-----------------+--------------------------+
411 * | 1 | SHA-1 defined in [8] |
413 * | 3 | SHA-256 defined in [8] |
414 * +-----------------+--------------------------+
426 #define SCTP_AUTH_HMAC_ID_MAX __SCTP_AUTH_HMAC_MAX - 1
431 /* SCTP-AUTH, Section 3.2
432 * The chunk types for INIT, INIT-ACK, SHUTDOWN-COMPLETE and AUTH chunks
436 #define SCTP_AUTH_MAX_CHUNKS (SCTP_NUM_CHUNK_TYPES - SCTP_NUM_NOAUTH_CHUNKS)
438 /* SCTP-AUTH Section 6.1