Home
last modified time | relevance | path

Searched refs:ctsn (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/net/sctp/
Dulpqueue.c233 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
246 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
247 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
255 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
257 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
355 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local
375 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
380 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled()
384 if ((first_frag) && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
391 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
[all …]
Dtsnmap.c271 __u32 ctsn; in sctp_tsnmap_update() local
273 ctsn = map->cumulative_tsn_ack_point; in sctp_tsnmap_update()
275 ctsn++; in sctp_tsnmap_update()
276 if (ctsn == map->overflow_tsn) { in sctp_tsnmap_update()
289 } while (map->tsn_map[ctsn - map->base_tsn]); in sctp_tsnmap_update()
291 map->cumulative_tsn_ack_point = ctsn - 1; /* Back up one. */ in sctp_tsnmap_update()
Doutqueue.c1024 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local
1124 ctsn = asoc->ctsn_ack_point; in sctp_outq_sack()
1131 if (TSN_lte(tsn, ctsn)) in sctp_outq_sack()
1156 __FUNCTION__, asoc, ctsn, asoc->adv_peer_ack_point); in sctp_outq_sack()
1596 __u32 ctsn = ntohl(sack->cum_tsn_ack); in sctp_acked() local
1598 if (TSN_lte(tsn, ctsn)) in sctp_acked()
1614 gap = tsn - ctsn; in sctp_acked()
1639 static void sctp_generate_fwdtsn(struct sctp_outq *q, __u32 ctsn) in sctp_generate_fwdtsn() argument
1656 if (TSN_lt(asoc->adv_peer_ack_point, ctsn)) in sctp_generate_fwdtsn()
1657 asoc->adv_peer_ack_point = ctsn; in sctp_generate_fwdtsn()
[all …]
Dsm_make_chunk.c584 __u32 ctsn; in sctp_make_sack() local
588 ctsn = sctp_tsnmap_get_ctsn(map); in sctp_make_sack()
589 SCTP_DEBUG_PRINTK("sackCTSNAck sent: 0x%x.\n", ctsn); in sctp_make_sack()
596 sack.cum_tsn_ack = htonl(ctsn); in sctp_make_sack()
665 __u32 ctsn; in sctp_make_shutdown() local
667 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_make_shutdown()
668 shut.cum_tsn_ack = htonl(ctsn); in sctp_make_shutdown()
Dsm_sideeffect.c158 __u32 ctsn, max_tsn_seen; in sctp_gen_sack() local
165 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_gen_sack()
178 if (max_tsn_seen != ctsn) in sctp_gen_sack()
Dsm_statefuns.c2830 __u32 ctsn; in sctp_sf_eat_sack_6_2() local
2846 ctsn = ntohl(sackh->cum_tsn_ack); in sctp_sf_eat_sack_6_2()
2854 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_eat_sack_6_2()
2855 SCTP_DEBUG_PRINTK("ctsn %x\n", ctsn); in sctp_sf_eat_sack_6_2()