Chunk IDs are 8 bit entities, not 16 bit.

Thanks to Peter Kasting from Google for drawing
my attention to it.

MFC after: 3 days
This commit is contained in:
Michael Tuexen 2014-09-15 19:38:34 +00:00
parent 5fd3f8b3b6
commit aa7e5af86f

View File

@ -418,8 +418,8 @@ TAILQ_HEAD(sctpchunk_listhead, sctp_tmit_chunk);
#define CHUNK_FLAGS_FRAGMENT_OK 0x0100
struct chk_id {
uint16_t id;
uint16_t can_take_data;
uint8_t id;
uint8_t can_take_data;
};