Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dsctp.h149 #define sctp_test_T_bit(c) ((c)->chunk_hdr->flags & SCTP_CHUNK_FLAG_T)
228 struct sctp_chunkhdr chunk_hdr; member
244 struct sctp_chunkhdr chunk_hdr; member
275 struct sctp_chunkhdr chunk_hdr; member
345 struct sctp_chunkhdr chunk_hdr; member
390 struct sctp_chunkhdr chunk_hdr; member
407 struct sctp_chunkhdr chunk_hdr; member
435 struct sctp_chunkhdr chunk_hdr; member
448 struct sctp_chunkhdr chunk_hdr; member
540 struct sctp_chunkhdr chunk_hdr; member
[all …]
/linux/fs/ntfs3/
H A Dlznt.c366 u16 chunk_hdr; in decompress_lznt() local
372 chunk_hdr = cmpr_chunk[1]; in decompress_lznt()
373 chunk_hdr <<= 8; in decompress_lznt()
374 chunk_hdr |= cmpr_chunk[0]; in decompress_lznt()
380 size_t cmpr_use = 3 + (chunk_hdr & (LZNT_CHUNK_SIZE - 1)); in decompress_lznt()
387 if (chunk_hdr & 0x8000) { in decompress_lznt()
391 cmpr_chunk + sizeof(chunk_hdr), in decompress_lznt()
402 if (cmpr_chunk + sizeof(chunk_hdr) + unc_use > in decompress_lznt()
407 memcpy(unc_chunk, cmpr_chunk + sizeof(chunk_hdr), in decompress_lznt()
426 chunk_hdr = cmpr_chunk[1]; in decompress_lznt()
[all …]
/linux/net/sctp/
H A 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 …]
H A Dsm_statefuns.c177 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
193 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid()
376 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1B_init()
377 (struct sctp_init_chunk *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1B_init()
384 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
386 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
428 (struct sctp_init_chunk *)chunk->chunk_hdr, in sctp_sf_do_5_1B_init()
439 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
459 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
549 if (!sctp_verify_init(net, ep, asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1C_ack()
[all …]
H A Dinqueue.c208 chunk->chunk_hdr = ch; in sctp_inq_pop()
228 chunk, sctp_cname(SCTP_ST_CHUNK(chunk->chunk_hdr->type)), in sctp_inq_pop()
229 ntohs(chunk->chunk_hdr->length), chunk->skb->len); in sctp_inq_pop()
H A 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 …]
H A 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()
H A 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()
H A Dchunk.c277 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr - in sctp_datamsg_from_user()
310 !(chunk->chunk_hdr->flags & SCTP_DATA_FIRST_FRAG)) in sctp_chunk_abandoned()
H A Dendpointola.c351 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
H A Dassociola.c982 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_assoc_bh_rcv()
1026 if (chunk->chunk_hdr->type == SCTP_CID_SACK) in sctp_assoc_bh_rcv()
1583 int var_size2 = ntohs(peer_init->chunk_hdr.length); in sctp_assoc_set_bind_addr_from_cookie()
H A Dauth.c416 if (sctp_auth_send_cid(chunk->chunk_hdr->type, asoc)) { in sctp_auth_asoc_init_active_key()
H A Dulpqueue.c1076 needed = ntohs(chunk->chunk_hdr->length) - in sctp_ulpq_renege()
H A Dinput.c515 chunkhdr->chunk_hdr.type != SCTP_CID_INIT || in sctp_err_lookup()
H A Dstream.c493 hdr = (struct sctp_reconf_chunk *)chunk->chunk_hdr; in sctp_chunk_lookup_strreset_param()
/linux/include/net/sctp/
H A Dsm.h337 size = ntohs(chunk->chunk_hdr->length); in sctp_data_size()