Allow libpcap buffer size to be set manually.

This commit is contained in:
Kris Nielander 2015-08-09 22:08:46 +02:00
parent 4c2aa804e1
commit f5429ee794
6 changed files with 62 additions and 2 deletions

View file

@ -100,6 +100,11 @@ public:
*/
int SnapLen() const;
/**
* Returns the buffer size for this source.
*/
int BufSize() const;
/**
* In pseudo-realtime mode, returns the logical timestamp of the
* current packet. Undefined if not running pseudo-realtime mode.