Home
last modified time | relevance | path

Searched refs:mapping_array_size (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_indata.c1767 if (gap >= (uint32_t)(asoc->mapping_array_size << 3)) { in sctp_process_a_data_chunk()
2413 for (slide_from = 0; slide_from < stcb->asoc.mapping_array_size; slide_from++) { in sctp_slide_mapping_arrays()
2456 if (clr > asoc->mapping_array_size) { in sctp_slide_mapping_arrays()
2457 clr = asoc->mapping_array_size; in sctp_slide_mapping_arrays()
2462 for (i = 0; i < asoc->mapping_array_size; i++) { in sctp_slide_mapping_arrays()
2491 if (slide_end > asoc->mapping_array_size) { in sctp_slide_mapping_arrays()
2496 asoc->mapping_array_size, slide_end); in sctp_slide_mapping_arrays()
2497 slide_end = asoc->mapping_array_size; in sctp_slide_mapping_arrays()
2507 if (distance + slide_from > asoc->mapping_array_size || in sctp_slide_mapping_arrays()
2517 (uint32_t)asoc->mapping_array_size, in sctp_slide_mapping_arrays()
[all …]
H A Dsctputil.c1322 asoc->mapping_array_size = SCTP_INITIAL_MAPPING_ARRAY; in sctp_init_asoc()
1323 SCTP_MALLOC(asoc->mapping_array, uint8_t *, asoc->mapping_array_size, in sctp_init_asoc()
1330 memset(asoc->mapping_array, 0, asoc->mapping_array_size); in sctp_init_asoc()
1331 SCTP_MALLOC(asoc->nr_mapping_array, uint8_t *, asoc->mapping_array_size, in sctp_init_asoc()
1339 memset(asoc->nr_mapping_array, 0, asoc->mapping_array_size); in sctp_init_asoc()
1386 asoc->mapping_array_size, in sctp_print_mapping_array()
1391 for (limit = asoc->mapping_array_size; limit > 1; limit--) { in sctp_print_mapping_array()
1396 …SCTP_PRINTF("Renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size - li… in sctp_print_mapping_array()
1402 for (limit = asoc->mapping_array_size; limit > 1; limit--) { in sctp_print_mapping_array()
1407 …SCTP_PRINTF("Non renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size in sctp_print_mapping_array()
[all …]
H A Dsctp_structs.h1121 uint16_t mapping_array_size; member
H A Dsctp_input.c1793 asoc->mapping_array_size); in sctp_process_cookie_existing()
1797 asoc->mapping_array_size); in sctp_process_cookie_existing()
3561 memset(stcb->asoc.mapping_array, 0, stcb->asoc.mapping_array_size); in sctp_handle_stream_reset_response()
3564 memset(stcb->asoc.nr_mapping_array, 0, stcb->asoc.mapping_array_size); in sctp_handle_stream_reset_response()
3692 memset(asoc->mapping_array, 0, asoc->mapping_array_size); in sctp_handle_str_reset_request_tsn()
3694 memset(asoc->nr_mapping_array, 0, asoc->mapping_array_size); in sctp_handle_str_reset_request_tsn()