Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-fc.c packet-fc.h packet-fcels.c packe

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: Mon, 9 Dec 2002 20:49:33 -0600 (CST)
guy         2002/12/09 20:49:33 CST

  Modified files:
    .                    packet-fc.c packet-fc.h packet-fcels.c 
                         packet-ipfc.c packet-llc.c 
  Log:
  Move the handling of the Network_Header for full FC frames into the FC
  dissector, and have the LLC dissector register itself as the dissector
  for IP-over-FC frames, as the payload is just an LLC 802.2 header plus
  payload for the protocol specified by that header.
  
  In the dissector for IP-over-FC as a Wiretap link-layer type, have its
  top-level item be a protocol item rather than a text item, and don't
  register it as the dissector for IP-over-FC frames from the FC dissector
  - it assumes what it's handed includes the Network_Header, but for full
  FC frames, the FC dissector has already consumed the Network_Header.
  
  Move the definitions of the value_string tables out of the header file;
  most of them are used only in one file, so define them in that file, and
  for "fc_fc4_val", define it in "packet-fc.c", make it not static, and
  declare it in "packet-fc.h".
  
  Use FALSE, rather than 0, as the last argument to
  "proto_tree_add_item()" calls that add a big-endian value.
  
  Fix one "proto_tree_add_uint()" call that was supposed to be a
  "proto_tree_add_item()" call.
  
  Use "%u", not "%d", to display unsigned values.
  
  Revision  Changes    Path
  1.2       +120 -41   ethereal/packet-fc.c
  1.2       +22 -72    ethereal/packet-fc.h
  1.2       +124 -117  ethereal/packet-fcels.c
  1.5       +8 -7      ethereal/packet-ipfc.c
  1.105     +4 -1      ethereal/packet-llc.c