Lines Matching refs:gap

318 	uint32_t gap, i, cumackp1;
332 SCTP_CALC_TSN_TO_GAP(gap, tsn, asoc->mapping_array_base_tsn);
333 if (!SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap)) {
334 SCTP_PRINTF("gap:%x tsn:%x\n", gap, tsn);
340 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
341 SCTP_UNSET_TSN_PRESENT(asoc->mapping_array, gap);
348 SCTP_CALC_TSN_TO_GAP(gap, i, asoc->mapping_array_base_tsn);
349 if (SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap)) {
1433 uint32_t tsn, gap;
1472 SCTP_CALC_TSN_TO_GAP(gap, tsn, asoc->mapping_array_base_tsn);
1473 if (gap >= (SCTP_MAPPING_ARRAY << 3)) {
1477 if (gap >= (uint32_t) (asoc->mapping_array_size << 3)) {
1479 if (sctp_expand_mapping_array(asoc, gap)) {
1488 if (SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap) ||
1489 SCTP_IS_TSN_PRESENT(asoc->nr_mapping_array, gap)) {
1600 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1741 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1790 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1823 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1828 SCTP_SET_TSN_PRESENT(asoc->mapping_array, gap);
2399 /* is there a gap now ? */
2410 ((was_a_gap) && (is_a_gap == 0)) || /* was a gap, but no
2413 (is_a_gap) || /* is still a gap */
2432 * that would have been sent due to gap
3065 /* This gap report is malformed, skip it. */
3069 /* This gap report is not in order, so restart. */
4672 * validate the biggest_tsn_acked in the gap acks if
5361 uint32_t new_cum_tsn, gap;
5386 * gap
5388 SCTP_CALC_TSN_TO_GAP(gap, new_cum_tsn, asoc->mapping_array_base_tsn);
5390 if (gap >= m_size) {
5391 if ((long)gap > sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv)) {
5435 for (i = 0; i <= gap; i++) {