Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 43603: /trunk/ /trunk/asn1/c1222/: packet-c1222-template

Date: Sun, 08 Jul 2012 01:00:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43603

User: guy
Date: 2012/07/07 06:00 PM

Log:
 UATs could be put into "categories".  The categories were defined only
 implicitly by the #define name and string they were defined to; not all
 UATs neatly fit into any of the categories, so some of them were put
 into categories that weren't obviously correct for them, and one - the
 display filter macro UAT - wasn't put into any category at all (which
 caused crashes when editing them, as the GUI code that handled UAT
 changes from a dialog assumed the category field was non-null).
 
 The category was, in practice, used only to decide, in the
 aforementioned GUI code, whether the packet summary pane needed to be
 updated or not.  It also offered no option of "don't update the packet
 summary pane *and* don't redissect anything", which is what would be
 appropriate for the display filter macro UAT.
 
 Replace the category with a set of fields indicating what the UAT
 affects; we currently offer "dissection", which applies to most UATs
 (any UAT in libwireshark presumably affects dissection at a minimum) and
 "the set of named fields that exist".  Changing any UAT that affects
 dissection requires a redissection; changing any UAT that affects the
 set of named fields that exist requires a redissection *and* rebuilding
 the packet summary pane.
 
 Perhaps we also need "filtering", so that if you change a display filter
 macro, we re-filter, in case the display is currently filtered with a
 display filter that uses a macro that changed.

Directory: /trunk/asn1/c1222/
  Changes    Path                       Action
  +1 -1      packet-c1222-template.c    Modified

Directory: /trunk/epan/dfilter/
  Changes    Path               Action
  +1 -1      dfilter-macro.c    Modified

Directory: /trunk/epan/dissectors/
  Changes    Path                      Action
  +1 -1      packet-ber.c              Modified
  +1 -1      packet-bootp.c            Modified
  +1 -1      packet-c1222.c            Modified
  +1 -1      packet-dmp.c              Modified
  +1 -1      packet-dtls.c             Modified
  +1 -1      packet-ess.c              Modified
  +3 -1      packet-http.c             Modified
  +1 -1      packet-ieee80211.c        Modified
  +1 -1      packet-ieee802154.c       Modified


(25 files not shown)