Home
last modified time | relevance | path

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

/freebsd-14.2/sys/netinet/libalias/
H A Dalias_sctp.c1099 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()
1291 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()
1318 param_size = SCTP_SIZE32(ntohs(param->param_length)); in GetAsconfVtags()
1375 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()
1444 param_size = SCTP_SIZE32(ntohs(param->param_length)); in AddGlobalIPAddresses()
1517 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()
1572 param_size = SCTP_SIZE32(ntohs(param->param_length)); in RmGlobalIPAddresses()
1614 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()
1632 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsASCONFack()
1668 param_size = SCTP_SIZE32(ntohs(param->param_length)); in IsADDorDEL()
[all …]
/freebsd-14.2/sys/netinet/
H A Dsctp_asconf.c786 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf()
1791 if (ack_length > SCTP_SIZE32(param_length)) { in sctp_handle_asconf_ack()
1792 ack_length -= SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()
1796 offset += SCTP_SIZE32(param_length); in sctp_handle_asconf_ack()
2398 offset += SCTP_SIZE32(param_length); in sctp_is_addr_pending()
2627 p_length = SCTP_SIZE32(aa->ap.aph.ph.param_length); in sctp_compose_asconf()
2679 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()
2680 ptr += SCTP_SIZE32(p_length); in sctp_compose_asconf()
2879 if (SCTP_SIZE32(plen) == 0) { in sctp_process_initack_addresses()
2885 offset += SCTP_SIZE32(plen); in sctp_process_initack_addresses()
[all …]
H A Dsctp_output.c4967 limit -= SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
4975 padded_size = SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
5229 at += SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
5482 offset += SCTP_SIZE32(plen); in sctp_are_there_new_addresses()
9075 at += SCTP_SIZE32(plen); in sctp_send_cookie_echo()
9093 chk->send_size = SCTP_SIZE32(plen); in sctp_send_cookie_echo()
11606 offset += SCTP_SIZE32(chk_length); in sctp_send_packet_dropped()
11809 if (SCTP_SIZE32(len) > len) { in sctp_add_stream_reset_out()
11821 chk->send_size = SCTP_SIZE32(chk->book_size); in sctp_add_stream_reset_out()
11850 if (SCTP_SIZE32(len) > len) { in sctp_add_stream_reset_in()
[all …]
H A Dsctp_input.c1231 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
3394 len = SCTP_SIZE32(ntohs(r->ph.param_length)); in sctp_find_stream_reset()
4003 SCTP_BUF_LEN(chk->data) = SCTP_SIZE32(chk->send_size); in sctp_handle_stream_reset()
4102 offset += SCTP_SIZE32(param_len); in sctp_handle_stream_reset()
4103 if (remaining_length >= SCTP_SIZE32(param_len)) { in sctp_handle_stream_reset()
4104 remaining_length -= SCTP_SIZE32(param_len); in sctp_handle_stream_reset()
4245 offset += SCTP_SIZE32(chk_len); in sctp_handle_packet_dropped()
4383 *offset += SCTP_SIZE32(auth_len); in sctp_process_control()
4422 asconf_offset += SCTP_SIZE32(asconf_len); in sctp_process_control()
4582 (length - *offset > (int)SCTP_SIZE32(chk_length))) { in sctp_process_control()
[all …]
H A Dsctp_auth.c816 return (SCTP_SIZE32(size)); in sctp_get_auth_chunk_len()
1444 offset += SCTP_SIZE32(plen); in sctp_auth_get_cookie_params()
1511 memset(auth->hmac, 0, SCTP_SIZE32(digestlen)); in sctp_fill_hmac_digest_m()
1684 sctp_zero_m(m, offset + sizeof(*auth), SCTP_SIZE32(digestlen)); in sctp_handle_auth()
1878 offset += SCTP_SIZE32(plen); in sctp_validate_init_auth_params()
H A Dsctp_bsd_addr.c401 total_len = SCTP_SIZE32((length + (4 * sizeof(int)))); in sctp_packet_log()
H A Dsctp_constants.h379 #define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2) macro
H A Dsctp_indata.c2769 if (SCTP_SIZE32(chk_length) == (length - *offset)) { in sctp_process_data()
2882 *offset += SCTP_SIZE32(chk_length); in sctp_process_data()
H A Dsctp_pcb.c1974 offset += SCTP_SIZE32(plen); in sctp_findassociation_special_addr()
6441 offset += SCTP_SIZE32(plen); in sctp_load_addresses_from_init()
H A Dsctputil.c4594 offset += SCTP_SIZE32(chk_length); in sctp_handle_ootb()
4643 offset += SCTP_SIZE32(chk_length); in sctp_is_there_an_abort_here()