Lines Matching +full:- +full:section
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
16 * lksctp developers <linux-sctp@vger.kernel.org>
44 /* Section 3.1. SCTP Common Header Format */
57 /* Section 3.2. Chunk Field Descriptions. */
65 /* Section 3.2. Chunk Type Values.
87 /* AUTH Extension Section 4.1 */
90 /* sctp ndata 5.1. I-DATA */
93 /* PR-SCTP Sec 3.2 */
104 /* Section 3.2
105 * Chunk Types are encoded such that the highest-order two bits specify
131 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
133 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
145 * see Section 8.5.1 for details.
148 #define sctp_test_T_bit(c) ((c)->chunk_hdr->flags & SCTP_CHUNK_FLAG_T)
151 * Section 3.2.1 Optional/Variable-length Parmaeter Format.
161 /* RFC 2960 Section 3.3.5 */
163 /* RFC 2960 Section 3.3.2.1 */
173 /* AUTH Extension Section 3 */
178 /* Add-IP: Supported Extensions, Section 4.2 */
181 /* PR-SCTP Sec 3.1 */
184 /* Add-IP Extension. Section 3.2 */
192 /* RE-CONFIG. Section 4 */
202 /* RFC 2960 Section 3.2.1
203 * The Parameter Types are encoded such that the highest-order two bits
217 /* RFC 2960 Section 3.3.1 Payload Data (DATA) (0) */
261 /* RFC 2960 Section 3.3.2 Initiation (INIT) (1)
281 /* Section 3.3.2.1. IPv4 Address Parameter (5) */
287 /* Section 3.3.2.1. IPv6 Address Parameter (6) */
293 /* Section 3.3.2.1 Cookie Preservative (9) */
299 /* Section 3.3.2.1 Host Name Address (11) */
305 /* Section 3.3.2.1 Supported Address Types (12) */
311 /* ADDIP Section 3.2.6 Adaptation Layer Indication */
317 /* ADDIP Section 4.2.7 Supported Extensions Parameter */
323 /* AUTH Section 3.1 Random */
329 /* AUTH Section 3.2 Chunk List */
335 /* AUTH Section 3.3 HMAC Algorithm */
341 /* RFC 2960. Section 3.3.3 Initiation Acknowledgement (INIT ACK) (2):
350 /* Section 3.3.3.1 State Cookie (7) */
356 /* Section 3.3.3.1 Unrecognized Parameters (8) */
396 /* RFC 2960. Section 3.3.5 Heartbeat Request (HEARTBEAT) (4):
434 /* RFC 2960. Section 3.3.10 Operation Error (ERROR) (9) */
447 /* RFC 2960 3.3.10 - Operation Error
454 * --------- ----------------
491 /* ADDIP Section 3.3 New Error Causes
494 * primarily for use in the ASCONF-ACK chunk.
497 * --------- ----------------
501 * 0x00A3 Association Aborted due to illegal ASCONF-ACK
502 * 0x00A4 Request refused - no authorization.
510 /* AUTH Section 4. New Error Cause
512 * This section defines a new error cause that will be sent if an AUTH
517 * --------------------------------------------------------------
544 /* PR-SCTP
551 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
553 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
555 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
556 * | Stream-1 | Stream Sequence-1 |
557 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
560 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
561 * | Stream-N | Stream Sequence-N |
562 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
575 * Stream-N: 16 bit u_int
578 * FWD-TSN.
580 * Stream Sequence-N: 16 bit u_int
584 * the FWD-TSN's can use the Stream-N and Stream Sequence-N fields
586 * re-ordering queues. This field MUST NOT report TSN's corresponding
623 * Section 3.1.1 Address Configuration Change Chunk (ASCONF)
627 * valid range of Serial Number is from 0 to 2^32-1.
628 * Serial Numbers wrap back to 0 after reaching 2^32 -1.
640 * parameter as defined in Section 3.2. One or more requests may
643 * Section 3.1.2 Address Configuration Acknowledgement Chunk (ASCONF-ACK)
651 * The ASCONF Parameter Response is used in the ASCONF-ACK to
670 * Section 4.1 Authentication Chunk (AUTH)
676 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
678 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
680 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
684 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
687 * This value MUST be set to 0x0F for all AUTH-chunks.
705 * +-----------------+--------------------------+
707 * +-----------------+--------------------------+
709 * | 1 | SHA-1 defined in [8] |
711 * | 3 | SHA-256 defined in [8] |
712 * +-----------------+--------------------------+