tcpdump mailing list archives

libpcap callback error.


From: Matt Comb <mattyc () orcon net nz>
Date: 15 May 2003 15:03:35 +0000

Hi, Im using a callback with libpcap.., unfortunately when the callback
is called, the data pointer is empty, or rather assigned but full of
zeros. 

My structure seems to be all ok, and the getnext call works fine.

I am interfacing to library v 0.7.2 but when I do a tcpdump --help, I'm using v3.6 of tcpdump and v 0.6 of libpcap.

I am not calling the setfilter , is this necessary?

I'm using Suse.

Any help would be much appreciated.

Matt.

-- 
Matt Comb <mattyc () orcon net nz>

Current thread: