make onCongestion cca interface

This commit is contained in:
Green Sky
2025-12-12 14:55:58 +01:00
parent 151ddc38b2
commit 21d38a2a9d
2 changed files with 3 additions and 2 deletions

View File

@@ -70,5 +70,8 @@ struct CCAI {
// if discard, not resent, not inflight
virtual void onLoss(SeqIDType seq, bool discard) = 0;
// signal congestion externally (eg. send queue is full)
virtual void onCongestion(void) {};
};