Searched refs:ctsn (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.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 | 1233 __u32 sack_ctsn, ctsn, tsn; in sctp_outq_sack() local 1343 ctsn = asoc->ctsn_ack_point; in sctp_outq_sack() 1350 if (TSN_lte(tsn, ctsn)) { in sctp_outq_sack() 1379 "advertised peer ack point:0x%x\n", __func__, asoc, ctsn, in sctp_outq_sack() 1749 __u32 ctsn = ntohl(sack->cum_tsn_ack); in sctp_acked() local 1754 if (TSN_lte(tsn, ctsn)) in sctp_acked() 1771 tsn_offset = tsn - ctsn; in sctp_acked() 1796 void sctp_generate_fwdtsn(struct sctp_outq *q, __u32 ctsn) in sctp_generate_fwdtsn() argument 1816 if (TSN_lt(asoc->adv_peer_ack_point, ctsn)) in sctp_generate_fwdtsn() 1817 asoc->adv_peer_ack_point = ctsn; in sctp_generate_fwdtsn() [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_statefuns.c | 2789 __u32 ctsn; in sctp_sf_do_9_2_shutdown() local 2803 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shutdown() 2805 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shutdown() 2806 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shutdown() 2816 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shutdown() 2877 __u32 ctsn; in sctp_sf_do_9_2_shut_ctsn() local 2888 ctsn = ntohl(sdh->cum_tsn_ack); in sctp_sf_do_9_2_shut_ctsn() 2890 if (TSN_lt(ctsn, asoc->ctsn_ack_point)) { in sctp_sf_do_9_2_shut_ctsn() 2891 pr_debug("%s: ctsn:%x, ctsn_ack_point:%x\n", __func__, ctsn, in sctp_sf_do_9_2_shut_ctsn() 2901 if (!TSN_lt(ctsn, asoc->next_tsn)) in sctp_sf_do_9_2_shut_ctsn() [all …]
|
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()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
D | stream_interleave.h | 37 void (*generate_ftsn)(struct sctp_outq *q, __u32 ctsn);
|