mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/pcap-reading-configurable-buffer'
* origin/topic/awelzel/pcap-reading-configurable-buffer: iosource/pcap: Support configurable buffer size util/setvbuf: Respect buf argument
This commit is contained in:
commit
94a8cf2a09
10 changed files with 64 additions and 3 deletions
|
@ -5286,6 +5286,11 @@ export {
|
|||
## interfaces.
|
||||
const bufsize = 128 &redef;
|
||||
|
||||
## Number of bytes to use for buffering file read operations when reading
|
||||
## from a PCAP file. Setting this to 0 uses operating system defaults
|
||||
## as chosen by fopen().
|
||||
const bufsize_offline_bytes = 128 * 1024 &redef;
|
||||
|
||||
## Default timeout for packet sources without file descriptors.
|
||||
##
|
||||
## For libpcap based packet sources that do not provide a usable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue