aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--programs/programs_helper.c3
-rw-r--r--programs/rtcweb.c3
-rw-r--r--usrsctplib/usrsctp.h13
3 files changed, 13 insertions, 6 deletions
diff --git a/programs/programs_helper.c b/programs/programs_helper.c
index a8dbd62f..72f239b1 100644
--- a/programs/programs_helper.c
+++ b/programs/programs_helper.c
@@ -122,6 +122,9 @@ handle_association_change_event(struct sctp_assoc_change *sac)
case SCTP_ASSOC_SUPPORTS_RE_CONFIG:
fprintf(stderr, " RE-CONFIG");
break;
+ case SCTP_ASSOC_SUPPORTS_INTERLEAVING:
+ fprintf(stderr, " INTERLEAVING");
+ break;
default:
fprintf(stderr, " UNKNOWN(0x%02x)", sac->sac_info[i]);
break;
diff --git a/programs/rtcweb.c b/programs/rtcweb.c
index d064b852..915b9ee8 100644
--- a/programs/rtcweb.c
+++ b/programs/rtcweb.c
@@ -887,6 +887,9 @@ handle_association_change_event(struct sctp_assoc_change *sac)
case SCTP_ASSOC_SUPPORTS_RE_CONFIG:
printf(" RE-CONFIG");
break;
+ case SCTP_ASSOC_SUPPORTS_INTERLEAVING:
+ printf(" INTERLEAVING");
+ break;
default:
printf(" UNKNOWN(0x%02x)", sac->sac_info[i]);
break;
diff --git a/usrsctplib/usrsctp.h b/usrsctplib/usrsctp.h
index ede54891..10a12391 100644
--- a/usrsctplib/usrsctp.h
+++ b/usrsctplib/usrsctp.h
@@ -281,12 +281,13 @@ struct sctp_assoc_change {
#define SCTP_CANT_STR_ASSOC 0x0005
/* sac_info values */
-#define SCTP_ASSOC_SUPPORTS_PR 0x01
-#define SCTP_ASSOC_SUPPORTS_AUTH 0x02
-#define SCTP_ASSOC_SUPPORTS_ASCONF 0x03
-#define SCTP_ASSOC_SUPPORTS_MULTIBUF 0x04
-#define SCTP_ASSOC_SUPPORTS_RE_CONFIG 0x05
-#define SCTP_ASSOC_SUPPORTS_MAX 0x05
+#define SCTP_ASSOC_SUPPORTS_PR 0x01
+#define SCTP_ASSOC_SUPPORTS_AUTH 0x02
+#define SCTP_ASSOC_SUPPORTS_ASCONF 0x03
+#define SCTP_ASSOC_SUPPORTS_MULTIBUF 0x04
+#define SCTP_ASSOC_SUPPORTS_RE_CONFIG 0x05
+#define SCTP_ASSOC_SUPPORTS_INTERLEAVING 0x06
+#define SCTP_ASSOC_SUPPORTS_MAX 0x06
/* Address event */
struct sctp_paddr_change {