guy 2000/05/18 04:10:50 CDT
Modified files:
wiretap ascend-grammar.y ascend-int.h
ascend-scanner.l ascend.c ascend.h file.c
i4btrace.c iptrace.c lanalyzer.c
libpcap.c netmon.c nettl.c netxray.c
ngsniffer.c radcom.c snoop.c toshiba.c
toshiba.h wtap.c wtap.h
Log:
Remove the "union pseudo_header" from the "frame_data" structure;
there's no need to keep it around in memory - when the frame data is
read in when handing a frame, read in the information, if any, necessary
to reconstruct the frame header, and reconstruct it. This saves some
memory.
This requires that the seek-and-read function be implemented inside
Wiretap, and that the Wiretap handle remain open even after we've
finished reading the file sequentially.
This also points out that we can't really do X.25-over-Ethernet
correctly, as we don't know where the direction (DTE->DCE or DCE->DTE)
flag is stored; it's not clear how the Ethernet type 0x0805 for X.25
Layer 3 is supposed to be handled in any case. We eliminate
X.25-over-Ethernet support (until we find out what we're supposed to
do).
Revision Changes Path
1.11 +2 -3 ethereal/wiretap/ascend-grammar.y
1.5 +3 -2 ethereal/wiretap/ascend-int.h
1.14 +2 -2 ethereal/wiretap/ascend-scanner.l
1.15 +9 -5 ethereal/wiretap/ascend.c
1.6 +1 -2 ethereal/wiretap/ascend.h
1.51 +28 -8 ethereal/wiretap/file.c
1.5 +114 -39 ethereal/wiretap/i4btrace.c
1.27 +130 -69 ethereal/wiretap/iptrace.c
1.22 +2 -1 ethereal/wiretap/lanalyzer.c
1.34 +4 -3 ethereal/wiretap/libpcap.c
1.30 +4 -3 ethereal/wiretap/netmon.c
1.11 +106 -65 ethereal/wiretap/nettl.c
1.27 +4 -3 ethereal/wiretap/netxray.c
1.40 +219 -102 ethereal/wiretap/ngsniffer.c
1.21 +82 -27 ethereal/wiretap/radcom.c
1.26 +100 -49 ethereal/wiretap/snoop.c
1.9 +31 -28 ethereal/wiretap/toshiba.c
1.2 +1 -2 ethereal/wiretap/toshiba.h
1.41 +27 -20 ethereal/wiretap/wtap.c
1.70 +17 -9 ethereal/wiretap/wtap.h