Lines Matching refs:chunk_length
104 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_chunk)) { in sctp_handle_init()
156 offset + ntohs(cp->ch.chunk_length))) { in sctp_handle_init()
500 initack_limit = offset + ntohs(cp->ch.chunk_length); in sctp_process_init_ack()
571 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_heartbeat_chunk)) { in sctp_handle_heartbeat_ack()
796 len = ntohs(abort->ch.chunk_length); in sctp_handle_abort()
902 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_shutdown_chunk)) { in sctp_handle_shutdown()
1182 remaining_length = ntohs(ch->chunk_length); in sctp_handle_error()
1365 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_init_ack_chunk)) { in sctp_handle_init_ack()
1570 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing()
2118 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_new()
2485 cookie_len = ntohs(cp->ch.chunk_length); in sctp_handle_cookie_echo()
3075 len = ntohs(cp->ch.chunk_length); in sctp_handle_ecn_echo()
3789 fwdtsn.ch.chunk_length = htons(sizeof(struct sctp_forward_tsn_chunk)); in sctp_handle_stream_reset_response()
3922 fwdtsn.ch.chunk_length = htons(sizeof(struct sctp_forward_tsn_chunk)); in sctp_handle_str_reset_request_tsn()
4212 remaining_length = ntohs(ch_req->chunk_length) - sizeof(struct sctp_chunkhdr); in sctp_handle_stream_reset()
4247 ch->chunk_length = htons(chk->send_size); in sctp_handle_stream_reset()
4383 chlen = ntohs(cp->ch.chunk_length); in sctp_handle_packet_dropped()
4405 at = ntohs(ch->chunk_length); in sctp_handle_packet_dropped()
4573 if (ntohs(ch->chunk_length) < sizeof(*ch)) { in sctp_process_control()
4575 ntohs(ch->chunk_length)); in sctp_process_control()
4586 ntohs(ch->chunk_length), vtag_in); in sctp_process_control()
4607 auth_len = ntohs(ch->chunk_length); in sctp_process_control()
4640 asconf_len = ntohs(asconf_ch->chunk_length); in sctp_process_control()
4764 chk_length = ntohs(ch->chunk_length); in sctp_process_control()