Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c packet-chdlc.c packet-chdlc.h pack
guy 2001/11/20 15:59:18 CST
Modified files:
. capture.c packet-chdlc.c packet-chdlc.h
packet-clip.c packet-clip.h packet-eth.c
packet-eth.h packet-ethertype.c
packet-fddi.c packet-fddi.h
packet-ieee80211.c packet-ieee80211.h
packet-ip.c packet-ip.h packet-ipx.c
packet-ipx.h packet-isl.c packet-isl.h
packet-llc.c packet-llc.h
packet-netbios.c packet-netbios.h
packet-null.c packet-null.h packet-ppp.c
packet-ppp.h packet-raw.c packet-raw.h
packet-sll.c packet-sll.h packet-tr.c
packet-tr.h packet-vines.c packet-vines.h
packet-vlan.c packet-vlan.h
Log:
Make the capture routines take an additional argument giving the amount
of packet data captured.
Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the
packet" argument.
Add some length checks to capture routines.
Revision Changes Path
1.158 +18 -18 ethereal/capture.c
1.5 +9 -4 ethereal/packet-chdlc.c
1.3 +3 -4 ethereal/packet-chdlc.h
1.16 +3 -3 ethereal/packet-clip.c
1.5 +3 -4 ethereal/packet-clip.h
1.67 +7 -7 ethereal/packet-eth.c
1.6 +2 -2 ethereal/packet-eth.h
1.21 +8 -9 ethereal/packet-ethertype.c
1.52 +4 -4 ethereal/packet-fddi.c
1.5 +3 -4 ethereal/packet-fddi.h
1.41 +13 -4 ethereal/packet-ieee80211.c
1.4 +2 -2 ethereal/packet-ieee80211.h
1.145 +3 -3 ethereal/packet-ip.c
1.20 +2 -3 ethereal/packet-ip.h
1.92 +2 -2 ethereal/packet-ipx.c
1.15 +3 -4 ethereal/packet-ipx.h
1.26 +6 -7 ethereal/packet-isl.c
1.4 +3 -4 ethereal/packet-isl.h
1.89 +10 -11 ethereal/packet-llc.c
1.6 +3 -4 ethereal/packet-llc.h
1.40 +2 -2 ethereal/packet-netbios.c
1.12 +2 -2 ethereal/packet-netbios.h
1.47 +13 -5 ethereal/packet-null.c
1.5 +3 -4 ethereal/packet-null.h
1.75 +14 -6 ethereal/packet-ppp.c
1.8 +3 -4 ethereal/packet-ppp.h
1.27 +12 -12 ethereal/packet-raw.c
1.5 +3 -4 ethereal/packet-raw.h
1.12 +8 -8 ethereal/packet-sll.c
1.2 +3 -4 ethereal/packet-sll.h
1.65 +4 -4 ethereal/packet-tr.c
1.5 +3 -4 ethereal/packet-tr.h
1.34 +2 -3 ethereal/packet-vines.c
1.10 +3 -4 ethereal/packet-vines.h
1.35 +8 -8 ethereal/packet-vlan.c
1.4 +3 -4 ethereal/packet-vlan.h