From aa7e5af86ff438010826e41880ee8f52004a7ee1 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Mon, 15 Sep 2014 19:38:34 +0000 Subject: [PATCH] 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 --- sys/netinet/sctp_structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h index 24c456c82654..3f6d935ba173 100644 --- a/sys/netinet/sctp_structs.h +++ b/sys/netinet/sctp_structs.h @@ -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; };