Searched refs:SCTP_SIZE32 (Results 1 – 11 of 11) sorted by relevance
1084 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()1278 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()1304 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()1361 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()1430 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()1508 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()1562 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()1604 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()1622 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()1657 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsADDorDEL()[all …]
789 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf()1794 if (ack_length > SCTP_SIZE32(param_length)) { in sctp_handle_asconf_ack()1795 ack_length -= SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()1799 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()2402 offset += SCTP_SIZE32(param_length); in sctp_is_addr_pending()2614 p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length); in sctp_compose_asconf()2666 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()2667 ptr += SCTP_SIZE32(p_length); in sctp_compose_asconf()2866 if (SCTP_SIZE32(plen) == 0) { in sctp_process_initack_addresses()2872 offset += SCTP_SIZE32(plen); in sctp_process_initack_addresses()[all …]
4949 limit -= SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()4957 padded_size = SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()5190 at += SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()5443 offset += SCTP_SIZE32(plen); in sctp_are_there_new_addresses()9002 at += SCTP_SIZE32(plen); in sctp_send_cookie_echo()9020 chk->send_size = SCTP_SIZE32(plen); in sctp_send_cookie_echo()11492 offset += SCTP_SIZE32(chk_length); in sctp_send_packet_dropped()11695 if (SCTP_SIZE32(len) > len) { in sctp_add_stream_reset_out()11707 chk->send_size = SCTP_SIZE32(chk->book_size); in sctp_add_stream_reset_out()11736 if (SCTP_SIZE32(len) > len) { in sctp_add_stream_reset_in()[all …]
1249 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()3438 len = SCTP_SIZE32(ntohs(r->ph.param_length)); in sctp_find_stream_reset()4053 SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size); in sctp_handle_stream_reset()4152 offset += SCTP_SIZE32(param_len); in sctp_handle_stream_reset()4153 if (remaining_length >= SCTP_SIZE32(param_len)) { in sctp_handle_stream_reset()4154 remaining_length -= SCTP_SIZE32(param_len); in sctp_handle_stream_reset()4293 offset += SCTP_SIZE32(chk_len); in sctp_handle_packet_dropped()4430 *offset += SCTP_SIZE32(auth_len); in sctp_process_control()4469 asconf_offset += SCTP_SIZE32(asconf_len); in sctp_process_control()4653 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control()[all …]
819 return (SCTP_SIZE32(size)); in sctp_get_auth_chunk_len()1447 offset += SCTP_SIZE32(plen); in sctp_auth_get_cookie_params()1514 memset(auth->hmac, 0, SCTP_SIZE32(digestlen)); in sctp_fill_hmac_digest_m()1692 sctp_zero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen)); in sctp_handle_auth()1885 offset += SCTP_SIZE32(plen); in sctp_validate_init_auth_params()
404 total_len = SCTP_SIZE32((length + (4 * sizeof(int)))); in sctp_packet_log()
382 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
2781 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()2894 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
2109 offset += SCTP_SIZE32(plen); in sctp_findassociation_special_addr()6550 offset += SCTP_SIZE32(plen); in sctp_load_addresses_from_init()
4536 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb()4584 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()