mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Allow enabling attachment to partial streams
This commit is contained in:
@@ -90,6 +90,9 @@ public:
|
||||
/**
|
||||
* The type used for packet-triggered callbacks
|
||||
*
|
||||
* The second and third arguments are the sequence number and payload of the packet that
|
||||
* arrived out of order.
|
||||
*
|
||||
* /sa Flow::buffering_callback
|
||||
*/
|
||||
typedef std::function<void(Stream&,
|
||||
|
||||
@@ -182,6 +182,13 @@ public:
|
||||
*/
|
||||
Stream& find_stream(const IPv6Address& client_addr, uint16_t client_port,
|
||||
const IPv6Address& server_addr, uint16_t server_port);
|
||||
|
||||
/**
|
||||
* \brief Indicates whether partial streams should be followed.
|
||||
*
|
||||
*
|
||||
*/
|
||||
void follow_partial_streams(bool value);
|
||||
private:
|
||||
typedef Stream::timestamp_type timestamp_type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user