Lines Matching refs:chunk
101 /* Process an incoming DATA chunk. */
102 int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
109 hdr = (sctp_data_chunk_t *) chunk->chunk_hdr;
111 /* Create an event from the incoming chunk. */
112 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp);
403 /* Helper function to check if an incoming chunk has filled up the last
428 * 'first_frag' and next_tsn are reset when we find a chunk which
663 * ordered by an an incoming chunk.
783 /* Mark that the next chunk has been found. */
915 struct sctp_chunk *chunk,
948 /* Renege some packets to make room for an incoming chunk. */
949 void sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
957 if (chunk) {
958 needed = ntohs(chunk->chunk_hdr->length);
971 /* If able to free enough room, accept this chunk. */
972 if (chunk && (freed >= needed)) {
974 tsn = ntohl(chunk->subh.data_hdr->tsn);
976 sctp_ulpq_tail_data(ulpq, chunk, gfp);
978 sctp_ulpq_partial_delivery(ulpq, chunk, gfp);