Hi, I am trying to use libpcap to read packets from a trace file generated using tcpdump -w Just want to confirm if the following set of calls is sufficient: pcap_open_offline() pcap_compile() pcap_setfilter() pcap_dispatch() Since this is a trace file and not a live capture, what value should I use for the subnetmask argument required by pcap_compile. Please also let me know of any other gotchas. Thanks, Joe __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/ - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
