Lines Matching defs:gap
1672 u_int32_t tsn, gap;
1696 gap
1698 gap = (MAX_TSN - asoc->mapping_array_base_tsn) + tsn + 1;
1700 if (gap >= (SCTP_MAPPING_ARRAY << 3)) {
1704 if (gap >= (uint32_t)(asoc->mapping_array_size << 3)) {
1714 if (SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap)) {
2200 SCTP_SET_TSN_PRESENT(asoc->mapping_array, gap);
2397 /* is there a gap now ? */
2401 ((was_a_gap) && (is_a_gap == 0)) || /* was a gap, but no longer is one */
2403 (is_a_gap) || /* is still a gap */
2517 /* there was a gap before this data was processed */
2788 * previous Gap Ack
3755 /* validate the biggest_tsn_acked in the gap acks
4238 * the total's for all the segments gap-acked
4418 u_int32_t new_cum_tsn, gap, back_out_htsn;
4456 * actual gap
4461 gap = new_cum_tsn - asoc->mapping_array_base_tsn;
4464 gap = new_cum_tsn + (MAX_TSN - asoc->mapping_array_base_tsn) + 1;
4467 if (gap >= m_size) {
4469 if ((long)gap > sctp_sbspace(&stcb->sctp_socket->so_rcv)) {
4479 gap = asoc->highest_tsn_inside_map -
4482 gap = asoc->highest_tsn_inside_map +
4487 for (i = 0; i <= gap; i++) {
4500 * fwd-tsn went outside my gap array - not a