Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ieee80211.c

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, 20 Jun 2001 01:15:08 -0500 (CDT)
guy         2001/06/20 01:15:08 CDT

  Modified files:
    .                    packet-ieee80211.c 
  Log:
  Fix "COOK_ADDR_SELECTOR()" to extract the 2 bits that determine the
  interpretation of the address fields, in DATA_ADDR_T{1,2,3,4} format.
  
  Clean up a bunch of other macros to enclose their argument in
  parentheses.
  
  Clean up "find_header_length()" - it only needs to take the frame
  control field of the frame as an argument, and should just check whether
  "COOK_ADDR_SELECTOR()" returns DATA_ADDR_T4.
  
  "tofrom_ds" is a value_string table, not a true_false_string table, so
  wrap it in "VALS()", not "TFS()".
  
  Don't fetch the header length in N different places in the main
  dissector - just fetch it once and use it throughout.
  
  Revision  Changes    Path
  1.25      +33 -45    ethereal/packet-ieee80211.c