mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08: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
|
@ -28,7 +28,7 @@ protected:
|
|||
private:
|
||||
void OpenLive();
|
||||
void OpenOffline();
|
||||
void PcapError();
|
||||
void PcapError(const char* where = 0);
|
||||
void SetHdrSize();
|
||||
|
||||
Properties props;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue