Lines Matching refs:base_tsn
64 map->base_tsn = initial_tsn; in sctp_tsnmap_init()
95 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_check()
99 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
115 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_mark()
118 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
133 map->base_tsn++; in sctp_tsnmap_mark()
178 offset = iter->start - map->base_tsn; in sctp_tsnmap_next_gap_ack()
209 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_skip()
211 if (!TSN_lt(tsn, map->base_tsn + SCTP_TSN_MAP_SIZE)) in sctp_tsnmap_skip()
218 gap = tsn - map->base_tsn + 1; in sctp_tsnmap_skip()
220 map->base_tsn += gap; in sctp_tsnmap_skip()
254 map->base_tsn += zero_bit; in sctp_tsnmap_update()
266 __u32 base_tsn = map->base_tsn; in sctp_tsnmap_pending() local
271 gap = max_tsn - base_tsn; in sctp_tsnmap_pending()
319 if (TSN_lt(tsn, map->base_tsn)) in sctp_tsnmap_renege()
322 if (!TSN_lt(tsn, map->base_tsn + map->len)) in sctp_tsnmap_renege()
325 gap = tsn - map->base_tsn; in sctp_tsnmap_renege()