Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal arcnet_pids.h packet-arcnet.c packet-arp.c p
guy 2003/01/22 22:03:59 CST
Modified files:
. arcnet_pids.h packet-arcnet.c
packet-arp.c packet-ip.c
Log:
In the BSDs, ARCNET packets don't have an offset field between the
addresses and the protocol type, as supplied by BPF; on Linux, they *do*
have an offset field, as supplied by PF_PACKET sockets. Add a new
WTAP_ENCAP_ARCNET_LINUX, with packets that include the offset field, and
don't dissect an offset in WTAP_ENCAP_ARCNET packets.
Map a libpcap link-layer type of 129 to WTAP_ENCAP_ARCNET_LINUX; that
value was recently assigned to Linux-style ARCNET.
Add some more ARCNET protocol IDs.
For most protocol IDs, dissect an ATA 878.2 fragmentation header; don't
do it for RFC 1051 IP and ARP, and Diagnose packets. Set the length of
the ARCNET protocol tree item appropriately.
Dissect both the RFC 1051 and RFC 1201 styles of IP and ARP over ARCNET,
and dissect the RFC 1201 style of RARP as well.
Revision Changes Path
1.2 +31 -4 ethereal/arcnet_pids.h
1.4 +103 -29 ethereal/packet-arcnet.c
1.55 +4 -2 ethereal/packet-arp.c
1.182 +3 -2 ethereal/packet-ip.c