Searched refs:sctp_data_chunk (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_header.h162 struct sctp_data_chunk { struct
587 #define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
593 #define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
602 #define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
608 #define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
619 #define SCTP_MED_V4_OVERHEAD (sizeof(struct sctp_data_chunk) + \
H A Dsctp_indata.c1277 struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length,
1505 the_len = (chk_length - sizeof(struct sctp_data_chunk));
1508 (offset + sizeof(struct sctp_data_chunk)),
1526 m_adj(dmbuf, (offset + sizeof(struct sctp_data_chunk)));
2317 struct sctp_data_chunk *ch, chunk_buf;
2376 ch = (struct sctp_data_chunk *)sctp_m_getptr(m, *offset,
2377 sizeof(struct sctp_data_chunk), (uint8_t *) & chunk_buf);
2396 if ((size_t)chk_length < sizeof(struct sctp_data_chunk)) {
2416 if ((size_t)chk_length == sizeof(struct sctp_data_chunk)) {
2554 ch = (struct sctp_data_chunk *)sctp_m_getpt
[all...]
H A Dsctp_output.c6647 * if (siz > (MCLBYTES-sizeof(struct sctp_data_chunk))) {
6650 /* siz = (MCLBYTES - sizeof(struct sctp_data_chunk)); */
7153 (stcb->asoc.stream_queue_cnt * sizeof(struct sctp_data_chunk)));
7581 struct sctp_data_chunk *dchkh;
7876 if (M_LEADINGSPACE(chk->data) < (int)sizeof(struct sctp_data_chunk)) {
7915 SCTP_BUF_PREPEND(chk->data, sizeof(struct sctp_data_chunk), M_NOWAIT);
7928 sctp_snd_sb_alloc(stcb, sizeof(struct sctp_data_chunk));
7929 chk->book_size = chk->send_size = (to_move + sizeof(struct sctp_data_chunk));
7972 dchkh = mtod(chk->data, struct sctp_data_chunk *);
8103 goal_mtu -= sizeof(struct sctp_data_chunk);
[all...]
H A Dsctp_input.c3399 sizeof(struct sctp_data_chunk));
4376 if (chlen < (sizeof(struct sctp_data_chunk) +
4391 if (chlen >= (sizeof(struct sctp_data_chunk) + sizeof(uint32_t))) {
4393 struct sctp_data_chunk *dcp;
4397 dcp = (struct sctp_data_chunk *)ch;
H A Dsctputil.c2993 length -= sizeof(struct sctp_data_chunk);
3014 length -= sizeof(struct sctp_data_chunk);
3033 if (chk->send_size >= sizeof(struct sctp_data_chunk)) {
3034 m_adj(chk->data, sizeof(struct sctp_data_chunk));
3036 chk->send_size -= sizeof(struct sctp_data_chunk);

Completed in 1222 milliseconds