mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Merge branch 'master' of https://github.com/knielander/bro
I reworked this a bit: - Moved the globals into a new Pcap::* namespace, and renamed them slightly. - Moved the definitions of the globals into pcap/const.bif. - Also moved the existing 'snaplen' into Pcap::* and removed SnapLen() from the PktSrc API (it's really a pcap thing). - Likewise moved the existing functions precompile_pcap_filter, install_pcap_filter, and pcap_error, into Pcap::*. - Did some more refactoring for the pcap code. * 'master' of https://github.com/knielander/bro: Refactored patch (removed options, less ambiguous name) Allow Bro to run in fanout mode. Allow libpcap buffer size to be set manually. Allow Bro to run in fanout mode. Allowed libpcap buffer size to be set via configuration.
This commit is contained in:
commit
36b5a4db08
24 changed files with 208 additions and 76 deletions
|
@ -70,9 +70,6 @@ extern bool terminating;
|
|||
// True if the remote serializer is to be activated.
|
||||
extern bool using_communication;
|
||||
|
||||
// Snaplen passed to libpcap.
|
||||
extern int snaplen;
|
||||
|
||||
extern const Packet* current_pkt;
|
||||
extern int current_dispatched;
|
||||
extern double current_timestamp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue