Searched refs:chunk_length (Results 1 – 14 of 14) sorted by relevance
211 …nkhead) (struct sctp_chunkhdr *)(((char *)chunkhead) + SCTP_SIZE32(ntohs(chunkhead->chunk_length)))970 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr) + sizeof(struct sctp_error_cause)); in TxAbortErrorM()972 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr)); in TxAbortErrorM()1058 int chunk_length; in sctp_PktParser() local1073 sm->chunk_length = 0; /* only care about length for key chunks */ in sctp_PktParser()1099 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()1100 …if ((chunk_length < SN_MIN_CHUNK_SIZE) || (chunk_length > bytes_left)) /* malformed chunk - could … in sctp_PktParser()1124 if (chunk_length < sizeof(struct sctp_init_chunk)) /* malformed chunk*/ in sctp_PktParser()1128 sm->chunk_length = chunk_length; in sctp_PktParser()1146 if (chunk_length < sizeof(struct sctp_init_ack_chunk)) /* malformed chunk*/ in sctp_PktParser()[all …]
174 int chunk_length; /**< length of chunk of interest */ member
622 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_chunk)) { in sctp_handle_asconf()625 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf()646 asconf_limit = offset + ntohs(cp->ch.chunk_length); in sctp_handle_asconf()684 ack_cp->ch.chunk_length = sizeof(struct sctp_asconf_ack_chunk); in sctp_handle_asconf()782 ack_cp->ch.chunk_length += SCTP_BUF_LEN(m_result); in sctp_handle_asconf()804 ack_cp->ch.chunk_length = htons(ack_cp->ch.chunk_length); in sctp_handle_asconf()1676 if (ntohs(cp->ch.chunk_length) < sizeof(struct sctp_asconf_ack_chunk)) { in sctp_handle_asconf_ack()1679 ntohs(cp->ch.chunk_length)); in sctp_handle_asconf_ack()1722 ack_length = ntohs(cp->ch.chunk_length) - in sctp_handle_asconf_ack()2346 asconf_limit = ntohs(acp->ch.chunk_length); in sctp_is_addr_pending()[all …]
114 offset + ntohs(cp->ch.chunk_length))) { in sctp_handle_init()463 initack_limit = offset + ntohs(cp->ch.chunk_length); in sctp_process_init_ack()539 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_heartbeat_chunk)) { in sctp_handle_heartbeat_ack()758 len = ntohs(abort->ch.chunk_length); in sctp_handle_abort()878 if (ntohs(cp->ch.chunk_length) != sizeof(struct sctp_shutdown_chunk)) { in sctp_handle_shutdown()1072 remaining_length = ntohs(ch->chunk_length); in sctp_handle_error()1419 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_existing()1992 initack_offset = init_offset + SCTP_SIZE32(ntohs(init_cp->ch.chunk_length)); in sctp_process_cookie_new()2276 cookie_len = ntohs(cp->ch.chunk_length); in sctp_handle_cookie_echo()2863 len = ntohs(cp->ch.chunk_length); in sctp_handle_ecn_echo()[all …]
4680 init->ch.chunk_length = 0; in sctp_send_initiate()4887 init->ch.chunk_length = htons(chunk_len); in sctp_send_initiate()4950 limit = ntohs(cp->chunk_length) - sizeof(struct sctp_init_chunk); in sctp_arethere_unrecognized_parameters()5545 …if (sctp_are_there_new_addresses(asoc, init_pkt, offset, offset + ntohs(init_chk->ch.chunk_length)… in sctp_send_initiate_ack()5849 initack->ch.chunk_length = 0; in sctp_send_initiate_ack()6152 initack->ch.chunk_length = htons(chunk_len); in sctp_send_initiate_ack()7628 dchkh->ch.chunk_length = htons(chk->send_size); in sctp_move_to_outqueue()7641 ndchkh->ch.chunk_length = htons(chk->send_size); in sctp_move_to_outqueue()8961 uint32_t chunk_length; in sctp_queue_op_err() local8970 chunk_length = 0; in sctp_queue_op_err()[all …]
59 uint16_t chunk_length; /* chunk length */ member
3160 abort_len = ntohs(abort->ch.chunk_length); in sctp_notify_assoc_change()3416 chk_len = ntohs(chkhdr->chunk_length); in sctp_notify_send_failed()4025 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error()4565 chk_length = ntohs(ch->chunk_length); in sctp_handle_ootb()4623 chk_length = ntohs(ch->chunk_length); in sctp_is_there_an_abort_here()
1599 chunklen = ntohs(auth->ch.chunk_length); in sctp_handle_auth()
2713 chk_length = ntohs(ch->chunk_length); in sctp_process_data()5504 if ((fwd_sz = ntohs(fwd->ch.chunk_length)) < sizeof(struct sctp_forward_tsn_chunk)) { in sctp_handle_forward_tsn()
1176 init->ch.chunk_length = htons((u_int16_t)(datalen - in send_probe()1204 chk->chunk_length = htons(4); in send_probe()1211 chk->chunk_length = htons((u_int16_t)(datalen - in send_probe()
1546 init->ch.chunk_length = htons((u_int16_t)(protlen - in sctp_prep()1575 chk->chunk_length = htons(4); in sctp_prep()1583 chk->chunk_length = htons(protlen - in sctp_prep()
2035 if (ntohs(ch.chunk_length) < 4) in pf_scan_sctp()2039 chunk_off += roundup(ntohs(ch.chunk_length), 4); in pf_scan_sctp()2079 ntohs(init.ch.chunk_length), pd); in pf_scan_sctp()2114 ntohs(ch.chunk_length), pd); in pf_scan_sctp()
4662 chunk->chunk_length = htons(sizeof(*chunk)); in pf_send_sctp_abort()
600 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr)); in ipfw_send_abort()928 ntohs(chunk->chunk_length) + 3) { in send_reject6()1046 ntohs(chunk->chunk_length) + 3) { in send_reject()