Home
last modified time | relevance | path

Searched refs:lchunk (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/sctp/
Doutqueue.c209 struct list_head *lchunk, *temp; in __sctp_outq_teardown() local
215 while ((lchunk = sctp_list_dequeue(&transport->transmitted)) != NULL) { in __sctp_outq_teardown()
216 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
225 list_for_each_safe(lchunk, temp, &q->sacked) { in __sctp_outq_teardown()
226 list_del_init(lchunk); in __sctp_outq_teardown()
227 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
234 list_for_each_safe(lchunk, temp, &q->retransmit) { in __sctp_outq_teardown()
235 list_del_init(lchunk); in __sctp_outq_teardown()
236 chunk = list_entry(lchunk, struct sctp_chunk, in __sctp_outq_teardown()
243 list_for_each_safe(lchunk, temp, &q->abandoned) { in __sctp_outq_teardown()
[all …]
Dstream_interleave.c51 struct sctp_chunk *lchunk; in sctp_chunk_assign_mid() local
61 list_for_each_entry(lchunk, &chunk->msg->chunks, frag_list) { in sctp_chunk_assign_mid()
65 lchunk->has_mid = 1; in sctp_chunk_assign_mid()
67 hdr = lchunk->subh.idata_hdr; in sctp_chunk_assign_mid()
69 if (lchunk->chunk_hdr->flags & SCTP_DATA_FIRST_FRAG) in sctp_chunk_assign_mid()
70 hdr->ppid = lchunk->sinfo.sinfo_ppid; in sctp_chunk_assign_mid()
74 if (lchunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) { in sctp_chunk_assign_mid()
75 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
79 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
1103 struct list_head *lchunk, *temp; in sctp_generate_iftsn() local
[all …]
Dsm_make_chunk.c1582 struct sctp_chunk *lchunk; in sctp_chunk_assign_ssn() local
1597 list_for_each_entry(lchunk, &msg->chunks, frag_list) { in sctp_chunk_assign_ssn()
1598 if (lchunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) { in sctp_chunk_assign_ssn()
1601 if (lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG) in sctp_chunk_assign_ssn()
1607 lchunk->subh.data_hdr->ssn = htons(ssn); in sctp_chunk_assign_ssn()
1608 lchunk->has_ssn = 1; in sctp_chunk_assign_ssn()