Home
last modified time | relevance | path

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

/freebsd/sys/netinet/libalias/
H A Dalias_sctp.c211 #define SN_SCTP_NEXTCHUNK(chunkhead) (struct sctp_chunkhdr *)(((char *)chunkhead) + SCTP_SIZE32(nto…
214 #define SN_SCTP_NEXTPARAM(param) (struct sctp_paramhdr *)(((char *)param) + SCTP_SIZE32(ntohs(param…
1099 chunk_length = SCTP_SIZE32(ntohs(chunk_hdr->chunk_length)); in sctp_PktParser()
1242 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()
[all …]
/freebsd/sys/netinet/
H A Dsctp_asconf.c697 offset += SCTP_SIZE32(ntohs(p_addr->ph.param_length)); in sctp_handle_asconf()
786 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()
2662 lookup->ph.param_length = htons(SCTP_SIZE32(p_size)); in sctp_compose_asconf()
2664 SCTP_BUF_LEN(m_asconf_chk) += SCTP_SIZE32(p_size); in sctp_compose_asconf()
2679 SCTP_BUF_LEN(m_asconf) += SCTP_SIZE32(p_length); in sctp_compose_asconf()
[all …]
H A Dsctp_output.c4769 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate()
4787 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate()
4805 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate()
4823 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate()
4965 limit -= SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
4973 padded_size = SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
5227 at += SCTP_SIZE32(plen); in sctp_arethere_unrecognized_parameters()
5480 offset += SCTP_SIZE32(plen); in sctp_are_there_new_addresses()
6024 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate_ack()
6047 padding_len = SCTP_SIZE32(parameter_len) - parameter_len; in sctp_send_initiate_ack()
[all …]
H A Dsctp_input.c1231 adjust = SCTP_SIZE32(cause_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()
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()
[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()
6438 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()