Back to index

natlog  0.91.0
pcapfilter1.cc
Go to the documentation of this file.
00001 #include "pcapfilter.ih"
00002 
00003 PcapFilter::PcapFilter(char const *device, PcapRecord &record, Type type)
00004 :
00005     d_device(device),
00006     d_record(record),
00007     d_type(type),
00008     d_pcap(device, false, PcapPacket::SIZEOF_TCP_HEADER)
00009 {
00010     d_pcap.filter(s_filterExpr);
00011 }