Wireshark-commits: [Wireshark-commits] rev 35519: /trunk/epan/ /trunk/epan/dissectors/: packet-3g-a

Date: Thu, 13 Jan 2011 15:53:33 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35519

User: morriss
Date: 2011/01/13 07:53 AM

Log:
 Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str().  These
 do the same as the non-tvb equivalents but take a TVB and an offset instead
 of a pointer to an array of bytes.
 
 Their purpose is to prevent (many) dissectors from doing:
 ip_to_str(tvb_get_ptr(...)).
 
 (About the names and the location: I like the names as they are but the names
 imply that they should live in tvbuff.c.  That would make some sense but
 I didn't want to pull to_str.h into tvbuff.c...)

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +15 -15    packet-3g-a11.c    Modified
  +4 -4      packet-sctp.c      Modified
  +2 -2      packet-sua.c       Modified
  +23 -23    packet-wccp.c      Modified

Directory: /trunk/epan/
  Changes    Path                Action
  +23 -1     address_to_str.c    Modified
  +2 -0      libwireshark.def    Modified
  +2 -0      to_str.h            Modified