Ethereal-dev: Re: [Ethereal-dev] Thoughts on speeding up RTP analysis

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

From: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2003 10:14:42 +0100
> (I.e., "pinfo->fd" points to a data structure that lives at that address
> as long as the current capture file is open; you do not need to make a
> copy of it, you only need to save the pointer value from "pinfo->fd".)

The world is well-crafted! :-)

> > Ok, but there is another problem:
> > Packet dissectors will call those col_XXX_str functions for constructing
the
> > entries of the packet CList.
>
> Only if you ask for it, by passing a non-null "cinfo" argument to
> "epan_dissect_run()".  If you pass null, "col_check()" always returns
> FALSE, so none of the "col_XXX_str" functions will be called.

The world is even better crafted! :-))

I will have a look at all this in detail then and come up with a concrete
code proposal in some time...
regards,
Lars