Deprecate names in BifConst, replace with zeek::BifConst

Some Val* types are also replaced with IntrusivePtr at the new location
This commit is contained in:
Jon Siwek 2020-05-13 23:41:01 -07:00
parent eedeb07550
commit 0db5c920f2
39 changed files with 120 additions and 106 deletions

View file

@ -111,7 +111,7 @@ void PcapSource::OpenLive()
return;
}
if ( pcap_set_snaplen(pd, BifConst::Pcap::snaplen) )
if ( pcap_set_snaplen(pd, zeek::BifConst::Pcap::snaplen) )
{
PcapError("pcap_set_snaplen");
return;
@ -137,7 +137,7 @@ void PcapSource::OpenLive()
return;
}
if ( pcap_set_buffer_size(pd, BifConst::Pcap::bufsize * 1024 * 1024) )
if ( pcap_set_buffer_size(pd, zeek::BifConst::Pcap::bufsize * 1024 * 1024) )
{
PcapError("pcap_set_buffer_size");
return;