Wireshark-commits: [Wireshark-commits] rev 21563: /trunk/epan/ /trunk/epan/: address.h

Date: Wed, 25 Apr 2007 19:28:58 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21563

User: guy
Date: 2007/04/25 07:28 PM

Log:
 Some types of addresses are data structures; make the address data
 pointer in an address structure a "void *", to indicate that it can
 point to some arbitrary type of object, rather than a "guint8 *", which
 indicates that it points to an array of bytes.
 
 For any address type where the address is a structure, this removes some
 alignment warnings; the author of the code to handle a particular
 address type has the responsibility of making sure you don't set up the
 address structure with misaligned data.  (Yes, it matters, at least on
 SPARC.)

Directory: /trunk/epan/
  Changes    Path          Action
  +2 -2      address.h     Modified