Lines Matching refs:base_tsn
49 map->base_tsn = initial_tsn; in sctp_tsnmap_init()
80 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check()
84 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
100 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark()
103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
118 map->base_tsn++; in sctp_tsnmap_mark()
163 offset = iter->start - map->base_tsn; in sctp_tsnmap_next_gap_ack()
194 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_skip()
196 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_skip()
203 gap = tsn - map->base_tsn + 1; in sctp_tsnmap_skip()
205 map->base_tsn += gap; in sctp_tsnmap_skip()
239 map->base_tsn += zero_bit; in sctp_tsnmap_update()
251 __u32 base_tsn = map->base_tsn; in sctp_tsnmap_pending() local
256 gap = max_tsn - base_tsn; in sctp_tsnmap_pending()
304 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_renege()
307 if (!TSN_lt(tsn, map->base_tsn + map->len)) in sctp_tsnmap_renege()
310 gap = tsn - map->base_tsn; in sctp_tsnmap_renege()