mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Allow libpcap buffer size to be set manually.
This commit is contained in:
parent
4c2aa804e1
commit
f5429ee794
6 changed files with 62 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue