diff options
author | Michael Tuexen <tuexen@fh-muenster.de> | 2020-05-23 17:47:14 +0200 |
---|---|---|
committer | Michael Tuexen <tuexen@fh-muenster.de> | 2020-05-23 17:47:14 +0200 |
commit | 3fbc9fc07e73e4f82b3be85b2fe354052f7c6b70 (patch) | |
tree | 2b5c13ee8f5b4e6305871323e47212fc55a0b1be | |
parent | 02768fc45268c653f8251bb8db648d2d4d63c03d (diff) | |
download | usrsctp-3fbc9fc07e73e4f82b3be85b2fe354052f7c6b70.tar.gz |
Add support for SCTP_ASSOC_SUPPORTS_INTERLEAVING
-rw-r--r-- | programs/programs_helper.c | 3 | ||||
-rw-r--r-- | programs/rtcweb.c | 3 | ||||
-rw-r--r-- | usrsctplib/usrsctp.h | 13 |
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 { |