Lines Matching refs:chunk
923 struct sctp_chunk *chunk; in sctp_assoc_lookup_tsn() local
945 list_for_each_entry(chunk, &active->transmitted, in sctp_assoc_lookup_tsn()
948 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
960 list_for_each_entry(chunk, &transport->transmitted, in sctp_assoc_lookup_tsn()
962 if (key == chunk->subh.data_hdr->tsn) { in sctp_assoc_lookup_tsn()
1005 struct sctp_chunk *chunk; in sctp_assoc_bh_rcv() local
1017 while (NULL != (chunk = sctp_inq_pop(inqueue))) { in sctp_assoc_bh_rcv()
1019 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
1024 if (first_time && subtype.chunk == SCTP_CID_AUTH) { in sctp_assoc_bh_rcv()
1037 chunk->auth_chunk = skb_clone(chunk->skb, in sctp_assoc_bh_rcv()
1039 chunk->auth = 1; in sctp_assoc_bh_rcv()
1052 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_assoc_bh_rcv()
1058 if (sctp_chunk_is_data(chunk)) in sctp_assoc_bh_rcv()
1059 asoc->peer.last_data_from = chunk->transport; in sctp_assoc_bh_rcv()
1063 if (chunk->chunk_hdr->type == SCTP_CID_SACK) in sctp_assoc_bh_rcv()
1067 if (chunk->transport) in sctp_assoc_bh_rcv()
1068 chunk->transport->last_time_heard = ktime_get(); in sctp_assoc_bh_rcv()
1072 state, ep, asoc, chunk, GFP_ATOMIC); in sctp_assoc_bh_rcv()
1081 if (error && chunk) in sctp_assoc_bh_rcv()
1082 chunk->pdiscard = 1; in sctp_assoc_bh_rcv()