guy 2001/03/15 03:11:03 CST
Modified files:
. Makefile.am Makefile.nmake capture.c
packet-aarp.c packet-atalk.c packet-cdp.c
packet-dec-bpdu.c packet-fr.c packet-ip.c
packet-ipx.c packet-ppp.c ppptypes.h
Added files:
. packet-chdlc.c packet-chdlc.h
Log:
Add a new Wiretap encapsulation type for Cisco HDLC. Map the NetBSD
DLT_HDLC to it.
Make a separate dissector for Cisco HDLC, and add a dissector for Cisco
SLARP. Have the PPP dissector call the Cisco HDLC dissector if the
address field is the Cisco HDLC unicast or multicast address. Use the
Cisco HDLC dissector for the Cisco HDLC Wiretap encapsulation type.
Add a new dissector table "chdlctype", for Cisco HDLC packet types
(they're *almost* the same as Ethernet types, but 0x8035 is SLARP, not
Reverse ARP, and 0x2000 is the Cisco Discovery protocol, for example),
replacing "fr.chdlc".
Have a "chdlctype()" routine, similar to "ethertype()", used both by the
Cisco HDLC and Frame Relay dissectors. Have a "chdlc_vals[]"
"value_string" table for Cisco HDLC types and protocol names. Split the
packet type field in the Frame Relay dissector into separate SNAP and
Cisco HDLC fields, and give them the Ethernet type and Cisco HDLC type
"value_string" tables, respectively.
Revision Changes Path
1.289 +3 -1 ethereal/Makefile.am
1.85 +2 -1 ethereal/Makefile.nmake
1.144 +6 -2 ethereal/capture.c
1.30 +2 -1 ethereal/packet-aarp.c
1.51 +2 -1 ethereal/packet-atalk.c
1.36 +2 -2 ethereal/packet-cdp.c
1.7 +3 -1 ethereal/packet-dec-bpdu.c
1.9 +15 -14 ethereal/packet-fr.c
1.127 +2 -2 ethereal/packet-ip.c
1.80 +2 -2 ethereal/packet-ipx.c
1.56 +22 -15 ethereal/packet-ppp.c
1.6 +1 -40 ethereal/ppptypes.h