Lines Matching defs:chunk
84 /* Process an incoming DATA chunk. */
85 int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
92 /* Create an event from the incoming chunk. */
93 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp);
97 event->ssn = ntohs(chunk->subh.data_hdr->ssn);
98 event->ppid = chunk->subh.data_hdr->ppid;
396 /* Helper function to check if an incoming chunk has filled up the last
421 * 'first_frag' and next_tsn are reset when we find a chunk which
743 * ordered by an incoming chunk.
860 /* Mark that the next chunk has been found. */
942 * Forwared TSN chunk to skip over the abandoned ordered data
1074 /* Renege some packets to make room for an incoming chunk. */
1075 void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
1082 needed = ntohs(chunk->chunk_hdr->length) -
1090 /* If able to free enough room, accept this chunk. */
1091 if (sk_rmem_schedule(asoc->base.sk, chunk->skb, needed) &&
1093 int retval = sctp_ulpq_tail_data(ulpq, chunk, gfp);
1095 * Enter partial delivery if chunk has not been