Home
last modified time | relevance | path

Searched refs:chunk_hdr (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/include/linux/
Dsctp.h149 #define sctp_test_T_bit(c) ((c)->chunk_hdr->flags & SCTP_CHUNK_FLAG_T)
229 struct sctp_chunkhdr chunk_hdr; member
246 struct sctp_chunkhdr chunk_hdr; member
277 struct sctp_chunkhdr chunk_hdr; member
347 struct sctp_chunkhdr chunk_hdr; member
392 struct sctp_chunkhdr chunk_hdr; member
409 struct sctp_chunkhdr chunk_hdr; member
437 struct sctp_chunkhdr chunk_hdr; member
450 struct sctp_chunkhdr chunk_hdr; member
542 struct sctp_chunkhdr chunk_hdr; member
[all …]
/linux-6.6.21/fs/ntfs3/
Dlznt.c363 u16 chunk_hdr; in decompress_lznt() local
369 chunk_hdr = cmpr_chunk[1]; in decompress_lznt()
370 chunk_hdr <<= 8; in decompress_lznt()
371 chunk_hdr |= cmpr_chunk[0]; in decompress_lznt()
377 size_t cmpr_use = 3 + (chunk_hdr & (LZNT_CHUNK_SIZE - 1)); in decompress_lznt()
384 if (chunk_hdr & 0x8000) { in decompress_lznt()
388 cmpr_chunk + sizeof(chunk_hdr), in decompress_lznt()
399 if (cmpr_chunk + sizeof(chunk_hdr) + unc_use > in decompress_lznt()
404 memcpy(unc_chunk, cmpr_chunk + sizeof(chunk_hdr), in decompress_lznt()
423 chunk_hdr = cmpr_chunk[1]; in decompress_lznt()
[all …]
/linux-6.6.21/net/sctp/
Dsm_make_chunk.c946 if (chunk && chunk->chunk_hdr && in sctp_make_abort()
947 chunk->chunk_hdr->type == SCTP_CID_INIT) in sctp_make_abort()
1055 int chunklen = ntohs(chunk->chunk_hdr->length); in sctp_addto_param()
1066 chunk->chunk_hdr->length = htons(chunklen + len); in sctp_addto_param()
1090 phdr.type = htons(chunk->chunk_hdr->type); in sctp_make_abort_violation()
1091 phdr.length = chunk->chunk_hdr->length; in sctp_make_abort_violation()
1244 retval->chunk_hdr->length = htons(ntohs(retval->chunk_hdr->length) + len); in sctp_make_pad()
1353 retval->chunk_hdr->length = in sctp_make_auth()
1354 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
1432 struct sctp_chunkhdr *chunk_hdr; in _sctp_make_chunk() local
[all …]
Doutqueue.c286 chunk && chunk->chunk_hdr ? in sctp_outq_tail()
287 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) : in sctp_outq_tail()
295 __func__, q, chunk, chunk && chunk->chunk_hdr ? in sctp_outq_tail()
296 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)) : in sctp_outq_tail()
303 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_outq_tail()
393 (!(chk->chunk_hdr->flags & SCTP_DATA_FIRST_FRAG) || in sctp_prsctp_prune_unsent()
849 type = chunk->chunk_hdr->type; in sctp_outq_select_transport()
895 chunk->chunk_hdr->type != SCTP_CID_ASCONF) in sctp_outq_flush_ctrl()
905 switch (chunk->chunk_hdr->type) { in sctp_outq_flush_ctrl()
972 if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN || in sctp_outq_flush_ctrl()
[all …]
Dsm_statefuns.c175 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
191 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid()
374 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1B_init()
375 (struct sctp_init_chunk *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1B_init()
382 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
384 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
426 (struct sctp_init_chunk *)chunk->chunk_hdr, in sctp_sf_do_5_1B_init()
437 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
457 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
547 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1C_ack()
[all …]
Dinqueue.c200 chunk->chunk_hdr = ch; in sctp_inq_pop()
220 chunk, sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_inq_pop()
221 ntohs(chunk->chunk_hdr->length), chunk->skb->len); in sctp_inq_pop()
Dstream_interleave.c69 if (lchunk->chunk_hdr->flags & SCTP_DATA_FIRST_FRAG) 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()
92 if (chunk->chunk_hdr->type != SCTP_CID_DATA) in sctp_validate_data()
95 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_validate_data()
111 if (chunk->chunk_hdr->type != SCTP_CID_I_DATA) in sctp_validate_idata()
114 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_validate_idata()
961 needed = ntohs(chunk->chunk_hdr->length) - in sctp_renege_events()
1126 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_generate_iftsn()
[all …]
Doutput.c234 pkt->size += SCTP_PAD4(ntohs(pad->chunk_hdr->length)); in sctp_packet_bundle_pad()
255 if (chunk->chunk_hdr->type == SCTP_CID_AUTH || pkt->has_auth) in sctp_packet_bundle_auth()
331 __u16 chunk_len = SCTP_PAD4(ntohs(chunk->chunk_hdr->length)); in __sctp_packet_append_chunk()
340 switch (chunk->chunk_hdr->type) { in __sctp_packet_append_chunk()
504 sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_packet_pack()
507 ntohs(chunk->chunk_hdr->length), chunk->skb->len, in sctp_packet_pack()
795 chunk->chunk_hdr->type != SCTP_CID_AUTH)) in sctp_packet_will_fit()
Dulpevent.c145 ntohs(chunk->chunk_hdr->length) - in sctp_ulpevent_make_assoc_change()
439 int len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed()
514 ssf->ssf_info.sinfo_flags = chunk->chunk_hdr->flags; in sctp_ulpevent_make_send_failed()
546 len = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_send_failed_event()
564 ssf->ssfe_info.snd_flags = chunk->chunk_hdr->flags; in sctp_ulpevent_make_send_failed_event()
695 datalen = ntohs(chunk->chunk_hdr->length); in sctp_ulpevent_make_rcvmsg()
748 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) { in sctp_ulpevent_make_rcvmsg()
753 event->msg_flags |= chunk->chunk_hdr->flags; in sctp_ulpevent_make_rcvmsg()
Dchunk.c276 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr - in sctp_datamsg_from_user()
309 !(chunk->chunk_hdr->flags & SCTP_DATA_FIRST_FRAG)) in sctp_chunk_abandoned()
Dendpointola.c350 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
Dassociola.c999 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
1043 if (chunk->chunk_hdr->type == SCTP_CID_SACK) in sctp_assoc_bh_rcv()
1600 int var_size2 = ntohs(peer_init->chunk_hdr.length); in sctp_assoc_set_bind_addr_from_cookie()
Dauth.c415 if (sctp_auth_send_cid(chunk->chunk_hdr->type, asoc)) { in sctp_auth_asoc_init_active_key()
Dulpqueue.c1076 needed = ntohs(chunk->chunk_hdr->length) - in sctp_ulpq_renege()
Dstream.c493 hdr = (struct sctp_reconf_chunk *)chunk->chunk_hdr; in sctp_chunk_lookup_strreset_param()
Dinput.c515 chunkhdr->chunk_hdr.type != SCTP_CID_INIT || in sctp_err_lookup()
/linux-6.6.21/include/net/sctp/
Dsctp.h427 _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length))
437 #define sctp_walk_errors(err, chunk_hdr)\ argument
438 _sctp_walk_errors((err), (chunk_hdr), ntohs((chunk_hdr)->length))
440 #define _sctp_walk_errors(err, chunk_hdr, end)\ argument
441 for (err = (struct sctp_errhdr *)((void *)chunk_hdr + \
444 (void *)chunk_hdr + end) &&\
445 (void *)err <= (void *)chunk_hdr + end - ntohs(err->length) &&\
450 _sctp_walk_fwdtsn((pos), (chunk), ntohs((chunk)->chunk_hdr->length) - sizeof(struct sctp_fwdtsn_chu…
Dconstants.h134 #define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA || \
135 a->chunk_hdr->type == SCTP_CID_I_DATA)
Dsm.h338 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()
Dstructs.h611 struct sctp_chunkhdr *chunk_hdr; member
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_uclo.c451 struct icp_qat_uof_chunkhdr *chunk_hdr = in qat_uclo_find_chunk() local
456 if ((cur < (void *)&chunk_hdr[i]) && in qat_uclo_find_chunk()
457 !strncmp(chunk_hdr[i].chunk_id, chunk_id, in qat_uclo_find_chunk()
459 return &chunk_hdr[i]; in qat_uclo_find_chunk()
603 struct icp_qat_uof_chunkhdr *chunk_hdr = NULL; in qat_uclo_map_uimage() local
612 chunk_hdr = qat_uclo_find_chunk(encap_uof_obj->obj_hdr, in qat_uclo_map_uimage()
613 ICP_QAT_UOF_IMAG, chunk_hdr); in qat_uclo_map_uimage()
614 if (!chunk_hdr) in qat_uclo_map_uimage()
617 chunk_hdr->offset); in qat_uclo_map_uimage()
689 struct icp_qat_uof_chunkhdr *chunk_hdr; in qat_uclo_map_str_table() local
[all …]
Dicp_qat_uclo.h169 struct icp_qat_uof_chunkhdr *chunk_hdr; member