Lines Matching refs:chunk_hdr

164 	__u16 chunk_length = ntohs(chunk->chunk_hdr->length);  in sctp_chunk_length_valid()
351 if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1B_init()
352 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1B_init()
359 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
361 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
397 (sctp_init_chunk_t *)chunk->chunk_hdr, in sctp_sf_do_5_1B_init()
408 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1B_init()
428 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1B_init()
517 if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, in sctp_sf_do_5_1C_ack()
518 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_5_1C_ack()
530 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_5_1C_ack()
532 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_5_1C_ack()
569 initchunk = (sctp_init_chunk_t *) chunk->chunk_hdr; in sctp_sf_do_5_1C_ack()
680 if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) - in sctp_sf_do_5_1D_ce()
760 auth.chunk_hdr = (sctp_chunkhdr_t *)skb_push(chunk->auth_chunk, in sctp_sf_do_5_1D_ce()
1056 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t); in sctp_sf_beat_8_3()
1412 if (!sctp_verify_init(asoc, chunk->chunk_hdr->type, in sctp_sf_do_unexpected_init()
1413 (sctp_init_chunk_t *)chunk->chunk_hdr, chunk, in sctp_sf_do_unexpected_init()
1420 (__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_unexpected_init()
1422 ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
1460 (sctp_init_chunk_t *)chunk->chunk_hdr, in sctp_sf_do_unexpected_init()
1486 len = ntohs(err_chunk->chunk_hdr->length) - in sctp_sf_do_unexpected_init()
1507 ((__u8 *)(err_chunk->chunk_hdr) + in sctp_sf_do_unexpected_init()
1708 SCTP_ST_CHUNK(chunk->chunk_hdr->type), in sctp_sf_do_dupcook_a()
1981 if (!pskb_pull(chunk->skb, ntohs(chunk->chunk_hdr->length) - in sctp_sf_do_5_2_4_dupcook()
2211 sctp_walk_errors(err, chunk->chunk_hdr) { in sctp_sf_cookie_echoed_err()
2419 len = ntohs(chunk->chunk_hdr->length); in __sctp_sf_do_9_1_abort()
2423 sctp_walk_errors(err, chunk->chunk_hdr); in __sctp_sf_do_9_1_abort()
2471 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_cookie_wait_abort()
2919 if (chunk->chunk_hdr->flags & SCTP_DATA_SACK_IMM) in sctp_sf_eat_data_6_2()
3228 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_sf_operr_notify()
3347 ch = (sctp_chunkhdr_t *) chunk->chunk_hdr; in sctp_sf_ootb()
3793 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_eat_fwd_tsn()
3860 len = ntohs(chunk->chunk_hdr->length); in sctp_sf_eat_fwd_tsn_fast()
3956 sig_len = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_auth_chunk_t); in sctp_sf_authenticate()
3978 (struct sctp_auth_chunk *)chunk->chunk_hdr, in sctp_sf_authenticate()
4121 hdr = unk_chunk->chunk_hdr; in sctp_sf_unk_chunk()
4141 hdr = unk_chunk->chunk_hdr; in sctp_sf_unk_chunk()
4291 if (chunk->chunk_hdr->type == SCTP_CID_INIT_ACK && in sctp_sf_abort_violation()
4295 initack = (sctp_initack_chunk_t *)chunk->chunk_hdr; in sctp_sf_abort_violation()
4298 abort->chunk_hdr->flags |= SCTP_CHUNK_FLAG_T; in sctp_sf_abort_violation()
5885 switch(chunk->chunk_hdr->type) { in sctp_ootb_pkt_new()
5890 initack = (sctp_initack_chunk_t *)chunk->chunk_hdr; in sctp_ootb_pkt_new()
5902 switch(chunk->chunk_hdr->type) { in sctp_ootb_pkt_new()
5907 init = (sctp_init_chunk_t *)chunk->chunk_hdr; in sctp_ootb_pkt_new()
6039 datalen = ntohs(chunk->chunk_hdr->length); in sctp_eat_data()
6126 if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) in sctp_eat_data()