Lines Matching refs:ch

1665     struct mbuf **m, int offset, struct sctp_data_chunk *ch, int chk_length,
1679 tsn = ntohl(ch->dp.tsn);
1793 strmno = ntohs(ch->dp.stream_id);
1815 phdr->param_type = ch->dp.stream_id;
1832 strmseq = ntohs(ch->dp.stream_sequence);
1833 if ((ch->ch.chunk_flags & SCTP_DATA_FIRST_FRAG) &&
1834 (ch->ch.chunk_flags & SCTP_DATA_UNORDERED) == 0 &&
1890 if ((ch->ch.chunk_flags & SCTP_DATA_NOT_FRAG) == SCTP_DATA_NOT_FRAG &&
1893 ((ch->ch.chunk_flags & SCTP_DATA_UNORDERED) ||
1916 ch->dp.protocol_id, 0, strmno, strmseq,
1917 ch->ch.chunk_flags);
1996 if ((ch->ch.chunk_flags & SCTP_DATA_UNORDERED) == 0) {
2031 chk->rec.data.payloadtype = ch->dp.protocol_id;
2034 chk->rec.data.rcv_flags = ch->ch.chunk_flags;
2503 struct sctp_data_chunk *ch, chunk_buf;
2566 ch = (struct sctp_data_chunk *)sctp_m_getptr(m, *offset,
2568 if (ch == NULL) {
2578 printf("In process data off:%d length:%d iphlen:%d ch->type:%d\n",
2579 *offset, length, iphlen, (int)ch->ch.chunk_type);
2585 while (ch->ch.chunk_type == SCTP_DATA) {
2587 chk_length = ntohs(ch->ch.chunk_length);
2628 if (sctp_process_a_data_chunk(stcb, asoc, mm, *offset, ch,
2655 ch = (struct sctp_data_chunk *)sctp_m_getptr(m, *offset,
2657 if (ch == NULL) {
2699 struct sctp_sack_chunk *ch, u_long last_tsn, u_long *biggest_tsn_acked,
2722 sack = &ch->sack;
3466 sctp_handle_sack(struct sctp_sack_chunk *ch, struct sctp_tcb *stcb,
3530 sack_length = ntohs(ch->ch.chunk_length);
3540 nonce_sum_flag = ch->ch.chunk_flags & SCTP_SACK_NONCE_SUM;
3541 sack = &ch->sack;
3750 sctp_handle_segments(stcb, asoc, ch, last_tsn,
4311 sack.ch.chunk_type = SCTP_SELECTIVE_ACK;
4312 sack.ch.chunk_flags = 0;
4313 sack.ch.chunk_length = ntohs(sizeof(struct sctp_sack_chunk));
4426 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) {