Home
last modified time | relevance | path

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

/net/sctp/
Dulpqueue.c287 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local
300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
301 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm()
309 ctsn = cevent->tsn; in sctp_ulpq_store_reasm()
311 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm()
412 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local
441 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled()
460 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled()
464 if ((first_frag) && (ctsn == next_tsn)) { in sctp_ulpq_retrieve_reassembled()
475 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled()
[all …]
Doutqueue.c1132 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local
1236 ctsn = asoc->ctsn_ack_point; in sctp_outq_sack()
1243 if (TSN_lte(tsn, ctsn)) { in sctp_outq_sack()
1269 "advertised peer ack point:0x%x\n", __func__, asoc, ctsn, in sctp_outq_sack()
1643 __u32 ctsn = ntohl(sack->cum_tsn_ack); in sctp_acked() local
1645 if (TSN_lte(tsn, ctsn)) in sctp_acked()
1661 gap = tsn - ctsn; in sctp_acked()
1686 static void sctp_generate_fwdtsn(struct sctp_outq *q, __u32 ctsn) in sctp_generate_fwdtsn() argument
1706 if (TSN_lt(asoc->adv_peer_ack_point, ctsn)) in sctp_generate_fwdtsn()
1707 asoc->adv_peer_ack_point = ctsn; in sctp_generate_fwdtsn()
[all …]
Dsm_statefuns.c2661 __u32 ctsn; in sctp_sf_do_9_2_shutdown() local
2676 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shutdown()
2678 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shutdown()
2679 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shutdown()
2689 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shutdown()
2749 __u32 ctsn; in sctp_sf_do_9_2_shut_ctsn() local
2761 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shut_ctsn()
2763 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shut_ctsn()
2764 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shut_ctsn()
2774 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shut_ctsn()
[all …]
Dsm_make_chunk.c757 __u32 ctsn; in sctp_make_sack() local
765 ctsn = sctp_tsnmap_get_ctsn(map); in sctp_make_sack()
767 pr_debug("%s: sackCTSNAck sent:0x%x\n", __func__, ctsn); in sctp_make_sack()
774 sack.cum_tsn_ack = htonl(ctsn); in sctp_make_sack()
858 __u32 ctsn; in sctp_make_shutdown() local
861 ctsn = sctp_tsnmap_get_ctsn(&chunk->asoc->peer.tsn_map); in sctp_make_shutdown()
863 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_make_shutdown()
865 shut.cum_tsn_ack = htonl(ctsn); in sctp_make_shutdown()
Dsm_sideeffect.c156 __u32 ctsn, max_tsn_seen; in sctp_gen_sack() local
166 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_gen_sack()
179 if (max_tsn_seen != ctsn) in sctp_gen_sack()