1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-26 20:01:35 +01:00

Allow asking whether segment was acked

This commit is contained in:
Matias Fontanini
2016-02-13 22:45:11 -08:00
parent 2498ebf7d6
commit abe94ece52
5 changed files with 72 additions and 1 deletions

View File

@@ -319,6 +319,17 @@ bool Flow::ack_tracking_enabled() const {
return flags_.ack_tracking;
}
#ifdef HAVE_ACK_TRACKER
const AckTracker& Flow::ack_tracker() const {
return ack_tracker_;
}
AckTracker& Flow::ack_tracker() {
return ack_tracker_;
}
#endif // HAVE_ACK_TRACKER
} // TCPIP
} // Tins