Home
last modified time | relevance | path

Searched refs:SCTP_SIZE32 (Results 1 – 11 of 11) sorted by relevance

/f-stack/freebsd/netinet/libalias/
H A Dalias_sctp.c1084 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 …]
/f-stack/freebsd/netinet/
H A Dsctp_asconf.c789 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 …]
H A Dsctp_output.c4949 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 …]
H A Dsctp_input.c1249 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 …]
H A Dsctp_auth.c819 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()
H A Dsctp_bsd_addr.c404 total_len = SCTP_SIZE32((length + (4 * sizeof(int)))); in sctp_packet_log()
H A Dsctp_constants.h382 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
H A Dsctp_indata.c2781 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()
2894 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
H A Dsctp_pcb.c2109 offset += SCTP_SIZE32(plen); in sctp_findassociation_special_addr()
6550 offset += SCTP_SIZE32(plen); in sctp_load_addresses_from_init()
H A Dsctputil.c4536 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb()
4584 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()
/f-stack/tools/compat/include/netinet/
H A Dsctp_constants.h382 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro