Ethereal-dev: Re: [Ethereal-dev] How to get a list of all vars avail from dissector.
Excellent.
Both my questions have been answered, by Ronnie, and
Guy. Thanks for the quick response, given what time of
year it is. :D
--- Guy Harris <gharris@xxxxxxxxx> wrote:
> On Sat, Dec 21, 2002 at 12:52:57AM -0800, Jaime
> Fournier wrote:
> > I looked over the packet_info stucture for pinfo,
> and
> > was wondering if there was a complete list of
> things
> > like src addr, dst, etc, that I could review for
> their
> > possible inclusion within what ever I spit out to
> > STDERR, or file.
>
> By "things" do you mean protocol filterable fields
> (in which case see
> Ronnie Sahlberg's reply) or do you mean "values
> stored directly in the
> packet_info structure"? If the latter, then there
> is a complete list -
> which is a list of the fields in a "packet_info"
> structure, so you've
> already found the list. (For example, the
> link-layer source and
> destination addresses are in "dl_src" and "dl_dst",
> the network-layer
> source and destination addresses are in "net_src"
> and "net_dst", and
> "src" and "dst" contain the network-layer addresses
> if there are any,
> otherwise the link-layer addresses.)
=====
Jaime Fournier
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com