Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal Makefile.am packet-ascend.c packet-atm.c pac
gram 2000/11/28 23:16:18 CST
Modified files:
. Makefile.am packet-ascend.c packet-atm.c
packet-clip.c packet-clip.h packet-eth.c
packet-fddi.c packet-fddi.h
packet-frame.c packet-ieee80211.c
packet-ieee80211.h packet-lapb.c
packet-lapd.c packet-llc.c packet-null.c
packet-null.h packet-ppp.c packet-ppp.h
packet-raw.c packet-raw.h packet-tr.c
packet-v120.c
Removed files:
. packet-ascend.h packet-atm.h
packet-lapb.h packet-lapd.h packet-v120.h
Log:
Wrap the dissect_fddi() call (with a 4th argument) with
dissect_fddi_not_bitswapped() and dissect_fddi_bitswapped(), both of which
use the standard 3-argument tvbuffified-dissector argument list.
Add a dissector table called "wtap_encap" which is used to call dissectors
from dissect_frame(). The switch() statement from this top-level dissector
is removed.
The link-layer dissectors register themselves with the "wtap_encap"
dissector table. The dissectors are now static where possible.
Revision Changes Path
1.253 +1 -6 ethereal/Makefile.am
1.21 +3 -3 ethereal/packet-ascend.c
1.28 +8 -3 ethereal/packet-atm.c
1.13 +3 -2 ethereal/packet-clip.c
1.4 +1 -2 ethereal/packet-clip.h
1.50 +7 -1 ethereal/packet-eth.c
1.43 +23 -2 ethereal/packet-fddi.c
1.4 +1 -2 ethereal/packet-fddi.h
1.3 +13 -70 ethereal/packet-frame.c
1.4 +7 -1 ethereal/packet-ieee80211.c
1.2 +1 -2 ethereal/packet-ieee80211.h
1.24 +8 -3 ethereal/packet-lapb.c
1.17 +8 -3 ethereal/packet-lapd.c
1.72 +2 -1 ethereal/packet-llc.c
1.35 +3 -2 ethereal/packet-null.c
1.4 +1 -2 ethereal/packet-null.h
1.45 +8 -1 ethereal/packet-ppp.c
1.6 +1 -2 ethereal/packet-ppp.h
1.23 +3 -2 ethereal/packet-raw.c
1.4 +1 -2 ethereal/packet-raw.h
1.52 +6 -1 ethereal/packet-tr.c
1.15 +8 -3 ethereal/packet-v120.c