Ethereal-dev: Re: [Ethereal-dev] Saving all packets between the first and the last marked pack

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sun, 28 Dec 2003 18:37:59 +0100
Dick Gooris wrote:

The comma versus semicolon; what would be used here (most recommended) I guess I know the answer - both... ?

Well, if we need some more functionality later, I wouldn't like to "waste" all the possible characters for seperators. It might be better to decide which character to choose here.
But others might have a different point of view on this.


Is there a value which holds the amount of packets currently in the capture; so the max_frames_count ? For markers, I did not see the relationship between the marked frame administration and the actual packet number. This is what I need to be able to calculate the number of packets to be saved for the markers stuff. I am puzzling here.

I'm not quite sure what you're thinking about here.

If you need this for the calculation of the packet counts for the radio button labels, just have a look at the print dialog. This dialog is doing a loop over all the packets in the capture file, and counting the values to display.
Even if there are a lot of packets, this loop is very fast.

Just keep also in mind, that the checking / unchecking of the "Apply display filter" could change this counters/labels/sensitivity!

I could give you a helping hand, or have a look at your code when you want to check it in,

Regards, ULFL