Lines Matching defs: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)) {
1291 uint32_t tsn, gap;
1331 SCTP_CALC_TSN_TO_GAP(gap, tsn, asoc->mapping_array_base_tsn);
1332 if (gap >= (SCTP_MAPPING_ARRAY << 3)) {
1336 if (gap >= (uint32_t) (asoc->mapping_array_size << 3)) {
1338 if (sctp_expand_mapping_array(asoc, gap)) {
1347 if (SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap) ||
1348 SCTP_IS_TSN_PRESENT(asoc->nr_mapping_array, gap)) {
1451 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1572 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1621 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1654 SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
1659 SCTP_SET_TSN_PRESENT(asoc->mapping_array, gap);
2190 /* is there a gap now ? */
2201 ((was_a_gap) && (is_a_gap == 0)) || /* was a gap, but no
2204 (is_a_gap) || /* is still a gap */
2223 * that would have been sent due to gap
2839 /* This gap report is malformed, skip it. */
2843 /* This gap report is not in order, so restart. */
4424 * validate the biggest_tsn_acked in the gap acks if
5112 uint32_t new_cum_tsn, gap;
5137 * gap
5139 SCTP_CALC_TSN_TO_GAP(gap, new_cum_tsn, asoc->mapping_array_base_tsn);
5141 if (gap >= m_size) {
5142 if ((long)gap > sctp_sbspace(&stcb->asoc, &stcb->sctp_socket->so_rcv)) {
5173 for (i = 0; i <= gap; i++) {