make onCongestion cca interface
This commit is contained in:
@@ -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) {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user