Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap iptrace.c wtap.c wtap.h
gram 1999/11/26 11:57:18 CST
Modified files:
wiretap iptrace.c wtap.c wtap.h
Log:
Support for iptrace 1.0 traces (AIX 3). Thanks to Florian Lohoff
<flo@xxxxxxxxxx> for the sample traces.
It turns out that the iptrace 2.0 header is simply an extension to
the iptrace 1.0 header. It also appears that iptrace 1.0 has only tv_sec, but
not tv_usec, which explains why the fields are separated in the iptrace 2.0
header, but doesn't explain why the iptrace 2.0 header has tv_sec copied
in two places.
I changed iptrace.c to detect FDDI captures via if_type, even though I
don't have a trace to substantiate this. If *should* work, given that
loopback, ethernet, token-ring, and X.25 work. If it doesn't work, someone
will let me know.
Revision Changes Path
1.21 +149 -43 ethereal/wiretap/iptrace.c
1.31 +6 -3 ethereal/wiretap/wtap.c
1.50 +12 -11 ethereal/wiretap/wtap.h