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

Date: Fri, 21 Dec 2012 13:56:28 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46671

User: etxrab
Date: 2012/12/21 05:56 AM

Log:
 Copy over a bunch of macros so they can be used in patches:
 Revision 46324 - Introduce, and start using, TVB_SET_ADDRESS() and TVB_SET_ADDRESS_HF().  They
 are like the non-TVB versions except that they take a TVB and an offset
 instead of (frequently) a pointer into the TVB.
 
 Calling tvb_get_ptr() before modifying the rest of the fields should help fix
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7960 (though I can't
 reproduce that problem).
 
 
 Replace a bunch of calls like:
 
 SET_ADDRESS(..., AT_XXX, length, tvb_get_ptr(tvb, offset, length));
 
 with:
 
 TVB_SET_ADDRESS(..., AT_XXX, tvb, offset, length);
 
 
 --------------------------------------------------------------------------------
 Revision 45792 - Create SET_ADDRESS_HF that takes an additional hf_ value that can be
 used to override the filter generated from the address column.
 
 Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728 (again).
 
 --------------------------------------------------------------------------------
 Revision 45791 - Revert revision 44921.
 
 See discussion on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728
 --------------------------------------------------------------------------------
 Revision 45744 - Note why there's no AT_IEEE_802_15_4_LONG (that's AT_EUI64).
 --------------------------------------------------------------------------------
 Revision 45743 - Add an AT_ value for 802.15.4 short addresses.
 
 Note that, if you want EUI-64's to resolve the OUI in the display,
 hacking individual dissectors to do it themselves and use AT_STRINGZ is
 *not* the right way to do it.
 
 
 --------------------------------------------------------------------------------
 Revision 45102 - Get rid of ../../epan/address.h:65:19: warning: comma at end of enumerator list [-pedantic]
 
 --------------------------------------------------------------------------------
 Revision 44921 -From Pontus Fuchs via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7728
 
 Make right-click + apply-as-filter work in the packet list for non-ethernet
 frames (such as ieee 802.11 frames).
 
 
 --------------------------------------------------------------------------------
 Revision 44211 - From Richard Stearn: support for AX.25, including support for
 LINKTYPE_AX25.

Directory: /trunk-1.8/epan/
  Changes    Path          Action
  +72 -21    address.h     Modified