Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap libpcap.c wtap.c wtap.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Jan 2003 22:04:02 -0600 (CST)
guy         2003/01/22 22:04:02 CST

  Modified files:
    wiretap              libpcap.c wtap.c wtap.h 
  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.91      +2 -1      ethereal/wiretap/libpcap.c
  1.79      +4 -1      ethereal/wiretap/wtap.c
  1.133     +29 -28    ethereal/wiretap/wtap.h