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

@ -71,6 +71,11 @@ int PktSrc::SnapLen() const
return snaplen; // That's a global. Change?
}
int PktSrc::BufSize() const
{
return bufsize; // That's a global too. Change?
}
bool PktSrc::IsLive() const
{
return props.is_live;