Lines Matching defs:chunk
81 /* Process an incoming DATA chunk. */
82 int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
89 /* Create an event from the incoming chunk. */
90 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp);
94 event->ssn = ntohs(chunk->subh.data_hdr->ssn);
95 event->ppid = chunk->subh.data_hdr->ppid;
390 /* Helper function to check if an incoming chunk has filled up the last
415 * 'first_frag' and next_tsn are reset when we find a chunk which
737 * ordered by an incoming chunk.
854 /* Mark that the next chunk has been found. */
936 * Forwared TSN chunk to skip over the abandoned ordered data
1068 /* Renege some packets to make room for an incoming chunk. */
1069 void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
1076 needed = ntohs(chunk->chunk_hdr->length) -
1084 /* If able to free enough room, accept this chunk. */
1085 if (sk_rmem_schedule(asoc->base.sk, chunk->skb, needed) &&
1087 int retval = sctp_ulpq_tail_data(ulpq, chunk, gfp);
1089 * Enter partial delivery if chunk has not been