sctp_data_chunk
#define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
#define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
#define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
#define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
#define SCTP_MED_V4_OVERHEAD (sizeof(struct sctp_data_chunk) + \
struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length,
the_len = (chk_length-sizeof(struct sctp_data_chunk));
(offset + sizeof(struct sctp_data_chunk)),
m_adj(dmbuf, (offset + sizeof(struct sctp_data_chunk)));
struct sctp_data_chunk *ch, chunk_buf;
ch = (struct sctp_data_chunk *)sctp_m_getptr(m, *offset,
if ((size_t)chk_length < sizeof(struct sctp_data_chunk) + 1 ||
ch = (struct sctp_data_chunk *)sctp_m_getptr(m, *offset,
sizeof(struct sctp_data_chunk));
if (chlen < (sizeof(struct sctp_data_chunk) +
if (chlen >= (sizeof(struct sctp_data_chunk) + sizeof(u_int32_t)) ) {
struct sctp_data_chunk *dcp;
dcp = (struct sctp_data_chunk *)ch;
((stcb->asoc.chunks_on_out_queue - stcb->asoc.total_flight_count) * sizeof(struct sctp_data_chunk)) +
struct sctp_data_chunk *dchkh;
M_PREPEND(chk->data, sizeof(struct sctp_data_chunk), M_DONTWAIT);
chk->send_size += sizeof(struct sctp_data_chunk);
if (!failed && ((size_t)chk->data->m_len < sizeof(struct sctp_data_chunk))) {
m_pullup(chk->data, sizeof(struct sctp_data_chunk));
dchkh = mtod(chk->data, struct sctp_data_chunk *);
dchkh = mtod(chk->data, struct sctp_data_chunk *);
((stcb->asoc.chunks_on_out_queue - stcb->asoc.total_flight_count) * sizeof(struct sctp_data_chunk)) +