|
@@ -490,6 +490,18 @@ struct sctp_sender_dry_event {
|
|
sctp_assoc_t sender_dry_assoc_id;
|
|
sctp_assoc_t sender_dry_assoc_id;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#define SCTP_STREAM_RESET_INCOMING_SSN 0x0001
|
|
|
|
+#define SCTP_STREAM_RESET_OUTGOING_SSN 0x0002
|
|
|
|
+#define SCTP_STREAM_RESET_DENIED 0x0004
|
|
|
|
+#define SCTP_STREAM_RESET_FAILED 0x0008
|
|
|
|
+struct sctp_stream_reset_event {
|
|
|
|
+ __u16 strreset_type;
|
|
|
|
+ __u16 strreset_flags;
|
|
|
|
+ __u32 strreset_length;
|
|
|
|
+ sctp_assoc_t strreset_assoc_id;
|
|
|
|
+ __u16 strreset_stream_list[];
|
|
|
|
+};
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Described in Section 7.3
|
|
* Described in Section 7.3
|
|
* Ancillary Data and Notification Interest Options
|
|
* Ancillary Data and Notification Interest Options
|
|
@@ -505,6 +517,7 @@ struct sctp_event_subscribe {
|
|
__u8 sctp_adaptation_layer_event;
|
|
__u8 sctp_adaptation_layer_event;
|
|
__u8 sctp_authentication_event;
|
|
__u8 sctp_authentication_event;
|
|
__u8 sctp_sender_dry_event;
|
|
__u8 sctp_sender_dry_event;
|
|
|
|
+ __u8 sctp_stream_reset_event;
|
|
};
|
|
};
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -529,6 +542,7 @@ union sctp_notification {
|
|
struct sctp_pdapi_event sn_pdapi_event;
|
|
struct sctp_pdapi_event sn_pdapi_event;
|
|
struct sctp_authkey_event sn_authkey_event;
|
|
struct sctp_authkey_event sn_authkey_event;
|
|
struct sctp_sender_dry_event sn_sender_dry_event;
|
|
struct sctp_sender_dry_event sn_sender_dry_event;
|
|
|
|
+ struct sctp_stream_reset_event sn_strreset_event;
|
|
};
|
|
};
|
|
|
|
|
|
/* Section 5.3.1
|
|
/* Section 5.3.1
|
|
@@ -556,6 +570,8 @@ enum sctp_sn_type {
|
|
#define SCTP_AUTHENTICATION_INDICATION SCTP_AUTHENTICATION_EVENT
|
|
#define SCTP_AUTHENTICATION_INDICATION SCTP_AUTHENTICATION_EVENT
|
|
SCTP_SENDER_DRY_EVENT,
|
|
SCTP_SENDER_DRY_EVENT,
|
|
#define SCTP_SENDER_DRY_EVENT SCTP_SENDER_DRY_EVENT
|
|
#define SCTP_SENDER_DRY_EVENT SCTP_SENDER_DRY_EVENT
|
|
|
|
+ SCTP_STREAM_RESET_EVENT,
|
|
|
|
+#define SCTP_STREAM_RESET_EVENT SCTP_STREAM_RESET_EVENT
|
|
};
|
|
};
|
|
|
|
|
|
/* Notification error codes used to fill up the error fields in some
|
|
/* Notification error codes used to fill up the error fields in some
|