Searched refs:ctsn (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/net/sctp/ |
D | ulpqueue.c | 278 __u32 tsn, ctsn; in sctp_ulpq_store_reasm() local 291 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 292 if (TSN_lt(ctsn, tsn)) { in sctp_ulpq_store_reasm() 300 ctsn = cevent->tsn; in sctp_ulpq_store_reasm() 302 if (TSN_lt(tsn, ctsn)) in sctp_ulpq_store_reasm() 404 __u32 ctsn, next_tsn; in sctp_ulpq_retrieve_reassembled() local 433 ctsn = cevent->tsn; in sctp_ulpq_retrieve_reassembled() 452 next_tsn = ctsn + 1; in sctp_ulpq_retrieve_reassembled() 456 if ((first_frag) && (ctsn == next_tsn)) { in sctp_ulpq_retrieve_reassembled() 467 if (first_frag && (ctsn == next_tsn)) in sctp_ulpq_retrieve_reassembled() [all …]
|
D | outqueue.c | 1230 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local 1340 ctsn = asoc->ctsn_ack_point; in sctp_outq_sack() 1347 if (TSN_lte(tsn, ctsn)) { in sctp_outq_sack() 1376 "advertised peer ack point:0x%x\n", __func__, asoc, ctsn, in sctp_outq_sack() 1746 __u32 ctsn = ntohl(sack->cum_tsn_ack); in sctp_acked() local 1751 if (TSN_lte(tsn, ctsn)) in sctp_acked() 1768 tsn_offset = tsn - ctsn; in sctp_acked() 1793 void sctp_generate_fwdtsn(struct sctp_outq *q, __u32 ctsn) in sctp_generate_fwdtsn() argument 1813 if (TSN_lt(asoc->adv_peer_ack_point, ctsn)) in sctp_generate_fwdtsn() 1814 asoc->adv_peer_ack_point = ctsn; in sctp_generate_fwdtsn() [all …]
|
D | sm_statefuns.c | 2764 __u32 ctsn; in sctp_sf_do_9_2_shutdown() local 2778 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shutdown() 2780 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shutdown() 2781 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shutdown() 2791 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shutdown() 2852 __u32 ctsn; in sctp_sf_do_9_2_shut_ctsn() local 2863 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shut_ctsn() 2865 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shut_ctsn() 2866 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shut_ctsn() 2876 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shut_ctsn() [all …]
|
D | stream_interleave.c | 1106 static void sctp_generate_iftsn(struct sctp_outq *q, __u32 ctsn) in sctp_generate_iftsn() argument 1119 if (TSN_lt(asoc->adv_peer_ack_point, ctsn)) in sctp_generate_iftsn() 1120 asoc->adv_peer_ack_point = ctsn; in sctp_generate_iftsn() 1126 if (TSN_lte(tsn, ctsn)) { in sctp_generate_iftsn() 1153 if (asoc->adv_peer_ack_point > ctsn) in sctp_generate_iftsn()
|
D | sm_make_chunk.c | 762 __u32 ctsn; in sctp_make_sack() local 766 ctsn = sctp_tsnmap_get_ctsn(map); in sctp_make_sack() 768 pr_debug("%s: sackCTSNAck sent:0x%x\n", __func__, ctsn); in sctp_make_sack() 775 sack.cum_tsn_ack = htonl(ctsn); in sctp_make_sack() 859 __u32 ctsn; in sctp_make_shutdown() local 862 ctsn = sctp_tsnmap_get_ctsn(&chunk->asoc->peer.tsn_map); in sctp_make_shutdown() 864 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_make_shutdown() 866 shut.cum_tsn_ack = htonl(ctsn); in sctp_make_shutdown()
|
D | sm_sideeffect.c | 142 __u32 ctsn, max_tsn_seen; in sctp_gen_sack() local 151 ctsn = sctp_tsnmap_get_ctsn(&asoc->peer.tsn_map); in sctp_gen_sack() 164 if (max_tsn_seen != ctsn) in sctp_gen_sack()
|
/Linux-v5.10/include/net/sctp/ |
D | stream_interleave.h | 37 void (*generate_ftsn)(struct sctp_outq *q, __u32 ctsn);
|