Searched refs:chunk_length (Results 1 – 14 of 14) sorted by relevance
1058 int chunk_length; in sctp_PktParser() local1099 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()1128 sm->chunk_length = chunk_length; in sctp_PktParser()1150 sm->chunk_length = chunk_length; in sctp_PktParser()1154 sm->chunk_length = chunk_length; in sctp_PktParser()1161 sm->chunk_length = chunk_length; in sctp_PktParser()1167 sm->chunk_length = chunk_length; in sctp_PktParser()1217 sm->chunk_length = chunk_length - sizeof(struct sctp_asconf_ack_chunk); in sctp_PktParser()1229 bytes_left-= chunk_length; in sctp_PktParser()1242 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); 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()758 len = ntohs(abort->ch.chunk_length); in sctp_handle_abort()1072 remaining_length = ntohs(ch->chunk_length); in sctp_handle_error()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()4002 ch->chunk_length = htons(chk->send_size); in sctp_handle_stream_reset()4143 pktdrp_len = ntohs(cp->ch.chunk_length); in sctp_handle_packet_dropped()4348 ntohs(ch->chunk_length)); in sctp_process_control()4359 ntohs(ch->chunk_length), vtag_in); in sctp_process_control()4380 auth_len = ntohs(ch->chunk_length); in sctp_process_control()[all …]
4682 init->ch.chunk_length = 0; in sctp_send_initiate()4889 init->ch.chunk_length = htons(chunk_len); in sctp_send_initiate()5851 initack->ch.chunk_length = 0; in sctp_send_initiate_ack()8963 uint32_t chunk_length; in sctp_queue_op_err() local8972 chunk_length = 0; in sctp_queue_op_err()8974 chunk_length += SCTP_BUF_LEN(mat); in sctp_queue_op_err()8983 padding_length = chunk_length % 4; in sctp_queue_op_err()9003 chk->send_size = (uint16_t)chunk_length; in sctp_queue_op_err()11586 chk_length = ntohs(ch->chunk_length); in sctp_send_packet_dropped()11818 ch->chunk_length = htons(len + old_len); in sctp_add_stream_reset_out()[all …]
60 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()
1180 init->ch.chunk_length = htons((u_int16_t)(datalen - in send_probe()1208 chk->chunk_length = htons(4); in send_probe()1215 chk->chunk_length = htons((u_int16_t)(datalen - in send_probe()
1623 init->ch.chunk_length = htons((u_int16_t)(protlen - in sctp_prep()1652 chk->chunk_length = htons(4); in sctp_prep()1660 chk->chunk_length = htons(protlen - in sctp_prep()
2068 if (ntohs(ch.chunk_length) < 4) in pf_scan_sctp()2072 chunk_off += roundup(ntohs(ch.chunk_length), 4); in pf_scan_sctp()2112 ntohs(init.ch.chunk_length), pd, kif); in pf_scan_sctp()2147 ntohs(ch.chunk_length), pd, kif); in pf_scan_sctp()
3350 chunk->chunk_length = htons(sizeof(*chunk)); in pf_send_sctp_abort()
610 chunk->chunk_length = htons(sizeof(struct sctp_chunkhdr)); in ipfw_send_abort()935 ntohs(chunk->chunk_length) + 3) { in send_reject6()1062 ntohs(chunk->chunk_length) + 3) { in send_reject()