diff options
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r-- | include/linux/sctp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index d70df61a029f..f4d717b72ddd 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h | |||
@@ -180,6 +180,9 @@ typedef enum { | |||
180 | SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = __constant_htons(12), | 180 | SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = __constant_htons(12), |
181 | SCTP_PARAM_ECN_CAPABLE = __constant_htons(0x8000), | 181 | SCTP_PARAM_ECN_CAPABLE = __constant_htons(0x8000), |
182 | 182 | ||
183 | /* Add-IP: Supported Extensions, Section 4.2 */ | ||
184 | SCTP_PARAM_SUPPORTED_EXT = __constant_htons(0x8008), | ||
185 | |||
183 | /* PR-SCTP Sec 3.1 */ | 186 | /* PR-SCTP Sec 3.1 */ |
184 | SCTP_PARAM_FWD_TSN_SUPPORT = __constant_htons(0xc000), | 187 | SCTP_PARAM_FWD_TSN_SUPPORT = __constant_htons(0xc000), |
185 | 188 | ||
@@ -296,6 +299,12 @@ typedef struct sctp_adaptation_ind_param { | |||
296 | __be32 adaptation_ind; | 299 | __be32 adaptation_ind; |
297 | } __attribute__((packed)) sctp_adaptation_ind_param_t; | 300 | } __attribute__((packed)) sctp_adaptation_ind_param_t; |
298 | 301 | ||
302 | /* ADDIP Section 4.2.7 Supported Extensions Parameter */ | ||
303 | typedef struct sctp_supported_ext_param { | ||
304 | struct sctp_paramhdr param_hdr; | ||
305 | __u8 chunks[0]; | ||
306 | } __attribute__((packed)) sctp_supported_ext_param_t; | ||
307 | |||
299 | /* RFC 2960. Section 3.3.3 Initiation Acknowledgement (INIT ACK) (2): | 308 | /* RFC 2960. Section 3.3.3 Initiation Acknowledgement (INIT ACK) (2): |
300 | * The INIT ACK chunk is used to acknowledge the initiation of an SCTP | 309 | * The INIT ACK chunk is used to acknowledge the initiation of an SCTP |
301 | * association. | 310 | * association. |