Wireshark-commits: [Wireshark-commits] rev 35549: /trunk/epan/ /trunk/epan/dissectors/: packet-fcdn

Date: Sun, 16 Jan 2011 04:33:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35549

User: morriss
Date: 2011/01/15 08:33 PM

Log:
 Introduce, and start using, tvb_fc_to_str() and tvb_fcwwm_to_str(): these
 functions act like their non-tvb counterparts except that they take a tvb and
 and offset instead of a pointer to a byte array.
 
 This basically saves the dissectors from having to call tvb_get_ptr()--which in
 this case eliminates a couple of typos in the length given to tvb_get_ptr().

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +51 -97    packet-fcdns.c    Modified
  +32 -37    packet-fcels.c    Modified
  +23 -31    packet-fcfcs.c    Modified

Directory: /trunk/epan/
  Changes    Path                Action
  +12 -0     address_to_str.c    Modified
  +2 -0      to_str.h            Modified