Ethereal-dev: Re: [Ethereal-dev] How to access value of hdr.frag_len from subdissector?

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

From: Jaime Fournier <jafour1@xxxxxxxxx>
Date: Sun, 16 Jun 2002 12:28:48 -0700 (PDT)
Typo.
I need to know hdr.frag_num.
I only want to print certain info when the it's the
initial packet, and not a following frag.
--- Guy Harris <gharris@xxxxxxxxx> wrote:
> On Sat, Jun 15, 2002 at 10:21:56PM -0700, Jaime
> Fournier wrote:
> > I am trying to make a test in a disector for
> > packet-dceprc-epm.c in the
> > rpm_dissect_ept_lookup_rqst().
> > What I need to do is test if frag_length, as
> defined
> > in the dcerpc dissector is non zero.
> 
> Why do you need to test for that?
> 
> Is it ever valid for a fragment to have zero length
> - meaning that
> there's no actual stub body in the request or
response?


=====
Jaime Fournier

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com