Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 39149: /trunk/epan/dissectors/ /trun

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 27 Sep 2011 17:20:25 -0400
On 9/27/2011 3:56 PM, Jeff Morriss wrote:

Actually a quick test indicates that we only build the column info on
the 2nd pass (for those frames which are currently displayed).

In other words, if you've got 10,000 frames of which 25 are displayed in
your Wireshark window, your dissector is called 10,000 times with
check_col(COL_INFO)==0 and 25 times with check_col(COL_INFO)==1. As you
scroll down the dissector is called again for the newly-visible frames
with check_col(COL_INFO)==1. (It does appear that Wireshark does cache
the column information; scrolling back or clicking on earlier packets
does not result in the column info being rebuilt, even if the dissector
is called again.)


Do I interpret the above to mean that the col_... fcns no longer need to be guaranteed to be called on the "first pass" ?