tcpdump mailing list archives

Re: working offline


From: Guy Harris <guy () alum mit edu>
Date: Wed, 24 Mar 2004 12:42:29 -0800


On Mar 24, 2004, at 5:27 AM, Cecilia Cabrera wrote:

hi, does anyone have an example on how to use pcap_compile_nopcap and/or pcap_open_dead ?
 
I´d like to use pcap to apply filters offline but i'm not sure how to do this.

What do you mean by "apply filters offline"?

If you're reading a capture file, you'd open it with "pcap_open_offline()", in which case you already have a "pcap_t" you can use to compile the filter.

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: