Skip to content

Commit

Permalink
Added missing SCTP_DATA_{LAST_FRAG,NOT_FRAG} flags (#373)
Browse files Browse the repository at this point in the history
These can be returned by a SCTP_SEND_FAILED_EVENT notification.
See https://tools.ietf.org/html/rfc6458#section-6.1.11
  • Loading branch information
jean-airoldie authored and tuexen committed Sep 18, 2019
1 parent 928bf9c commit 8ca1321
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usrsctplib/usrsctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ struct sctp_event_subscribe {


/* Flags that go into the sinfo->sinfo_flags field */
#define SCTP_DATA_LAST_FRAG 0x0001 /* tail part of the message could not be sent */
#define SCTP_DATA_NOT_FRAG 0x0003 /* complete message could not be sent */
#define SCTP_NOTIFICATION 0x0010 /* next message is a notification */
#define SCTP_COMPLETE 0x0020 /* next message is complete */
#define SCTP_EOF 0x0100 /* Start shutdown procedures */
Expand Down

0 comments on commit 8ca1321

Please sign in to comment.