>Several of your problems have been fixed in the current CVS
>version.  I put a snapshot at
>http://www.aciri.org/fenner/tmp/tcpslice-2001.10.11.tar.gz

Thank you!  I hate firewalls...

> >The next problem was a type mismatch in all the timeval structs.  This 
>one
> >required a more aggressive fix-- all references to timeval were changed 
>to
> >"bpf_timeval" to match what is stored in the tcpdump header.
>
>The CVS version handles this by using struct pcap_sf_pkthdr.
>Was there anything else that you needed to change?

I'm still getting a type mismatch in several places because of timeval 
structs.  The first is tcpdump.c, line 498 in the function "struct timeval 
first_packet_time".  Returning "hdr.ts" causes a problem since this hdr.ts 
is type bpf_timeval, not timeval.

There are other "incompatible types" errors, too.

I changed the timevals to bpf_timeval and got farther along.

Now the problem seems to be that libpcap 0.4 (from LBL, hacked up by RedHat) 
doesn't contain the pcap-int.h headers.  I'll work on getting tcpdump 3.6 / 
libpcap 0.6 built for my RedHat system.  Perhaps that will solve lots of 
these issues.

RedHat does not provide the above packages, perhaps because they do not come 
from the original LBL source.  I'm going to build source RPMs based off the 
3.4/0.4 versions and patched up to 3.6/0.6.

  -- Steve Bonds


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-
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

Reply via email to